head 1.7; access; symbols ISELECT_1_4_0:1.7 ISELECT_1_3_1:1.5 ISELECT_1_3_0:1.4 ISELECT_1_2_0:1.1.1.3 ISELECT_1_1_0:1.1.1.2 ISELECT_1_0_4:1.1.1.2 ISELECT_1_0_0:1.1.1.1 vendor:1.1.1; locks; strict; comment @# @; 1.7 date 2007.07.08.09.29.58; author rse; state Exp; branches; next 1.6; commitid ObamjpVWwRqOIWos; 1.6 date 2007.07.08.09.28.11; author rse; state Exp; branches; next 1.5; commitid P0IqEKWWbsvcIWos; 1.5 date 2005.10.05.18.19.42; author rse; state Exp; branches; next 1.4; 1.4 date 2004.09.11.15.24.05; author rse; state Exp; branches; next 1.3; 1.3 date 2004.09.11.15.18.49; author rse; state Exp; branches; next 1.2; 1.2 date 2000.07.25.11.53.24; author rse; state Exp; branches; next 1.1; 1.1 date 97.09.16.16.00.35; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 97.09.16.16.00.35; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 97.11.24.09.14.24; author rse; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 99.03.31.06.37.26; author rse; state Exp; branches; next ; desc @@ 1.7 log @upgrade to GNU autoconf 2.61 @ text @dnl ## dnl ## configure.in -- GNU autoconf configuration spec dnl ## Copyright (c) Ralf S. Engelschall dnl ## AC_PREREQ(2.61)dnl AC_REVISION(1.0)dnl AC_INIT(README) SHTOOL="./etc/shtool" T_MD=`$SHTOOL echo -e %B 2>/dev/null` T_ME=`$SHTOOL echo -e %b 2>/dev/null` echo "${T_MD}Configuring for iSelect `./etc/shtool version -lc -dlong iselect_version.c`${T_ME}" echo "Copyright (c) 1997-2007 Ralf S. Engelschall " AC_CONFIG_HEADER(config_ac.h)dnl AC_PREFIX_DEFAULT(/usr/local) AC_CONFIGURE_PART(CHECK: Build Environment) AC_PROG_CC AC_PROG_CPP AC_MSG_CHECKING(for compilation debug mode) AC_ARG_ENABLE(debug,dnl [ --enable-debug to enable the debugging options for compilation], x="enabled" CFLAGS="-Wall -g" LDFLAGS="-g" debug=on , x=disabled CFLAGS="-O2" LDFLAGS="" debug=off )dnl AC_SUBST(debug) AC_MSG_RESULT([$x]) AC_SET_MAKE AC_SUBST(SHTOOL) AC_CONFIGURE_PART(CHECK: Curses Environment) AC_MSG_CHECKING(for additional include dir) AC_ARG_WITH(incdir,dnl [ --with-incdir=DIR add DIR to the include path], CFLAGS="$CFLAGS -I$with_incdir" CPPFLAGS="$CPPFLAGS -I$with_incdir" x="$with_incdir" , x="none particular" )dnl AC_MSG_RESULT([$x]) AC_MSG_CHECKING(for additional library dir) AC_ARG_WITH(libdir,dnl [ --with-libdir=DIR add DIR to the library path], LDFLAGS="$LDFLAGS -L$with_libdir" x="$with_libdir" , x="none particular" )dnl AC_MSG_RESULT([$x]) AC_CHECK_HEADER(ncurses/ncurses.h, HAVE_NCURSES_HEADER=YES, HAVE_NCURSES_HEADER=NO) AC_CHECK_LIB(ncurses, initscr, HAVE_NCURSES_LIB=YES, HAVE_NCURSES_LIB=NO) AC_CHECK_HEADER(slcurses.h, HAVE_SLCURSES_HEADER=YES, HAVE_SLCURSES_HEADER=NO) OLIBS=$LIBS LIBS="$LIBS -ltermcap" AC_CHECK_LIB(slang, SLcurses_initscr, HAVE_SLCURSES_LIB=YES, HAVE_SLCURSES_LIB=NO) LIBS=$OLIBS if test ".$HAVE_NCURSES_HEADER.$HAVE_NCURSES_LIB." = .YES.YES.; then USE_NCURSES=YES AC_DEFINE(USE_NCURSES, 1, [use NCurses]) LIBS="$LIBS -lncurses" AC_MSG_CHECKING([which Curses to use]) AC_MSG_RESULT([GNU NCurses]) else if test ".$HAVE_SLCURSES_HEADER.$HAVE_SLCURSES_LIB." = .YES.YES.; then USE_SLCURSES=YES AC_DEFINE(USE_SLCURSES, 1, [use SLcurses]) LIBS="$LIBS -lslang -ltermcap" AC_MSG_CHECKING([which Curses to use]) AC_MSG_RESULT([S-Lang Curses]) else USE_CURSES=YES AC_DEFINE(USE_CURSES, 1, [use plain Curses]) LIBS="$LIBS -lcurses" AC_MSG_CHECKING([which Curses to use]) AC_MSG_RESULT([Vendor Curses]) fi fi AC_CONFIGURE_PART(CHECK: System Ingredients) AC_CONST AC_STDC_HEADERS AC_HAVE_HEADERS(stdio.h stddef.h string.h strings.h stdlib.h) AC_CONFIGURE_PART(RESULT: Sourcefile Substitution) AC_OUTPUT(dnl Makefile dnl config_sc.h dnl ,dnl )dnl @ 1.6 log @bump up version and copyright information @ text @d6 1 a6 1 AC_PREREQ(2.59)dnl @ 1.5 log @adjust copyright yearW @ text @d13 1 a13 1 echo "Copyright (c) 1997-2005 Ralf S. Engelschall " @ 1.4 log @more cosmetics @ text @d6 1 a6 1 AC_PREREQ(2.50)dnl d13 1 a13 1 echo "Copyright (c) 1997-2004 Ralf S. Engelschall " @ 1.3 log @modernize source tree @ text @a104 4 echo "" echo "Now please type 'make' to compile. Good luck." echo "" @ 1.2 log @Merge in pending changes @ text @d1 1 a1 1 nl ## d3 1 a3 1 dnl ## Copyright (c) Ralf S. Engelschall, d6 3 a8 2 AC_PREREQ(2.10)dnl AC_REVISION($Revision: 1.12$) d13 1 a13 1 echo "Copyright (c) 1996-1999 Ralf S. Engelschall, All Rights Reserved." a14 1 AC_INIT(README) d27 2 a28 2 CFLAGS="-Wall -g -ggdb3" LDFLAGS="-g -ggdb3" d64 1 a64 1 AC_CHECK_HEADER(ncurses.h, HAVE_NCURSES_HEADER=YES, HAVE_NCURSES_HEADER=NO) d73 1 a73 1 AC_DEFINE(USE_NCURSES) d80 1 a80 1 AC_DEFINE(USE_SLCURSES) d86 1 a86 1 AC_DEFINE(USE_CURSES) a108 1 dnl ##EOF## @ 1.1 log @Initial revision @ text @d8 5 a12 1 echo "Configuring for iSelect `./etc/newvers -l c -D iselect_version.c`" a13 1 AC_CONFIG_AUX_DIR(etc) d40 1 a40 7 AC_PROG_INSTALL INSTALL_PROGRAM='${INSTALL} -s -m 755' INSTALL_SCRIPT='${INSTALL} -m 755' INSTALL_DATA='${INSTALL} -m 644' AC_SUBST(INSTALL_PROGRAM) AC_SUBST(INSTALL_SCRIPT) AC_SUBST(INSTALL_DATA) d42 3 a44 1 AC_MSG_CHECKING(for ncurses include dir) d48 1 d54 1 a54 1 AC_MSG_CHECKING(for ncurses library dir) d64 30 @ 1.1.1.1 log @Import iSelect 1.0.0 @ text @@ 1.1.1.2 log @Import iSelect 1.0.4 @ text @d45 1 a45 4 AC_CONFIGURE_PART(CHECK: Curses Environment) AC_MSG_CHECKING(for additional include dir) a48 1 CPPFLAGS="$CPPFLAGS -I$with_incdir" d54 1 a54 1 AC_MSG_CHECKING(for additional library dir) a63 30 AC_CHECK_HEADER(ncurses.h, HAVE_NCURSES_HEADER=YES, HAVE_NCURSES_HEADER=NO) AC_CHECK_LIB(ncurses, initscr, HAVE_NCURSES_LIB=YES, HAVE_NCURSES_LIB=NO) AC_CHECK_HEADER(slcurses.h, HAVE_SLCURSES_HEADER=YES, HAVE_SLCURSES_HEADER=NO) OLIBS=$LIBS LIBS="$LIBS -ltermcap" AC_CHECK_LIB(slang, SLcurses_initscr, HAVE_SLCURSES_LIB=YES, HAVE_SLCURSES_LIB=NO) LIBS=$OLIBS if test ".$HAVE_NCURSES_HEADER.$HAVE_NCURSES_LIB." = .YES.YES.; then USE_NCURSES=YES AC_DEFINE(USE_NCURSES) LIBS="$LIBS -lncurses" AC_MSG_CHECKING([which Curses to use]) AC_MSG_RESULT([GNU NCurses]) else if test ".$HAVE_SLCURSES_HEADER.$HAVE_SLCURSES_LIB." = .YES.YES.; then USE_SLCURSES=YES AC_DEFINE(USE_SLCURSES) LIBS="$LIBS -lslang -ltermcap" AC_MSG_CHECKING([which Curses to use]) AC_MSG_RESULT([S-Lang Curses]) else USE_CURSES=YES AC_DEFINE(USE_CURSES) LIBS="$LIBS -lcurses" AC_MSG_CHECKING([which Curses to use]) AC_MSG_RESULT([Vendor Curses]) fi fi AC_CONFIGURE_PART(CHECK: System Ingredients) @ 1.1.1.3 log @Import iSelect 1.2.0 @ text @d8 1 a8 5 SHTOOL="./etc/shtool" T_MD=`$SHTOOL becho -b 2>/dev/null` T_ME=`$SHTOOL becho -e 2>/dev/null` echo "${T_MD}Configuring for iSelect `./etc/shtool newvers -l c -d long iselect_version.c`${T_ME}" echo "Copyright (c) 1996-1999 Ralf S. Engelschall, All Rights Reserved." d10 1 d37 8 a44 1 AC_SUBST(SHTOOL) @