Pass all substitutions to AC_CONFIG_FILES, sort and reformat them

Passing arguments to AC_OUTPUT is obsolete.

Remove commented out configure code.
This commit is contained in:
Pavel Roskin 2016-11-18 00:35:33 +00:00
parent 5706bfadea
commit 3ae4968af4

View File

@ -258,42 +258,35 @@ fi
pkgconfigdir=${libdir}/pkgconfig pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir) AC_SUBST(pkgconfigdir)
AC_CONFIG_FILES([Makefile AC_CONFIG_FILES([
common/Makefile common/Makefile
vnc/Makefile docs/Makefile
rdp/Makefile docs/man/Makefile
libxrdp/Makefile genkeymap/Makefile
xup/Makefile instfiles/default/Makefile
mc/Makefile instfiles/init.d/Makefile
neutrinordp/Makefile instfiles/Makefile
xrdp/Makefile instfiles/pam.d/Makefile
sesman/Makefile instfiles/pulse/Makefile
sesman/libscp/Makefile instfiles/rc.d/Makefile
sesman/tools/Makefile keygen/Makefile
sesman/sessvc/Makefile libxrdp/Makefile
sesman/chansrv/Makefile Makefile
keygen/Makefile mc/Makefile
docs/Makefile neutrinordp/Makefile
docs/man/Makefile pkgconfig/Makefile
instfiles/Makefile pkgconfig/xrdp.pc
instfiles/pam.d/Makefile rdp/Makefile
instfiles/init.d/Makefile sesman/chansrv/Makefile
instfiles/rc.d/Makefile sesman/libscp/Makefile
instfiles/default/Makefile sesman/Makefile
instfiles/pulse/Makefile sesman/sessvc/Makefile
genkeymap/Makefile sesman/tools/Makefile
xrdpapi/Makefile vnc/Makefile
xrdpvr/Makefile xrdpapi/Makefile
pkgconfig/Makefile xrdp/Makefile
]) xrdpvr/Makefile
# fontdump/Makefile xup/Makefile
# xrdp/cursors/Makefile
# Xserver/hw/rdp/Makefile
AC_OUTPUT([pkgconfig/xrdp.pc
]) ])
# example of how to check for a struct in a header AC_OUTPUT
#AC_CHECK_MEMBER([struct in6_addr.s6_addr],
# [],
# [AC_DEFINE(NO_ARPA_INET_H_IP6, 1, [for IPv6])],
# [#include <arpa/inet.h>])