4 exec_prefix
=@exec_prefix@
5 includedir
=@includedir@
11 Usage: xml2-config [OPTION]
13 Known values for OPTION are:
15 --prefix=DIR change libxml prefix [default $prefix]
16 --exec-prefix=DIR change libxml exec prefix [default $exec_prefix]
17 --libs print library linking information
18 --cflags print pre-processor and compiler flags
19 --modules module support enabled
20 --help display this help and exit
21 --version output version information
27 if test $# -eq 0; then
34 while test $# -gt 0; do
36 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
43 includedir
=$prefix/include
53 libdir
=$exec_prefix/lib
70 echo @XML_INCLUDEDIR@ @XML_CFLAGS@
74 if [ -r ${libdir}/@XML_LIBTOOLLIBS@
]
76 echo ${libdir}/@XML_LIBTOOLLIBS@
85 if [ "`uname`" = "Linux" ]
87 if [ "@XML_LIBDIR@" = "-L/usr/lib" -o "@XML_LIBDIR@" = "-L/usr/lib64" ]
91 echo @XML_LIBDIR@ @XML_LIBS@
94 echo @XML_LIBDIR@ @XML_LIBS@ @WIN32_EXTRA_LIBADD@