dnl Process this file with autoconf to produce a configure script. AC_REVISION($Id: configure.in,v 1.44 1999/12/15 02:32:57 guppy Exp $) AC_INIT(eggdrop.conf.dist) AC_PREFIX_DEFAULT([\${HOME}/eggdrop]) AC_CONFIG_HEADER(config.h) EGG_MSG_CONFIGURE_START # Setup build environment AC_PROG_CC EGG_CHECK_CC # Crazy machines AC_AIX AC_ISC_POSIX AC_MINIX # Checks for programs AC_PROG_MAKE_SET AC_PROG_RANLIB AC_PROG_INSTALL AC_PROG_LN_S EGG_PROG_STRIP EGG_PROG_AWK EGG_PROG_BASENAME AC_CHECK_PROG(UNAME,uname,uname) # Test the os and set the module linking settings EGG_CHECK_OS # Checks for system libraries EGG_CHECK_LIBS # Checks for header files AC_HEADER_DIRENT AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(sys/time.h) AC_HEADER_TIME AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h std_args.h) # Checks for typedefs, structures, and compiler characteristics AC_TYPE_PID_T AC_C_BIGENDIAN AC_C_INLINE AC_CHECK_SIZEOF(long, 0) AC_CHECK_SIZEOF(int, 0) AC_CHECK_SIZEOF(char, 0) AC_CHECK_SIZEOF(short int, 0) # Checks for library functions AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp getdtablesize bzero random srandom dlopen dprintf snprintf vsnprintf) EGG_CHECK_FUNC_VSPRINTF # Make sure we have stdc headers, since we can't compile without them EGG_HEADER_STDC # Checks for cygwin EGG_CYGWIN EGG_EXEEXT # Check how much space is left in filedb (informational purposes) EGG_CHECK_FILEDB_STRUCT # Where is tcl? Is it here? # ---------- begin robey's tcl thingies # (well, what used to be robey's tcl thingies...) # Latest tested Tcl version to recommend if Tcl isn't found tclrecommendver="8.2.2" # Site recommended to download Tcl from tclrecommendsite="ftp://ftp.scriptics.com/pub/tcl/tcl8_2/" # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD) tcllibnames="tcl tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \ tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \ tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70" # Tcl library filename suffixes tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a" # Tcl library search paths tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \ /usr/lib /lib /usr/i486-linuxaout/lib \ $HOME/lib $HOME/tcl/lib $HOME" # Tcl header filenames tclheadernames="tcl.h" # Tcl header search paths tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \ /usr/include $HOME/include $HOME/tcl/include $HOME" EGG_TCL_ARG_WITH EGG_TCL_ENV EGG_TCL_WITH_TCLLIB EGG_TCL_WITH_TCLINC EGG_TCL_FIND_LIBRARY EGG_TCL_FIND_HEADER EGG_TCL_CHECK_LIBRARY EGG_TCL_CHECK_HEADER EGG_TCL_CHECK_VERSION EGG_TCL_CHECK_PRE70 EGG_TCL_CHECK_PRE75 EGG_TCL_TESTLIBS EGG_TCL_CHECK_FREE EGG_TCL_CHECK_THREADS EGG_TCL_LIB_REQS # ---------- end of (what used to be) robey's tcl thingies EGG_FUNC_DLOPEN EGG_SUBST_EGGVERSION EGG_SUBST_DEST AC_OUTPUT(Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/mod/Makefile lush.h) EGG_MSG_CONFIGURE_END