Bombo out with a moderately helpful message if detection of X libraries

Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>

	* configure.in (LDFLAGS): Bombo out with a moderately
	  helpful message if detection of X libraries fails.
This commit is contained in:
Owen Taylor
1998-05-24 02:02:20 +00:00
committed by Owen Taylor
parent ed9c2e8b44
commit 4a666956be
8 changed files with 44 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bombo out with a moderately
helpful message if detection of X libraries fails.
Thu May 21 12:33:15 BST 1998 Tony Gale <gale@gtk.org>
[1-1-0-Merge]

View File

@@ -1,3 +1,8 @@
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bombo out with a moderately
helpful message if detection of X libraries fails.
Thu May 21 12:33:15 BST 1998 Tony Gale <gale@gtk.org>
[1-1-0-Merge]

View File

@@ -1,3 +1,8 @@
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bombo out with a moderately
helpful message if detection of X libraries fails.
Thu May 21 12:33:15 BST 1998 Tony Gale <gale@gtk.org>
[1-1-0-Merge]

View File

@@ -1,3 +1,8 @@
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bombo out with a moderately
helpful message if detection of X libraries fails.
Thu May 21 12:33:15 BST 1998 Tony Gale <gale@gtk.org>
[1-1-0-Merge]

View File

@@ -1,3 +1,8 @@
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bombo out with a moderately
helpful message if detection of X libraries fails.
Thu May 21 12:33:15 BST 1998 Tony Gale <gale@gtk.org>
[1-1-0-Merge]

View File

@@ -1,3 +1,8 @@
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bombo out with a moderately
helpful message if detection of X libraries fails.
Thu May 21 12:33:15 BST 1998 Tony Gale <gale@gtk.org>
[1-1-0-Merge]

View File

@@ -1,3 +1,8 @@
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bombo out with a moderately
helpful message if detection of X libraries fails.
Thu May 21 12:33:15 BST 1998 Tony Gale <gale@gtk.org>
[1-1-0-Merge]

View File

@@ -93,6 +93,12 @@ fi
AC_PATH_X
AC_PATH_XTRA
if test "x$no_x" = "xyes"; then
AC_MSG_ERROR([
*** X libraries or include files not found. Check 'config.log' for
*** more details.])
fi
if test "x$x_includes" = "x"; then
x_includes="/usr/include"
fi
@@ -105,7 +111,9 @@ LDFLAGS="$X_LDFLAGS $X_LIBS"
# Checks for libraries.
# Check for the X11 library
AC_CHECK_LIB(X11, XOpenDisplay, x_libs="-lX11 $X_EXTRA_LIBS", no_x11_lib=yes, $X_EXTRA_LIBS)
AC_CHECK_LIB(X11, XOpenDisplay, x_libs="-lX11 $X_EXTRA_LIBS",
AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]),
$X_EXTRA_LIBS)
if test "x$enable_shm" = "xyes"; then
# Check for the Xext library (needed for XShm extention)