In metaconfig.git, the branch master has been updated

<http://perl5.git.perl.org/metaconfig.git/commitdiff/3e8100931f5fcbba6a0cc937cb091b5d853fba7e?hp=e58c4b3b9deab48b39abef21eb5e0ee34c445db4>

- Log -----------------------------------------------------------------
commit 3e8100931f5fcbba6a0cc937cb091b5d853fba7e
Author: H.Merijn Brand - Tux <[email protected]>
Date:   Sat Mar 9 20:34:43 2013 +0100

    Backport b95f969b03c79d
    
    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:
 U/modified/i_varhdr.U |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/U/modified/i_varhdr.U b/U/modified/i_varhdr.U
index 7f50ced..6328bd4 100644
--- a/U/modified/i_varhdr.U
+++ b/U/modified/i_varhdr.U
@@ -143,6 +143,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 metaconfig repository

Reply via email to