9 if test no
= yes ; then
15 if test no
= yes ; then
16 libs
="[--libs16] $libs"
19 if test no
= yes ; then
20 libs
="[--libs32] $libs"
23 if test yes = 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
38 libR
=" -R${exec_prefix}/lib"
41 libR
=" -Wl,-R${exec_prefix}/lib"
46 if test ${exec_prefix}/lib
!= /usr
/lib
; then
47 libS
=-L${exec_prefix}/lib
50 while test $# -gt 0; do
52 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
59 if test $exec_prefix_set = no
; then
77 if test ${prefix}/include
!= /usr
/include
; then
78 includes
=-I${prefix}/include
83 if test yes = yes ; then
84 if test ${prefix}/include
!= /usr
/include
; then
85 includes
=-I${prefix}/include
93 if test yes = yes ; then
94 echo $libS$libR -lpcreposix -lpcre
100 if test yes = yes ; then
101 echo $libS$libR -lpcre
107 if test no
= yes ; then
108 echo $libS$libR -lpcre16
114 if test no
= yes ; then
115 echo $libS$libR -lpcre32
121 if test no
= yes ; then
122 echo $libS$libR -lpcrecpp -lpcre