]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed bug in error message given if X headers/libs not found
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Oct 2005 11:11:36 +0000 (11:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Oct 2005 11:11:36 +0000 (11:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index c639a7a89feafd7caa9bd5c501858de6044b8403..433bdf38ce858b8d2f5f8339afe30389b26c0ac3 100755 (executable)
--- a/configure
+++ b/configure
@@ -28108,9 +28108,9 @@ fi
 
 
         if test "$no_x" = "yes"; then
 
 
         if test "$no_x" = "yes"; then
-          { { echo "$as_me:$LINENO: error: X11 not found" >&5
-echo "$as_me: error: X11 not found" >&2;}
-   { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
+          { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
+echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
+   { (exit 1); exit 1; }; }
         fi
 
                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
         fi
 
                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
index 785166c43c0403473084e5e8bbb186b7b6bc243b..add7284417e8d67453e008e5b4903dbeda069aad 100644 (file)
@@ -3019,7 +3019,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
         AC_PATH_XTRA
 
         if test "$no_x" = "yes"; then
         AC_PATH_XTRA
 
         if test "$no_x" = "yes"; then
-          AC_MSG_ERROR(X11 not found, please use --x-includes and/or --x-libraries options)
+          AC_MSG_ERROR([X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)])
         fi
 
         dnl for some reason AC_PATH_XTRA seems to add -INONE and -LNONE (and
         fi
 
         dnl for some reason AC_PATH_XTRA seems to add -INONE and -LNONE (and