mp4h-config1
Displays configuration suitable to build mp4h modules
Usage
mp4h-config [--help]
[--version]
[--includedir]
[--pkglibdir]
[--pkgdatadir]
[--mandir]
[--cc]
[--cflags]
[--compile]
Version
1.2.4
Overview
This script is a tool to help compiling mp4h loadable modules. It shows settings used when compiling and installing mp4h. It is wise to keep those settings when compiling loadable modules.
Options
-
--version -
Displays the installed version of mp4h.
-
--pkglibdir -
Directory where compiled module has to be installed.
-
--pkgdatadir -
Directory where packages has to be installed.
-
--mandir -
Preferred location for documentation, if any.
-
--includedir -
Prints header files location.
-
-cc -
Prints the C compiler name.
-
--cflags -
Prints C compiler flags.
-
--compile -
Displays the combination of the three previous options used to compile loadable modules.
Examples
Here is an example showing how to embed mp4h-config into your Makefiles.
.SUFFIXES:.SUFFIXES: .o .lo.c.o:libtool --mode=compile `mp4h-config --compile` -c $<
.c.lo:libtool --mode=compile `mp4h-config --compile` -c $<
all: module.lamodule.la: module.o module.lolibtool --mode=link `mp4h-config --cc` -o $@ module.lo \-module -rpath `mp4h-config --pkglibdir` -avoid-version
install:libtool --mode=install cp module.la \`mp4h-config --pkglibdir`/module.la