From: mquinson Date: Tue, 7 Jun 2005 08:11:53 +0000 (+0000) Subject: configure documentation improvement, and document the --disable-compile-optimizations... X-Git-Tag: v3.3~3991 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/73a840e457ed83351caceb088b0880396fbe99e7 configure documentation improvement, and document the --disable-compile-optimizations instead of --enable-compile-optimizations since it's on by default. That way, bash completion works on the disable thing, which is the one we may want to use git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1364 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/acmacro/compiler-flags.m4 b/acmacro/compiler-flags.m4 index 0c577c2488..7d4d2e895f 100644 --- a/acmacro/compiler-flags.m4 +++ b/acmacro/compiler-flags.m4 @@ -6,11 +6,11 @@ dnl For now, only sets extra flags on GCC AC_DEFUN([SG_COMPILE_FLAGS],[ AC_ARG_ENABLE(compile-warnings, - AS_HELP_STRING([--enable-compile-warnings], [use compiler warnings (default=no)]), + AS_HELP_STRING([--enable-compile-warnings], [use compiler warnings (default=no, unless in maintainer mode)]), enable_compile_warnings=$withval,enable_compile_warnings=no) AC_ARG_ENABLE(compile-optimizations, - AS_HELP_STRING([--enable-compile-optimizations], [use compiler optimizations (default=yes, unless if CFLAGS is explicitly set)]), + AS_HELP_STRING([--disable-compile-optimizations], [use compiler optimizations (default=yes, unless if CFLAGS is explicitly set)]), enable_compile_optimizations=$enableval,enable_compile_optimizations=auto) if test "x$cflags_set" != "xyes" ; then