]>
git.saurik.com Git - wxWidgets.git/blob - src/png/scripts/libpng-config.in
4 # provides configuration info for libpng.
6 # Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson
7 # For conditions of distribution and use, see copyright notice in png.h
9 # Modeled after libxml-config.
11 version
="@PNGLIB_VERSION@"
13 exec_prefix
="@exec_prefix@"
15 includedir
="@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
16 libs
="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
17 all_libs
="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ -lz -lm"
18 I_opts
="-I${includedir}"
22 ccopts
="@LIBPNG_NO_MMX@"
28 Usage: $0 [OPTION] ...
30 Known values for OPTION are:
32 --prefix print libpng prefix
33 --libdir print path to directory containing library
34 --libs print library linking information
35 --ccopts print compiler options
36 --cppflags print pre-processor flags
37 --cflags print preprocessor flags, I_opts, and compiler options
38 --I_opts print "-I" include options
39 --L_opts print linker "-L" flags for dynamic linking
40 --R_opts print dynamic linker "-R" or "-rpath" flags
41 --ldopts print linker options
42 --ldflags print linker flags (ldopts, L_opts, R_opts, and libs)
43 --static revise subsequent outputs for static linking
44 --help print this help and exit
45 --version print version information
51 if test $# -eq 0; then
55 while test $# -gt 0; do
80 echo ${I_opts} ${cppflags} ${ccopts}
108 echo ${ldopts} ${L_opts} ${R_opts} ${libs}