Added --without-curses compile option.
This commit is contained in:
parent
166209a725
commit
5e5ad53109
13
configure.in
13
configure.in
|
@ -17,6 +17,7 @@ EMU_TARGET=wine
|
||||||
LIBEXT=so # library type .so or .a
|
LIBEXT=so # library type .so or .a
|
||||||
TRACE_MSGS=yes # the TRACE() macro
|
TRACE_MSGS=yes # the TRACE() macro
|
||||||
DEBUG_MSGS=yes # the TRACE(), WARN(), and FIXME() macros.
|
DEBUG_MSGS=yes # the TRACE(), WARN(), and FIXME() macros.
|
||||||
|
CURSES=yes
|
||||||
|
|
||||||
AC_ARG_ENABLE(emulator,
|
AC_ARG_ENABLE(emulator,
|
||||||
[ --disable-emulator build only the Wine library, not the emulator],
|
[ --disable-emulator build only the Wine library, not the emulator],
|
||||||
|
@ -34,6 +35,10 @@ AC_ARG_ENABLE(trace,
|
||||||
[ --disable-trace compile out TRACE messages],
|
[ --disable-trace compile out TRACE messages],
|
||||||
[if test "$enableval" = "no"; then TRACE_MSGS="no"; fi])
|
[if test "$enableval" = "no"; then TRACE_MSGS="no"; fi])
|
||||||
|
|
||||||
|
AC_ARG_WITH(curses,
|
||||||
|
[ --without-curses do not use curses],
|
||||||
|
[if test "$withval" = "no"; then CURSES="no"; fi])
|
||||||
|
|
||||||
AC_ARG_WITH(reentrant-x,
|
AC_ARG_WITH(reentrant-x,
|
||||||
[ --without-reentrant-x compile for use with non-reentrant X libraries])
|
[ --without-reentrant-x compile for use with non-reentrant X libraries])
|
||||||
|
|
||||||
|
@ -248,6 +253,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl **** Check which curses lib to use ***
|
dnl **** Check which curses lib to use ***
|
||||||
|
if test "$CURSES" = "yes"
|
||||||
|
then
|
||||||
AC_CHECK_HEADERS(ncurses.h)
|
AC_CHECK_HEADERS(ncurses.h)
|
||||||
if test "$ac_cv_header_ncurses_h" = "yes"
|
if test "$ac_cv_header_ncurses_h" = "yes"
|
||||||
then
|
then
|
||||||
|
@ -262,10 +269,14 @@ else
|
||||||
if test "$ac_cv_header_curses_h" = "yes"
|
if test "$ac_cv_header_curses_h" = "yes"
|
||||||
then
|
then
|
||||||
AC_CHECK_LIB(curses,waddch)
|
AC_CHECK_LIB(curses,waddch)
|
||||||
|
if test "$ac_cv_lib_curses_waddch" = "yes"
|
||||||
|
then
|
||||||
AC_CHECK_LIB(curses,resizeterm,AC_DEFINE(HAVE_RESIZETERM))
|
AC_CHECK_LIB(curses,resizeterm,AC_DEFINE(HAVE_RESIZETERM))
|
||||||
AC_CHECK_LIB(curses,getbkgd,AC_DEFINE(HAVE_GETBKGD))
|
AC_CHECK_LIB(curses,getbkgd,AC_DEFINE(HAVE_GETBKGD))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
dnl **** Check for IPX (currently Linux only) ****
|
dnl **** Check for IPX (currently Linux only) ****
|
||||||
AC_CACHE_CHECK("for GNU style IPX support", ac_cv_c_ipx_gnu,
|
AC_CACHE_CHECK("for GNU style IPX support", ac_cv_c_ipx_gnu,
|
||||||
|
@ -654,7 +665,6 @@ AC_CHECK_HEADERS(\
|
||||||
a_out.h \
|
a_out.h \
|
||||||
arpa/inet.h \
|
arpa/inet.h \
|
||||||
arpa/nameser.h \
|
arpa/nameser.h \
|
||||||
curses.h \
|
|
||||||
elf.h \
|
elf.h \
|
||||||
float.h \
|
float.h \
|
||||||
libio.h \
|
libio.h \
|
||||||
|
@ -662,7 +672,6 @@ AC_CHECK_HEADERS(\
|
||||||
linux/cdrom.h \
|
linux/cdrom.h \
|
||||||
linux/joystick.h \
|
linux/joystick.h \
|
||||||
linux/ucdrom.h \
|
linux/ucdrom.h \
|
||||||
ncurses.h \
|
|
||||||
net/if.h \
|
net/if.h \
|
||||||
netinet/in.h \
|
netinet/in.h \
|
||||||
netinet/tcp.h \
|
netinet/tcp.h \
|
||||||
|
|
Loading…
Reference in New Issue