Fix in HAVE_X_SM test

This commit is contained in:
Jan Djärv 2003-11-16 18:32:34 +00:00
parent 037558bfd9
commit d77711a5a6
2 changed files with 2 additions and 1 deletions

View file

@ -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>

View 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).])