comparison configure.ac @ 4298:cddb50734169

[gaim-migrate @ 4552] faceprint cleans up after my messes committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 11 Jan 2003 19:59:27 +0000
parents 280ed2b617be
children 16540914c963
comparison
equal deleted inserted replaced
4297:650454171e0e 4298:cddb50734169
238 AC_DEFINE(USE_PERL, 1, [Define if Perl is enabled.]) 238 AC_DEFINE(USE_PERL, 1, [Define if Perl is enabled.])
239 239
240 dnl This is almost definitely wrong, but in case there's 240 dnl This is almost definitely wrong, but in case there's
241 dnl something I'm missing, I'll leave it in. 241 dnl something I'm missing, I'll leave it in.
242 AC_CHECK_FUNCS(Perl_eval_pv) 242 AC_CHECK_FUNCS(Perl_eval_pv)
243
244 AC_MSG_CHECKING(for old perl)
245 PERL_OLD=`$perlpath -e 'if($]<5.006){printf"yes\n";}else{printf"no\n";}'`
246
247 if test "$PERL_OLD" = "yes"; then
248 AC_DEFINE(OLD_PERL, 1, [Define if old perl is installed.])
249 AC_MSG_RESULT(yes)
250 else
251 AC_MSG_RESULT(no)
252 fi
243 else 253 else
244 PERL_CFLAGS= 254 PERL_CFLAGS=
245 PERL_LIBS= 255 PERL_LIBS=
246 fi 256 fi
247 257