4 exec_prefix=@exec_prefix@
7 if test @enable_cpp@ = yes ; then
8 usage="Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--libs-cpp] [--cflags] [--cflags-posix]"
10 usage="Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--cflags] [--cflags-posix]"
13 if test $# -eq 0; then
24 libR=" -Wl,-R@libdir@"
28 while test $# -gt 0; do
30 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
37 if test $exec_prefix_set = no ; then
52 echo @PACKAGE_VERSION@
54 --cflags | --cflags-posix)
55 if test @includedir@ != /usr/include ; then
56 includes=-I@includedir@
58 echo $includes @PCRE_STATIC_CFLAG@
61 echo -L@libdir@$libR -lpcreposix -lpcre
64 echo -L@libdir@$libR -lpcre
67 if test @enable_cpp@ = yes ; then
68 echo -L@libdir@$libR -lpcrecpp -lpcre