[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
invalid variable name errors in cygwin
From: |
Rüdiger Ranft |
Subject: |
invalid variable name errors in cygwin |
Date: |
Wed, 08 Feb 2006 10:28:36 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.12) Gecko/20050915 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
when I try to run my configure it complains about invalid variable names
given to the script[1]. I tried to get the source of the problem, it
seems the lines
~ *=*)
~ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
~ # Reject names that are not valid shell variable names.
~ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
~ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
~ { (exit 1); exit 1; }; }
are causing the problem. To debug the script I added an
echo "checking expression '$ac_option'"
under the
*=*)
line to see the expression which the script tries to check. But after
adding this line the problem disapeared[2], so I don't know how to debug
the script. Also I don't want to edit the configure script every time
after I runned autoconf.
The configure line which caused the problems was
../configure -C --prefix=/usr "CXXFLAGS=-Wall -Werror" "CFLAGS=-Wall
- -Werror"
So where can I dig to solve this issue?
TIA
Rudi
[1] messages of the unpatched configure script:
configure: error: invalid variable name: CXXFLAGS
[2] messages of the patched script:
checking expression 'CXXFLAGS=-Wall -Werror'
checking expression 'CFLAGS=-Wall -Werror'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQERAwUBQ+m5jCHRAwx/e+nvAQKHFQfghF+5+mTM8Cwk51pGLWoNQPjfefL16Ziu
AxYYBxKY7bRrkZNqUj+uSdvYoWLtXYhcA69pKk/FpO1Jd02seVntGBRaPNdtsYh9
PASgGw9AJkWs2lZ00eqPD3AHe8UBuNsVzsLFo7KRYRWaGOGX1Tyire9ZCQ80mPas
YGmMuPDZj9gSwWY5jzoYnJoIGzOjtnVld9WgJaMs7VDOqszOVPLnMO8faRuO4Ipw
RlJZSp4A93gerGCLvuSVI6ZnPRWwUP4tN4FyznGC48MIPY4E3bIpf9jl5vmsMKEK
iM5721NsrgwDqEm2NxZXpYu6qoSoKdwIaF030czTUc/v492r
=gACj
-----END PGP SIGNATURE-----
- invalid variable name errors in cygwin,
Rüdiger Ranft <=