| 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([lbbs],[1.5.6]) |
AC_INIT([lbbs],[1.6.0]) |
| 6 |
AC_CONFIG_SRCDIR([src/]) |
AC_CONFIG_SRCDIR([src/]) |
| 7 |
AC_CONFIG_HEADERS([config.h]) |
AC_CONFIG_HEADERS([config.h]) |
| 8 |
AC_CONFIG_MACRO_DIRS([m4]) |
AC_CONFIG_MACRO_DIRS([m4]) |
| 62 |
AS_IF([test "x$enable_systemd" = xyes], |
AS_IF([test "x$enable_systemd" = xyes], |
| 63 |
[PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [], [AC_MSG_ERROR([libsystemd is required.])])]) |
[PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [], [AC_MSG_ERROR([libsystemd is required.])])]) |
| 64 |
|
|
| 65 |
AM_CONDITIONAL([LINK_USE_SO], [test "x$enable_shared" = xyes]) |
AM_CONDITIONAL([USE_SO], [test "x$with-sysv" = xyes]) |
| 66 |
AS_IF([test "x$enable_shared" = xyes], |
AS_IF([test "x$with-sysv" = xyes], |
| 67 |
[AC_DEFINE([LOAD_SO], [1], [Define if shared object is usable])]) |
[AC_DEFINE([_LOAD_SO], [1], [Define if shared object is usable])]) |
| 68 |
|
|
| 69 |
CPPFLAGS="$CPPFLAGS $LIBSSH_CFLAGS $MYSQLCLIENT_CFLAGS $SYSTEMD_CFLAGS $LIBPCRE2_CFLAGS $ICONV_CFLAGS" |
CPPFLAGS="$CPPFLAGS $LIBSSH_CFLAGS $MYSQLCLIENT_CFLAGS $SYSTEMD_CFLAGS $LIBPCRE2_CFLAGS $ICONV_CFLAGS" |
| 70 |
|
|