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

Contents of /eggdrop1.6/configure.in

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


Revision 1.61 - (show annotations) (download)
Fri Jan 9 02:01:44 2004 UTC (15 years, 8 months ago) by wcc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.60: +2 -2 lines
FILE REMOVED
* configure.in -> configure.ac

1 dnl Process this file with autoconf to produce a configure script.
2 dnl
3 dnl $Id: configure.in,v 1.60 2004/01/09 01:50:22 wcc Exp $
4 dnl
5
6 AC_PREREQ(2.59)
7 AC_INIT([Eggdrop],[1.6.16],[bugs@eggheads.org])
8 AC_COPYRIGHT([Copyright (C) 1999, 2000, 2001, 2002, 2003 Eggheads Development Team])
9 AC_REVISION($Revision: 1.60 $)
10 AC_CONFIG_SRCDIR(src/eggdrop.h)
11 AC_CONFIG_AUX_DIR(misc)
12 AC_CONFIG_HEADER(config.h)
13 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
14
15 EGG_MSG_CONFIGURE_START
16 EGG_SAVE_PARAMETERS
17
18 # Setup build environment
19 AC_PROG_CC
20 EGG_CHECK_CC
21
22 # Crazy machines
23 AC_AIX
24 AC_ISC_POSIX
25 AC_MINIX
26
27 # Speedup compile
28 EGG_CHECK_CCPIPE
29
30 # Checks for programs
31 AC_PROG_INSTALL
32 AC_PROG_MAKE_SET
33 AC_PROG_RANLIB
34 AC_PROG_LN_S
35 EGG_PROG_HEAD_1
36 EGG_PROG_STRIP
37 EGG_PROG_AWK
38 EGG_PROG_BASENAME
39 AC_CHECK_PROG(UNAME,uname,uname)
40
41 # Test the os and set the module linking settings
42 EGG_CHECK_OS
43
44 # Checks for system libraries
45 EGG_CHECK_LIBS
46
47 # Checks for header files
48 EGG_HEADER_STDC
49 AC_HEADER_DIRENT
50 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h])
51 AC_HEADER_TIME
52
53 # Checks for typedefs, structures, and compiler characteristics
54 AC_C_CONST
55 AC_C_BIGENDIAN
56 AC_C_INLINE
57 AC_TYPE_PID_T
58 AC_TYPE_SIZE_T
59 AC_C_VOLATILE
60
61 AC_CHECK_SIZEOF(long, 0)
62 AC_CHECK_SIZEOF(int, 0)
63
64 # Checks for functions
65 AC_CHECK_FUNCS(clock dlopen dprintf fsync getdtablesize getrusage inet_aton isascii memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom strcasecmp strncasecmp uname vsnprintf)
66 AC_FUNC_VPRINTF
67 EGG_FUNC_VSPRINTF
68 AC_FUNC_STRFTIME
69
70 # Make sure we are using the correct result from a broken libsafe sscanf
71 EGG_CHECK_LIBSAFE_SSCANF
72
73 # Checks for executable extension
74 EGG_EXEEXT
75
76 # Begin Tcl checks
77
78 # Latest tested Tcl version to recommend if Tcl isn't found
79 tclrecommendver="8.3.4"
80
81 # Site recommended to download Tcl from
82 tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_3/"
83
84 # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
85 tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
86 tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
87 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
88
89 # Tcl library filename suffixes
90 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll .dylib"
91
92 # Tcl library search paths
93 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
94 /usr/lib /lib /usr/i486-linuxaout/lib \
95 /beos/system/lib /sys/lib \
96 $HOME/lib $HOME/tcl/lib $HOME"
97
98 # Tcl header filenames
99 tclheadernames="tcl.h"
100
101 # Tcl header search paths
102 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
103 /usr/include /beos/system/include /beos/devel/include \
104 /sys/include $HOME/include $HOME/tcl/include $HOME"
105
106 EGG_TCL_ARG_WITH
107 EGG_TCL_ENV
108 EGG_TCL_WITH_TCLLIB
109 EGG_TCL_WITH_TCLINC
110 EGG_TCL_FIND_LIBRARY
111 EGG_TCL_FIND_HEADER
112 EGG_TCL_CHECK_LIBRARY
113 EGG_TCL_CHECK_HEADER
114 EGG_TCL_DETECT_CHANGE
115 EGG_TCL_CHECK_VERSION
116 EGG_TCL_CHECK_PRE70
117 EGG_TCL_TESTLIBS
118 EGG_TCL_CHECK_FREE
119 EGG_TCL_ENABLE_THREADS
120 EGG_TCL_CHECK_THREADS
121 EGG_TCL_LIB_REQS
122 EGG_TCL_LUSH
123
124 # End Tcl checks
125
126 EGG_FUNC_DLOPEN
127
128 # Substitute Makefile variables
129 EGG_SUBST_EGGVERSION
130 EGG_SUBST_DEST
131 EGG_SUBST_MOD_UPDIR
132
133 EGG_CATCH_MAKEFILE_REBUILD
134 AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
135 AC_OUTPUT
136
137 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23