# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Sat Oct 30 18:24:58 METDST 2004 [metaconfig 3.0 PL70]
+# Generated on Mon Jan 31 12:56:14 CET 2005 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
runnm=''
usenm=''
useperlio=''
+userelocatableinc=''
usesocks=''
d_oldpthreads=''
use5005threads=''
useithreads=''
usereentrant=''
-userelocatableinc=undef
usethreads=''
incpath=''
mips_type=''
: for archive libraries. Thank you, Linux.
case "$nm_so_opt" in
'') case "$myuname" in
- *linux*)
+ *linux*|gnu*)
if $nm --help | $grep 'dynamic' > /dev/null 2>&1; then
nm_so_opt='--dynamic'
fi
'') dflt="$dflt +vnocompatwarnings" ;;
esac
;;
- linux|irix*) dflt='-shared' ;;
+ linux|irix*|gnu*) dflt='-shared' ;;
next) dflt='none' ;;
solaris) dflt='-G' ;;
sunos) dflt='-assert nodefinitions' ;;
EOM
case "$ccdlflags" in
'') case "$osname" in
- linux|hpux) dflt='-Wl,-E' ;;
+ linux|hpux|gnu*) dflt='-Wl,-E' ;;
next|sunos) dflt='none' ;;
*) dflt='none' ;;
esac ;;
dflt=libperl.5.$so
# XXX How handle the --version stuff for MAB?
;;
- linux*) # ld won't link with a bare -lperl otherwise.
+ linux*|gnu*) # ld won't link with a bare -lperl otherwise.
dflt=libperl.$so
;;
cygwin*) # ld links against an importlib
solaris)
xxx="-R $shrpdir"
;;
- freebsd|netbsd|openbsd)
+ freebsd|netbsd|openbsd|interix)
xxx="-Wl,-R$shrpdir"
;;
- bsdos|linux|irix*|dec_osf)
+ bsdos|linux|irix*|dec_osf|gnu*)
xxx="-Wl,-rpath,$shrpdir"
;;
next)
;;
esac
+# probably will refer to
+# $archlib $privlib $sitearch $sitelib $vendorarch $vendorlib
+need_relocation=0
+userelocatableinc=undef
+
case "$vendorprefix" in
'') d_vendorbin="$undef"
vendorbin=''
eval $inlibc
: Look for GNU-cc style attribute checking
+case "$d_attribut" in
+'')
echo " "
echo "Checking whether your compiler can handle __attribute__ ..." >&4
$cat >attrib.c <<'EOCP'
echo "Your C compiler doesn't seem to understand __attribute__ at all."
val="$undef"
fi
+;;
+*) val="$d_attribut" ;;
+esac
set d_attribut
eval $setvar
$rm -f attrib*
useperlio='$useperlio'
useposix='$useposix'
usereentrant='$usereentrant'
+userelocatableinc='$userelocatableinc'
usesfio='$usesfio'
useshrplib='$useshrplib'
usesocks='$usesocks'