From: markus schnalke Date: Tue, 27 Mar 2012 10:21:43 +0000 (+0200) Subject: Show assignment of configure variables using VAR=VALUE instead of in the env. X-Git-Tag: mmh-thesis-end~147 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=7c5f2d98b1e0519cd3bfcc3b01be06db3eafb27d;p=mmh Show assignment of configure variables using VAR=VALUE instead of in the env. Pulled in from nmh. Thanks to David Levine. --- diff --git a/INSTALL b/INSTALL index b8f0409..78e1390 100644 --- a/INSTALL +++ b/INSTALL @@ -71,18 +71,16 @@ By default, configure will use the "gcc" compiler if found. You can use a different compiler, or add unusual options for compiling or linking that the "configure" script does not know about, by either editing the user configuration section of the top level Makefile (after running configure) -or giving "configure" initial values for these variables by setting them -in the environment. Using a Bourne-compatible shell (such as sh,ksh,zsh), +or giving "configure" initial values for these in its command line or in +its environment. For example: -you can do that on the command line like this: - CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix Or on systems that have the "env" program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure -If you want to add to, not replace, compile flags, you can use -OURDEFS with env or like this: - OURDEFS='-Wextra -Wno-sign-compare' ./configure +If you want to add to, not replace, compile flags, you can use OURDEFS: + ./configure OURDEFS='-Wextra -Wno-sign-compare' ---------------------------------------- Building mmh on additional architectures