]> skyeroc.xyz Git - dgamelaunch/commitdiff
* Add comment recommending autoconf 2.53
authorJilles Tjoelker <jilles@stack.nl>
Fri, 18 Jun 2004 18:51:53 +0000 (18:51 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Fri, 18 Jun 2004 18:51:53 +0000 (18:51 +0000)
* 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

index 13c666e6cc76fdc98e19797df88f6e670dc1edcf..cb792ee96d90f29cb5be45eb6312ebc3e9f0bc7e 100644 (file)
@@ -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.])