[svn:mod_parrot] r462 - mod_parrot/branches/configure/config/probe

[email protected] Mon, 13 Oct 2008 08:11:35 -0700 (PDT)
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Mon Oct 13 08:11:34 2008
New Revision: 462

Modified:
   mod_parrot/branches/configure/config/probe/apache.pm

Log:
port r461 from trunk


Modified: mod_parrot/branches/configure/config/probe/apache.pm
==============================================================================
--- mod_parrot/branches/configure/config/probe/apache.pm	(original)
+++ mod_parrot/branches/configure/config/probe/apache.pm	Mon Oct 13 08:11:34 2008
@@ -46,6 +46,7 @@
         apache_include_dir => apxs_config($conf, 'INCLUDEDIR'),
         apr_include_dir    => apxs_config($conf, 'APR_INCLUDEDIR'),
         apu_include_dir    => apxs_config($conf, 'APU_INCLUDEDIR'),
+        ap_cflags          => apxs_config($conf, 'CFLAGS'),
         extra_cppflags     => apxs_config($conf, 'EXTRA_CPPFLAGS'),
         libexec_dir        => apxs_config($conf, 'LIBEXECDIR'),
         ##  TODO these three are *required* or Bad Things happen
@@ -59,6 +60,7 @@
     );
 
     my $cflags = '-I' . $conf->data->get('parrot_build_dir') . '/include -Iinclude';
+    $cflags .= ' ' . $conf->data->get('ap_cflags');
     $cflags .= ' -DMPM_IS_THREADED'
         if $conf->data->get('mpm_is_threaded');