From fdb0b7033ee1f6633e0e0dcce00840cafd8f1dbe Mon Sep 17 00:00:00 2001 From: Fabian Mauchle Date: Tue, 11 May 2021 10:35:40 +0200 Subject: [PATCH] update autoconf scripts --- acinclude.m4 | 2 +- configure.ac | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index f854b0e..3a76d0d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -5,7 +5,7 @@ AC_DEFUN([AX_CHECK_SSL], SSL_DIR= found_ssl="no" AC_ARG_WITH(ssl, - AC_HELP_STRING([--with-ssl], + AS_HELP_STRING([--with-ssl], [Use SSL (in specified installation directory)]), [check_ssl_dir="$withval"], [check_ssl_dir=]) diff --git a/configure.ac b/configure.ac index 00341fc..ddede35 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Copyright (c) 2006-2010, UNINETT AS dnl Copyright (c) 2010-2013,2016, NORDUnet A/S dnl See LICENSE for licensing information. -AC_INIT(radsecproxy, 1.8.2, https://radsecproxy.github.io) +AC_INIT([radsecproxy],[1.8.2],[https://radsecproxy.github.io]) AC_CONFIG_AUX_DIR([build-aux]) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE @@ -59,7 +59,7 @@ AC_CHECK_LIB([nettle], [nettle_sha256_init],, [AC_MSG_ERROR([required library nettle not found])]) dnl Check if we're on Solaris and set CFLAGS accordingly -AC_CANONICAL_SYSTEM +AC_CANONICAL_TARGET case "${target_os}" in solaris*) TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS" @@ -105,7 +105,8 @@ AC_SUBST(SYSCONFDIR) AC_SUBST(TARGET_CFLAGS) AC_SUBST(TARGET_LDFLAGS) AX_CHECK_SSL -AC_OUTPUT([ +AC_CONFIG_FILES([ Makefile tests/Makefile ]) +AC_OUTPUT