mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
tests: remove duplicate definition
Probably imported by 6d58c63202, a merge
commit.
* tests/atlocal.in (POSIXLY_CORRECT_IS_EXPORTED): Define it once.
This commit is contained in:
@@ -140,13 +140,3 @@ export LC_CTYPE
|
||||
|
||||
# Empty if no xsltproc was found
|
||||
: ${XSLTPROC='@XSLTPROC@'}
|
||||
|
||||
# Don't just check if $POSIXLY_CORRECT is set, as Bash, when launched
|
||||
# as /bin/sh, sets the shell variable POSIXLY_CORRECT to y, but not
|
||||
# the environment variable.
|
||||
: ${C_COMPILER_POSIXLY_CORRECT='@C_COMPILER_POSIXLY_CORRECT@'}
|
||||
if env | grep '^POSIXLY_CORRECT=' >/dev/null; then
|
||||
POSIXLY_CORRECT_IS_EXPORTED=true
|
||||
else
|
||||
POSIXLY_CORRECT_IS_EXPORTED=false
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user