emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure.in


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/configure.in
Date: Sun, 10 Mar 2002 11:22:58 -0500

Index: emacs/configure.in
diff -c emacs/configure.in:1.287 emacs/configure.in:1.288
*** emacs/configure.in:1.287    Sat Mar  2 19:23:58 2002
--- emacs/configure.in  Sun Mar 10 11:22:57 2002
***************
*** 1935,1940 ****
--- 1935,1955 ----
    fi
  fi
  
+ ### Use session management (-lSM -lICE) if available
+ 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))
+ 
+   if test "${HAVE_X_SM}" = "yes"; then
+     AC_DEFINE(HAVE_X_SM)
+     case "$LIBS" in
+       *-lSM*) ;;
+       *)      LIBS="-lSM -lICE $LIBS" ;;
+     esac
+   fi
+ fi
+   
  # If netdb.h doesn't declare h_errno, we must declare it by hand.
  AC_CACHE_CHECK(whether netdb declares h_errno,
               emacs_cv_netdb_declares_h_errno,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]