Update configure.ac to more recent autoconf version

This commit is contained in:
Andreas Eversberg 2024-02-18 16:25:44 +01:00
parent 9ff85d6226
commit 3f77726226
1 changed files with 5 additions and 8 deletions

View File

@ -1,6 +1,4 @@
AC_INIT([libosmo-cc], AC_INIT([libosmo-cc],[m4_esyscmd(./git-version-gen .tarball-version)],[openbsc@lists.osmocom.org])
m4_esyscmd([./git-version-gen .tarball-version]),
[openbsc@lists.osmocom.org])
dnl *This* is the root dir, even if an install-sh exists in ../ or ../../ dnl *This* is the root dir, even if an install-sh exists in ../ or ../../
AC_CONFIG_AUX_DIR([.]) AC_CONFIG_AUX_DIR([.])
@ -64,9 +62,8 @@ CFLAGS="$saved_CFLAGS"
AC_SUBST(SYMBOL_VISIBILITY) AC_SUBST(SYMBOL_VISIBILITY)
dnl Generate the output dnl Generate the output
AM_CONFIG_HEADER(config.h)
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.9.0) PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.6.0)
AC_ARG_ENABLE(sanitize, AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING( [AS_HELP_STRING(
@ -128,8 +125,8 @@ CFLAGS=$_cflags_save
AC_MSG_RESULT([CFLAGS="$CFLAGS"]) AC_MSG_RESULT([CFLAGS="$CFLAGS"])
AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"]) AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
AC_OUTPUT( AC_CONFIG_FILES([libosmocc.pc
libosmocc.pc
include/Makefile include/Makefile
src/Makefile src/Makefile
Makefile) Makefile])
AC_OUTPUT