From eae4de985029a5ce4956f17af0ccc2ba02d99ea6 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 28 Feb 2013 14:01:05 -0600 Subject: [PATCH] Replace the deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS. Addresses bug #704 for building on a Mac. More generically it addresses the issue building using newers versions of automake. --- configure.ac | 2 +- libhtp/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b089382640..32b931b25a 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_INIT(configure.ac) - AM_CONFIG_HEADER(config.h) + AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE(suricata, 1.4dev) AC_LANG_C diff --git a/libhtp/configure.ac b/libhtp/configure.ac index 53dc16513b..3eb37000dc 100644 --- a/libhtp/configure.ac +++ b/libhtp/configure.ac @@ -4,7 +4,7 @@ dnl Initialization macros dnl ---------------------- AC_INIT(htp/htp.h) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) dnl -----------------------------------------------