ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/configure.ac
(Generate patch)

Comparing deliantra/server/configure.ac (file contents):
Revision 1.5 by pippijn, Sun May 7 08:19:27 2006 UTC vs.
Revision 1.8 by root, Tue Jul 11 14:24:15 2006 UTC

1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2 2
3AC_REVISION($Id: configure.ac,v 1.5 2006/05/07 08:19:27 pippijn Exp $)
4AC_INIT([crossfire], [1.9.0], [crossfire-devel@listserv.real-time.com]) 3AC_INIT([crossfire], [1.9.1], [crossfire-devel@listserv.real-time.com])
5AC_CONFIG_AUX_DIR(utils) 4AC_CONFIG_AUX_DIR(utils)
6AC_CONFIG_SRCDIR([server/main.c]) 5AC_CONFIG_SRCDIR([server/main.c])
7AM_INIT_AUTOMAKE 6AM_INIT_AUTOMAKE
8AM_CONFIG_HEADER(include/autoconf.h) 7AM_CONFIG_HEADER(include/autoconf.h)
9 8
222AC_MSG_CHECKING(for $PERL suitability) 221AC_MSG_CHECKING(for $PERL suitability)
223if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then 222if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then
224 223
225 save_CFLAGS="$CFLAGS" 224 save_CFLAGS="$CFLAGS"
226 save_LIBS="$LIBS" 225 save_LIBS="$LIBS"
227 CFLAGS="$CFLAGS `$PERL -MExtUtils::Embed -e ccopts`" 226 CFLAGS="$CFLAGS `$PERL -MExtUtils::Embed -e ccopts` `$PERL -MEvent::MakeMaker -e 'print +{&Event::MakeMaker::event_args}->{INC}'`"
228 LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" 227 LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`"
229 AC_TRY_LINK([ 228 AC_TRY_LINK([
230#include <EXTERN.h> 229#include <EXTERN.h>
231#include <perl.h> 230#include <perl.h>
232#include <XSUB.h> 231#include <XSUB.h>
232#include "EventAPI.h"
233],[ 233],[
234 PerlInterpreter *perl = perl_alloc (); 234 PerlInterpreter *perl = perl_alloc ();
235],[perl_link=yes],[perl_link=no]) 235],[perl_link=yes],[perl_link=no])
236 CXXFLAGS="$save_CFLAGS" 236 CXXFLAGS="$save_CFLAGS"
237 LIBS="$save_LIBS" 237 LIBS="$save_LIBS"
238 238
239 if test x$perl_link = xyes; then 239 if test x$perl_link = xyes; then
240 AC_MSG_RESULT(ok) 240 AC_MSG_RESULT(ok)
241 AC_DEFINE(ENABLE_PERL, 1, Define if you can embed a perl interpreter) 241 AC_DEFINE(ENABLE_PERL, 1, Define if you can embed a perl interpreter)
242 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" 242 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts` `$PERL -MEvent::MakeMaker -e 'print +{&Event::MakeMaker::event_args}->{INC}'`"
243 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" 243 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
244 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" 244 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
245 PERL_PLUGIN=yes 245 PERL_PLUGIN=yes
246 else 246 else
247 AC_MSG_ERROR([no, unable to link]) 247 AC_MSG_ERROR([no, unable to link])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines