[frogr] Do not allow manually selecting the target platform



commit 846b4f393dd7c9bff24d2fa811865c870e7c593b
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Fri Apr 22 20:33:38 2011 +0200

    Do not allow manually selecting the target platform

 configure.ac |   15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 19d7f9c..58fd650 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,20 +39,9 @@ FROGR_LIBS="$FROGR_LIBS $LIBXML2_LIBS"
 # Select target platform to make platform-dependant decisions
 
 if $PKG_CONFIG --exists ige-mac-integration; then
-   detected_platform=macosx
+   platform=macosx
 else
-   detected_platform=gnome
-fi
-
-AC_ARG_WITH(platform, [
-Target platform:
-  --with-platform=detect  detect target platform (default)
-  --with-platform=gnome   compile for Gnome
-  --with-platform=macosx  compile for Mac OSX],
-  platform=$withval, platform=detect)
-
-if test "$platform" = "detect"; then
-   platform=$detected_platform
+   platform=gnome
 fi
 
 if test "x$platform" = "xmacosx"; then



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