You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
10 years ago
|
dnl Process this file with autoconf to produce a configure script.
|
||
|
|
||
|
AC_INIT(libsntl, 0.1)
|
||
|
|
||
|
AC_CONFIG_HEADERS([config.h])
|
||
|
|
||
|
AM_INIT_AUTOMAKE([1.11])
|
||
|
|
||
|
AM_SILENT_RULES([yes])
|
||
|
|
||
|
AC_PROG_CC
|
||
|
|
||
|
dnl ***************************************************************************
|
||
|
dnl Internationalization
|
||
|
dnl ***************************************************************************
|
||
|
IT_PROG_INTLTOOL([0.35.0])
|
||
|
|
||
|
GETTEXT_PACKAGE=libsntl
|
||
|
AC_SUBST(GETTEXT_PACKAGE)
|
||
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
|
||
|
AM_GLIB_GNU_GETTEXT
|
||
|
|
||
|
|
||
|
LT_INIT
|
||
|
|
||
|
PKG_CHECK_MODULES(OPENSSL, [openssl])
|
||
|
PKG_CHECK_MODULES(LIBUUID, [uuid])
|
||
|
PKG_CHECK_MODULES(LIBTDATA, [libtdata-0.2])
|
||
|
PKG_CHECK_MODULES(LIBSEXPR, [libsexpr-1.2])
|
||
|
|
||
|
dnl *****************
|
||
|
dnl ***** options *****
|
||
|
dnl *****************
|
||
|
|
||
|
AC_ARG_ENABLE([build_examples],
|
||
|
AS_HELP_STRING([--enable-build-examples], [Enable examples build]))
|
||
|
|
||
|
AS_IF([test "x$enable_build_examples" = "xyes"], [
|
||
|
AC_DEFINE([BUILD_EXAMPLES], 1, [build of examples enabled])
|
||
|
])
|
||
|
|
||
|
AC_OUTPUT([
|
||
|
Makefile
|
||
|
lib/libsntl-0.1.pc
|
||
|
lib/Makefile
|
||
|
include/Makefile
|
||
|
po/Makefile.in])
|