configure.ac revision d43532a6
1AC_PREREQ([2.60])
2AC_INIT([makedepend], [1.0.4],
3        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg])
4AM_INIT_AUTOMAKE([foreign dist-bzip2])
5AM_CONFIG_HEADER([makedepend-config.h])
6
7# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
8m4_ifndef([XORG_MACROS_VERSION],
9	  [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
10XORG_MACROS_VERSION(1.8)
11
12dnl Checks for programs.
13AC_PROG_CC
14XORG_DEFAULT_OPTIONS
15XORG_WITH_LINT
16
17dnl Replacement for Imake SIGNAL_DEFINES
18AC_TYPE_SIGNAL
19
20dnl Checks for functions
21AC_CHECK_FUNCS([rename fchmod])
22
23dnl Use 64-bit file operations on 32-bit systems that support them
24AC_SYS_LARGEFILE
25
26dnl Check for pkg-config packages
27PKG_CHECK_MODULES(X, [xproto])
28AC_SUBST(X_CFLAGS)
29
30AC_OUTPUT([Makefile])
31