# When HP-UX runs a script with "#!", it sets argv[0] to the script name.
toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
-
### 64 BITNESS
case "$use64bitall" in
optimization, raise the 'maxdsiz' kernel configuration parameter
to at least 0x08000000 (128 Mb) and rebuild your kernel.
EOM
- exit
+regexec_cflags=''
fi
case "$ccisgcc" in
;;
esac
if [ $maxdsiz -le 64 ]; then
- # 64 Mb is probably not enough to optimize toke.c
- # and regexp.c with -O2
case "$optimize" in
*O2*) opt=`echo "$optimize" | sed -e 's/O2/O1/'`
- toke_cflags="$ccflags $opt"
- regexec_cflags="$ccflags $opt"
+ toke_cflags="$toke_cflags;optimize=\"$opt\""
+ regexec_cflags="optimize=\"$opt\""
;;
esac
fi
*O[3456789]*) optimize=`echo "$optimize" | sed -e 's/O[3-9]/O2/'` ;;
esac
if [ $maxdsiz -le 64 ]; then
- # 64 Mb is probably not enough to optimize toke.c
- # and regexp.c with -O (+O2)
case "$optimize" in
*-O*|\
*O2*) opt=`echo "$optimize" | sed -e 's/-O/+O2/' -e 's/O2/O1/' -e 's/ *+Onolimit//'`
- toke_cflags="$ccflags $opt"
- regexec_cflags="$ccflags $opt"
+ toke_cflags="$toke_cflags;optimize=\"$opt\""
+ regexec_cflags="optimize=\"$opt\""
;;
esac
fi
;;
esac
-
## LARGEFILES
#case "$uselargefiles-$ccisgcc" in