From 914648cc2b8152f7d697c301be84e881ed926001 Mon Sep 17 00:00:00 2001 From: kojima Date: Wed, 20 Oct 1999 03:21:02 +0000 Subject: [PATCH] abort configure when X is not found --- ChangeLog | 6 +++++- configure.in | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fdfbe7d5..d1abada5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,10 +6,14 @@ Changes since version 0.61.1: - removed "Keep Attracted Icons" option from Clip's menu. See NEWS. - fixed bug in Xdnd code to be able to work with QT. (This is QT's bug so it will change again in future) +- replaced debugging output stuff with Nana +- fixed problem with session restoring and dock autolaunch (Jacek Naglak + ) +- put WorkspaceNamePosition in WPrefs +- added a lock to docked icons - fixed crashing bug in WPrefs.app's Appearance section. - fixed sorting of names in icon chooser, and file browser. - Changes since version 0.61.0: ............................. diff --git a/configure.in b/configure.in index c59d29f0..629697b2 100644 --- a/configure.in +++ b/configure.in @@ -329,6 +329,12 @@ dnl =========================================== AC_PATH_XTRA +if test $no_x; then + AC_MSG_ERROR([The path for the X11 files not found! +Make sure you have X and it's headers and libraries (the -devel packages +in Linux) installed.]) +fi + X_LIBRARY_PATH=$x_libraries XCFLAGS="$X_CFLAGS" @@ -656,6 +662,8 @@ if test "$enable_debug" = yes; then # Efence makes things too slow. Add it by hand in the Makefiles # if it is really needed. # AC_CHECK_LIB(efence, malloc, LIBS="$LIBS -lefence") +else + DFLAGS="-DWITHOUT_NANA" fi AC_SUBST(DFLAGS)