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

Contents of /lbbs/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Wed Apr 30 09:18:19 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.3: +6 -2 lines
Content type: application/pkix-attr-cert
Add missing header files
Update compile dependency

1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.71])
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
30 strings.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h mysql.h])
31
32 # Checks for typedefs, structures, and compiler characteristics.
33 AC_C_CONST
34 AC_TYPE_SIZE_T
35 AC_CHECK_HEADERS_ONCE([sys/time.h])
36
37 AC_STRUCT_TM
38
39 # Checks for library functions.
40 AC_FUNC_FORK
41 AC_FUNC_MALLOC
42 AC_FUNC_SELECT_ARGTYPES
43
44 AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers
45 (`int' or `void').])
46
47 AC_FUNC_STRFTIME
48 AC_FUNC_VPRINTF
49 AC_CHECK_FUNCS([bzero dup2 gethostbyname inet_ntoa memset mkdir rmdir regcomp select socket strstr])
50
51 AC_CONFIG_FILES([Makefile
52 src/Makefile
53 utils/Makefile
54 utils/game/Makefile])
55 AC_OUTPUT

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