Mercurial > pidgin.yaz
comparison configure.ac @ 16907:bcba07153da5
Prevent bogus configure errors if perl isn't found. This isn't major but
it's seriously annoying right now.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 05 May 2007 04:08:07 +0000 |
parents | 08c9647a6029 |
children | d0e74d0be43f f35329c1094e |
comparison
equal
deleted
inserted
replaced
16905:aa87ecd650d2 | 16907:bcba07153da5 |
---|---|
1185 AC_PATH_PROG(perlpath, perl) | 1185 AC_PATH_PROG(perlpath, perl) |
1186 AC_MSG_CHECKING(for Perl compile flags) | 1186 AC_MSG_CHECKING(for Perl compile flags) |
1187 PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null` | 1187 PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null` |
1188 if test "_$PERL_CFLAGS" = _ ; then | 1188 if test "_$PERL_CFLAGS" = _ ; then |
1189 AC_MSG_RESULT([not found, building without perl.]) | 1189 AC_MSG_RESULT([not found, building without perl.]) |
1190 enable_perl = no | 1190 enable_perl=no |
1191 else | 1191 else |
1192 PERL_LIBS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null |$sedpath 's/-lgdbm //'` | 1192 PERL_LIBS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null |$sedpath 's/-lgdbm //'` |
1193 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-ldb //'` | 1193 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-ldb //'` |
1194 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lndbm //'` | 1194 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lndbm //'` |
1195 if test "$system" = "Linux"; then | 1195 if test "$system" = "Linux"; then |