INN commit: branches/2.6 (configure.ac)

INN Commit rra at isc.org
Sat May 28 18:11:38 UTC 2016


    Date: Saturday, May 28, 2016 @ 11:11:38
  Author: iulius
Revision: 10034

Fix the build with Perl and large-file support

It was a regression introduced with commit [10023].

Modified:
  branches/2.6/configure.ac

--------------+
 configure.ac |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: configure.ac
===================================================================
--- configure.ac	2016-05-28 18:10:53 UTC (rev 10033)
+++ configure.ac	2016-05-28 18:11:38 UTC (rev 10034)
@@ -205,7 +205,7 @@
 dnl supported in gcc 4.0 and later.
 AS_IF([test x"$DO_PERL" = xDO],
     [INN_LIB_PERL
-     inn_perl_core_flags=" $inn_perl_core_flags "
+     inn_perl_core_flags=" $PERL_CPPFLAGS "
      AS_IF([test x"$inn_enable_largefiles" != xyes],
         [for f in -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES ; do
             inn_perl_core_flags=`echo "$inn_perl_core_flags" | sed "s/ $f / /"`
@@ -212,6 +212,7 @@
          done])
      inn_perl_core_flags=`echo "$inn_perl_core_flags" | sed 's/^  *//'`
      inn_perl_core_flags=`echo "$inn_perl_core_flags" | sed 's/  *$//'`
+     PERL_CPPFLAGS="$inn_perl_core_flags"
      INN_PROG_CC_FLAG([-Wno-extra], [PERL_WARNINGS=-Wno-extra],
         [PERL_WARNINGS=''])
      AC_SUBST([PERL_WARNINGS])],



More information about the inn-committers mailing list