1dnl 2dnl Process this file with autoconf to create configure. 3 4# Initialize Autoconf 5AC_PREREQ([2.70]) 6AC_INIT([makedepend], [1.0.9], 7 [https://gitlab.freedesktop.org/xorg/util/makedepend/-/issues]) 8AC_CONFIG_SRCDIR([Makefile.am]) 9AC_CONFIG_HEADERS([makedepend-config.h]) 10# Set common system defines for POSIX extensions, such as _GNU_SOURCE 11# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL) 12# to avoid autoconf errors. 13AC_USE_SYSTEM_EXTENSIONS 14 15# Initialize Automake 16AM_INIT_AUTOMAKE([foreign dist-xz]) 17 18# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 19m4_ifndef([XORG_MACROS_VERSION], 20 [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 21XORG_MACROS_VERSION(1.8) 22 23dnl Checks for programs. 24XORG_DEFAULT_OPTIONS 25XORG_WITH_LINT 26 27dnl Checks for functions 28AC_CHECK_FUNCS([rename fchmod reallocarray]) 29 30dnl Use 64-bit file operations on 32-bit systems that support them 31AC_SYS_LARGEFILE 32 33AC_CONFIG_FILES([Makefile]) 34AC_OUTPUT 35