# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Sat Feb 10 17:48:04 CET 2007 [metaconfig 3.0 PL70]
+# Generated on Fri Mar 9 20:00:14 CET 2007 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
;;
*) case "$osname" in
darwin) dflt='none' ;;
- svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
+ linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
*) dflt='-fpic' ;;
esac ;;
esac ;;
'') dflt="$dflt +vnocompatwarnings" ;;
esac
;;
- linux|irix*|gnu*) dflt='-shared' ;;
+ linux|irix*|gnu*) dflt="-shared $optimize" ;;
next) dflt='none' ;;
solaris) dflt='-G' ;;
sunos) dflt='-assert nodefinitions' ;;
case "$xxx" in
DynaLoader|dynaload) ;;
*)
- if $test -f $xxx/$xxx.xs; then
+ if $test -f $xxx/$xxx.xs -o -f $xxx/$xxx.c; then
known_extensions="$known_extensions $1$xxx";
elif $test -f $xxx/Makefile.PL; then
nonxs_extensions="$nonxs_extensions $1$xxx";
esac
esac
;;
- Win32)
+ Win32*)
case "$osname" in
cygwin) avail_ext="$avail_ext $xxx" ;;
esac