summaryrefslogtreecommitdiff
path: root/m4/auxdir.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/auxdir.m4')
-rw-r--r--m4/auxdir.m49
1 files changed, 4 insertions, 5 deletions
diff --git a/m4/auxdir.m4 b/m4/auxdir.m4
index a34f38ef4..93fc22521 100644
--- a/m4/auxdir.m4
+++ b/m4/auxdir.m4
@@ -1,6 +1,6 @@
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+# Copyright (C) 2001-2014 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -45,8 +45,7 @@
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
+[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
])