[svn:mod_parrot] r461 - mod_parrot/trunk
[email protected] Mon, 13 Oct 2008 08:11:19 -0700 (PDT)
| Newsgroups | perl.cvs.mod_parrot |
|---|---|
| Message-ID | <[email protected]> |
Author: jhorwitz
Date: Mon Oct 13 08:11:18 2008
New Revision: 461
Modified:
mod_parrot/trunk/Configure.pl
Log:
include the cflags from apxs
Modified: mod_parrot/trunk/Configure.pl
==============================================================================
--- mod_parrot/trunk/Configure.pl (original)
+++ mod_parrot/trunk/Configure.pl Mon Oct 13 08:11:18 2008
@@ -60,6 +60,7 @@
my $apache_include_dir = `$apxs -q INCLUDEDIR`;
my $apr_include_dir = `$apxs -q APR_INCLUDEDIR`;
my $apu_include_dir = `$apxs -q APU_INCLUDEDIR`;
+my $ap_cflags = `$apxs -q CFLAGS`;
my $extra_cppflags = `$apxs -q EXTRA_CPPFLAGS`;
my $libexec_dir = `$apxs -q LIBEXECDIR`;
my $cc = `$apxs -q CC`;
@@ -72,7 +73,7 @@
print "Configuring mod_parrot for $mpm MPM.\n";
# we can't use the config verbatim -- apxs chokes on it, so we use what we can
-my $cflags = " -I$parrot_build_dir/include -Iinclude";
+my $cflags = " -I$parrot_build_dir/include -Iinclude $ap_cflags";
$cflags .= " -DMPM_IS_THREADED" if (mpm_is_threaded($mpm));
my $libs = parrot_config('libs') . " -lparrot";
my $blib_dir = parrot_config('blib_dir');