In metaconfig.git, the branch master has been updated

<http://perl5.git.perl.org/metaconfig.git/commitdiff/70ddc8d2d0ba9fbe24f50ed6afdf2c1349d0e4b7?hp=8eccc332dd3ed9af591200708f8e8529affda472>

- Log -----------------------------------------------------------------
commit 70ddc8d2d0ba9fbe24f50ed6afdf2c1349d0e4b7
Author: Andy Dougherty <[email protected]>
Date:   Mon Sep 10 09:24:23 2012 -0400

    Fix [perl #114812] Configure not finding isblank().
    
    Configure would not find isblank() when run with g++ because the probe
    used exit() without including <stdlib.h>.  The simplest fix is to have
    the probe use return instead.
-----------------------------------------------------------------------

Summary of changes:
 U/perl/d_isblank.U |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/U/perl/d_isblank.U b/U/perl/d_isblank.U
index 753a56e..01d2aed 100644
--- a/U/perl/d_isblank.U
+++ b/U/perl/d_isblank.U
@@ -30,9 +30,9 @@ $cat >isblank.c <<'EOCP'
 int main() {
        int c = ' ';
        if (isblank(c))
-               exit(0);
+               return 0 ;
        else
-               exit(1);
+               return 1 ;
 }
 EOCP
 if $cc $ccflags $ldflags -o isblank isblank.c $libs >/dev/null 2>&1 ; then

--
perl5 metaconfig repository

Reply via email to