[gthumb] removed win32 smclient option which was unused anyway, set default to no



commit be49efbb6c86db172d67b8d0810168bab57d24e9
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Oct 31 16:17:42 2011 +0100

    removed win32 smclient option which was unused anyway, set default to no

 configure.ac |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6539962..bf931c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -526,14 +526,16 @@ GDK_TARGET="$($PKG_CONFIG --variable target gdk-2.0)"
 
 AC_MSG_CHECKING([which smclient backend to use])
 AC_ARG_WITH([smclient],
-  [AS_HELP_STRING([--with-smclient=no|xsmp|win32],
-		  [Setting smclient backend (default:auto)])],
-  [],
-  [case "$GDK_TARGET" in
+  [AS_HELP_STRING([--with-smclient=no|auto|xsmp],
+		  [Setting smclient backend (default:no)])],,
+		  [with_smclient=no])
+
+if test "$with_smclient" == "auto"; then
+  case "$GDK_TARGET" in
     x11) with_smclient=xsmp ;;
-    win32) with_smclient=$GDK_TARGET ;;
     *) with_smclient=no ;;
-   esac])
+  esac
+fi
 
 AC_MSG_RESULT([$with_smclient])
 



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