aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2007-06-20 19:38:28 +0000
committerJan Djärv2007-06-20 19:38:28 +0000
commit31ad88509df176b91fd214f526c8c32fe852d624 (patch)
tree042c4d922cc24d0628d0646f1e3e2bb03300fba0
parenteaea8b1da70cd22ea96ca20f5494640df9a6a9a2 (diff)
downloademacs-31ad88509df176b91fd214f526c8c32fe852d624.tar.gz
emacs-31ad88509df176b91fd214f526c8c32fe852d624.zip
Complain if X seems to be installed but no
development files where found.
-rw-r--r--ChangeLog5
-rw-r--r--configure.in16
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d535c87bd5d..f793c64244e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12007-06-20 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * configure.in: Complain if X seems to be installed but no
4 development files where found.
5
12007-06-20 Glenn Morris <rgm@gnu.org> 62007-06-20 Glenn Morris <rgm@gnu.org>
2 7
3 * configure.in: Prefer libgif over libungif. 8 * configure.in: Prefer libgif over libungif.
diff --git a/configure.in b/configure.in
index f4d6aa1a5ab..b5c6c1b0aa2 100644
--- a/configure.in
+++ b/configure.in
@@ -1892,6 +1892,22 @@ dnl use the toolkit if we have gtk, or X11R5 or newer.
1892 ;; 1892 ;;
1893esac 1893esac
1894 1894
1895if test "$window_system" = none && test "X$with_x" != "Xno"; then
1896 AC_CHECK_PROG(HAVE_XSERVER, X, true, false)
1897 if test "$HAVE_XSERVER" = true ||
1898 test -n "$DISPLAY" ||
1899 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
1900 AC_MSG_ERROR([You seem to be running X, but no X development libraries
1901where found. You should install the relevant development files for X
1902and the for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
1903sure you have development files for image handling, i.e.
1904tiff, gif, jpeg, png and xpm.
1905If you are sure you want Emacs compiled without X window support, pass
1906 --without-x
1907to configure.])
1908 fi
1909fi
1910
1895### If we're using X11, we should use the X menu package. 1911### If we're using X11, we should use the X menu package.
1896HAVE_MENUS=no 1912HAVE_MENUS=no
1897case ${HAVE_X11} in 1913case ${HAVE_X11} in