/[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.50 - (show annotations) (download)
Sat Oct 13 21:36:58 2001 UTC (18 years ago) by tothwolf
Branch: MAIN
Changes since 1.49: +8 -4 lines
* configure cleanups
* updated many autoconf macros to new formats
* removed acconfig.h
* --disable-debug configure option
* changed @EGG_DEBUG@ to $(EGG_DEBUG) in Makefile.am files

1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/eggdrop.h)
3 AC_CONFIG_AUX_DIR(.)
4 AM_CONFIG_HEADER(config.h)
5 EGG_MSG_CONFIGURE_START
6 AM_INIT_AUTOMAKE(eggdrop, 1.7.0)
7
8 # FIXME: optionally allow a system wide install by bypassing the macro below.
9 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
10
11 # config.h stuff
12 AH_TOP([#ifndef _EGG_CONFIG_H
13 #define _EGG_CONFIG_H])
14 AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
15
16 # Setup build environment
17 AC_PROG_CC
18 EGG_CHECK_CC
19
20 # Crazy machines
21 AC_AIX
22 AC_ISC_POSIX
23 AC_MINIX
24
25 # Gettext support
26 EGG_GNU_GETTEXT
27
28 # Libtool support
29 AC_DISABLE_FAST_INSTALL
30 AC_DISABLE_STATIC
31 AC_LIBTOOL_WIN32_DLL
32 AC_LIBLTDL_CONVENIENCE
33 AC_SUBST(INCLTDL)
34 AC_SUBST(LIBLTDL)
35 AC_LIBTOOL_DLOPEN
36 AM_PROG_LIBTOOL
37
38 # Speedup compile
39 EGG_CHECK_CCPIPE
40
41 # Checks for programs
42 AC_PROG_LN_S
43 EGG_PROG_STRIP
44 EGG_PROG_AWK
45 EGG_PROG_BASENAME
46 AC_CHECK_PROG(EGG_UNAME,uname,uname)
47 AC_CHECK_PROG(AR,ar,ar)
48
49 # Test the os and set the module linking settings
50 EGG_CHECK_OS
51
52 # Checks for system libraries
53 EGG_CHECK_LIBS
54
55 # Checks for header files
56 AC_HEADER_DIRENT
57 AC_HEADER_SYS_WAIT
58 AC_CHECK_HEADERS(sys/time.h)
59 AC_HEADER_TIME
60 AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h std_args.h strings.h limits.h)
61 EGG_INADDR_LOOPBACK
62
63 # Checks for typedefs, structures, and compiler characteristics
64 AC_TYPE_PID_T
65 AC_TYPE_SIZE_T
66 EGG_TYPE_SOCKLEN_T
67 AC_C_CONST
68 AC_C_BIGENDIAN
69 AC_C_INLINE
70 AC_CHECK_SIZEOF(long, 0)
71 AC_CHECK_SIZEOF(int, 0)
72
73 # Checks for library functions
74 AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize random srandom dlopen dprintf snprintf vsnprintf isascii inet_aton strftime fsync inet_pton inet_ntop)
75 EGG_CHECK_FUNC_VSPRINTF
76
77 # Make sure we have stdc headers, since we can't compile without them
78 EGG_HEADER_STDC
79
80 # Checks for cygwin
81 EGG_CYGWIN
82
83 EGG_IPV6_SUPPORTED
84 EGG_IPV6_OPTIONS
85
86 # Where is tcl? Is it here?
87 # ---------- begin robey's tcl thingies
88 # (well, what used to be robey's tcl thingies...)
89
90 # Latest tested Tcl version to recommend if Tcl isn't found
91 tclrecommendver="8.3.3"
92
93 # Site recommended to download Tcl from
94 tclrecommendsite="ftp://ftp.eggheads.org/pub/tcl/tcl8_3/"
95
96 # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
97 tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
98 tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
99 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
100
101 # Tcl library filename suffixes
102 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll"
103
104 # Tcl library search paths
105 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
106 /usr/lib /lib /usr/i486-linuxaout/lib \
107 /beos/system/lib /sys/lib \
108 $HOME/lib $HOME/tcl/lib $HOME"
109
110 # Tcl header filenames
111 tclheadernames="tcl.h"
112
113 # Tcl header search paths
114 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
115 /usr/include /beos/system/include /beos/devel/include \
116 /sys/include $HOME/include $HOME/tcl/include $HOME"
117
118 EGG_TCL_WITH_OPTIONS
119 EGG_TCL_ENV
120 EGG_TCL_WITH_TCLLIB
121 EGG_TCL_WITH_TCLINC
122 EGG_TCL_FIND_LIBRARY
123 EGG_TCL_FIND_HEADER
124 EGG_TCL_CHECK_LIBRARY
125 EGG_TCL_CHECK_HEADER
126 EGG_TCL_DETECT_CHANGE
127
128 EGG_TCL_CHECK_VERSION
129 EGG_TCL_CHECK_PRE70
130 EGG_TCL_CHECK_PRE75
131 EGG_TCL_TESTLIBS
132 EGG_TCL_CHECK_FREE
133 EGG_TCL_THREADS_OPTIONS
134 EGG_TCL_CHECK_THREADS
135 EGG_TCL_LIB_REQS
136 EGG_TCL_LUSH
137 # ---------- end of (what used to be) robey's tcl thingies
138
139 EGG_DEBUG_OPTIONS
140
141 EGG_DEFINE_VERSION_NUM
142
143 EGG_COMPRESS_MODULE
144
145 AC_CONFIG_SUBDIRS(libltdl)
146
147 AC_SUBST(ac_aux_dir)
148
149 # FIXME: module's Makefiles list will prolly become dynamic
150 AC_OUTPUT([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/egglib/Makefile src/mod/Makefile src/adns/Makefile src/mod/Makefile intl/Makefile po/Makefile.in src/mod/assoc.mod/Makefile src/mod/blowfish.mod/Makefile src/mod/channels.mod/Makefile src/mod/compress.mod/Makefile src/mod/console.mod/Makefile src/mod/ctcp.mod/Makefile src/mod/filesys.mod/Makefile src/mod/irc.mod/Makefile src/mod/notes.mod/Makefile src/mod/server.mod/Makefile src/mod/share.mod/Makefile src/mod/transfer.mod/Makefile src/mod/uptime.mod/Makefile src/mod/woobie.mod/Makefile])
151
152 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23