|
@@ -1,7 +1,7 @@
|
|
-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
|
|
|
|
|
+# generated automatically by aclocal 1.10 -*- Autoconf -*-
|
|
|
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
|
-# 2005 Free Software Foundation, Inc.
|
|
|
|
|
|
+# 2005, 2006 Free Software Foundation, Inc.
|
|
# This file is free software; the Free Software Foundation
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -11,6 +11,11 @@
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
+m4_if(m4_PACKAGE_VERSION, [2.61],,
|
|
|
|
+[m4_fatal([this file was generated for autoconf 2.61.
|
|
|
|
+You have another version of autoconf. If you want to use that,
|
|
|
|
+you should regenerate the build system entirely.], [63])])
|
|
|
|
+
|
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
|
|
|
|
|
# serial 47 AC_PROG_LIBTOOL
|
|
# serial 47 AC_PROG_LIBTOOL
|
|
@@ -6159,7 +6164,7 @@ SED=$lt_cv_path_SED
|
|
AC_MSG_RESULT([$SED])
|
|
AC_MSG_RESULT([$SED])
|
|
])
|
|
])
|
|
|
|
|
|
-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
|
|
|
|
|
+# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
|
#
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -6169,14 +6174,29 @@ AC_MSG_RESULT([$SED])
|
|
# ----------------------------
|
|
# ----------------------------
|
|
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
|
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
|
# generated from the m4 files accompanying Automake X.Y.
|
|
# generated from the m4 files accompanying Automake X.Y.
|
|
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
|
|
|
|
|
|
+# (This private macro should not be called outside this file.)
|
|
|
|
+AC_DEFUN([AM_AUTOMAKE_VERSION],
|
|
|
|
+[am__api_version='1.10'
|
|
|
|
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
|
|
|
+dnl require some minimum version. Point them to the right macro.
|
|
|
|
+m4_if([$1], [1.10], [],
|
|
|
|
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
|
|
|
+])
|
|
|
|
+
|
|
|
|
+# _AM_AUTOCONF_VERSION(VERSION)
|
|
|
|
+# -----------------------------
|
|
|
|
+# aclocal traces this macro to find the Autoconf version.
|
|
|
|
+# This is a private macro too. Using m4_define simplifies
|
|
|
|
+# the logic in aclocal, which can simply ignore this definition.
|
|
|
|
+m4_define([_AM_AUTOCONF_VERSION], [])
|
|
|
|
|
|
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
|
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
|
# -------------------------------
|
|
# -------------------------------
|
|
-# Call AM_AUTOMAKE_VERSION so it can be traced.
|
|
|
|
|
|
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
|
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
|
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
|
- [AM_AUTOMAKE_VERSION([1.9.6])])
|
|
|
|
|
|
+[AM_AUTOMAKE_VERSION([1.10])dnl
|
|
|
|
+_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
|
|
|
|
|
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
|
|
|
|
|
@@ -6233,14 +6253,14 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
|
|
|
|
|
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
|
|
|
|
|
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
|
|
# Free Software Foundation, Inc.
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
-# serial 7
|
|
|
|
|
|
+# serial 8
|
|
|
|
|
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
|
# -------------------------------------
|
|
# -------------------------------------
|
|
@@ -6249,8 +6269,10 @@ AC_DEFUN([AM_CONDITIONAL],
|
|
[AC_PREREQ(2.52)dnl
|
|
[AC_PREREQ(2.52)dnl
|
|
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
|
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
|
-AC_SUBST([$1_TRUE])
|
|
|
|
-AC_SUBST([$1_FALSE])
|
|
|
|
|
|
+AC_SUBST([$1_TRUE])dnl
|
|
|
|
+AC_SUBST([$1_FALSE])dnl
|
|
|
|
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
|
|
|
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
|
if $2; then
|
|
if $2; then
|
|
$1_TRUE=
|
|
$1_TRUE=
|
|
$1_FALSE='#'
|
|
$1_FALSE='#'
|
|
@@ -6264,15 +6286,14 @@ AC_CONFIG_COMMANDS_PRE(
|
|
Usually this means the macro was only invoked conditionally.]])
|
|
Usually this means the macro was only invoked conditionally.]])
|
|
fi])])
|
|
fi])])
|
|
|
|
|
|
-
|
|
|
|
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
|
|
|
|
|
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
|
# Free Software Foundation, Inc.
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
-# serial 8
|
|
|
|
|
|
+# serial 9
|
|
|
|
|
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
|
# written in clear, in which case automake, when reading aclocal.m4,
|
|
# written in clear, in which case automake, when reading aclocal.m4,
|
|
@@ -6300,6 +6321,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl
|
|
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
|
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
|
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
|
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
|
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
|
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
|
|
|
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
|
|
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
|
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
|
[depcc="$$1" am_compiler_list=])
|
|
[depcc="$$1" am_compiler_list=])
|
|
|
|
|
|
@@ -6365,6 +6387,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
|
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
>/dev/null 2>conftest.err &&
|
|
>/dev/null 2>conftest.err &&
|
|
|
|
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
@@ -6417,7 +6440,8 @@ if test "x$enable_dependency_tracking" != xno; then
|
|
AMDEPBACKSLASH='\'
|
|
AMDEPBACKSLASH='\'
|
|
fi
|
|
fi
|
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
|
-AC_SUBST([AMDEPBACKSLASH])
|
|
|
|
|
|
+AC_SUBST([AMDEPBACKSLASH])dnl
|
|
|
|
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
|
])
|
|
])
|
|
|
|
|
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
|
@@ -6442,8 +6466,9 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|
# some people rename them; so instead we look at the file content.
|
|
# some people rename them; so instead we look at the file content.
|
|
# Grep'ing the first line is not enough: some people post-process
|
|
# Grep'ing the first line is not enough: some people post-process
|
|
# each Makefile.in and add a new line on top of each file to say so.
|
|
# each Makefile.in and add a new line on top of each file to say so.
|
|
- # So let's grep whole file.
|
|
|
|
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
|
|
|
|
|
+ # Grep'ing the whole file is not good either: AIX grep has a line
|
|
|
|
+ # limit of 2048, but all sed's we know have understand at least 4000.
|
|
|
|
+ if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
|
|
dirpart=`AS_DIRNAME("$mf")`
|
|
dirpart=`AS_DIRNAME("$mf")`
|
|
else
|
|
else
|
|
continue
|
|
continue
|
|
@@ -6502,8 +6527,8 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
|
|
|
|
|
|
# Do all the work for Automake. -*- Autoconf -*-
|
|
# Do all the work for Automake. -*- Autoconf -*-
|
|
|
|
|
|
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
|
|
|
-# Free Software Foundation, Inc.
|
|
|
|
|
|
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
|
|
|
+# 2005, 2006 Free Software Foundation, Inc.
|
|
#
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -6526,16 +6551,20 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
|
|
# arguments mandatory, and then we can depend on a new Autoconf
|
|
# arguments mandatory, and then we can depend on a new Autoconf
|
|
# release and drop the old call support.
|
|
# release and drop the old call support.
|
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
|
-[AC_PREREQ([2.58])dnl
|
|
|
|
|
|
+[AC_PREREQ([2.60])dnl
|
|
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
|
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
|
dnl the ones we care about.
|
|
dnl the ones we care about.
|
|
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
|
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
|
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
|
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
|
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
|
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
|
-# test to see if srcdir already configured
|
|
|
|
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
|
|
|
- test -f $srcdir/config.status; then
|
|
|
|
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
|
|
|
|
|
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
|
|
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
|
|
+ # is not polluted with repeated "-I."
|
|
|
|
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
|
|
|
+ # test to see if srcdir already configured
|
|
|
|
+ if test -f $srcdir/config.status; then
|
|
|
|
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
|
|
|
+ fi
|
|
fi
|
|
fi
|
|
|
|
|
|
# test whether we have cygpath
|
|
# test whether we have cygpath
|
|
@@ -6555,6 +6584,9 @@ m4_ifval([$2],
|
|
AC_SUBST([PACKAGE], [$1])dnl
|
|
AC_SUBST([PACKAGE], [$1])dnl
|
|
AC_SUBST([VERSION], [$2])],
|
|
AC_SUBST([VERSION], [$2])],
|
|
[_AM_SET_OPTIONS([$1])dnl
|
|
[_AM_SET_OPTIONS([$1])dnl
|
|
|
|
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
|
|
|
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
|
|
|
|
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
|
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
|
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
|
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
|
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
|
|
|
|
|
@@ -6590,6 +6622,10 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
|
[_AM_DEPENDENCIES(CXX)],
|
|
[_AM_DEPENDENCIES(CXX)],
|
|
[define([AC_PROG_CXX],
|
|
[define([AC_PROG_CXX],
|
|
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
|
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
|
|
|
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
|
|
|
+ [_AM_DEPENDENCIES(OBJC)],
|
|
|
|
+ [define([AC_PROG_OBJC],
|
|
|
|
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
|
])
|
|
])
|
|
])
|
|
])
|
|
|
|
|
|
@@ -6625,7 +6661,7 @@ echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
|
|
# Define $install_sh.
|
|
# Define $install_sh.
|
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
|
|
|
|
|
+install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
|
AC_SUBST(install_sh)])
|
|
AC_SUBST(install_sh)])
|
|
|
|
|
|
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
|
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
|
@@ -6732,14 +6768,14 @@ rm -f confinc confmf
|
|
|
|
|
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
|
|
|
|
|
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
|
|
|
|
|
|
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
|
|
# Free Software Foundation, Inc.
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
-# serial 4
|
|
|
|
|
|
+# serial 5
|
|
|
|
|
|
# AM_MISSING_PROG(NAME, PROGRAM)
|
|
# AM_MISSING_PROG(NAME, PROGRAM)
|
|
# ------------------------------
|
|
# ------------------------------
|
|
@@ -6755,6 +6791,7 @@ AC_SUBST($1)])
|
|
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
|
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
|
AC_DEFUN([AM_MISSING_HAS_RUN],
|
|
AC_DEFUN([AM_MISSING_HAS_RUN],
|
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
|
|
+AC_REQUIRE_AUX_FILE([missing])dnl
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
# Use eval to expand $SHELL
|
|
# Use eval to expand $SHELL
|
|
if eval "$MISSING --run true"; then
|
|
if eval "$MISSING --run true"; then
|
|
@@ -6765,7 +6802,7 @@ else
|
|
fi
|
|
fi
|
|
])
|
|
])
|
|
|
|
|
|
-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
|
|
|
|
|
|
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
#
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -6773,60 +6810,23 @@ fi
|
|
|
|
|
|
# AM_PROG_MKDIR_P
|
|
# AM_PROG_MKDIR_P
|
|
# ---------------
|
|
# ---------------
|
|
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
|
|
|
|
-#
|
|
|
|
-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
|
|
|
|
-# created by `make install' are always world readable, even if the
|
|
|
|
-# installer happens to have an overly restrictive umask (e.g. 077).
|
|
|
|
-# This was a mistake. There are at least two reasons why we must not
|
|
|
|
-# use `-m 0755':
|
|
|
|
-# - it causes special bits like SGID to be ignored,
|
|
|
|
-# - it may be too restrictive (some setups expect 775 directories).
|
|
|
|
-#
|
|
|
|
-# Do not use -m 0755 and let people choose whatever they expect by
|
|
|
|
-# setting umask.
|
|
|
|
-#
|
|
|
|
-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
|
|
|
|
-# Some implementations (such as Solaris 8's) are not thread-safe: if a
|
|
|
|
-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
|
|
|
|
-# concurrently, both version can detect that a/ is missing, but only
|
|
|
|
-# one can create it and the other will error out. Consequently we
|
|
|
|
-# restrict ourselves to GNU make (using the --version option ensures
|
|
|
|
-# this.)
|
|
|
|
|
|
+# Check for `mkdir -p'.
|
|
AC_DEFUN([AM_PROG_MKDIR_P],
|
|
AC_DEFUN([AM_PROG_MKDIR_P],
|
|
-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
|
|
|
- # We used to keeping the `.' as first argument, in order to
|
|
|
|
- # allow $(mkdir_p) to be used without argument. As in
|
|
|
|
- # $(mkdir_p) $(somedir)
|
|
|
|
- # where $(somedir) is conditionally defined. However this is wrong
|
|
|
|
- # for two reasons:
|
|
|
|
- # 1. if the package is installed by a user who cannot write `.'
|
|
|
|
- # make install will fail,
|
|
|
|
- # 2. the above comment should most certainly read
|
|
|
|
- # $(mkdir_p) $(DESTDIR)$(somedir)
|
|
|
|
- # so it does not work when $(somedir) is undefined and
|
|
|
|
- # $(DESTDIR) is not.
|
|
|
|
- # To support the latter case, we have to write
|
|
|
|
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
|
|
|
- # so the `.' trick is pointless.
|
|
|
|
- mkdir_p='mkdir -p --'
|
|
|
|
-else
|
|
|
|
- # On NextStep and OpenStep, the `mkdir' command does not
|
|
|
|
- # recognize any option. It will interpret all options as
|
|
|
|
- # directories to create, and then abort because `.' already
|
|
|
|
- # exists.
|
|
|
|
- for d in ./-p ./--version;
|
|
|
|
- do
|
|
|
|
- test -d $d && rmdir $d
|
|
|
|
- done
|
|
|
|
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
|
|
|
- if test -f "$ac_aux_dir/mkinstalldirs"; then
|
|
|
|
- mkdir_p='$(mkinstalldirs)'
|
|
|
|
- else
|
|
|
|
- mkdir_p='$(install_sh) -d'
|
|
|
|
- fi
|
|
|
|
-fi
|
|
|
|
-AC_SUBST([mkdir_p])])
|
|
|
|
|
|
+[AC_PREREQ([2.60])dnl
|
|
|
|
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
|
|
|
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
|
|
|
|
+dnl while keeping a definition of mkdir_p for backward compatibility.
|
|
|
|
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
|
|
|
|
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
|
|
|
|
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
|
|
|
|
+dnl adjustment using top_builddir (which is defined more often than
|
|
|
|
+dnl MKDIR_P).
|
|
|
|
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
|
|
|
|
+case $mkdir_p in
|
|
|
|
+ [[\\/$]]* | ?:[[\\/]]*) ;;
|
|
|
|
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
|
|
|
+esac
|
|
|
|
+])
|
|
|
|
|
|
# Helper functions for option handling. -*- Autoconf -*-
|
|
# Helper functions for option handling. -*- Autoconf -*-
|
|
|
|
|
|
@@ -6938,9 +6938,21 @@ dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
|
if test "$cross_compiling" != no; then
|
|
if test "$cross_compiling" != no; then
|
|
AC_CHECK_TOOL([STRIP], [strip], :)
|
|
AC_CHECK_TOOL([STRIP], [strip], :)
|
|
fi
|
|
fi
|
|
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|
|
|
|
|
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|
|
|
|
|
|
|
+# Copyright (C) 2006 Free Software Foundation, Inc.
|
|
|
|
+#
|
|
|
|
+# This file is free software; the Free Software Foundation
|
|
|
|
+# gives unlimited permission to copy and/or distribute it,
|
|
|
|
+# with or without modifications, as long as this notice is preserved.
|
|
|
|
+
|
|
|
|
+# _AM_SUBST_NOTMAKE(VARIABLE)
|
|
|
|
+# ---------------------------
|
|
|
|
+# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
|
|
|
|
+# This macro is traced by Automake.
|
|
|
|
+AC_DEFUN([_AM_SUBST_NOTMAKE])
|
|
|
|
+
|
|
# Check how to create a tarball. -*- Autoconf -*-
|
|
# Check how to create a tarball. -*- Autoconf -*-
|
|
|
|
|
|
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
|
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|