| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- dnl Process this file with autoconf to produce a configure script.
- AC_INIT(src/eggdrop.h)
- AC_CONFIG_AUX_DIR(misc)
- AC_CONFIG_HEADER(config.h)
- EGG_SAVE_PARAMETERS
- # Setup build environment
- AC_PROG_CC
- EGG_CHECK_CC
- # Crazy machines
- AC_AIX
- AC_ISC_POSIX
- AC_MINIX
- # Speedup compile
- EGG_CHECK_CCPIPE
- # 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 strings.h limits.h)
- # Checks for typedefs, structures, and compiler characteristics
- AC_TYPE_PID_T
- AC_TYPE_SIZE_T
- AC_C_CONST
- AC_C_BIGENDIAN
- AC_C_INLINE
- AC_CHECK_SIZEOF(long, 0)
- AC_CHECK_SIZEOF(int, 0)
- # Check for IPv6 support
- #EGG_IPV6_SUPPORTED
- EGG_IPV6_OPTIONS
- EGG_CHECK_SOCKLEN_T
- # Checks for library functions
- AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize memset random srandom)
- AC_CHECK_FUNCS(dlopen dprintf snprintf vsnprintf isascii inet_aton inet_ntop memcpy strftime fsync gethostbyname2 getipnodebyname)
- EGG_CHECK_FUNC_VSPRINTF
- # Make sure we have stdc headers, since we can't compile without them
- EGG_HEADER_STDC
- # Make sure we are using the correct result from a broken libsafe sscanf
- EGG_CHECK_LIBSAFE_SSCANF
- # Checks for executable extension
- EGG_EXEEXT
- # 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.3.4"
- # Site recommended to download Tcl from
- tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_3/"
- # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
- tcllibnames="tcl tcl8.4 tcl84 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 .sl .dll .dylib"
- # Tcl library search paths
- tcllibpaths="$HOME/lib $HOME/tcl/lib $HOME \
- /usr/local/lib /usr/local/pkgs/tcl/lib \
- /usr/lib /lib /usr/i486-linuxaout/lib \
- /beos/system/lib /sys/lib"
- # Tcl header filenames
- tclheadernames="tcl.h"
- # Tcl header search paths
- tclheaderpaths="$HOME/include $HOME/tcl/include $HOME \
- /usr/local/include /usr/local/pkgs/tcl/include \
- /usr/include /beos/system/include /beos/devel/include \
- /sys/include"
- 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_DETECT_CHANGE
- EGG_TCL_CHECK_VERSION
- EGG_TCL_CHECK_PRE70
- EGG_TCL_TESTLIBS
- EGG_TCL_CHECK_FREE
- EGG_TCL_ENABLE_THREADS
- EGG_TCL_CHECK_THREADS
- EGG_TCL_LIB_REQS
- EGG_TCL_LUSH
- # ---------- end of (what used to be) robey's Tcl thingies
- EGG_FUNC_DLOPEN
- EGG_SUBST_EGGVERSION
- EGG_SUBST_DEST
- EGG_SUBST_MOD_UPDIR
- EGG_CATCH_MAKEFILE_REBUILD
- AC_OUTPUT(Makefile src/Makefile src/md5/Makefile src/compat/Makefile src/mod/Makefile)
|