configure.ac: Update AC_OUTPUT() function

Modern autoconf practice says AC_OUTPUT() should be called with no
arguments and generated configuration files should be specified by
calling AC_CONFIG_FILES() before AC_OUTPUT().

Update configure.ac to follow this practice.
This commit is contained in:
Nicholas Vinson 2024-01-06 22:54:56 -05:00
parent 31f2ab57e2
commit 4e67f9deee
No known key found for this signature in database

View file

@ -747,7 +747,7 @@ if test ! -L "$srcdir"/include/alsa ; then
ln -sf . "$srcdir"/include/alsa ln -sf . "$srcdir"/include/alsa
fi fi
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ AC_CONFIG_FILES(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
include/Makefile include/sound/Makefile include/sound/uapi/Makefile \ include/Makefile include/sound/Makefile include/sound/uapi/Makefile \
src/Versions src/Makefile \ src/Versions src/Makefile \
src/control/Makefile src/mixer/Makefile \ src/control/Makefile src/mixer/Makefile \
@ -764,6 +764,8 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
test/Makefile test/lsb/Makefile \ test/Makefile test/lsb/Makefile \
utils/Makefile utils/alsa-lib.spec utils/alsa.pc utils/alsa-topology.pc) utils/Makefile utils/alsa-lib.spec utils/alsa.pc utils/alsa-topology.pc)
AC_OUTPUT()
dnl Create asoundlib.h dynamically according to configure options dnl Create asoundlib.h dynamically according to configure options
echo "Creating asoundlib.h..." echo "Creating asoundlib.h..."
cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h