]>
git.saurik.com Git - wxWidgets.git/blob - src/png/libpng-config.in
4 # provides configuration info for libpng.
6 # Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson
8 # This code is released under the libpng license.
9 # For conditions of distribution and use, see the disclaimer
10 # and license in png.h
12 # Modeled after libxml-config.
14 version
="@PNGLIB_VERSION@"
16 exec_prefix
="@exec_prefix@"
18 includedir
="@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
19 libs
="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
20 all_libs
="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ @LIBS@"
21 I_opts
="-I${includedir}"
31 Usage: $0 [OPTION] ...
33 Known values for OPTION are:
35 --prefix print libpng prefix
36 --libdir print path to directory containing library
37 --libs print library linking information
38 --ccopts print compiler options
39 --cppflags print pre-processor flags
40 --cflags print preprocessor flags, I_opts, and compiler options
41 --I_opts print "-I" include options
42 --L_opts print linker "-L" flags for dynamic linking
43 --R_opts print dynamic linker "-R" or "-rpath" flags
44 --ldopts print linker options
45 --ldflags print linker flags (ldopts, L_opts, R_opts, and libs)
46 --static revise subsequent outputs for static linking
47 --help print this help and exit
48 --version print version information
54 if test $# -eq 0; then
58 while test $# -gt 0; do
83 echo ${I_opts} ${cppflags} ${ccopts}
111 echo ${ldopts} ${L_opts} ${R_opts} ${libs}