head 1.10; access; symbols; locks; strict; comment @# @; 1.10 date 2001.02.12.14.50.11; author rse; state Exp; branches; next 1.9; 1.9 date 99.11.12.15.18.33; author rse; state Exp; branches; next 1.8; 1.8 date 99.11.12.14.47.49; author rse; state Exp; branches; next 1.7; 1.7 date 99.11.12.14.42.20; author rse; state Exp; branches; next 1.6; 1.6 date 99.11.11.16.07.54; author rse; state Exp; branches; next 1.5; 1.5 date 99.09.11.13.34.11; author rse; state Exp; branches; next 1.4; 1.4 date 99.09.11.13.31.05; author rse; state Exp; branches; next 1.3; 1.3 date 99.09.11.13.30.15; author rse; state Exp; branches; next 1.2; 1.2 date 99.09.11.13.20.41; author rse; state Exp; branches; next 1.1; 1.1 date 99.09.11.12.42.07; author rse; state Exp; branches; next ; desc @@ 1.10 log @Upgrade development scripts @ text @dnl ## dnl ## Autoconf specification for Sfio library dnl ## AC_PREREQ(2.13)dnl AC_REVISION($Revision: 1.9 $) SHTOOL="./etc/shtool" AC_SUBST(SHTOOL) T_MD=`$SHTOOL echo -n -e %B 2>/dev/null` T_ME=`$SHTOOL echo -n -e %b 2>/dev/null` SFIO_VERSION=`grep SFIO_VERSION sfio/sfio.h | head -1 | sed -e 's/.*SFIO_VERSION[[ ]]*//' -e 's/L[[ ]]*//'` PACKAGE_VER=`grep PACKAGE_VER Makefile.in | head -1 | sed -e 's/.*PACKAGE_VER[[ ]]=[[ ]]*//'` AC_SUBST(SFIO_VERSION) AC_SUBST(PACKAGE_VER) echo "Configuring ${T_MD}OSSP Sfio 1999${T_ME} (Safe/Fast IO Library), Version ${T_MD}${PACKAGE_VER}${T_ME}" echo "Copyright (c) 1991-1999 David Korn, Kiem-Phong Vo and Glenn Fowler" echo "Copyright (c) 1991-1999 AT&T Labs Research, All rights reserved" echo "Copyright (c) 1999 The OSSP Project " echo "" AC_INIT(README) AC_CONFIG_AUX_DIR(etc) AC_PREFIX_DEFAULT(/usr/local) AC_PROG_CC AC_PROG_CPP dnl AC_PROG_RANLIB AC_PROG_LIBTOOL AC_SET_MAKE LIBS="-lsfio" AC_ARG_WITH(stdio-src,dnl [ --with-stdio-src build with Stdio source emulation (default: no)], STDIO_SRC="$withval", STDIO_SRC=no )dnl AC_ARG_WITH(stdio-bin,dnl [ --with-stdio-bin build with Stdio binary emulation (default: no)], STDIO_BIN="$withval", STDIO_BIN=no )dnl LIBSTDIO_LA="" O_STDIO_S="" D_STDIO_S="" D_STDIO_B="" if test ".$STDIO_BIN" = .yes; then D_STDIO_B='stdio_b' LIBS="$LIBS -lstdio" LIBSTDIO_LA="libstdio.la" fi if test ".$STDIO_SRC" = .yes; then O_STDIO_S='$(STDIO_S)' D_STDIO_S='stdio_s' fi AC_SUBST(STDIO_SRC) AC_SUBST(STDIO_BIN) AC_SUBST(LIBSTDIO_LA) AC_SUBST(O_STDIO_S) AC_SUBST(D_STDIO_S) AC_SUBST(D_STDIO_B) dnl # Now run Sfio's original IFFE stuff in the background (cd sfio_c && make CC="$CC" CFLAGS="$CFLAGS") AC_OUTPUT(dnl Makefile dnl sfio-config dnl sfio/Makefile dnl sfio_dc/Makefile dnl sfio_f/Makefile dnl sfio_t/Makefile dnl stdio_b/Makefile dnl stdio_s/Makefile dnl ,dnl chmod a+x sfio-config )dnl @ 1.9 log @*** empty log message *** @ text @d5 2 a6 2 AC_PREREQ(2.12)dnl AC_REVISION($Revision: 1.8 $) @ 1.8 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.7 $) d19 1 a19 1 echo "Copyright (c) 1999 Ralf S. Engelschall " @ 1.7 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.6 $) d15 1 @ 1.6 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.5 $) d13 1 d15 1 a15 1 echo "Configuring ${T_MD}OSSP Sfio 1999${T_ME} (Safe/Fast IO Library), Version ${T_MD}${SFIO_VERSION}${T_ME}" d22 1 d27 2 a28 1 AC_PROG_RANLIB d42 4 a45 1 LIBSTDIO_A="" d47 1 a47 1 LIBSTDIO_A="libstdio.a" d49 1 a50 2 T_STDIO_S="" O_STDIO_S="" a51 1 T_STDIO_S="T_stdio_s" d53 1 d57 1 a57 2 AC_SUBST(LIBSTDIO_A) AC_SUBST(T_STDIO_S) d59 2 @ 1.5 log @*** empty log message *** @ text @d5 2 a6 2 AC_PREREQ(2.14)dnl AC_REVISION($Revision: 1.4 $) d14 1 a14 1 echo "Configuring ${T_MD}AXE Sfio 1999${T_ME} (Safe/Fast IO Library), Version ${T_MD}${SFIO_VERSION}${T_ME}" d17 1 a17 1 echo "Special AXE version by Ralf S. Engelschall " @ 1.4 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.3 $) d14 1 a14 2 echo "Configuring ${T_MD}Sfio 1999${T_ME} (Safe/Fast IO Library), Version ${T_MD}${SFIO_VERSION}${T_ME}" echo "Unofficial version from Ralf S. Engelschall " d17 1 @ 1.3 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.2 $) d8 1 a8 1 SHTOOL="etc/shtool" @ 1.2 log @Merge in Sfio 1999 changes @ text @d6 1 a6 1 AC_REVISION($Revision: 1.1 $) d15 1 d17 1 a17 1 echo "Copyright (c) 1991-1999 AT&T Labs Research, All rights reserved." @ 1.1 log @Incorporate stuff from RSE's Sfio98 variant @ text @d6 1 a6 1 AC_REVISION($Revision: 1.0$) d14 3 a16 3 echo "Configuring ${T_MD}Sfio (Safe/Fast IO) Library${T_ME}, Version ${T_MD}${SFIO_VERSION}${T_ME}" echo "Copyright (c) 1991-1998 David Korn and Kiem-Phong Vo, All rights reserved." echo "Copyright (c) 1991-1998 AT&T Labs Research, All rights reserved." @