bash: Compilers and Options
1
1 10.2 Compilers and Options
1 ==========================
1
1 Some systems require unusual options for compilation or linking that the
1 'configure' script does not know about. You can give 'configure'
1 initial values for variables by setting them in the environment. Using
1 a Bourne-compatible shell, you can do that on the command line like
1 this:
1
1 CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
1
1 On systems that have the 'env' program, you can do it like this:
1
1 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
1
1 The configuration process uses GCC to build Bash if it is available.
1