4 exec_prefix=@exec_prefix@
9 if test @enable_cpp@ = yes ; then
15 if test @enable_pcre16@ = yes ; then
16 libs="[--libs16] $libs"
19 if test @enable_pcre32@ = yes ; then
20 libs="[--libs32] $libs"
23 if test @enable_pcre8@ = yes ; then
24 libs="[--libs] [--libs-posix] $libs"
25 cflags="$cflags [--cflags-posix]"
28 usage="Usage: pcre-config [--prefix] [--exec-prefix] [--version] $libs $cflags"
30 if test $# -eq 0; then
41 libR=" -Wl,-R@libdir@"
46 if test @libdir@ != /usr/lib ; then
50 while test $# -gt 0; do
52 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
59 if test $exec_prefix_set = no ; then
74 echo @PACKAGE_VERSION@
77 if test @includedir@ != /usr/include ; then
78 includes=-I@includedir@
80 echo $includes @PCRE_STATIC_CFLAG@
83 if test @enable_pcre8@ = yes ; then
84 if test @includedir@ != /usr/include ; then
85 includes=-I@includedir@
87 echo $includes @PCRE_STATIC_CFLAG@
93 if test @enable_pcre8@ = yes ; then
94 echo $libS$libR -lpcreposix -lpcre
100 if test @enable_pcre8@ = yes ; then
101 echo $libS$libR -lpcre
107 if test @enable_pcre16@ = yes ; then
108 echo $libS$libR -lpcre16
114 if test @enable_pcre32@ = yes ; then
115 echo $libS$libR -lpcre32
121 if test @enable_cpp@ = yes ; then
122 echo $libS$libR -lpcrecpp -lpcre