version 1.22 | | version 1.23 |
---|
| | |
dnl Process this file with autoconf to produce a configure script. | | dnl Process this file with autoconf to produce a configure script. |
| | |
AC_REVISION($Id: configure.in,v 1.22 2002/06/14 06:35:21 mwedel Exp $) | | AC_REVISION($Id: configure.in,v 1.23 2002/06/19 06:35:29 mwedel Exp $) |
| | |
AC_INIT(CREDITS) | | AC_INIT(CREDITS) |
| | |
| | |
if test ! -f $PYTHON_LIB ; then | | if test ! -f $PYTHON_LIB ; then |
echo "no" | | echo "no" |
PYTHON_LIB="" | | PYTHON_LIB="" |
| | PLUGIN_TARGET="" |
else | | else |
dnl the following libs are only used with the python plugin. | | dnl the following libs are only used with the python plugin. |
echo "yes" | | echo "yes" |
AC_CHECK_LIB(pthread, main, PY_LIBS="$PY_LIBS -lpthread", , $PY_LIBS ) | | AC_CHECK_LIB(pthread, main, PY_LIBS="$PY_LIBS -lpthread", , $PY_LIBS ) |
AC_CHECK_LIB(util, main, PY_LIBS="$PY_LIBS -lutil", , $PY_LIBS ) | | AC_CHECK_LIB(util, main, PY_LIBS="$PY_LIBS -lutil", , $PY_LIBS ) |
| | PLUGIN_TARGET="plugin_python.so.0.1" |
fi | | fi |
| | |
| | |
| | |
AC_SUBST(PERL) | | AC_SUBST(PERL) |
AC_SUBST(PYTHON_LIB) | | AC_SUBST(PYTHON_LIB) |
AC_SUBST(PY_LIBS) | | AC_SUBST(PY_LIBS) |
| | AC_SUBST(PLUGIN_TARGET) |
| | |
dnl Do the evals because most of these are made up of sub variables and | | dnl Do the evals because most of these are made up of sub variables and |
dnl we don't want the include to have something like | | dnl we don't want the include to have something like |