In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/b95f969b03c79d1a9cda098c611d894dd874b35a?hp=265b802e9d45d64391dce5b985462518bc9ce514>

- Log -----------------------------------------------------------------
commit b95f969b03c79d1a9cda098c611d894dd874b35a
Author: Aaron Crane <[email protected]>
Date:   Mon Feb 4 17:14:20 2013 +0000

    Configure: bail out when neither stdarg.h nor varargs.h
    
    Perl uses variadic functions, so we need at least one of the relevant
    mechanisms available; for this reason, the CompCert C compiler is unsuitable
    for our purposes.
    
    If the person building Perl wants to carry on regardless, they can use the
    "-K" option.
    
    This partly addresses RT#112494.
-----------------------------------------------------------------------

Summary of changes:
 Configure |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Configure b/Configure
index f7bbbc5..6823cb7 100755
--- a/Configure
+++ b/Configure
@@ -10882,6 +10882,7 @@ chmod +x varargs
 : now check which varargs header should be included
 echo " "
 i_varhdr=''
+val=""
 case "$valstd" in
 "$define")
        if `./varargs I_STDARG`; then
@@ -10898,6 +10899,15 @@ case "$valstd" in
 esac
 case "$val" in
 '')
+       echo " "
+       echo "*** WHOA THERE!!! ***" >&4
+       echo "    Your C compiler \"$cc\" doesn't seem to support stdarg or 
varargs!" >&4
+       case "$knowitall" in
+       '')
+       echo "    I'm giving up; maybe you can try again with a different 
compiler?" >&4
+               exit 1
+               ;;
+       esac
 echo "I could not find the definition for va_dcl... You have problems..." >&4
        val="$undef"; set i_stdarg; eval $setvar
        val="$undef"; set i_varargs; eval $setvar

--
Perl5 Master Repository

Reply via email to