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

Diff of /lbbs/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.62 by sysadm, Tue Nov 18 03:19:20 2025 UTC Revision 1.64 by sysadm, Fri Nov 21 02:49:26 2025 UTC
# Line 19  AC_PROG_INSTALL Line 19  AC_PROG_INSTALL
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              [],              [],
34              [with_iconv="no"])              [with_iconv="no"])
35  AC_ARG_WITH([mariadb],  AC_ARG_WITH([mariadb],
36              [AS_HELP_STRING([--with-mariadb], [Use MariaDB library instead of MySQL client library])],              [AS_HELP_STRING([--with-mariadb], [Use MariaDB library instead of MySQL client library])],
37              [],              [AS_IF([test "x$with_mariadb" = xyes],
38                       [AC_DEFINE([HAVE_MARIADB_CLIENT], [1], [Define if MariaDB client is used])])],
39              [with_mariadb="no"])              [with_mariadb="no"])
40  AC_ARG_ENABLE([systemd],  AC_ARG_ENABLE([systemd],
41                [AS_HELP_STRING([--enable-systemd], [Enable systemd daemon])],                [AS_HELP_STRING([--enable-systemd], [Enable systemd daemon])],
# Line 59  AC_PROG_EGREP Line 69  AC_PROG_EGREP
69    
70  AC_HEADER_RESOLV  AC_HEADER_RESOLV
71  AC_HEADER_SYS_WAIT  AC_HEADER_SYS_WAIT
72  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 \
73                    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 \
74                    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],
75                    [],                    [],
76                    [AC_MSG_ERROR([Missing required header file])],                    [AC_MSG_ERROR([Missing required header file])],
77                    [#define PCRE2_CODE_UNIT_WIDTH 8])                    [#define PCRE2_CODE_UNIT_WIDTH 8])
# Line 101  AC_CONFIG_FILES([Makefile Line 111  AC_CONFIG_FILES([Makefile
111                   conf/lbbs.service                   conf/lbbs.service
112                   conf/lbbs.logrotate])                   conf/lbbs.logrotate])
113    
 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])])])  
   
114  AC_OUTPUT  AC_OUTPUT


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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