From 51dc0fe191090de0b2198dca9f8b151542716992 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Fri, 18 Jun 2004 18:51:53 +0000 Subject: [PATCH] * Add comment recommending autoconf 2.53 * Prefer -lcurses to -lncurses and don't try to find initscr in -ltermcap * Still not works properly on Solaris (but I needed a few patches earlier anyway) git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@307 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- configure.ac | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 13c666e..cb792ee 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,9 @@ +dnl Use autoconf 2.53 +dnl (Things tend to break across versions, they're neither upwards nor +dnl downward compatible. Blame GNU.) + AC_INIT(dgamelaunch, [1.4.6]) -AC_PREREQ(2.50) +AC_PREREQ(2.53) AC_CONFIG_HEADER(config.h) @@ -23,14 +27,14 @@ if test "$ac_cv_c_compiler_gnu" = yes; then fi AC_PROG_INSTALL -AC_SEARCH_LIBS(initscr, [ncurses curses termcap]) +AC_SEARCH_LIBS(initscr, [curses ncurses]) AC_ARG_ENABLE(enable-virus, -[AS_HELP_STRING([--enable-virus], [Use the 'virus' vi clone instead of the friendly ee editor.])], +[AC_HELP_STRING([--enable-virus], [Use the 'virus' vi clone instead of the friendly ee editor.])], [AC_SUBST(EDITOR, virus.c)], [AC_SUBST(EDITOR, ee.c)]) AC_ARG_WITH(config-file, -[AS_HELP_STRING([--with-config-file=PATH], [Define the path to the default configuration file.])], +[AC_HELP_STRING([--with-config-file=PATH], [Define the path to the default configuration file.])], [configfile=$withval], [configfile="/etc/dgamelaunch.conf"]) AC_DEFINE_UNQUOTED(DEFCONFIG, "$configfile", [Path to the default config file.]) -- 2.47.3