configure.ac: Use prefered AC_CONFIG_HEADERS over AM_CONFIG_HEADER

This macro is preferred by autofoo upstream. It was added around
automake 1.7, and offers backward compatibility with AM_CONFIG_HEADER.

Related: OS#3230
Change-Id: I88707d4895d9c231715d5252d2cfab589b42fe0c
This commit is contained in:
Pau Espin 2019-06-27 17:28:51 +02:00
parent d0ba664fec
commit 1eeb113c34
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
# Process this file with autoconf to produce a configure script.
AC_INIT([osmo-ggsn],[m4_esyscmd(./git-version-gen .tarball-version)],[osmocom-net-gprs@lists.osmocom.org])
AC_CONFIG_SRCDIR([gtp/gtp.c])
AM_CONFIG_HEADER([config.h])
#AC_CONFIG_HEADER([config.h])
AC_CONFIG_HEADERS([config.h])
dnl *This* is the root dir, even if an install-sh exists in ../ or ../../
AC_CONFIG_AUX_DIR([.])