AC_PREREQ([2.57]) AC_INIT(xorg-cf-files, [1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-cf-files) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE # Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS m4_ifndef([XORG_MACROS_VERSION], [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.3) XORG_DEFAULT_OPTIONS m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))]) DEFAULT_XCONFDIR="${libdir}/X11/config" AC_ARG_WITH(config-dir, AS_HELP_STRING([--with-config-dir=], [Path to config dir (default: ${libdir}/X11/config)]), [XCONFDIR="$withval"], [XCONFDIR="$DEFAULT_XCONFDIR"]) AC_SUBST(XCONFDIR) AC_OUTPUT([ Makefile site.def ])