51 |
AC_TYPE_SIGNAL |
AC_TYPE_SIGNAL |
52 |
AC_CHECK_FUNCS([gethostbyname gethostname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strncasecmp strpbrk strrchr strstr uname]) |
AC_CHECK_FUNCS([gethostbyname gethostname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strncasecmp strpbrk strrchr strstr uname]) |
53 |
|
|
54 |
|
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL]) |
55 |
AH_VERBATIM([DEBUG], [#undef DEBUG]) |
AH_VERBATIM([DEBUG], [#undef DEBUG]) |
56 |
|
|
57 |
AC_ARG_ENABLE(curses, [ --disable-curses Turn off Curses interface (default=auto)],,enable_curses=yes) |
AC_ARG_ENABLE(curses, [ --disable-curses Turn off Curses interface (default=auto)],,enable_curses=yes) |
91 |
AC_SUBST(GTK_LIBS) |
AC_SUBST(GTK_LIBS) |
92 |
fi |
fi |
93 |
|
|
94 |
PLUGIN_LIBS= |
PLUGINS_LIBS= |
95 |
|
|
96 |
if test "x$enable_perl" = "xyes" ; then |
if test "x$enable_perl" = "xyes" ; then |
97 |
enable_plugins="yes" |
enable_plugins="yes" |
98 |
PLUGIN_LIBS="$PLUGIN_LIBS ../../plugins/perl/lib_weechat_perl.a" |
PLUGINS_LIBS="$PLUGINS_LIBS ../../plugins/perl/lib_weechat_perl.a `perl -MExtUtils::Embed -e ldopts`" |
99 |
PERL_CFLAGS=`perl -MExtUtils::Embed -e ccopts` |
PERL_CFLAGS=`perl -MExtUtils::Embed -e ccopts` |
|
PERL_LIBS=`perl -MExtUtils::Embed -e ldopts` |
|
100 |
AC_SUBST(PERL_CFLAGS) |
AC_SUBST(PERL_CFLAGS) |
101 |
AC_SUBST(PERL_LIBS) |
AC_DEFINE(PLUGIN_PERL) |
102 |
fi |
fi |
103 |
|
|
104 |
AC_SUBST(PLUGIN_LIBS) |
AC_SUBST(PLUGINS_LIBS) |
105 |
|
|
106 |
if test "x$enable_debug" = "xyes" ; then |
if test "x$enable_debug" = "xyes" ; then |
107 |
AC_DEFINE(DEBUG) |
AC_DEFINE(DEBUG) |