Fixed compile problem with perl 5.8.6 Bug # 301
authorbjordanov <bjordanov>
Thu, 15 Dec 2005 12:54:24 +0000 (12:54 +0000)
committerbjordanov <bjordanov>
Thu, 15 Dec 2005 12:54:24 +0000 (12:54 +0000)
src/modules/rlm_perl/configure

index 2fbe707..02df283 100755 (executable)
@@ -995,7 +995,7 @@ else
 fi
 
          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=
@@ -1129,7 +1129,7 @@ else
 fi
 
          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=