summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-24 10:07:25 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-02 12:46:38 -0700
commit88380275fe13af5238955047f6b018e6e6a3adc8 (patch)
treefb93d3a428000d395947f13bdf2457e9ccdaf4d3
parentc5783216c07fa9870da1b5cce023e24d649254c3 (diff)
downloadxorg-app-xauth-88380275fe13af5238955047f6b018e6e6a3adc8.tar.gz
config: Add missing AC_CONFIG_SRCDIR
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 53c3e23..db7aae5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,13 +20,13 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xauth],
[1.1.2],
[https://gitlab.freedesktop.org/xorg/app/xauth/issues],
[xauth])
-AM_INIT_AUTOMAKE([foreign dist-xz])
-
+AC_CONFIG_SRCDIR([xauth.c])
AC_CONFIG_HEADERS([config.h])
# Set common system defines for POSIX extensions, such as _GNU_SOURCE
@@ -34,6 +34,9 @@ AC_CONFIG_HEADERS([config.h])
# AC_PROG_LIBTOOL) to avoid autoconf errors.
AC_USE_SYSTEM_EXTENSIONS
+# Initialize Automake
+AM_INIT_AUTOMAKE([foreign dist-xz])
+
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])