Reference

mp4h-config(1)

Displays configuration suitable to build mp4h modules

NAME

mp4h-config - Displays configuration suitable to build mp4h modules

VERSION

1.2.4

SYNOPSIS

mp4h-config [--help] [--version] [--includedir] [--pkglibdir] [--pkgdatadir] [--mandir] [--cc] [--cflags] [--compile]

DESCRIPTION

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.

EXAMPLE

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.la
   module.la: module.o module.lo
        libtool --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

AUTHOR

 Denis Barbier
 [email protected]