summaryrefslogtreecommitdiff
path: root/lib/make/configure
diff options
context:
space:
mode:
authorknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-03-16 15:25:44 +0000
committerknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-03-16 15:25:44 +0000
commitef9b41044b0a6d44e67bb11cc9a6e3c7b3aefe3d (patch)
tree2ad9fd0a1df6c27de4085c2a572037c6305a262b /lib/make/configure
parente544e81f8593ddb3469b7dcc8559789479996776 (diff)
don't use GZIP for the location of the gzip executable, because the latter actually uses that very variable for a list of default options. Use GZIP_CMD instead
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4690 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure')
-rwxr-xr-xlib/make/configure24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/make/configure b/lib/make/configure
index 92839969..a68366ce 100755
--- a/lib/make/configure
+++ b/lib/make/configure
@@ -1320,39 +1320,39 @@ done
fi
-if test -z "$GZIP" ; then
+if test -z "$GZIP_CMD" ; then
for ac_prog in gzip
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1330: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_GZIP'+set}'`\" = set"; then
+if eval "test \"`echo '$''{'ac_cv_prog_GZIP_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$GZIP"; then
- ac_cv_prog_GZIP="$GZIP" # Let the user override the test.
+ if test -n "$GZIP_CMD"; then
+ ac_cv_prog_GZIP_CMD="$GZIP_CMD" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_GZIP="$ac_prog"
+ ac_cv_prog_GZIP_CMD="$ac_prog"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
-GZIP="$ac_cv_prog_GZIP"
-if test -n "$GZIP"; then
- echo "$ac_t""$GZIP" 1>&6
+GZIP_CMD="$ac_cv_prog_GZIP_CMD"
+if test -n "$GZIP_CMD"; then
+ echo "$ac_t""$GZIP_CMD" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-test -n "$GZIP" && break
+test -n "$GZIP_CMD" && break
done
fi
@@ -5995,10 +5995,10 @@ cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char WAxQ1n;
+char xAatVE;
int main() {
-ScgKpp
+mNPfgz
; return 0; }
EOF
if { (eval echo configure:6005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -7045,7 +7045,7 @@ s%@FPP@%$FPP%g
s%@CUCC@%$CUCC%g
s%@PERL@%$PERL%g
s%@TAR@%$TAR%g
-s%@GZIP@%$GZIP%g
+s%@GZIP_CMD@%$GZIP_CMD%g
s%@PATCH@%$PATCH%g
s%@GIT@%$GIT%g
s%@F90@%$F90%g