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

Contents of /lbbs/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations)
Wed Apr 30 09:27:45 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.4: +2 -3 lines
Content type: application/pkix-attr-cert
Update automake

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 AM_INIT_AUTOMAKE
9
10 AC_ARG_ENABLE(werror,
11 AS_HELP_STRING([--enable-werror],[Enable -Werror in all Makefiles]))
12
13 # Checks for programs.
14 AC_PROG_GCC_TRADITIONAL
15 LT_INIT
16 AC_PROG_RANLIB
17 AC_PROG_CXX
18 AC_PROG_CC
19 AC_PROG_CPP
20 AC_PROG_INSTALL
21 AC_PROG_LN_S
22 AC_PROG_MAKE_SET
23
24 # Checks for libraries.
25 AC_CHECK_LIB([mysqlclient], [mysql_connect])
26 AC_CHECK_LIB([z], [unzip])
27
28 AC_HEADER_SYS_WAIT
29 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])
30
31 # Checks for typedefs, structures, and compiler characteristics.
32 AC_C_CONST
33 AC_TYPE_SIZE_T
34 AC_CHECK_HEADERS_ONCE([sys/time.h])
35
36 AC_STRUCT_TM
37
38 # Checks for library functions.
39 AC_FUNC_FORK
40 AC_FUNC_MALLOC
41 AC_FUNC_SELECT_ARGTYPES
42
43 AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers
44 (`int' or `void').])
45
46 AC_FUNC_STRFTIME
47 AC_FUNC_VPRINTF
48 AC_CHECK_FUNCS([bzero dup2 gethostbyname inet_ntoa memset mkdir rmdir regcomp select socket strstr])
49
50 AC_CONFIG_FILES([Makefile
51 src/Makefile
52 utils/Makefile
53 utils/game/Makefile])
54 AC_OUTPUT

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