version 1.23 | | version 1.24 |
---|
| | |
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.23 2002/06/19 06:35:29 mwedel Exp $) | | AC_REVISION($Id: configure.in,v 1.24 2002/06/21 05:54:19 mwedel Exp $) |
| | |
AC_INIT(CREDITS) | | AC_INIT(CREDITS) |
| | |
| | |
dnl Gros - Support for the dynamic loader library | | dnl Gros - Support for the dynamic loader library |
AC_CHECK_LIB(dl, main) | | AC_CHECK_LIB(dl, main) |
| | |
| | |
| | |
| | |
| | dnl Checks for header files. |
| | AC_HEADER_DIRENT |
| | AC_HEADER_STDC |
| | AC_CHECK_HEADERS(fcntl.h limits.h malloc.h strings.h sys/file.h sys/ioctl.h sys/time.h time.h unistd.h stddef.h stdlib.h sys/ttycom.h sys/termios.h crypt.h arpa/inet.h des.h Python.h) |
| | |
dnl This is sort of bogus, but this library seems to be | | dnl This is sort of bogus, but this library seems to be |
dnl in a very non standard place. Need to wildcard this, | | dnl in a very non standard place. Need to wildcard this, |
dnl since it changes for each version. In my limited | | dnl since it changes for each version. In my limited |
dnl testing, it seems that if the path doesn't match, | | dnl testing, it seems that if the path doesn't match, |
dnl then this leaves the * in place, which is why | | dnl then this leaves the * in place, which is why |
dnl we check to see that this actually exists. | | dnl we check to see that this actually exists. |
| | dnl this needs to be put after the check for headers, |
| | dnl since it also relies on the previous detection of |
| | dnl Python.h |
echo -n "checking for python lib... " | | echo -n "checking for python lib... " |
PYTHON_LIB=`echo /usr/lib/python*/config/libpython*.a` | | PYTHON_LIB=`echo /usr/lib/python*/config/libpython*.a` |
if test ! -f $PYTHON_LIB ; then | | if test ! -f $PYTHON_LIB ; then |
| | |
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 ) |
| | if test "X$ac_cv_header_Python_h" == "Xyes"; then |
PLUGIN_TARGET="plugin_python.so.0.1" | | PLUGIN_TARGET="plugin_python.so.0.1" |
| | fi; |
fi | | fi |
| | |
| | |
| | |
dnl Checks for header files. | | |
AC_HEADER_DIRENT | | |
AC_HEADER_STDC | | |
AC_CHECK_HEADERS(fcntl.h limits.h malloc.h strings.h sys/file.h sys/ioctl.h sys/time.h time.h unistd.h stddef.h stdlib.h sys/ttycom.h sys/termios.h crypt.h arpa/inet.h des.h Python.h) | | |
| | |
dnl Checks for typedefs, structures, and compiler characteristics. | | dnl Checks for typedefs, structures, and compiler characteristics. |
AC_C_CONST | | AC_C_CONST |
AC_C_INLINE | | AC_C_INLINE |