Added "user-friendly" warning for missing X.

This commit is contained in:
Ove Kaaven 1999-01-23 13:59:11 +00:00 committed by Alexandre Julliard
parent 3d50646786
commit 8b4431f131
2 changed files with 18 additions and 4 deletions

11
configure vendored
View File

@ -4506,12 +4506,20 @@ rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
if test "$have_x" = "no"
then
echo
echo "*** Warning: X development files not found. Wine will be built without"
echo "*** X support, which currently does not work, and would probably not be"
echo "*** what you want anyway. You will need to install devel packages of"
echo "*** Xlib/Xfree86 and Xpm at the very least."
fi
if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes" if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
then then
echo echo
echo "*** Warning: resizeterm not found in ncurses. Wine will be built without" echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
echo "*** terminal resize support. Consider upgrading ncurses." echo "*** terminal resize support. Consider upgrading ncurses."
echo
fi fi
if test "$wine_cv_libc_reentrant" = "no" if test "$wine_cv_libc_reentrant" = "no"
@ -4520,7 +4528,6 @@ then
echo "*** Warning: non-reentrant libc detected. Wine will be build without" echo "*** Warning: non-reentrant libc detected. Wine will be build without"
echo "*** thread support. Consider upgrading libc to a more recent" echo "*** thread support. Consider upgrading libc to a more recent"
echo "*** reentrant version of libc." echo "*** reentrant version of libc."
echo
fi fi
echo echo

View File

@ -619,12 +619,20 @@ windows/Makefile
windows/ttydrv/Makefile windows/ttydrv/Makefile
windows/x11drv/Makefile ]) windows/x11drv/Makefile ])
if test "$have_x" = "no"
then
echo
echo "*** Warning: X development files not found. Wine will be built without"
echo "*** X support, which currently does not work, and would probably not be"
echo "*** what you want anyway. You will need to install devel packages of"
echo "*** Xlib/Xfree86 and Xpm at the very least."
fi
if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes" if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
then then
echo echo
echo "*** Warning: resizeterm not found in ncurses. Wine will be built without" echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
echo "*** terminal resize support. Consider upgrading ncurses." echo "*** terminal resize support. Consider upgrading ncurses."
echo
fi fi
if test "$wine_cv_libc_reentrant" = "no" if test "$wine_cv_libc_reentrant" = "no"
@ -633,7 +641,6 @@ then
echo "*** Warning: non-reentrant libc detected. Wine will be build without" echo "*** Warning: non-reentrant libc detected. Wine will be build without"
echo "*** thread support. Consider upgrading libc to a more recent" echo "*** thread support. Consider upgrading libc to a more recent"
echo "*** reentrant version of libc." echo "*** reentrant version of libc."
echo
fi fi
echo echo