diff options
author | Frédéric Péters <fpeters@entrouvert.com> | 2014-03-28 16:45:00 +0100 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2014-03-31 10:55:58 +0200 |
commit | 190c7743c28ffb6113b6b1e86600923611adb7eb (patch) | |
tree | b9d110487174de67beee135cb877060a96d0825f | |
parent | c141a04ec02c3878a26f1144841a9ac73e643cd4 (diff) | |
download | lasso-190c7743c28ffb6113b6b1e86600923611adb7eb.tar.gz lasso-190c7743c28ffb6113b6b1e86600923611adb7eb.tar.xz lasso-190c7743c28ffb6113b6b1e86600923611adb7eb.zip |
perl: get required CFLAGS from $(perl -V::ccflags:)
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 674a6158..0f32ad31 100644 --- a/configure.ac +++ b/configure.ac @@ -531,12 +531,15 @@ AC_ARG_ENABLE(perl, [ --disable-perl disable the Perl binding],, if test "X$PERL" != "X"; then PERLINSTALLSITEARCH=`$PERL -MConfig -e 'print $Config{installsitearch};'` PERLMAN3DIR=`$PERL -MConfig -e 'print $Config{man3dir};'` + PERL_CFLAGS=$($PERL -V::ccflags:) else PERLINSTALLSITEARCH=none PERLMAN3DIR=none + PERL_CFLAGS= fi AC_SUBST(PERLINSTALLSITEARCH) AC_SUBST(PERLMAN3DIR) +AC_SUBST(PERL_CFLAGS) AC_MSG_CHECKING(for Perl API) if test "X$enable_perl" != "Xno" ; then |