diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-03-31 16:36:00 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-04-05 19:17:37 -0400 |
commit | 3660bdcaea6915d9c2ff90b96a3986cb5379ee5d (patch) | |
tree | b5fe3c4481dbb72ed4073a5f04fa0c68037d56bd /configure.ac | |
parent | 8c220fa266b9c3ecae551e1c9e422a257805e80d (diff) |
config: update and relocate AC_DEFINE_DIR macro
Remove deprecated acinclude.m4 macro container file
Use separate macro files as per autoconf recommendation
Use the latest macro from GNU (ax) which replaces
the non-gnu version (ac)
This preserves the Autoconf macro AC namespace.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9a4564b..9f8cc18 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,7 @@ AC_INIT([xfs], AC_USE_SYSTEM_EXTENSIONS # xfs already have a header called config.h AC_CONFIG_HEADERS([xfs-config.h]) +AC_CONFIG_MACRO_DIR([m4]) # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) @@ -59,7 +60,7 @@ AC_ARG_WITH(default-config-file, [CONFIG_FILE="$withval"], [CONFIG_FILE="${sysconfdir}/X11/fs/config"]) DEFAULT_CONFIG_FILE=`echo ${CONFIG_FILE} | sed 's/,/\\\\\\\\\\\",\\\\\\\\\\\"/'g` -AC_DEFINE_DIR([DEFAULT_CONFIG_FILE], DEFAULT_CONFIG_FILE, +AX_DEFINE_DIR([DEFAULT_CONFIG_FILE], DEFAULT_CONFIG_FILE, [comma-separated list of strings for config file paths when not specified]) # generate text for the man page |