comparison configure.in @ 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 aa5d7d8f5736
children bebf0e828f3e
comparison
equal deleted inserted replaced
53073:49f65e04ba8e 53074:b1025973e761
2253 2253
2254 ### Use session management (-lSM -lICE) if available 2254 ### Use session management (-lSM -lICE) if available
2255 HAVE_X_SM=no 2255 HAVE_X_SM=no
2256 if test "${HAVE_X11}" = "yes"; then 2256 if test "${HAVE_X11}" = "yes"; then
2257 AC_CHECK_HEADER(X11/SM/SMlib.h, 2257 AC_CHECK_HEADER(X11/SM/SMlib.h,
2258 AC_CHECK_LIB(SM, SmcOpenConnection, HAVE_X_SM=yes, -lICE)) 2258 AC_CHECK_LIB(SM, SmcOpenConnection, HAVE_X_SM=yes, , -lICE))
2259 2259
2260 if test "${HAVE_X_SM}" = "yes"; then 2260 if test "${HAVE_X_SM}" = "yes"; then
2261 AC_DEFINE(HAVE_X_SM, 1, [Define to 1 if you have the SM library (-lSM).]) 2261 AC_DEFINE(HAVE_X_SM, 1, [Define to 1 if you have the SM library (-lSM).])
2262 case "$LIBS" in 2262 case "$LIBS" in
2263 *-lSM*) ;; 2263 *-lSM*) ;;