/[pcre]/code/trunk/pcre-config.in
ViewVC logotype

Diff of /code/trunk/pcre-config.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 111 by ph10, Thu Mar 8 16:53:09 2007 UTC revision 492 by ph10, Tue Mar 2 11:26:55 2010 UTC
# Line 4  prefix=@prefix@ Line 4  prefix=@prefix@
4  exec_prefix=@exec_prefix@  exec_prefix=@exec_prefix@
5  exec_prefix_set=no  exec_prefix_set=no
6    
7  usage="\  if test @enable_cpp@ = yes ; then
8  Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--cflags] [--cflags-posix]"    usage="Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--libs-cpp] [--cflags] [--cflags-posix]"
9    else
10      usage="Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--cflags] [--cflags-posix]"
11    fi
12    
13  if test $# -eq 0; then  if test $# -eq 0; then
14        echo "${usage}" 1>&2        echo "${usage}" 1>&2
# Line 52  while test $# -gt 0; do Line 55  while test $# -gt 0; do
55        if test @includedir@ != /usr/include ; then        if test @includedir@ != /usr/include ; then
56          includes=-I@includedir@          includes=-I@includedir@
57        fi        fi
58        echo $includes        echo $includes @PCRE_STATIC_CFLAG@
59        ;;        ;;
60      --libs-posix)      --libs-posix)
61        echo -L@libdir@$libR -lpcreposix -lpcre        echo -L@libdir@$libR -lpcreposix -lpcre
# Line 60  while test $# -gt 0; do Line 63  while test $# -gt 0; do
63      --libs)      --libs)
64        echo -L@libdir@$libR -lpcre        echo -L@libdir@$libR -lpcre
65        ;;        ;;
66        --libs-cpp)
67          if test @enable_cpp@ = yes ; then
68            echo -L@libdir@$libR -lpcrecpp -lpcre
69          else
70            echo "${usage}" 1>&2
71          fi
72          ;;
73      *)      *)
74        echo "${usage}" 1>&2        echo "${usage}" 1>&2
75        exit 1        exit 1

Legend:
Removed from v.111  
changed lines
  Added in v.492

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12