AC_ARG_ENABLE does not take the full --enable-foo option. Thanks cph!

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@469 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2009-10-17 21:15:59 +00:00
parent 972bb6fa6b
commit 72ed2a4969
1 changed files with 3 additions and 3 deletions

View File

@ -65,14 +65,14 @@ AC_SUBST(MKDEP_DIRECT)
AC_PROG_INSTALL AC_PROG_INSTALL
AC_SEARCH_LIBS(initscr, [curses ncurses]) AC_SEARCH_LIBS(initscr, [curses ncurses])
AC_ARG_ENABLE(enable-virus, AC_ARG_ENABLE(virus,
[AC_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.])],
[EDITOR=virus.c], [EDITOR=ee.c]) [EDITOR=virus.c], [EDITOR=ee.c])
AC_SUBST(EDITOR) AC_SUBST(EDITOR)
AC_ARG_ENABLE(enable-debugfile, AC_ARG_ENABLE(debugfile,
[AC_HELP_STRING([--enable-debugfile], [Enable debugging output to a file.])], [AC_HELP_STRING([--enable-debugfile], [Enable debugging output to a file.])],
[], []) [], [])
@ -82,7 +82,7 @@ if test "$enable_debugfile" = yes; then
fi fi
AC_ARG_ENABLE(enable-sqlite, AC_ARG_ENABLE(sqlite,
[AC_HELP_STRING([--enable-sqlite], [Use SQLite for the database instead of flat text file.])], [AC_HELP_STRING([--enable-sqlite], [Use SQLite for the database instead of flat text file.])],
[], []) [], [])