| 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.69]) |
| 5 |
AC_INIT([bbsd],[1.1]) |
AC_INIT([lbbs],[1.3.2]) |
| 6 |
AC_CONFIG_SRCDIR([src/]) |
AC_CONFIG_SRCDIR([src/]) |
|
# AM_CONFIG_HEADERS(config.h) |
|
| 7 |
AC_CONFIG_MACRO_DIRS([m4]) |
AC_CONFIG_MACRO_DIRS([m4]) |
| 8 |
AM_INIT_AUTOMAKE([foreign]) |
AM_INIT_AUTOMAKE([foreign]) |
| 9 |
|
|
| 29 |
AC_HEADER_RESOLV |
AC_HEADER_RESOLV |
| 30 |
AC_HEADER_SYS_WAIT |
AC_HEADER_SYS_WAIT |
| 31 |
AC_CHECK_HEADERS([arpa/inet.h dflcn.h fcntl.h libssh/libssh.h libssh/server.h memory.h mysql/mysql.h net/if.h netdb.h netinet/in.h signal.h \ |
AC_CHECK_HEADERS([arpa/inet.h dflcn.h fcntl.h libssh/libssh.h libssh/server.h memory.h mysql/mysql.h net/if.h netdb.h netinet/in.h signal.h \ |
| 32 |
stdint.h stdlib.h string.h strings.h sys/epoll.h sys/ioctl.h sys/ipc.h sys/mman.h sys/param.h sys/socket.h \ |
stdint.h stdlib.h string.h sys/epoll.h sys/ioctl.h sys/ipc.h sys/mman.h sys/param.h sys/socket.h \ |
| 33 |
sys/time.h sys/types.h sys/sem.h sys/shm.h sys/stat.h sys/syscall.h sys/wait.h systemd/sd-daemon.h unistd.h]) |
sys/time.h sys/types.h sys/sem.h sys/shm.h sys/stat.h sys/syscall.h sys/wait.h systemd/sd-daemon.h unistd.h]) |
| 34 |
|
|
| 35 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| 51 |
|
|
| 52 |
AC_FUNC_STRFTIME |
AC_FUNC_STRFTIME |
| 53 |
AC_FUNC_VPRINTF |
AC_FUNC_VPRINTF |
| 54 |
AC_CHECK_FUNCS([bzero dup2 gethostbyname inet_ntoa memset mkdir rmdir regcomp select socket strstr]) |
AC_CHECK_FUNCS([dup2 gethostbyname inet_ntoa memset mkdir rmdir regcomp select socket strstr]) |
| 55 |
|
|
| 56 |
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |
| 57 |
src/Makefile |
src/Makefile |