/[cvs]/eggdrop1.9/configure.in
ViewVC logotype

Contents of /eggdrop1.9/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.28 - (show annotations) (download)
Sat May 6 22:04:55 2000 UTC (19 years, 5 months ago) by fabian
Branch: MAIN
CVS Tags: eggdrop10503
Changes since 1.27: +1 -1 lines
G`Quann's logfilesuffix patch

1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/eggdrop.h)
3 AC_CONFIG_AUX_DIR(misc)
4 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
5 AC_CONFIG_HEADER(config.h)
6
7 EGG_MSG_CONFIGURE_START
8 EGG_SAVE_PARAMETERS
9
10 # Setup build environment
11 AC_PROG_CC
12 EGG_CHECK_CC
13
14 # Crazy machines
15 AC_AIX
16 AC_ISC_POSIX
17 AC_MINIX
18
19 # Checks for programs
20 AC_PROG_MAKE_SET
21 AC_PROG_RANLIB
22 AC_PROG_INSTALL
23 AC_PROG_LN_S
24 EGG_PROG_STRIP
25 EGG_PROG_AWK
26 EGG_PROG_BASENAME
27 AC_CHECK_PROG(UNAME,uname,uname)
28
29 # Test the os and set the module linking settings
30 EGG_CHECK_OS
31
32 # Checks for system libraries
33 EGG_CHECK_LIBS
34
35 # Checks for header files
36 AC_HEADER_DIRENT
37 AC_HEADER_SYS_WAIT
38 AC_CHECK_HEADERS(sys/time.h)
39 AC_HEADER_TIME
40 AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h std_args.h strings.h)
41
42 # Checks for typedefs, structures, and compiler characteristics
43 AC_TYPE_PID_T
44 AC_TYPE_SIZE_T
45 AC_C_BIGENDIAN
46 AC_C_INLINE
47 AC_CHECK_SIZEOF(long, 0)
48 AC_CHECK_SIZEOF(int, 0)
49 AC_CHECK_SIZEOF(char, 0)
50 AC_CHECK_SIZEOF(short int, 0)
51
52 # Checks for library functions
53 AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize memset random srandom dlopen dprintf snprintf vsnprintf isascii inet_aton memcpy strftime)
54 EGG_CHECK_FUNC_VSPRINTF
55
56 # Make sure we have stdc headers, since we can't compile without them
57 EGG_HEADER_STDC
58
59 # Checks for cygwin
60 EGG_CYGWIN
61 EGG_EXEEXT
62
63 # Where is tcl? Is it here?
64 # ---------- begin robey's tcl thingies
65 # (well, what used to be robey's tcl thingies...)
66
67 # Latest tested Tcl version to recommend if Tcl isn't found
68 tclrecommendver="8.2.2"
69
70 # Site recommended to download Tcl from
71 tclrecommendsite="ftp://ftp.scriptics.com/pub/tcl/tcl8_2/"
72
73 # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
74 tcllibnames="tcl tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
75 tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
76 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
77
78 # Tcl library filename suffixes
79 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl"
80
81 # Tcl library search paths
82 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
83 /usr/lib /lib /usr/i486-linuxaout/lib \
84 /beos/system/lib /sys/lib \
85 $HOME/lib $HOME/tcl/lib $HOME"
86
87 # Tcl header filenames
88 tclheadernames="tcl.h"
89
90 # Tcl header search paths
91 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
92 /usr/include /beos/system/include /beos/devel/include \
93 /sys/include $HOME/include $HOME/tcl/include $HOME"
94
95 EGG_TCL_ARG_WITH
96 EGG_TCL_ENV
97 EGG_TCL_WITH_TCLLIB
98 EGG_TCL_WITH_TCLINC
99 EGG_TCL_FIND_LIBRARY
100 EGG_TCL_FIND_HEADER
101 EGG_TCL_CHECK_LIBRARY
102 EGG_TCL_CHECK_HEADER
103 EGG_TCL_CHECK_VERSION
104 EGG_TCL_CHECK_PRE70
105 EGG_TCL_CHECK_PRE75
106 EGG_TCL_TESTLIBS
107 EGG_TCL_CHECK_FREE
108 EGG_TCL_CHECK_THREADS
109 EGG_TCL_LIB_REQS
110 EGG_TCL_LUSH
111 # ---------- end of (what used to be) robey's tcl thingies
112
113 EGG_FUNC_DLOPEN
114
115 EGG_SUBST_EGGVERSION
116 EGG_SUBST_DEST
117 EGG_CATCH_MAKEFILE_REBUILD
118
119 AC_OUTPUT(Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/compat/Makefile src/mod/Makefile)
120
121 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23