* configure.in: Fix help text for gpm and ncurses. Properly
handle --without-ncurses. Reported by Moritz Barsnick <moritz@barsnick.net>
Этот коммит содержится в:
родитель
fa57ac87d4
Коммит
b42a87f315
@ -1,5 +1,9 @@
|
||||
2002-08-23 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Fix help text for gpm and ncurses. Properly
|
||||
handle --without-ncurses.
|
||||
Reported by Moritz Barsnick <moritz@barsnick.net>
|
||||
|
||||
* configure.in: Work around a bug in Autoconf-2.53 that prevents
|
||||
splitting of user-specified path in AC_PATH_PROGS.
|
||||
|
||||
|
@ -302,7 +302,7 @@ mouse_lib="xterm only"
|
||||
case $host_os in
|
||||
linux*)
|
||||
AC_ARG_WITH(gpm-mouse,
|
||||
[--with-gpm-mouse[=base-dir] Compile with gpm mouse support (Linux only)],
|
||||
[--with-gpm-mouse[[=base-dir]] Compile with gpm mouse support (Linux only)],
|
||||
[if test x$withval != xno
|
||||
then
|
||||
if test x$withval != xyes
|
||||
@ -326,8 +326,9 @@ linux*)
|
||||
esac
|
||||
|
||||
AC_ARG_WITH(ncurses,
|
||||
[--with-ncurses[=base-dir] Compile with ncurses/locate base dir],
|
||||
[if test x$withval != xyes; then
|
||||
[--with-ncurses[[=base-dir]] Compile with ncurses/locate base dir],
|
||||
[if test x$withval != xno; then
|
||||
if test x$withval != xyes; then
|
||||
MCLIBS="$MCLIBS -L$withval/lib"
|
||||
CPPFLAGS="$CPPFLAGS -I$withval/include"
|
||||
fi
|
||||
@ -346,6 +347,7 @@ AC_ARG_WITH(ncurses,
|
||||
screen_manager="ncurses"
|
||||
AC_DEFINE(USE_NCURSES, 1,
|
||||
[Define to use ncurses for screen management])
|
||||
fi
|
||||
])
|
||||
|
||||
AC_ARG_WITH(hsc,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user