head 1.12; access; symbols PETIDOMO_4_0b6:1.12 PETIDOMO_4_0b5:1.11 PETIDOMO_4_0b4:1.11 PETIDOMO_4_0b3:1.11 BEFORETHL:1.10; locks; strict; comment @# @; 1.12 date 2004.03.19.15.32.52; author thl; state Exp; branches; next 1.11; 1.11 date 2004.02.02.20.19.25; author thl; state Exp; branches; next 1.10; 1.10 date 2001.02.18.00.05.39; author simons; state Exp; branches; next 1.9; 1.9 date 2001.01.20.14.36.43; author rse; state Exp; branches; next 1.8; 1.8 date 2001.01.18.12.54.57; author rse; state Exp; branches; next 1.7; 1.7 date 2001.01.11.14.11.33; author simons; state Exp; branches; next 1.6; 1.6 date 2001.01.08.15.14.41; author simons; state Exp; branches; next 1.5; 1.5 date 2001.01.06.14.12.21; author simons; state Exp; branches; next 1.4; 1.4 date 2000.12.16.13.18.18; author simons; state Exp; branches; next 1.3; 1.3 date 2000.12.14.15.09.16; author simons; state Exp; branches; next 1.2; 1.2 date 2000.12.13.16.42.17; author simons; state Exp; branches; next 1.1; 1.1 date 2000.12.13.15.55.05; author simons; state Exp; branches; next ; desc @@ 1.12 log @shut up autoheader @ text @dnl dnl configure.in -- Process this file with autoconf to produce a configure script. dnl dnl $Header: /e/ossp/cvs/ossp-pkg/petidomo/configure.in,v 1.11 2004/02/02 20:19:25 thl Exp $ dnl AC_INIT(petidomo.h) dnl Print the standard OSSP. dnl dnl AC_DIVERT_PUSH(AC_DIVERSION_NOTICE) V=`./shtool version -lc -dlong version.c` ./shtool echo -e "Configuring %BOSSP Petidomo%b, Version %B${V}%b" dnl AC_DIVERT_POP() dnl Get rid of the lousy -g and -O defaults in CFLAGS. dnl CFLAGS=${CFLAGS:-} dnl Checks for paths and programs. dnl AC_PROG_CC AC_PROG_RANLIB AC_PROG_LEX if test "$LEX" != "flex"; then AC_MSG_WARN($LEX might not work for us. Please install flex if the build fails.) fi AC_PROG_YACC if test "$YACC" != "bison -y"; then AC_MSG_WARN($YACC might not work for us. Please install bison if the build fails.) fi dnl Find out what sizes the types have. dnl AC_CHECK_SIZEOF(unsigned short, 2) AC_CHECK_SIZEOF(unsigned int, 4) AC_CHECK_SIZEOF(unsigned long, 4) dnl Checks for typedefs dnl AC_CHECK_TYPE(ssize_t, long) dnl Set special flags for gcc. dnl if test "$GCC" = yes; then CFLAGS="$CFLAGS -Wall -pedantic -pipe" fi dnl Write results. dnl AC_OUTPUT(Makefile) AC_CONFIG_HEADERS(config.h) @ 1.11 log @add devtool environment and bump version @ text @d4 1 a4 1 dnl $Header: /e/ossp/cvs/ossp-pkg/petidomo/configure.in,v 1.10 2001/02/18 00:05:39 simons Exp $ d52 2 @ 1.10 log @- Removed AC_REVISION: The information can not be found trivially in the configure file anyway. - Rather than patching the "-g -O2" away, set CFLAGS in any case -- even if it is emty --, so that autoconf will not even generate it. @ text @d4 1 a4 1 dnl $Header: /e/ossp/cvs/ossp-pkg/petidomo/configure.in,v 1.9 2001/01/20 14:36:43 rse Exp $ d11 4 a14 4 AC_DIVERT_PUSH(AC_DIVERSION_NOTICE) V=`./etc/shtool version -lc -dlong version.c` ./etc/shtool echo -e "Configuring %BOSSP Petidomo%b, Version %B${V}%b" AC_DIVERT_POP() @ 1.9 log @Show a RSE/OSSP-style headline. @ text @d4 1 a4 1 dnl $Header: /e/ossp/cvs/ossp-pkg/petidomo/configure.in,v 1.8 2001/01/18 12:54:57 rse Exp $ a7 1 AC_REVISION($Revision: 1.8 $)dnl d9 2 d16 4 a47 8 dnl Remove '-g' from the compile flags. dnl CFLAGS=`echo $CFLAGS | sed -e "s/-g//"` dnl Turn '-O2' to '-O3'. dnl CFLAGS=`echo $CFLAGS | sed -e "s/-O2/-O3/"` @ 1.8 log @Switch to GNU shtool @ text @d4 1 a4 1 dnl $Header: /e/petidomo/cvs/petidomo/source/configure.in,v 1.7 2001/01/11 14:11:33 simons Exp $ d8 6 a13 1 AC_REVISION($Revision: 1.7 $)dnl @ 1.7 log @Added generate_cookie() routine taken from mapSoN. @ text @d4 1 a4 1 dnl $Header: /d1/e/petidomo/cvs/petidomo/source/configure.in,v 1.6 2001/01/08 15:14:41 simons Exp $ d8 1 a8 2 AC_CONFIG_AUX_DIR(../etc) AC_REVISION($Revision: 1.6 $)dnl @ 1.6 log @Removed the ETCDIR stuff again. We use sysconfdir instead. @ text @d4 1 a4 1 dnl $Header: /d1/e/petidomo/cvs/petidomo/source/configure.in,v 1.5 2001/01/06 14:12:21 simons Exp $ d9 1 a9 1 AC_REVISION($Revision: 1.5 $)dnl d23 6 @ 1.5 log @Replaced the old basedir-mechanism in Petidomo, which used to be the home directory of the petidomo user. Now, Petidomo expects its master config file in ETCDIR, which is '/etc' per default. All other paths will be set there at run-time. @ text @d4 1 a4 1 dnl $Header: /d1/e/petidomo/cvs/petidomo/source/configure.in,v 1.4 2000/12/16 13:18:18 simons Exp $ d9 1 a9 1 AC_REVISION($Revision: 1.4 $)dnl a40 23 dnl Where is the /etc directory? dnl AC_MSG_CHECKING(etcdir) AC_ARG_WITH(etcdir, [ --with-etcdir=PATH Directory containing petidomo.conf (default /etc).], [ case "$withval" in no) AC_MSG_ERROR(Need ETCDIR.) ;; yes) ETCDIR="/etc" AC_MSG_RESULT(/etc) ;; *) ETCDIR="$withval" AC_MSG_RESULT($withval) ;; esac ], ETCDIR="/etc" AC_MSG_RESULT(/etc) ) AC_SUBST(ETCDIR) @ 1.4 log @Use petidomo.h file to determine $srcdir, rather than main.c. @ text @d4 1 a4 1 dnl $Header: /d1/e/petidomo/cvs/petidomo/source/configure.in,v 1.3 2000/12/14 15:09:16 simons Exp $ d9 1 a9 1 AC_REVISION($Revision: 1.3 $)dnl d41 23 @ 1.3 log @ - Libraries do not need Autoconf anymore, thus I removed the AC_CONFIG_SUBDIRS call. - Added -O3 to CFLAGS for the sake of good optimization. @ text @d4 1 a4 1 dnl $Header: /d1/e/petidomo/cvs/petidomo/source/configure.in,v 1.2 2000/12/13 16:42:17 simons Exp $ d7 1 a7 1 AC_INIT(main.c) d9 1 a9 1 AC_REVISION($Revision: 1.2 $)dnl @ 1.2 log @After changing librfc822 to get along without libmpools, the library can (and has been) removed from Petidomo. @ text @d4 1 a4 1 dnl $Header: /d1/e/petidomo/cvs/petidomo/source/configure.in,v 1.1 2000/12/13 15:55:05 simons Exp $ d9 1 a9 1 AC_REVISION($Revision: 1.1 $)dnl d38 1 a38 2 dnl Run the sub-system configures. d40 1 a40 6 AC_CONFIG_SUBDIRS(libargv) AC_CONFIG_SUBDIRS(libconfigfile) AC_CONFIG_SUBDIRS(libdebug) AC_CONFIG_SUBDIRS(liblists) AC_CONFIG_SUBDIRS(librfc822) AC_CONFIG_SUBDIRS(libtext) @ 1.1 log @The source for the configure script generated by Autoconf. @ text @d4 1 a4 1 dnl $Header: /home/cvs/OpenPetidomo/source/configure.in,v 1.22 2000/08/01 14:10:30 simons Exp $ d9 1 a9 1 AC_REVISION($Revision: 1.22 $)dnl a44 1 AC_CONFIG_SUBDIRS(libmpools) @