|
|
@ -2,9 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
|
|
|
|
AC_INIT(libsntl, 0.2.1)
|
|
|
|
AC_INIT(libsntl, 0.2.1)
|
|
|
|
|
|
|
|
|
|
|
|
#LDFLAGS="$LDFLAGS -L/mingw/lib -L/local/lib"
|
|
|
|
AC_CONFIG_MACRO_DIR(['/tmp/aclocal'])
|
|
|
|
|
|
|
|
|
|
|
|
AC_CONFIG_MACRO_DIR(['aclocal'])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
|
|
|
|
|
|
|
@ -12,6 +10,8 @@ AM_INIT_AUTOMAKE([1.11])
|
|
|
|
|
|
|
|
|
|
|
|
AM_SILENT_RULES([yes])
|
|
|
|
AM_SILENT_RULES([yes])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CC=${CC-/opt/windows_64/bin/x86_64-w64-mingw32-g++.exe}
|
|
|
|
|
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_CC
|
|
|
|
|
|
|
|
|
|
|
|
LT_INIT
|
|
|
|
LT_INIT
|
|
|
@ -29,22 +29,12 @@ AS_IF([test "x$enable_build_examples" = "xyes"], [
|
|
|
|
|
|
|
|
|
|
|
|
AM_CONDITIONAL(BUILD_EXAMPLES, test "x$enable_build_examples" = "xyes")
|
|
|
|
AM_CONDITIONAL(BUILD_EXAMPLES, test "x$enable_build_examples" = "xyes")
|
|
|
|
|
|
|
|
|
|
|
|
dnl ************win32*********
|
|
|
|
AC_DEFINE([BUILD_WIN32], 1, [build for win32])
|
|
|
|
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([win32],
|
|
|
|
|
|
|
|
AS_HELP_STRING([--enable-win32-build], [Enable win32 build mode]))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AS_IF([test "x$enable_win32_build" = "xyes"], [
|
|
|
|
dnl PKG_CHECK_MODULES(LIBUUID, [uuid])
|
|
|
|
AC_DEFINE([BUILD_WIN32], 1, [build for win32]),
|
|
|
|
|
|
|
|
LDFLAGS="$LDFLAGS -L/mingw/lib -L/local/lib"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(LIBUUID, [uuid])
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(OPENSSL, [openssl])
|
|
|
|
PKG_CHECK_MODULES(OPENSSL, [openssl])
|
|
|
|
dnl PKG_CHECK_MODULES(LIBUUID, [uuid])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(LIBTDATA, [libtdata >= 0.2.2])
|
|
|
|
PKG_CHECK_MODULES(LIBTDATA, [libtdata >= 0.2.2])
|
|
|
|
PKG_CHECK_MODULES(LIBSEXPR, [libsexpr >= 1.3.1])
|
|
|
|
PKG_CHECK_MODULES(LIBSEXPR, [libsexpr >= 1.3.1])
|
|
|
|