Fix in HAVE_X_SM test
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 16 Nov 2003 18:32:34 +0000 (18:32 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 16 Nov 2003 18:32:34 +0000 (18:32 +0000)
ChangeLog
configure.in

index 2abd179..d2d1d0e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * configure.in (HAVE_GTK_MULTIDISPLAY): Check if GTK can handle
        multiple displays.
+        Wrong number of args to AC_CHECK_LIB for HAVE_X_SM test corrected.
 
 2003-09-23  Dave Love  <fx@gnu.org>
 
index 5a3c296..8a4dd5b 100644 (file)
@@ -2255,7 +2255,7 @@ fi
 HAVE_X_SM=no
 if test "${HAVE_X11}" = "yes"; then
   AC_CHECK_HEADER(X11/SM/SMlib.h,
-    AC_CHECK_LIB(SM, SmcOpenConnection, HAVE_X_SM=yes, -lICE))
+    AC_CHECK_LIB(SM, SmcOpenConnection, HAVE_X_SM=yes, -lICE))
 
   if test "${HAVE_X_SM}" = "yes"; then
     AC_DEFINE(HAVE_X_SM, 1, [Define to 1 if you have the SM library (-lSM).])