head 1.7; access; symbols OSSP_PCRE_2_07:1.1.1.1 ossp:1.1.1; locks; strict; comment @# @; 1.7 date 2001.08.16.10.08.07; author rse; state dead; branches; next 1.6; 1.6 date 2000.08.02.09.46.06; author rse; state Exp; branches; next 1.5; 1.5 date 2000.05.16.18.33.29; author rse; state Exp; branches; next 1.4; 1.4 date 2000.02.02.17.18.46; author rse; state Exp; branches; next 1.3; 1.3 date 99.09.28.10.39.26; author rse; state Exp; branches; next 1.2; 1.2 date 99.09.28.10.35.07; author rse; state Exp; branches; next 1.1; 1.1 date 99.08.26.08.15.19; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.08.26.08.15.19; author rse; state Exp; branches; next ; desc @@ 1.7 log @Upgrade GNU autoconf, libtool, shtool. @ text @dnl ## dnl ## Autoconf specification for PCRE library dnl ## AC_PREREQ(2.12)dnl AC_REVISION($Revision: 1.6 $) SHTOOL="./shtool" AC_SUBST(SHTOOL) T_MD=`$SHTOOL echo -e %B 2>/dev/null` T_ME=`$SHTOOL echo -e %b 2>/dev/null` PCRE_MAJOR=`grep '#define PCRE_MAJOR' pcre.h | awk '{ print $3; }'` PCRE_MINOR=`grep '#define PCRE_MINOR' pcre.h | awk '{ print $3; }'` PCRE_VERSION="$PCRE_MAJOR.$PCRE_MINOR" AC_SUBST(PCRE_VERSION) echo "Configuring ${T_MD}OSSP pcre${T_ME} (Perl-Compatible Regular Expressions) ${T_MD}${PCRE_VERSION}${T_ME}" echo "Copyright (c) 1997-2000 Philip Hazel , All rights reserved." echo "Copyright (c) 1997-2000 University of Cambridge, All rights reserved." echo "Copyright (c) 1999-2000 Ralf S. Engelschall " PLATFORM=`$SHTOOL guessos` echo "Platform: ${T_MD}${PLATFORM}${T_ME}" echo "" AC_INIT(README) AC_CONFIG_HEADER(config.h) AC_PREFIX_DEFAULT(/usr/local) AC_PROG_CC AC_PROG_CPP AC_SET_MAKE AC_ARG_ENABLE(utf8,dnl [ --enable-utf8 enable UTF8 support (incomplete)], enable_utf8="$enableval", enable_utf8=yes )dnl if test ".$enable_utf8" = .yes; then if test ".$CFLAGS" = .; then CFLAGS="-DSUPPORT_UTF8" else CFLAGS="$CFLAGS -DSUPPORT_UTF8" fi fi AC_ARG_ENABLE(static,dnl [ --enable-static build static libraries (default=yes)], enable_static="$enableval", enable_static=yes )dnl AC_ARG_ENABLE(shared,dnl [ --enable-shared build shared libraries (default=yes)], enable_shared="$enableval", enable_shared=yes )dnl libtool_flags='' test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LD="$LD" \ ${CONFIG_SHELL-/bin/sh} ltconfig --no-reexec \ $libtool_flags --no-verify ltmain.sh $PLATFORM ||\ AC_MSG_ERROR([libtool configuration failed]) LIBTOOL="./libtool" AC_SUBST(LIBTOOL) AC_CHECK_FUNCS(memmove strerror) AC_OUTPUT(dnl Makefile dnl pcre-config dnl ,dnl chmod a+x pcre-config )dnl @ 1.6 log @Upgrade to PCRE 3.3 and GNU shtool 1.5.1 @ text @d6 1 a6 1 AC_REVISION($Revision: 1.5 $) @ 1.5 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.4 $) d31 13 @ 1.4 log @Update from 2.08 to 3.0 @ text @d6 1 a6 1 AC_REVISION($Revision: 1.3 $) d17 3 a19 3 echo "Copyright (c) 1997-1999 Philip Hazel , All rights reserved." echo "Copyright (c) 1997-1999 University of Cambridge, All rights reserved." echo "Copyright (c) 1999 Ralf S. Engelschall " @ 1.3 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.2 $) d25 1 d54 1 a54 8 AC_CHECK_FUNC(memmove) if test ".$ac_cv_func_memmove" = .no; then CFLAGS="$CFLAGS -DUSE_BCOPY" fi AC_CHECK_FUNC(strerror) if test ".$ac_cv_func_strerror" = .no; then CFLAGS="$CFLAGS -DSTRERROR_FROM_ERRLIST" fi @ 1.2 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.1.1.1 $) d14 1 a14 2 PCRE_DATE=`grep '#define PCRE_DATE' pcre.h | awk '{ print $3; }'` PCRE_VERSION="$PCRE_MAJOR.$PCRE_MINOR ($PCRE_DATE)" d19 1 a19 1 echo "Special OSSP version provided by Ralf S. Engelschall " @ 1.1 log @Initial revision @ text @d6 1 a6 1 AC_REVISION($Revision: 1.0$) d12 4 a15 1 PCRE_VERSION=`grep PCRE_VERSION pcre_internal.h | head -1 | sed -e 's/[[^"]]*"//' -e 's/".*//'` @ 1.1.1.1 log @Import OSSP pcre @ text @@