From cdbedeff04fb60508d5251bcd8e4df3ab020caa2 Mon Sep 17 00:00:00 2001 From: Gisle Aas Date: Wed, 29 Dec 2004 19:39:36 -0800 Subject: [PATCH] Allow Configure's d_attribut to be set from the command line Message-ID: p4raw-id: //depot/metaconfig@23710 --- U/modified/d_attribut.U | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/U/modified/d_attribut.U b/U/modified/d_attribut.U index dcc7625..827da66 100644 --- a/U/modified/d_attribut.U +++ b/U/modified/d_attribut.U @@ -43,6 +43,8 @@ ?LINT:set d_attribut ?LINT:known __attribute__ : 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' @@ -61,6 +63,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* -- 1.8.3.1