OSSP CVS Repository

ossp - Check-in [1353]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1353
Date: 2001-Nov-16 17:35:59 (local)
2001-Nov-16 16:35:59 (UTC)
User:rse
Branch:
Comment: Reverse order: pcreposix depends on pcre. Found out by Peter Simons <simons@cryp.to>
Tickets:
Inspections:
Files:
ossp-pkg/pcre/pcre-config.in      added-> 1.3

ossp-pkg/pcre/pcre-config.in -> 1.3

*** /dev/null    Sat Nov 23 01:40:13 2024
--- -    Sat Nov 23 01:40:16 2024
***************
*** 0 ****
--- 1,73 ----
+ #!/bin/sh
+ ##
+ ##  pcre-config -- PCRE library build configuration utility
+ ##  Copyright (c) 1999 Ralf S. Engelschall, All Rights Reserved. 
+ ##
+ DIFS='         
+ '
+ 
+ prefix="@prefix@"
+ exec_prefix="@exec_prefix@"
+ 
+ pcre_prefix="$prefix"
+ pcre_libdir="@libdir@"
+ pcre_includedir="@includedir@"
+ pcre_mandir="@mandir@"
+ pcre_cflags="@CFLAGS@"
+ pcre_ldflags="@LDFLAGS@"
+ pcre_libs="@LIBS@"
+ pcre_version="@PCRE_VERSION@"
+ 
+ help=no
+ version=no
+ 
+ usage="$0 [--help] [--version] [--cflags] [--ldflags] [--libs]"
+ if [ $# -eq 0 ]; then
+     echo "$0:Error: Invalid option" 1>&2
+     echo "$0:Usage: $usage" 1>&2
+     exit 1
+ fi
+ prev=''
+ OIFS="$IFS" IFS="$DIFS"
+ for option
+ do
+     if [ ".$prev" != . ]; then
+         eval "$prev=\$option"
+         prev=""
+         continue
+     fi
+     case "$option" in
+         -*=*) optarg=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+            *) optarg='' ;;
+     esac
+     case "$option" in
+         --help|-h) 
+             echo "$0:Usage: $usage"
+             exit 1
+             ;;
+         --version|-v)
+             echo "OSSP PCRE $pcre_version"
+             exit 0
+             ;;
+         --cflags)
+             echo "-I$pcre_includedir"
+             ;;
+         --ldflags)
+             echo "-L$pcre_libdir"
+             ;;
+         --libs)
+             echo "-lpcreposix -lpcre"
+             ;;
+         * )             
+             echo "$0:Error: Invalid option" 1>&2
+             echo "$0:Usage: $usage" 1>&2
+             exit 1;
+             ;;
+     esac
+ done
+ IFS="$OIFS"
+ if [ ".$prev" != . ]; then
+     echo "$-1:${T_MD}Error${T_ME}: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2
+     exit 1
+ fi
+ 

CVSTrac 2.0.1