changeset 53074:b1025973e761

Fix in HAVE_X_SM test
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 16 Nov 2003 18:32:34 +0000
parents 49f65e04ba8e
children a919198c0f2f
files ChangeLog configure.in
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 16 16:55:08 2003 +0000
+++ b/ChangeLog	Sun Nov 16 18:32:34 2003 +0000
@@ -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>
 
--- a/configure.in	Sun Nov 16 16:55:08 2003 +0000
+++ b/configure.in	Sun Nov 16 18:32:34 2003 +0000
@@ -2255,7 +2255,7 @@
 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).])