/[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.47 - (show annotations) (download)
Wed Oct 10 01:20:08 2001 UTC (18 years ago) by ite
Branch: MAIN
Changes since 1.46: +26 -23 lines
* Refactored the tree (especially src/modules.c) to use the libltdl
  wrapper. Modules are configured to be lt_dlopened or dl_preopened (if
  the system doesn't support shared libraries).
* Should compile modules on more SunOs environments and on Beos too.
* Libtoolized the package: modules and internal libraries build system
  more protable than ever.
* Wiped out old makefiles in favour of automake and Makefile.am's
  files.
* Misc cleanups.
* Updated bootstrap script
* Moved doc/AUTHORS to ./AUTHORS
* Updated config.guess and config.sub
* Changed misc/ to ./ temporairly
* Got rid of misc/modconfig, and more in general of the old module
  configuration stuff, in favor of an incoming ./configure parametrized
  choice.
* Moved configure macros from aclocal.m4 to acinclude.m4 since aclocal.m4
  is now generated by aclocal on bootstrap.
* Removed no more necessary macros like EGG_EXEEXT because of
  libltdl+automake power ;P
* Removed EGG_CHECK_LIBSAFE_SSCANF macro that wasn't necessary anymore
  after gettext support.
* Added preliminary EGG_DEBUG_OPTIONS macro.
* Heavily stripped EGG_CHECK_OS macro and got rid of some system
  specific defines that were dead because of libltdl.
* Updated .cvsignore files.
* Improved make dist target.
* make static is gone in favor of ./configure --disable-shared.
* make debug is gone in favor of future ./configure --with-debug
  options.
* Others targets are gone in favor of more GNU standard targets.
* Updated po/eggdrop.pot.
# Egglib is now compiled and linked in the core.
* Moved compress.mod's specific configure macros to the top configure script.
* Switched to gettext 0.10.40 and pre-gettextized the devel tree.

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 # Setup build environment
12 AC_PROG_CC
13 EGG_CHECK_CC
14
15 # Crazy machines
16 AC_AIX
17 AC_ISC_POSIX
18 AC_MINIX
19
20 # Gettext support
21 EGG_GNU_GETTEXT
22
23 # Libtool support
24 AC_DISABLE_FAST_INSTALL
25 AC_DISABLE_STATIC
26 AC_LIBTOOL_WIN32_DLL
27 AC_LIBLTDL_CONVENIENCE
28 AC_SUBST(INCLTDL)
29 AC_SUBST(LIBLTDL)
30 AC_LIBTOOL_DLOPEN
31 AM_PROG_LIBTOOL
32
33 # Speedup compile
34 EGG_CHECK_CCPIPE
35
36 # Checks for programs
37 AC_PROG_LN_S
38 EGG_PROG_STRIP
39 EGG_PROG_AWK
40 EGG_PROG_BASENAME
41 AC_CHECK_PROG(EGG_UNAME,uname,uname)
42 AC_CHECK_PROG(AR,ar,ar)
43
44 # Test the os and set the module linking settings
45 EGG_CHECK_OS
46
47 # Checks for system libraries
48 EGG_CHECK_LIBS
49
50 # Checks for header files
51 AC_HEADER_DIRENT
52 AC_HEADER_SYS_WAIT
53 AC_CHECK_HEADERS(sys/time.h)
54 AC_HEADER_TIME
55 AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h std_args.h strings.h limits.h)
56 EGG_INADDR_LOOPBACK
57
58 # Checks for typedefs, structures, and compiler characteristics
59 AC_TYPE_PID_T
60 AC_TYPE_SIZE_T
61 EGG_TYPE_SOCKLEN_T
62 AC_C_CONST
63 AC_C_BIGENDIAN
64 AC_C_INLINE
65 AC_CHECK_SIZEOF(long, 0)
66 AC_CHECK_SIZEOF(int, 0)
67
68 # Checks for library functions
69 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 fsync inet_pton inet_ntop)
70 EGG_CHECK_FUNC_VSPRINTF
71
72 # Make sure we have stdc headers, since we can't compile without them
73 EGG_HEADER_STDC
74
75 # Checks for cygwin
76 EGG_CYGWIN
77
78 EGG_IPV6_SUPPORTED
79 EGG_ENABLE_IPV6
80
81 # Where is tcl? Is it here?
82 # ---------- begin robey's tcl thingies
83 # (well, what used to be robey's tcl thingies...)
84
85 # Latest tested Tcl version to recommend if Tcl isn't found
86 tclrecommendver="8.3.3"
87
88 # Site recommended to download Tcl from
89 tclrecommendsite="ftp://ftp.eggheads.org/pub/tcl/tcl8_3/"
90
91 # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
92 tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
93 tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
94 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
95
96 # Tcl library filename suffixes
97 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll"
98
99 # Tcl library search paths
100 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
101 /usr/lib /lib /usr/i486-linuxaout/lib \
102 /beos/system/lib /sys/lib \
103 $HOME/lib $HOME/tcl/lib $HOME"
104
105 # Tcl header filenames
106 tclheadernames="tcl.h"
107
108 # Tcl header search paths
109 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
110 /usr/include /beos/system/include /beos/devel/include \
111 /sys/include $HOME/include $HOME/tcl/include $HOME"
112
113 EGG_TCL_ARG_WITH
114 EGG_TCL_ENV
115 EGG_TCL_WITH_TCLLIB
116 EGG_TCL_WITH_TCLINC
117 EGG_TCL_FIND_LIBRARY
118 EGG_TCL_FIND_HEADER
119 EGG_TCL_CHECK_LIBRARY
120 EGG_TCL_CHECK_HEADER
121 EGG_TCL_DETECT_CHANGE
122
123 EGG_TCL_CHECK_VERSION
124 EGG_TCL_CHECK_PRE70
125 EGG_TCL_CHECK_PRE75
126 EGG_TCL_TESTLIBS
127 EGG_TCL_CHECK_FREE
128 EGG_TCL_ENABLE_THREADS
129 EGG_TCL_CHECK_THREADS
130 EGG_TCL_LIB_REQS
131 EGG_TCL_LUSH
132 # ---------- end of (what used to be) robey's tcl thingies
133
134 EGG_DEBUG_OPTIONS
135
136 EGG_DEFINE_VERSION_NUM
137
138 EGG_COMPRESS_MODULE
139
140 AC_CONFIG_SUBDIRS(libltdl)
141
142 AC_SUBST(ac_aux_dir)
143
144 # FIXME: module's Makefiles list will prolly become dynamic
145 AC_OUTPUT([Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/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])
146
147 EGG_MSG_CONFIGURE_END
148

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23