Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e


Modified Files:
        configure.in 


Log Message:
Add some configure option comments.

===================================================================
RCS file: /cvs/e/e16/e/configure.in,v
retrieving revision 1.263
retrieving revision 1.264
diff -u -3 -r1.263 -r1.264
--- configure.in        17 Jun 2008 17:35:51 -0000      1.263
+++ configure.in        21 Jun 2008 14:13:03 -0000      1.264
@@ -85,7 +85,7 @@
   enable_sound=yes)
 if test "x$enable_sound" = "xyes"; then
   AC_ARG_ENABLE(sound_pulse,
-    [  --enable-sound-pulse    compile with PulseAudio sound support 
@<:@default=no@:>@],,
+    [  --enable-sound-pulse    compile with PulseAudio sound support 
(experimental) @<:@default=no@:>@],,
     enable_sound_pulse=no)
   AC_ARG_ENABLE(sound_esound,
     [  --enable-sound-esound   compile with EsounD sound support 
@<:@default=yes@:>@],,
@@ -230,7 +230,7 @@
 fi
 
 AC_ARG_ENABLE(xscrnsaver,
-  [  --enable-xscrnsaver     compile with ScreenSaver support (experimental!) 
@<:@default=no@:>@],,
+  [  --enable-xscrnsaver     compile with ScreenSaver support 
(experimental/not useful) @<:@default=no@:>@],,
   enable_xscrnsaver=no)
 if test "x$enable_xscrnsaver" = "xyes"; then
   AC_CHECK_LIB(Xss, XScreenSaverQueryExtension,
@@ -275,7 +275,7 @@
 AM_CONDITIONAL(ENABLE_COMPOSITE, test "x$enable_composite" = "xyes")
 
 AC_ARG_ENABLE(dbus,
-  [  --enable-dbus           compile with D-Bus support @<:@default=no@:>@],,
+  [  --enable-dbus           compile with D-Bus support (experimental) 
@<:@default=no@:>@],,
   enable_dbus=no)
 if test "x$enable_dbus" = "xyes"; then
   PKG_CHECK_MODULES(DBUS, dbus-1, AC_DEFINE(USE_DBUS, 1, [dbus support]), 
enable_dbus=no)
@@ -312,12 +312,22 @@
 fi
 AM_CONDITIONAL(BUILD_MODULES, test "x$enable_modules" = "xyes")
 
+dnl Set default visibility to hidden (only useful with --enable-modules)
+AC_ARG_ENABLE(visibility-hiding,
+  [  --enable-visibility-hiding enable visibility hiding @<:@default=no@:>@],,
+  enable_visibility_hiding=no
+)
+
+if test "x$enable_visibility_hiding" = xyes ; then
+  CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
+fi
+
 AC_ARG_ENABLE(gcc-cpp,
   [  --enable-gcc-cpp        compile everything as if it were C++ 
@<:@default=no@:>@],,
   enable_gcc_cpp=no)
 if test "x$enable_gcc_cpp" = "xyes"; then
   CC="g++"
-  CPPFLAGS="-x c++"
+  CPPFLAGS="$CPPFLAGS -x c++"
 fi
 
 if test "x$GCC" = "xyes"; then
@@ -327,16 +337,6 @@
   fi
 fi
 
-dnl Set default visibility to hidden?
-AC_ARG_ENABLE(visibility-hiding,
-  [  --enable-visibility-hiding enable visibility hiding @<:@default=no@:>@],,
-  enable_visibility_hiding=no
-)
-
-if test "x$enable_visibility_hiding" = xyes ; then
-  CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
-fi
-
 AC_SUBST(E_X_LIBS)
 
 AM_CONFIG_HEADER(config.h)
@@ -386,6 +386,7 @@
 echo "  Sync ......................... $enable_xsync"
 echo "  Composite .................... $enable_composite"
 echo "  Modules ...................... $enable_modules"
+echo "  Visibility hiding ............ $enable_visibility_hiding (only useful 
with modules)"
 echo "  Window mode helper library ... $enable_roothacklib"
 echo
 echo "Experimental options - DO NOT USE unless you know what you are doing"



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to