3 prefix=/data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32//install
10 if test no = yes ; then
11 libs="[--libs16] $libs"
14 if test no = yes ; then
15 libs="[--libs32] $libs"
18 if test yes = yes ; then
19 libs="[--libs8] [--libs-posix] $libs"
20 cflags="$cflags [--cflags-posix]"
23 usage="Usage: pcre2-config [--prefix] [--exec-prefix] [--version] $libs $cflags"
25 if test $# -eq 0; then
33 libR=" -R${exec_prefix}/lib"
36 libR=" -Wl,-R${exec_prefix}/lib"
41 if test ${exec_prefix}/lib != /usr/lib ; then
42 libS=-L${exec_prefix}/lib
45 while test $# -gt 0; do
47 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
54 if test $exec_prefix_set = no ; then
72 if test ${prefix}/include != /usr/include ; then
73 includes=-I${prefix}/include
75 echo $includes -DPCRE2_STATIC
78 if test yes = yes ; then
79 if test ${prefix}/include != /usr/include ; then
80 includes=-I${prefix}/include
82 echo $includes -DPCRE2_STATIC
88 if test yes = yes ; then
89 echo $libS$libR -lpcre2-posix -lpcre2-8
95 if test yes = yes ; then
96 echo $libS$libR -lpcre2-8
102 if test no = yes ; then
103 echo $libS$libR -lpcre2-16
109 if test no = yes ; then
110 echo $libS$libR -lpcre2-32