| 1 |
# -*- Autoconf -*- |
# -*- Autoconf -*- |
| 2 |
# Process this file with autoconf to produce a configure script. |
# Process this file with autoconf to produce a configure script. |
| 3 |
|
|
| 4 |
AC_PREREQ([2.69]) |
AC_PREREQ([2.71]) |
| 5 |
AC_INIT([bbsd],[1.0]) |
AC_INIT([bbsd],[1.0]) |
| 6 |
AC_CONFIG_SRCDIR([src/]) |
AC_CONFIG_SRCDIR([src/]) |
| 7 |
# AM_CONFIG_HEADERS(config.h) |
# AM_CONFIG_HEADERS(config.h) |
| 8 |
AM_INIT_AUTOMAKE |
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. |
# Checks for programs. |
| 14 |
AC_PROG_GCC_TRADITIONAL |
AC_PROG_GCC_TRADITIONAL |
| 15 |
LT_INIT |
LT_INIT |
| 26 |
AC_CHECK_LIB([z], [unzip]) |
AC_CHECK_LIB([z], [unzip]) |
| 27 |
|
|
| 28 |
AC_HEADER_SYS_WAIT |
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]) |
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. |
# Checks for typedefs, structures, and compiler characteristics. |
| 33 |
AC_C_CONST |
AC_C_CONST |