[Kazehakase-cvs] CVS update: kazehakase

Zurück zum Archiv-Index

Hiroyuki Ikezoe ikezo****@users*****
Sun Jan 7 19:42:30 JST 2007


Index: kazehakase/ChangeLog
diff -u kazehakase/ChangeLog:1.1888 kazehakase/ChangeLog:1.1889
--- kazehakase/ChangeLog:1.1888	Sun Jan  7 19:06:36 2007
+++ kazehakase/ChangeLog	Sun Jan  7 19:42:30 2007
@@ -2,6 +2,7 @@
 
 	* src/kz-notebook.[ch]: Hide KzWindow..
 	* src/kz-statusbar.[ch]: Hide KzWindow.
+	* configure.in: Check session management library.
 
 2007-01-07  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 
Index: kazehakase/configure.in
diff -u kazehakase/configure.in:1.179 kazehakase/configure.in:1.180
--- kazehakase/configure.in:1.179	Wed Dec 20 13:05:25 2006
+++ kazehakase/configure.in	Sun Jan  7 19:42:30 2007
@@ -353,20 +353,6 @@
 AM_CONDITIONAL(ENABLE_GTK_WEBCORE, test x"$enable_gtk_webcore" = "xyes")
 
 dnl **************************************************************
-dnl Check for openssl 
-dnl **************************************************************
-dnl AC_ARG_ENABLE(ssl, [  --disable-ssl
-dnl 			  Disable OpenSSL suport],,
-dnl			  disable_ssl=no)
-dnl if test x"$disable_ssl" = "xno"; then
-dnl   PKG_CHECK_MODULES(SSL, openssl)
-dnl   AC_SUBST(SSL_CFLAGS)
-dnl   AC_SUBST(SSL_LIBS)
-dnl   AC_DEFINE(USE_SSL, 1, [Define using openssl])
-dnl fi
-dnl AM_CONDITIONAL(ENABLE_SSL, test x"$disable_ssl" = "xno")
-
-dnl **************************************************************
 dnl Check for GNU TLS
 dnl **************************************************************
 AC_ARG_ENABLE(ssl, [  --disable-ssl
@@ -380,6 +366,28 @@
 AM_CONDITIONAL(ENABLE_SSL, test x"$disable_ssl" = "xno")
 
 dnl **************************************************************
+dnl Check for Session Management
+dnl **************************************************************
+
+AC_PATH_XTRA
+
+SM_LIBS=""
+sm_save_cppflags="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS $X_CFLAGS"
+
+HAVE_SM=true
+AC_CHECK_LIB(SM, SmcSaveYourselfDone,
+	[SM_LIBS="$X_LIBS -lSM -lICE"],HAVE_SM=false,
+	$X_LIBS -lICE)
+AC_CHECK_HEADERS(X11/SM/SMlib.h,,HAVE_SM=false)
+if test "$HAVE_SM" = true; then
+	AC_DEFINE(HAVE_LIBSM, 1, [Define to 1 if you have libSM installed])
+fi
+
+AC_SUBST(SM_LIBS)
+CPPFLAGS="$sm_save_cppflags"
+
+dnl **************************************************************
 dnl Check for gettext.
 dnl **************************************************************
 ALL_LINGUAS="cs fr ja ru"
@@ -389,15 +397,6 @@
 localedir="${datadir}/locale"
 AC_SUBST(localedir)
 
-dnl
-dnl Check for bind_textdomain_codeset, including -lintl if GLib brings it in.
-dnl
-dnl kz_save_LIBS=$LIBS
-dnl LIBS="$LIBS $GTK_LIBS"
-dnl AC_CHECK_FUNCS(bind_textdomain_codeset)
-dnl LIBS=$kz_save_LIBS
-
-
 dnl **************************************************************
 dnl Checks for programs.
 dnl **************************************************************


More information about the Kazehakase-cvs mailing list
Zurück zum Archiv-Index