comparison 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
comparison
equal deleted inserted replaced
2511:b9a1074dc6bf 2512:38caebdefb55
40 all default compiler flags except those that control 40 all default compiler flags except those that control
41 warnings. 41 warnings.
42 --cflags-warning=FLAGS Override compiler flags used to control warnings. 42 --cflags-warning=FLAGS Override compiler flags used to control warnings.
43 Normally, don't set this, as XEmacs already turns on 43 Normally, don't set this, as XEmacs already turns on
44 the maximum safe warning level. 44 the maximum safe warning level.
45 --with-optimization Control whether compilation is optimized.
46 By default, optimization is on in release versions
47 and off in beta versions, since it can interfere
48 with proper stack backtraces.
49 --cflags-optimization=FLAGS
50 Override compiler flags used to control optimization.
51 Only has an effect when optimization is enabled.
52 Normally, don't set this, as XEmacs will already set
53 the maximum safe optimization flags appropriate for
54 the compiler being invoked.
55 --cflags-debugging=FLAGS
56 Override compiler flags used to add debugging
57 information to the executable. Normally, debugging
58 information is added whenever possible (i.e. unless
59 optimization is turned on and the compiler does not
60 permit debugging and optimization simultaneously).
45 --cpp=PROG C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E) 61 --cpp=PROG C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E)
46 --cppflags=FLAGS C preprocessor flags (e.g. -I/foo or -Dfoo=bar) 62 --cppflags=FLAGS C preprocessor flags (e.g. -I/foo or -Dfoo=bar)
47 --libs=LIBS Additional libraries (e.g. -lfoo) 63 --libs=LIBS Additional libraries (e.g. -lfoo)
48 --ldflags=FLAGS Additional linker flags (e.g. -L/foo) 64 --ldflags=FLAGS Additional linker flags (e.g. -L/foo)
49 --site-includes=PATH List of directories to search first for header files 65 --site-includes=PATH List of directories to search first for header files