diff configure.usage @ 2512:38caebdefb55

[xemacs-hg @ 2005-01-26 10:02:12 by ben] Separate out optimization and debugging cflags configure.in, configure.usage: Add --with-optimization, cflags-optimization, cflags-debugging. Separate out optimization and debugging arguments. Document.
author ben
date Wed, 26 Jan 2005 10:02:13 +0000
parents 515786aa760a
children 6fa9919a9a0b
line wrap: on
line diff
--- a/configure.usage	Wed Jan 26 09:57:14 2005 +0000
+++ b/configure.usage	Wed Jan 26 10:02:13 2005 +0000
@@ -42,6 +42,22 @@
 --cflags-warning=FLAGS  Override compiler flags used to control warnings.
                         Normally, don't set this, as XEmacs already turns on
                         the maximum safe warning level.
+--with-optimization     Control whether compilation is optimized.
+                        By default, optimization is on in release versions
+                        and off in beta versions, since it can interfere
+                        with proper stack backtraces.
+--cflags-optimization=FLAGS
+                        Override compiler flags used to control optimization.
+			Only has an effect when optimization is enabled.
+                        Normally, don't set this, as XEmacs will already set
+                        the maximum safe optimization flags appropriate for
+                        the compiler being invoked.
+--cflags-debugging=FLAGS
+                        Override compiler flags used to add debugging
+                        information to the executable.  Normally, debugging
+                        information is added whenever possible (i.e. unless
+                        optimization is turned on and the compiler does not
+                        permit debugging and optimization simultaneously).
 --cpp=PROG              C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E)
 --cppflags=FLAGS        C preprocessor flags (e.g. -I/foo or -Dfoo=bar)
 --libs=LIBS             Additional libraries (e.g. -lfoo)