From 817bc971a81f1ff80afd33cdbeb2b25fda1d8a36 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Thu, 9 Sep 2004 15:10:33 +0000 Subject: [PATCH] r3659: Warn about missing libsm in configure.in (reported by fedewico). --- ROX-Filer/Help/Changes | 1 + ROX-Filer/src/configure.in | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ROX-Filer/Help/Changes b/ROX-Filer/Help/Changes index 859c06ba..18b84ef2 100644 --- a/ROX-Filer/Help/Changes +++ b/ROX-Filer/Help/Changes @@ -5,6 +5,7 @@ 09-Sep-2004 ~~~~~~~~~~~ Added --massif option for profiling memory usage (Thomas Leonard). +Warn about missing libsm in configure.in (reported by fedewico). 06-Sep-2004 ~~~~~~~~~~~ diff --git a/ROX-Filer/src/configure.in b/ROX-Filer/src/configure.in index 182b34e8..6c61ee60 100644 --- a/ROX-Filer/src/configure.in +++ b/ROX-Filer/src/configure.in @@ -133,6 +133,10 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h mntent.h sys/ucred.h sys/mntent.h apsymbols.h apbuild/apsymbols.h sys/statvfs.h sys/vfs.h) +AC_CHECK_HEADER([X11/SM/SMlib.h], [], + [AC_MSG_ERROR([Session management library (libsm) missing. It is part of the X server distribution. Try installing the libsm-dev package.])] +) + dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_UID_T -- 2.11.4.GIT