optimize='none'
;;
4.4.0.0|4.4.0.1|4.4.0.2)
- echo >&4 "*** This C compiler ($ccversion) is outdated."
- echo >&4 "*** Please upgrade to at least 4.4.0.3."
+ cat >&4 <<EOF
+***
+*** This C compiler ($ccversion) is outdated.
+***
+*** Please upgrade to at least 4.4.0.3.
+***
+EOF
+ ;;
+ 5.0.0.0)
+ cat >&4 <<EOF
+***
+*** This C compiler ($ccversion) is known to have optimizer problems
+*** when compiling perl.c.
+***
+*** Disabling optimization for that file but consider upgrading
+*** your C compiler.
+***
+EOF
+perl_cflags='optimize='
+ ;;
+ 5.0.1.0)
+ cat >&4 <<EOF
+***
+*** This C compiler ($ccversion) is known to have optimizer problems
+*** when compiling regcomp.c.
+***
+*** Disabling optimization for that file but consider upgrading
+*** your C compiler.
+***
+EOF
+regcomp_cflags='optimize='
;;
esac
esac
ar="ar -X64"
nm_opt="-X64 $nm_opt"
# Note: Placing the 'qacflags' variable into the 'ldflags' string
- # is NOT a typo. ldqalags is passed to the C compiler for final
+ # is NOT a typo. ldflags is passed to the C compiler for final
# linking, and it wants -q64 (-b64 is for ld only!).
case "$qacflags$qaldflags$qalibs" in
'');;
*) ccflags="$ccflags $qacflags"
ldflags="$ldflags $qacflags"
- lddqalags="$qaldflags $lddqalags"
+ lddlflags="$qaldflags $lddlflags"
libswanted="$libswanted $qalibs"
;;
esac