carta
mp4h-config(1)

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.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]

From mp4h 1.2.4-2 in Debian 3.0 (Woody). Parsed by carta from the page's man source.