diff options
| author | Jan Djärv | 2007-06-20 19:38:28 +0000 |
|---|---|---|
| committer | Jan Djärv | 2007-06-20 19:38:28 +0000 |
| commit | 31ad88509df176b91fd214f526c8c32fe852d624 (patch) | |
| tree | 042c4d922cc24d0628d0646f1e3e2bb03300fba0 | |
| parent | eaea8b1da70cd22ea96ca20f5494640df9a6a9a2 (diff) | |
| download | emacs-31ad88509df176b91fd214f526c8c32fe852d624.tar.gz emacs-31ad88509df176b91fd214f526c8c32fe852d624.zip | |
Complain if X seems to be installed but no
development files where found.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.in | 16 |
2 files changed, 21 insertions, 0 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-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 | |||
| 1 | 2007-06-20 Glenn Morris <rgm@gnu.org> | 6 | 2007-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 | ;; |
| 1893 | esac | 1893 | esac |
| 1894 | 1894 | ||
| 1895 | if 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 | ||
| 1901 | where found. You should install the relevant development files for X | ||
| 1902 | and the for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | ||
| 1903 | sure you have development files for image handling, i.e. | ||
| 1904 | tiff, gif, jpeg, png and xpm. | ||
| 1905 | If you are sure you want Emacs compiled without X window support, pass | ||
| 1906 | --without-x | ||
| 1907 | to configure.]) | ||
| 1908 | fi | ||
| 1909 | fi | ||
| 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. |
| 1896 | HAVE_MENUS=no | 1912 | HAVE_MENUS=no |
| 1897 | case ${HAVE_X11} in | 1913 | case ${HAVE_X11} in |