2 # Originally from libxml, Copyright (C) Daniel Veillard
3 # Modifications for neon Copyright (C) 2000-2006 Joe Orton.
7 includedir
=${prefix}/include
8 libdir
=${exec_prefix}/lib
13 Usage: neon-config [OPTION]
15 Known values for OPTION are:
17 --prefix=DIR change neon prefix [default $prefix]
18 --libs print library linking information
19 --la-file print location of libtool .la file
20 --cflags print pre-processor and compiler flags
21 --help display this help and exit
22 --version output version information
23 --support FEATURE exit with success if feature is supported
26 dav [yes], ssl [no], zlib [yes], ipv6 [], lfs [no],
27 i18n [no], ts_ssl [no]
36 if test "$1" = "yes"; then
43 if test $# -eq 0; then
47 while test $# -gt 0; do
49 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72 echo -I${includedir}/neon
77 # Don't add standard library paths
78 if test "$prefix" != "/usr"; then
79 LIBS
="-L${libdir} ${LIBS}"
85 echo ${libdir}/libneon.la
92 ssl|SSL
) support no
;;
93 zlib|ZLIB
) support
yes ;;
95 dav|DAV
) support
yes ;;
96 lfs|LFS
) support no
;;
97 i18n|I18N
) support no
;;
98 ts_ssl|TS_SSL
) support no
;;