INN commit: trunk (configure.ac)

INN Commit rra at isc.org
Sat May 28 18:10:53 UTC 2016


    Date: Saturday, May 28, 2016 @ 11:10:53
  Author: iulius
Revision: 10033

Fix the build with Perl and large-file support

It was a regression introduced with commit [10007].

Modified:
  trunk/configure.ac

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

Modified: configure.ac
===================================================================
--- configure.ac	2016-05-05 13:31:40 UTC (rev 10032)
+++ configure.ac	2016-05-28 18:10:53 UTC (rev 10033)
@@ -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