comparison configure.ac @ 3931:98faba851ea9

[gaim-migrate @ 4103] Thanks, Evan. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 08 Nov 2002 18:08:41 +0000
parents 9bcb42faccc0
children 9c31ddae80a1
comparison
equal deleted inserted replaced
3930:22e3bbbd9a32 3931:98faba851ea9
202 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lnsl //'` 202 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lnsl //'`
203 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lposix //'` 203 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lposix //'`
204 fi 204 fi
205 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lc //'` 205 PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lc //'`
206 AC_MSG_RESULT(ok) 206 AC_MSG_RESULT(ok)
207 AC_SUBST(PERL_CFLAGS) 207
208 AC_SUBST(PERL_LIBS) 208 oldLIBS=$LIBS
209 AC_DEFINE(USE_PERL, 1, [Define if Perl is enabled.]) 209 LIBS="$LIBS $PERL_LIBS"
210 AC_CHECK_FUNCS(Perl_eval_pv) 210 AC_MSG_CHECKING(for libperl)
211 AC_CHECK_FUNCS(perl_run, [], enable_perl=no)
212 LIBS=$oldLIBS
211 fi 213 fi
214 fi
215
216 if test "$enable_perl" = yes ; then
217 AC_SUBST(PERL_CFLAGS)
218 AC_SUBST(PERL_LIBS)
219 AC_DEFINE(USE_PERL, 1, [Define if Perl is enabled.])
220
221 dnl This is almost definitely wrong, but in case there's
222 dnl something I'm missing, I'll leave it in.
223 AC_CHECK_FUNCS(Perl_eval_pv)
224 else
225 PERL_CFLAGS=
226 PERL_LIBS=
212 fi 227 fi
213 228
214 dnl Thanks, Evan. 229 dnl Thanks, Evan.
215 if test "$enable_gtkspell" = yes ; then 230 if test "$enable_gtkspell" = yes ; then
216 PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, , enable_gtkspell=no) 231 PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, , enable_gtkspell=no)