diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-23 17:56:20 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-23 17:56:20 -0800 |
commit | a7d759201fb53a5d632a0d178908da0248ff9cc1 (patch) | |
tree | cfd5b630324f2470039469d5962346a1c62d3f70 /configure | |
parent | 65e6e1ac4913e82778db75f23fbd05667c23db1f (diff) | |
download | txr-a7d759201fb53a5d632a0d178908da0248ff9cc1.tar.gz txr-a7d759201fb53a5d632a0d178908da0248ff9cc1.tar.bz2 txr-a7d759201fb53a5d632a0d178908da0248ff9cc1.zip |
* configure: Bugfix in parsing configuration variables
which contain the = character.
* Makefile (conftest.o): Pass full CFLAGS to configuration test
builds. If some flags don't work with the compiler, this should
be caught.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -54,12 +54,12 @@ while [ $# -gt 0 ] ; do val= ;; --*=* ) - var=${1%=*} + var=${1%%=*} var=${var#--} val=${1#*=} ;; --*= ) - var=${1%=*} + var=${1%%=*} var=${var#--} val= ;; --* ) @@ -67,11 +67,11 @@ while [ $# -gt 0 ] ; do val=y ;; *=* ) - var=${1%=*} + var=${1%%=*} val=${1#*=} ;; *= ) - var=${1%=*} + var=${1%%=*} val= ;; * ) |