mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-08 10:06:19 -05:00
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:
parent
31f2ab57e2
commit
4e67f9deee
1 changed files with 18 additions and 16 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue