Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r58b6ce5 r06e04a9  
    127127AX_PROG_PERL_MODULES([PAR],,
    128128                     [AC_MSG_WARN([PAR.pm not found. Loadable modules will be disabled.])])
     129AX_PROG_PERL_MODULES([ExtUtils::Depends],,
     130                     [AC_MSG_ERROR([cannot find perl module ExtUtils::Depends])])
    129131
    130132dnl Add CFLAGS and LIBS for glib-2.0
     
    139141   prefix="${ac_default_prefix}"
    140142fi
     143
     144dnl Add CFLAGS for glib-perl
     145GLIB_PERL_CFLAGS=`perl -MExtUtils::Depends -e 'my $e = ExtUtils::Depends->new("BarnOwl","Glib"); my %h = $e->get_makefile_vars; print $h{"INC"}'`
     146AC_MSG_NOTICE([Adding glib-perl CFLAGS ${GLIB_PERL_CFLAGS}])
     147AM_CFLAGS="${GLIB_PERL_CFLAGS} ${AM_CFLAGS}"
    141148
    142149dnl Checks for typedefs, structures, and compiler characteristics.
Note: See TracChangeset for help on using the changeset viewer.