/[LeafOK_CVS]/lbbs/configure.ac
ViewVC logotype

Contents of /lbbs/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations)
Tue May 6 10:15:16 2025 UTC (10 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.6: +1 -1 lines
Content type: application/pkix-attr-cert
Update

1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.69])
5 AC_INIT([bbsd],[1.0])
6 AC_CONFIG_SRCDIR([src/])
7 # AM_CONFIG_HEADERS(config.h)
8 AC_CONFIG_MACRO_DIRS([m4])
9 AM_INIT_AUTOMAKE([foreign])
10
11 # Checks for programs.
12 AC_PROG_GCC_TRADITIONAL
13 LT_INIT
14 AC_PROG_CXX
15 AC_PROG_CC
16 AC_PROG_CPP
17 AC_PROG_INSTALL
18 AC_PROG_LN_S
19 AC_PROG_MAKE_SET
20
21 # Checks for libraries.
22 AC_CHECK_LIB([mysqlclient], [mysql_connect])
23 AC_CHECK_LIB([z], [unzip])
24
25 AC_HEADER_SYS_WAIT
26 AC_CHECK_HEADERS([arpa/inet.h dflcn.h fcntl.h memory.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h mysql.h])
27
28 # Checks for typedefs, structures, and compiler characteristics.
29 AC_C_CONST
30 AC_TYPE_SIZE_T
31 AC_CHECK_HEADERS_ONCE([sys/time.h])
32
33 AC_STRUCT_TM
34
35 # Checks for library functions.
36 AC_FUNC_FORK
37 AC_FUNC_MALLOC
38 AC_FUNC_SELECT_ARGTYPES
39
40 AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers
41 (`int' or `void').])
42
43 AC_FUNC_STRFTIME
44 AC_FUNC_VPRINTF
45 AC_CHECK_FUNCS([bzero dup2 gethostbyname inet_ntoa memset mkdir rmdir regcomp select socket strstr])
46
47 AC_CONFIG_FILES([Makefile
48 src/Makefile
49 utils/Makefile
50 utils/game/Makefile])
51 AC_OUTPUT

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1