2 # Originally from libxml, Copyright (C) Daniel Veillard
3 # Modifications for neon Copyright (C) 2000-2005 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
24 Known features: dav [yes], ssl [yes], zlib [yes], ipv6 [], lfs [no]
33 if test "$1" = "yes"; then
40 if test $# -eq 0; then
44 while test $# -gt 0; do
46 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
69 echo -I${includedir}/neon
73 LIBS
="-lneon -lssl -lcrypto -lz"
74 # Don't add standard library paths
75 if test "$prefix" != "/usr"; then
76 LIBS
="-L${libdir} ${LIBS}"
82 echo ${libdir}/libneon.la
89 ssl|SSL
) support
yes ;;
90 zlib|ZLIB
) support
yes ;;
92 dav|DAV
) support
yes ;;
93 lfs|LFS
) support no
;;