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.
30 lines
688 B
Plaintext
30 lines
688 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_INIT(ejabberdauth, m4_esyscmd([tr -d '\n' < VERSION]))
|
|
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
AM_INIT_AUTOMAKE([1.11] [foreign subdir-objects])
|
|
|
|
AM_SILENT_RULES([yes])
|
|
|
|
AC_PROG_CC
|
|
|
|
LT_INIT
|
|
|
|
dnl options to build
|
|
AC_ARG_ENABLE([build_tests], AC_HELP_STRING([--enable-build-tests], [Enable tests build]))
|
|
|
|
AS_IF([test "x$enable_build_tests" = "xyes"],
|
|
AC_DEFINE([BUILD_TESTS], 1, [tests building enabled]))
|
|
|
|
AM_CONDITIONAL(BUILD_TESTS, test "x$enable_build_tests" = "xyes")
|
|
|
|
dnl checking for dependencies
|
|
dnl check for the openssl/libressl
|
|
PKG_CHECK_MODULES(OPENSSL, [openssl])
|
|
|
|
AC_OUTPUT([
|
|
Makefile
|
|
src/Makefile])
|