| 19 |
AC_PROG_LN_S |
AC_PROG_LN_S |
| 20 |
AC_PROG_MAKE_SET |
AC_PROG_MAKE_SET |
| 21 |
|
|
| 22 |
|
AC_ARG_WITH([sysv], |
| 23 |
|
[AS_HELP_STRING([--with-sysv], [Use System V specific APIs])], |
| 24 |
|
[AS_IF([test "x$with_sysv" = xyes], |
| 25 |
|
[AC_DEFINE([HAVE_SYSTEM_V], [1], [Define if System V is available])])]) |
| 26 |
|
AC_ARG_ENABLE([debug], |
| 27 |
|
[AS_HELP_STRING([--enable-debug], [Enable debug log])], |
| 28 |
|
[AS_IF([test "x$enable_debug" = xyes], |
| 29 |
|
[AC_DEFINE([_DEBUG], [1], [Define if debug log is enabled])])]) |
| 30 |
|
|
| 31 |
AC_ARG_WITH([iconv], |
AC_ARG_WITH([iconv], |
| 32 |
[AS_HELP_STRING([--with-iconv], [Use iconv library package config])], |
[AS_HELP_STRING([--with-iconv], [Use iconv library package config])], |
| 33 |
[], |
[], |
| 68 |
|
|
| 69 |
AC_HEADER_RESOLV |
AC_HEADER_RESOLV |
| 70 |
AC_HEADER_SYS_WAIT |
AC_HEADER_SYS_WAIT |
| 71 |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h iconv.h libssh/libssh.h mysql.h netdb.h netinet/in.h pcre2.h \ |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h iconv.h libssh/libssh.h mysql.h netdb.h netinet/in.h pcre2.h pty.h \ |
| 72 |
pty.h signal.h stdint.h stdlib.h string.h sys/ioctl.h sys/ipc.h sys/mman.h sys/param.h sys/socket.h \ |
semaphore.h signal.h stdint.h stdlib.h string.h sys/ioctl.h sys/mman.h sys/param.h sys/socket.h \ |
| 73 |
sys/types.h sys/sem.h sys/shm.h sys/stat.h sys/wait.h time.h unistd.h utmp.h wchar.h], |
sys/types.h sys/sem.h sys/stat.h sys/wait.h time.h unistd.h utmp.h wchar.h], |
| 74 |
[], |
[], |
| 75 |
[AC_MSG_ERROR([Missing required header file])], |
[AC_MSG_ERROR([Missing required header file])], |
| 76 |
[#define PCRE2_CODE_UNIT_WIDTH 8]) |
[#define PCRE2_CODE_UNIT_WIDTH 8]) |
| 110 |
conf/lbbs.service |
conf/lbbs.service |
| 111 |
conf/lbbs.logrotate]) |
conf/lbbs.logrotate]) |
| 112 |
|
|
|
AC_ARG_ENABLE([debug], |
|
|
[AS_HELP_STRING([--enable-debug], [Enable debug log])], |
|
|
[AS_IF([test "x$enable_debug" = xyes], |
|
|
[AC_DEFINE([_DEBUG], [1], [Define if debug log is enabled])])]) |
|
|
|
|
| 113 |
AC_OUTPUT |
AC_OUTPUT |