mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
configure: Remove some no longer used libcurses checks.
This commit is contained in:
parent
2a63a03eb1
commit
8f1d42eba4
47
configure
vendored
47
configure
vendored
@ -704,7 +704,6 @@ XML2INCL
|
|||||||
XSLTLIBS
|
XSLTLIBS
|
||||||
XSLTINCL
|
XSLTINCL
|
||||||
HALINCL
|
HALINCL
|
||||||
CURSESLIBS
|
|
||||||
sane_devel
|
sane_devel
|
||||||
SANELIBS
|
SANELIBS
|
||||||
SANEINCL
|
SANEINCL
|
||||||
@ -1362,7 +1361,6 @@ Optional Packages:
|
|||||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||||
--without-opengl do not use OpenGL
|
--without-opengl do not use OpenGL
|
||||||
--without-curses do not use curses
|
|
||||||
--with-wine-tools=<dir> use Wine tools from directory <dir>
|
--with-wine-tools=<dir> use Wine tools from directory <dir>
|
||||||
--with-x use the X Window System
|
--with-x use the X Window System
|
||||||
|
|
||||||
@ -1863,12 +1861,6 @@ if test "${with_opengl+set}" = set; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Check whether --with-curses was given.
|
|
||||||
if test "${with_curses+set}" = set; then
|
|
||||||
withval=$with_curses;
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Check whether --with-wine-tools was given.
|
# Check whether --with-wine-tools was given.
|
||||||
if test "${with_wine_tools+set}" = set; then
|
if test "${with_wine_tools+set}" = set; then
|
||||||
withval=$with_wine_tools;
|
withval=$with_wine_tools;
|
||||||
@ -10915,11 +10907,9 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CURSESLIBS=""
|
CURSESLIBS=""
|
||||||
if test "x$with_curses" != "xno"
|
if test "$ac_cv_header_ncurses_h" = "yes"
|
||||||
then
|
then
|
||||||
if test "$ac_cv_header_ncurses_h" = "yes"
|
{ echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
|
||||||
then
|
|
||||||
{ echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
|
|
||||||
echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
|
||||||
if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
|
if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
@ -10997,17 +10987,12 @@ fi
|
|||||||
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
|
||||||
echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
|
echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
|
||||||
if test $ac_cv_lib_ncurses_waddch = yes; then
|
if test $ac_cv_lib_ncurses_waddch = yes; then
|
||||||
|
CURSESLIBS="-lncurses"
|
||||||
cat >>confdefs.h <<\_ACEOF
|
|
||||||
#define HAVE_LIBNCURSES 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
CURSESLIBS="-lncurses"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif test "$ac_cv_header_curses_h" = "yes"
|
elif test "$ac_cv_header_curses_h" = "yes"
|
||||||
then
|
then
|
||||||
{ echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
|
{ echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
|
||||||
echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
|
||||||
if test "${ac_cv_lib_curses_waddch+set}" = set; then
|
if test "${ac_cv_lib_curses_waddch+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
@ -11085,17 +11070,12 @@ fi
|
|||||||
{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
|
||||||
echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
|
echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
|
||||||
if test $ac_cv_lib_curses_waddch = yes; then
|
if test $ac_cv_lib_curses_waddch = yes; then
|
||||||
|
CURSESLIBS="-lcurses"
|
||||||
cat >>confdefs.h <<\_ACEOF
|
|
||||||
#define HAVE_LIBCURSES 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
CURSESLIBS="-lcurses"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="$LIBS $CURSESLIBS"
|
LIBS="$LIBS $CURSESLIBS"
|
||||||
|
|
||||||
for ac_func in mousemask
|
for ac_func in mousemask
|
||||||
do
|
do
|
||||||
@ -11206,9 +11186,7 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
LIBS="$ac_save_LIBS"
|
LIBS="$ac_save_LIBS"
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Extract the first word of "sane-config", so it can be a program name with args.
|
# Extract the first word of "sane-config", so it can be a program name with args.
|
||||||
set dummy sane-config; ac_word=$2
|
set dummy sane-config; ac_word=$2
|
||||||
@ -24821,7 +24799,6 @@ XML2INCL!$XML2INCL$ac_delim
|
|||||||
XSLTLIBS!$XSLTLIBS$ac_delim
|
XSLTLIBS!$XSLTLIBS$ac_delim
|
||||||
XSLTINCL!$XSLTINCL$ac_delim
|
XSLTINCL!$XSLTINCL$ac_delim
|
||||||
HALINCL!$HALINCL$ac_delim
|
HALINCL!$HALINCL$ac_delim
|
||||||
CURSESLIBS!$CURSESLIBS$ac_delim
|
|
||||||
sane_devel!$sane_devel$ac_delim
|
sane_devel!$sane_devel$ac_delim
|
||||||
SANELIBS!$SANELIBS$ac_delim
|
SANELIBS!$SANELIBS$ac_delim
|
||||||
SANEINCL!$SANEINCL$ac_delim
|
SANEINCL!$SANEINCL$ac_delim
|
||||||
@ -24878,7 +24855,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
|||||||
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
|
||||||
break
|
break
|
||||||
elif $ac_last_try; then
|
elif $ac_last_try; then
|
||||||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
||||||
|
27
configure.ac
27
configure.ac
@ -16,7 +16,6 @@ AC_ARG_ENABLE(win16, AC_HELP_STRING([--disable-win16],[do not include Win16 supp
|
|||||||
AC_ARG_ENABLE(win64, AC_HELP_STRING([--enable-win64], [build a Win64 emulator on AMD64 (won't run Win32 binaries)]))
|
AC_ARG_ENABLE(win64, AC_HELP_STRING([--enable-win64], [build a Win64 emulator on AMD64 (won't run Win32 binaries)]))
|
||||||
|
|
||||||
AC_ARG_WITH(opengl, AC_HELP_STRING([--without-opengl],[do not use OpenGL]))
|
AC_ARG_WITH(opengl, AC_HELP_STRING([--without-opengl],[do not use OpenGL]))
|
||||||
AC_ARG_WITH(curses, AC_HELP_STRING([--without-curses],[do not use curses]))
|
|
||||||
AC_ARG_WITH(wine-tools,AC_HELP_STRING([--with-wine-tools=<dir>],[use Wine tools from directory <dir>]))
|
AC_ARG_WITH(wine-tools,AC_HELP_STRING([--with-wine-tools=<dir>],[use Wine tools from directory <dir>]))
|
||||||
|
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
@ -520,25 +519,17 @@ fi
|
|||||||
|
|
||||||
dnl **** Check which curses lib to use ***
|
dnl **** Check which curses lib to use ***
|
||||||
CURSESLIBS=""
|
CURSESLIBS=""
|
||||||
if test "x$with_curses" != "xno"
|
if test "$ac_cv_header_ncurses_h" = "yes"
|
||||||
then
|
then
|
||||||
if test "$ac_cv_header_ncurses_h" = "yes"
|
AC_CHECK_LIB(ncurses,waddch,[CURSESLIBS="-lncurses"])
|
||||||
then
|
elif test "$ac_cv_header_curses_h" = "yes"
|
||||||
AC_CHECK_LIB(ncurses,waddch,
|
then
|
||||||
[AC_DEFINE(HAVE_LIBNCURSES, 1, [Define if you have the ncurses library (-lncurses)])
|
AC_CHECK_LIB(curses,waddch,[CURSESLIBS="-lcurses"])
|
||||||
CURSESLIBS="-lncurses"])
|
|
||||||
elif test "$ac_cv_header_curses_h" = "yes"
|
|
||||||
then
|
|
||||||
AC_CHECK_LIB(curses,waddch,
|
|
||||||
[AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have the curses library (-lcurses)])
|
|
||||||
CURSESLIBS="-lcurses"])
|
|
||||||
fi
|
|
||||||
ac_save_LIBS="$LIBS"
|
|
||||||
LIBS="$LIBS $CURSESLIBS"
|
|
||||||
AC_CHECK_FUNCS(mousemask)
|
|
||||||
LIBS="$ac_save_LIBS"
|
|
||||||
fi
|
fi
|
||||||
AC_SUBST(CURSESLIBS)
|
ac_save_LIBS="$LIBS"
|
||||||
|
LIBS="$LIBS $CURSESLIBS"
|
||||||
|
AC_CHECK_FUNCS(mousemask)
|
||||||
|
LIBS="$ac_save_LIBS"
|
||||||
|
|
||||||
dnl **** Check for SANE ****
|
dnl **** Check for SANE ****
|
||||||
AC_CHECK_PROG(sane_devel,sane-config,sane-config,no)
|
AC_CHECK_PROG(sane_devel,sane-config,sane-config,no)
|
||||||
|
@ -306,18 +306,12 @@
|
|||||||
/* Define to 1 if you have the <libaudioio.h> header file. */
|
/* Define to 1 if you have the <libaudioio.h> header file. */
|
||||||
#undef HAVE_LIBAUDIOIO_H
|
#undef HAVE_LIBAUDIOIO_H
|
||||||
|
|
||||||
/* Define if you have the curses library (-lcurses) */
|
|
||||||
#undef HAVE_LIBCURSES
|
|
||||||
|
|
||||||
/* Define if you have the hal library */
|
/* Define if you have the hal library */
|
||||||
#undef HAVE_LIBHAL
|
#undef HAVE_LIBHAL
|
||||||
|
|
||||||
/* Define to 1 if you have the `i386' library (-li386). */
|
/* Define to 1 if you have the `i386' library (-li386). */
|
||||||
#undef HAVE_LIBI386
|
#undef HAVE_LIBI386
|
||||||
|
|
||||||
/* Define if you have the ncurses library (-lncurses) */
|
|
||||||
#undef HAVE_LIBNCURSES
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `nsl' library (-lnsl). */
|
/* Define to 1 if you have the `nsl' library (-lnsl). */
|
||||||
#undef HAVE_LIBNSL
|
#undef HAVE_LIBNSL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user