Browse Source

Migrate away from deprecated `AC_OUTPUT` macro

The `AC_OUTPUT` has two versions, the deprecated one takes arguments and the other not. Check the
following link for equivalent replacement:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/Obsolete-Macros.html#Obsolete-Macros

Also regenerate the configure script with the latest Autoconf 2.70.
adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
5209b0172b
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 9214
      configure
  2. 8
      configure.ac

9214
configure vendored

File diff suppressed because it is too large Load Diff

8
configure.ac

@ -272,9 +272,13 @@ AC_SUBST(QBT_REMOVE_CONFIG)
AC_SUBST(QBT_ADD_DEFINES) AC_SUBST(QBT_ADD_DEFINES)
AC_SUBST(QBT_REMOVE_DEFINES) AC_SUBST(QBT_REMOVE_DEFINES)
AC_OUTPUT(conf.pri) QBT_CONFIG_FILES="conf.pri"
AS_IF([test "x$enable_systemd" = "xyes"], AS_IF([test "x$enable_systemd" = "xyes"],
[AC_OUTPUT(dist/unix/systemd/qbittorrent-nox@.service)]) [QBT_CONFIG_FILES="$QBT_CONFIG_FILES dist/unix/systemd/qbittorrent-nox@.service"])
AC_CONFIG_FILES(["$QBT_CONFIG_FILES"])
AC_OUTPUT
AC_MSG_NOTICE([Running qmake to generate the makefile...]) AC_MSG_NOTICE([Running qmake to generate the makefile...])
TOPDIR="$(cd "$(dirname "$0")" && pwd)" TOPDIR="$(cd "$(dirname "$0")" && pwd)"

Loading…
Cancel
Save