about summary refs log tree commit diff
path: root/INSTALL
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-08-11 18:27:04 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-08-11 18:27:04 +0000
commit7102a4696c91cc10e48cb21854435183d72b3e84 (patch)
tree4fb9510e4d19008b13f1f66c1dd6fe33ed69e326 /INSTALL
parent78526bb0c73e4052d89ef46a16264a391563b661 (diff)
downloadzsh-7102a4696c91cc10e48cb21854435183d72b3e84.tar.gz
zsh-7102a4696c91cc10e48cb21854435183d72b3e84.tar.xz
zsh-7102a4696c91cc10e48cb21854435183d72b3e84.zip
12598: configure takes --enable-cflags=... etc. arguments
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL9
1 files changed, 9 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 51240c963..4b95f8a54 100644
--- a/INSTALL
+++ b/INSTALL
@@ -130,6 +130,15 @@ you can do that on the command line like this:
 Or on systems that have the "env" program, you can do it like this:
     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
 
+The flags CFLAGS, CPPFLAGS, LDFLAGS and LIBS can also be set as flags to
+configure, where the name appears in lower case:
+    configure --enable-cflags=-O2 --enable-libs=-lposix
+
+The advantage of this form is that `config.status --recheck' will remember
+the flags you originally specified.  You can still override the flags when
+running `make' (although these will not be passed down via `config.status
+--recheck').
+
 Check Generated Files
 ---------------------