/[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.46 - (show annotations) (download)
Tue Aug 21 00:21:17 2001 UTC (18 years, 1 month ago) by ite
Branch: MAIN
Changes since 1.45: +13 -4 lines
Gettext phase 2:
* Replced dummy _() define with the real one and added language domain binding
  code.
* added gettext's related m4 macros to aclocal
* added misc/config.guess and misc/config.sub system detection scripts
* added the po subdirectory containing:
  - eggdrop.pot: the template translation file.
  - POTFILES.in: a list of the source files containing _("") macros
  - update.pl: a small perl script to generate eggdrop.pot from the sources
    and to update existing translation files (*.po)
  - ChangeLog: list of changes in that directory.
* added VERSION and VERSION_NUM (replacing EGG_VERSION and EGG_VERSION_NUM)
  defines for versioning information. The version (+patch excepted) now changes
  by just editing an entry in top of configure.in.
* removed EGG_VERSION_MAX and EGGDROP_VERSION_MIN C macros that wheren't used
  anywhere.
* Modified bootstrap script
* added and and modified .cvsignore files

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23