head 1.6; access; symbols act_first:1.1.1.1 act:1.1.1; locks; strict; comment @# @; 1.6 date 2002.01.17.20.19.57; author rse; state dead; branches; next 1.5; 1.5 date 2002.01.02.17.05.53; author rse; state Exp; branches; next 1.4; 1.4 date 2001.03.21.15.59.02; author rse; state Exp; branches; next 1.3; 1.3 date 2000.08.20.13.57.53; author rse; state Exp; branches; next 1.2; 1.2 date 2000.08.18.15.35.57; author rse; state Exp; branches; next 1.1; 1.1 date 99.11.12.20.37.19; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.11.12.20.37.19; author rse; state Exp; branches; next ; desc @@ 1.6 log @- use devtool - remove generated files - upgrade to Autoconf 2.52 @ text @dnl ## dnl ## Autoconf specification for ACT library dnl ## AC_PREREQ(2.12)dnl AC_REVISION($Revision: 1.5 $) AC_INIT(README) AC_HEADLINE(dnl ACT, Abstract Container Types, dnl ACT_VERSION, act_vers.c, dnl [Copyright (c) 1999-2002 Ralf S. Engelschall ]) AC_PREFIX_DEFAULT(/usr/local) AC_CONFIG_HEADER(act_cfg.h) AC_SET_MAKE AC_PROG_CC AC_PROG_CPP AC_CHECK_PROG(AR, ar, ar) AC_PROG_RANLIB AC_MSG_CHECKING(whether to build with debugging) AC_ARG_ENABLE(debug,dnl [ --enable-debug build with debugging (default=no)], enable_debug="$enableval", if test ".$enable_debug" = .; then enable_debug=no fi )dnl if test ".$enable_debug" = .yes; then LDFLAGS="$LDFLAGS -g -ggdb3" CFLAGS="$CFLAGS -g -ggdb3" CFLAGS="$CFLAGS -pedantic" CFLAGS="$CFLAGS -Wall -Wshadow -Wpointer-arith -Wcast-align" CFLAGS="$CFLAGS -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline" CFLAGS="$CFLAGS -Wno-long-long" fi AC_MSG_RESULT([$enable_debug]) AC_MSG_CHECKING(for compilation profile mode) AC_ARG_ENABLE(profile,dnl [ --enable-profile build for profiling (default=no)], [dnl if test ".$ac_cv_prog_gcc" = ".no"; then AC_MSG_ERROR([profiling requires gcc and gprof]) fi CFLAGS=`echo "$CFLAGS" | sed -e 's/-O2//g'` CFLAGS="$CFLAGS -O0 -pg" LDFLAGS="$LDFLAGS -pg" msg="enabled" ],[ msg="disabled" ])dnl AC_MSG_RESULT([$msg]) AC_HAVE_FUNCS(memset memmove memcmp) AC_CHECK_SIZEOF(char, 1) AC_CHECK_SIZEOF(short, 2) AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(long, 4) AC_CHECK_SIZEOF(long long, 8) HAVE_ACT_UINT8_T="#define HAVE_ACT_UINT8_T"; HAVE_ACT_UINT16_T="#define HAVE_ACT_UINT16_T"; HAVE_ACT_UINT32_T="#define HAVE_ACT_UINT32_T"; HAVE_ACT_UINT64_T="#define HAVE_ACT_UINT64_T"; HAVE_ACT_SIZE_T="#define HAVE_ACT_SIZE_T"; AC_SUBST(HAVE_ACT_UINT8_T) AC_SUBST(HAVE_ACT_UINT16_T) AC_SUBST(HAVE_ACT_UINT32_T) AC_SUBST(HAVE_ACT_UINT64_T) AC_SUBST(HAVE_ACT_SIZE_T) ACT_UINT8_T="unsigned char"; ACT_UINT16_T="unsigned short"; ACT_UINT32_T="unsigned long"; ACT_UINT64_T="unsigned long long"; ACT_SIZE_T="unsigned int"; AC_SUBST(ACT_UINT8_T) AC_SUBST(ACT_UINT16_T) AC_SUBST(ACT_UINT32_T) AC_SUBST(ACT_UINT64_T) AC_SUBST(ACT_SIZE_T) dnl AC_TRY_RUN([ dnl #include dnl #include dnl #include dnl main() dnl { dnl long long n = 1; dnl if (sizeof(long long) >= 8) dnl dnl exit(0) dnl } dnl ], AC_OUTPUT(dnl Makefile dnl act.h dnl )dnl @ 1.5 log @bump copyright year @ text @d6 1 a6 1 AC_REVISION($Revision: 1.4 $) @ 1.4 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.3 $) d12 1 a12 1 [Copyright (c) 1999-2001 Ralf S. Engelschall ]) @ 1.3 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.2 $) d12 1 a12 1 [Copyright (c) 1999-2000 Ralf S. Engelschall ]) @ 1.2 log @*** empty log message *** @ text @d6 1 a6 1 AC_REVISION($Revision: 1.1.1.1 $) d31 2 a32 1 CFLAGS="$CFLAGS -ggdb3" @ 1.1 log @Initial revision @ text @d6 1 a6 1 AC_REVISION($Revision: 1.2$) d12 1 a12 1 [Copyright (c) 1999 Ralf S. Engelschall ]) @ 1.1.1.1 log @ @ text @@