* 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
This commit is contained in:
parent
eee0d887dc
commit
51dc0fe191
12
configure.ac
12
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.])
|
||||
|
|
Loading…
Reference in New Issue