summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2004-12-29 19:39:36 -0800
committerH.Merijn Brand <h.m.brand@xs4all.nl>2004-12-30 13:10:20 +0000
commitbde30f852bc294abae9881d155ff4566fec5b034 (patch)
treeb6eff00a661f67290c59590a08e8a5d2aa5c26e8 /Configure
parent4254b61a4e3d834da27cda46c142f2c2f56386ea (diff)
downloadperl-bde30f852bc294abae9881d155ff4566fec5b034.tar.gz
Allow Configure's d_attribut to be set from the command line
Message-ID: <lrllbgypzb.fsf@caliper.activestate.com> p4raw-id: //depot/perl@23711
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/Configure b/Configure
index 147a2ff230..d28f5a47a7 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Wed Dec 29 14:05:06 MET 2004 [metaconfig 3.0 PL70]
+# Generated on Thu Dec 30 14:31:17 MET 2004 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -9863,6 +9863,8 @@ set atoll d_atoll
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'
@@ -9881,6 +9883,9 @@ else
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*