From ed09cdca89658bd0c04335a126fc025eede71dd1 Mon Sep 17 00:00:00 2001 From: bjordanov Date: Thu, 15 Dec 2005 13:25:56 +0000 Subject: [PATCH] Added additional flags to RLM_CFLAGS fix for bug # 301 --- src/modules/rlm_perl/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/rlm_perl/configure.in b/src/modules/rlm_perl/configure.in index fcd7a9a..0172a57 100644 --- a/src/modules/rlm_perl/configure.in +++ b/src/modules/rlm_perl/configure.in @@ -16,12 +16,12 @@ if test x$with_[]modname != xno; then fail=$fail" perl" else old_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS `perl -MExtUtils::Embed -e ccopts`" + CFLAGS="$CFLAGS `perl -MExtUtils::Embed -e ccopts; perl -MConfig -e 'print $Config{cppflags}'`" smart_try_dir= AC_SMART_CHECK_INCLUDE(EXTERN.h) if test "x$ac_cv_header_EXTERN_h" = "xyes"; then - perl_cflags='`perl -MExtUtils::Embed -e ccopts`' + perl_cflags="`perl -MExtUtils::Embed -e ccopts; perl -MConfig -e 'print $Config{cppflags}'`" else fail="$fail EXTERN.h" targetname= @@ -29,7 +29,7 @@ if test x$with_[]modname != xno; then AC_SMART_CHECK_INCLUDE(perl.h, [#include ]) if test "x$ac_cv_header_perl_h" = "xyes"; then - perl_cflags='`perl -MExtUtils::Embed -e ccopts`' + perl_cflags="`perl -MExtUtils::Embed -e ccopts; perl -MConfig -e 'print $Config{cppflags}'`" else fail="$fail perl.h" targetname= -- 2.1.4