patch-aclocal_m4 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. --- valgrind-3.7.0.orig/aclocal.m4 2011-11-05 12:24:31.000000000 +0100
  2. +++ valgrind-3.7.0/aclocal.m4 2013-07-23 12:27:52.000000000 +0200
  3. @@ -1,4 +1,4 @@
  4. -# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  5. +# generated automatically by aclocal 1.10.3 -*- Autoconf -*-
  6. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  7. # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  8. @@ -13,8 +13,8 @@
  9. m4_ifndef([AC_AUTOCONF_VERSION],
  10. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  11. -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
  12. -[m4_warning([this file was generated for autoconf 2.65.
  13. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
  14. +[m4_warning([this file was generated for autoconf 2.69.
  15. You have another version of autoconf. It may work, but is not guaranteed to.
  16. If you have problems, you may need to regenerate the build system entirely.
  17. To do so, use the procedure documented by the package, typically `autoreconf'.])])
  18. @@ -31,10 +31,10 @@ To do so, use the procedure documented b
  19. # generated from the m4 files accompanying Automake X.Y.
  20. # (This private macro should not be called outside this file.)
  21. AC_DEFUN([AM_AUTOMAKE_VERSION],
  22. -[am__api_version='1.11'
  23. +[am__api_version='1.10'
  24. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  25. dnl require some minimum version. Point them to the right macro.
  26. -m4_if([$1], [1.11.1], [],
  27. +m4_if([$1], [1.10.3], [],
  28. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  29. ])
  30. @@ -50,7 +50,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
  31. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  32. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  33. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  34. -[AM_AUTOMAKE_VERSION([1.11.1])dnl
  35. +[AM_AUTOMAKE_VERSION([1.10.3])dnl
  36. m4_ifndef([AC_AUTOCONF_VERSION],
  37. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  38. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  39. @@ -132,14 +132,14 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
  40. # AM_CONDITIONAL -*- Autoconf -*-
  41. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  42. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
  43. # Free Software Foundation, Inc.
  44. #
  45. # This file is free software; the Free Software Foundation
  46. # gives unlimited permission to copy and/or distribute it,
  47. # with or without modifications, as long as this notice is preserved.
  48. -# serial 9
  49. +# serial 8
  50. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  51. # -------------------------------------
  52. @@ -152,7 +152,6 @@ AC_SUBST([$1_TRUE])dnl
  53. AC_SUBST([$1_FALSE])dnl
  54. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  55. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  56. -m4_define([_AM_COND_VALUE_$1], [$2])dnl
  57. if $2; then
  58. $1_TRUE=
  59. $1_FALSE='#'
  60. @@ -437,7 +436,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS]
  61. # gives unlimited permission to copy and/or distribute it,
  62. # with or without modifications, as long as this notice is preserved.
  63. -# serial 16
  64. +# serial 13
  65. # This macro actually does too much. Some checks are only needed if
  66. # your package does certain things. But this isn't really a big deal.
  67. @@ -454,7 +453,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS]
  68. # arguments mandatory, and then we can depend on a new Autoconf
  69. # release and drop the old call support.
  70. AC_DEFUN([AM_INIT_AUTOMAKE],
  71. -[AC_PREREQ([2.62])dnl
  72. +[AC_PREREQ([2.60])dnl
  73. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  74. dnl the ones we care about.
  75. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  76. @@ -514,37 +513,24 @@ AC_REQUIRE([AC_PROG_AWK])dnl
  77. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  78. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  79. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  80. - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  81. - [_AM_PROG_TAR([v7])])])
  82. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  83. + [_AM_PROG_TAR([v7])])])
  84. _AM_IF_OPTION([no-dependencies],,
  85. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  86. - [_AM_DEPENDENCIES(CC)],
  87. - [define([AC_PROG_CC],
  88. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  89. + [_AM_DEPENDENCIES(CC)],
  90. + [define([AC_PROG_CC],
  91. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  92. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  93. - [_AM_DEPENDENCIES(CXX)],
  94. - [define([AC_PROG_CXX],
  95. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  96. + [_AM_DEPENDENCIES(CXX)],
  97. + [define([AC_PROG_CXX],
  98. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  99. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  100. - [_AM_DEPENDENCIES(OBJC)],
  101. - [define([AC_PROG_OBJC],
  102. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  103. + [_AM_DEPENDENCIES(OBJC)],
  104. + [define([AC_PROG_OBJC],
  105. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  106. ])
  107. -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  108. -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  109. -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  110. -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  111. -AC_CONFIG_COMMANDS_PRE(dnl
  112. -[m4_provide_if([_AM_COMPILER_EXEEXT],
  113. - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  114. ])
  115. -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  116. -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  117. -dnl mangled by Autoconf and run in a shell conditional statement.
  118. -m4_define([_AC_COMPILER_EXEEXT],
  119. -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  120. -
  121. # When config.status generates a header, we must update the stamp-h file.
  122. # This file resides in the same directory as the config header
  123. @@ -567,7 +553,7 @@ for _am_header in $config_headers :; do
  124. done
  125. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  126. -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  127. +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  128. #
  129. # This file is free software; the Free Software Foundation
  130. # gives unlimited permission to copy and/or distribute it,
  131. @@ -578,14 +564,7 @@ echo "timestamp for $_am_arg" >`AS_DIRNA
  132. # Define $install_sh.
  133. AC_DEFUN([AM_PROG_INSTALL_SH],
  134. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  135. -if test x"${install_sh}" != xset; then
  136. - case $am_aux_dir in
  137. - *\ * | *\ *)
  138. - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  139. - *)
  140. - install_sh="\${SHELL} $am_aux_dir/install-sh"
  141. - esac
  142. -fi
  143. +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  144. AC_SUBST(install_sh)])
  145. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  146. @@ -612,38 +591,27 @@ AC_SUBST([am__leading_dot])])
  147. # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
  148. # From Jim Meyering
  149. -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  150. +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
  151. # Free Software Foundation, Inc.
  152. #
  153. # This file is free software; the Free Software Foundation
  154. # gives unlimited permission to copy and/or distribute it,
  155. # with or without modifications, as long as this notice is preserved.
  156. -# serial 5
  157. +# serial 4
  158. -# AM_MAINTAINER_MODE([DEFAULT-MODE])
  159. -# ----------------------------------
  160. -# Control maintainer-specific portions of Makefiles.
  161. -# Default is to disable them, unless `enable' is passed literally.
  162. -# For symmetry, `disable' may be passed as well. Anyway, the user
  163. -# can override the default with the --enable/--disable switch.
  164. AC_DEFUN([AM_MAINTAINER_MODE],
  165. -[m4_case(m4_default([$1], [disable]),
  166. - [enable], [m4_define([am_maintainer_other], [disable])],
  167. - [disable], [m4_define([am_maintainer_other], [enable])],
  168. - [m4_define([am_maintainer_other], [enable])
  169. - m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  170. -AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
  171. - dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  172. - AC_ARG_ENABLE([maintainer-mode],
  173. -[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
  174. +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  175. + dnl maintainer-mode is disabled by default
  176. + AC_ARG_ENABLE(maintainer-mode,
  177. +[ --enable-maintainer-mode enable make rules and dependencies not useful
  178. (and sometimes confusing) to the casual installer],
  179. - [USE_MAINTAINER_MODE=$enableval],
  180. - [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  181. + USE_MAINTAINER_MODE=$enableval,
  182. + USE_MAINTAINER_MODE=no)
  183. AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  184. - AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  185. + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
  186. MAINT=$MAINTAINER_MODE_TRUE
  187. - AC_SUBST([MAINT])dnl
  188. + AC_SUBST(MAINT)dnl
  189. ]
  190. )
  191. @@ -651,13 +619,13 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINT
  192. # Check to see how 'make' treats includes. -*- Autoconf -*-
  193. -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  194. +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  195. #
  196. # This file is free software; the Free Software Foundation
  197. # gives unlimited permission to copy and/or distribute it,
  198. # with or without modifications, as long as this notice is preserved.
  199. -# serial 4
  200. +# serial 3
  201. # AM_MAKE_INCLUDE()
  202. # -----------------
  203. @@ -666,7 +634,7 @@ AC_DEFUN([AM_MAKE_INCLUDE],
  204. [am_make=${MAKE-make}
  205. cat > confinc << 'END'
  206. am__doit:
  207. - @echo this is the am__doit target
  208. + @echo done
  209. .PHONY: am__doit
  210. END
  211. # If we don't find an include directive, just comment out the code.
  212. @@ -676,24 +644,24 @@ am__quote=
  213. _am_result=none
  214. # First try GNU make style include.
  215. echo "include confinc" > confmf
  216. -# Ignore all kinds of additional output from `make'.
  217. -case `$am_make -s -f confmf 2> /dev/null` in #(
  218. -*the\ am__doit\ target*)
  219. - am__include=include
  220. - am__quote=
  221. - _am_result=GNU
  222. - ;;
  223. -esac
  224. +# We grep out `Entering directory' and `Leaving directory'
  225. +# messages which can occur if `w' ends up in MAKEFLAGS.
  226. +# In particular we don't look at `^make:' because GNU make might
  227. +# be invoked under some other name (usually "gmake"), in which
  228. +# case it prints its new name instead of `make'.
  229. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  230. + am__include=include
  231. + am__quote=
  232. + _am_result=GNU
  233. +fi
  234. # Now try BSD make style include.
  235. if test "$am__include" = "#"; then
  236. echo '.include "confinc"' > confmf
  237. - case `$am_make -s -f confmf 2> /dev/null` in #(
  238. - *the\ am__doit\ target*)
  239. - am__include=.include
  240. - am__quote="\""
  241. - _am_result=BSD
  242. - ;;
  243. - esac
  244. + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  245. + am__include=.include
  246. + am__quote="\""
  247. + _am_result=BSD
  248. + fi
  249. fi
  250. AC_SUBST([am__include])
  251. AC_SUBST([am__quote])
  252. @@ -738,14 +706,14 @@ m4_define([AC_PROG_CC],
  253. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  254. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  255. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
  256. # Free Software Foundation, Inc.
  257. #
  258. # This file is free software; the Free Software Foundation
  259. # gives unlimited permission to copy and/or distribute it,
  260. # with or without modifications, as long as this notice is preserved.
  261. -# serial 6
  262. +# serial 5
  263. # AM_MISSING_PROG(NAME, PROGRAM)
  264. # ------------------------------
  265. @@ -762,14 +730,7 @@ AC_SUBST($1)])
  266. AC_DEFUN([AM_MISSING_HAS_RUN],
  267. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  268. AC_REQUIRE_AUX_FILE([missing])dnl
  269. -if test x"${MISSING+set}" != xset; then
  270. - case $am_aux_dir in
  271. - *\ * | *\ *)
  272. - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  273. - *)
  274. - MISSING="\${SHELL} $am_aux_dir/missing" ;;
  275. - esac
  276. -fi
  277. +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  278. # Use eval to expand $SHELL
  279. if eval "$MISSING --run true"; then
  280. am_missing_run="$MISSING --run "
  281. @@ -840,14 +801,14 @@ AC_DEFUN([_AM_IF_OPTION],
  282. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  283. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  284. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  285. # Free Software Foundation, Inc.
  286. #
  287. # This file is free software; the Free Software Foundation
  288. # gives unlimited permission to copy and/or distribute it,
  289. # with or without modifications, as long as this notice is preserved.
  290. -# serial 5
  291. +# serial 4
  292. # AM_SANITY_CHECK
  293. # ---------------
  294. @@ -856,29 +817,16 @@ AC_DEFUN([AM_SANITY_CHECK],
  295. # Just in case
  296. sleep 1
  297. echo timestamp > conftest.file
  298. -# Reject unsafe characters in $srcdir or the absolute working directory
  299. -# name. Accept space and tab only in the latter.
  300. -am_lf='
  301. -'
  302. -case `pwd` in
  303. - *[[\\\"\#\$\&\'\`$am_lf]]*)
  304. - AC_MSG_ERROR([unsafe absolute working directory name]);;
  305. -esac
  306. -case $srcdir in
  307. - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  308. - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  309. -esac
  310. -
  311. # Do `set' in a subshell so we don't clobber the current shell's
  312. # arguments. Must try -L first in case configure is actually a
  313. # symlink; some systems play weird games with the mod time of symlinks
  314. # (eg FreeBSD returns the mod time of the symlink's containing
  315. # directory).
  316. if (
  317. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  318. + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  319. if test "$[*]" = "X"; then
  320. # -L didn't work.
  321. - set X `ls -t "$srcdir/configure" conftest.file`
  322. + set X `ls -t $srcdir/configure conftest.file`
  323. fi
  324. rm -f conftest.file
  325. if test "$[*]" != "X $srcdir/configure conftest.file" \
  326. @@ -931,25 +879,18 @@ fi
  327. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  328. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  329. -# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  330. +# Copyright (C) 2006 Free Software Foundation, Inc.
  331. #
  332. # This file is free software; the Free Software Foundation
  333. # gives unlimited permission to copy and/or distribute it,
  334. # with or without modifications, as long as this notice is preserved.
  335. -# serial 2
  336. -
  337. # _AM_SUBST_NOTMAKE(VARIABLE)
  338. # ---------------------------
  339. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  340. # This macro is traced by Automake.
  341. AC_DEFUN([_AM_SUBST_NOTMAKE])
  342. -# AM_SUBST_NOTMAKE(VARIABLE)
  343. -# ---------------------------
  344. -# Public sister of _AM_SUBST_NOTMAKE.
  345. -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  346. -
  347. # Check how to create a tarball. -*- Autoconf -*-
  348. # Copyright (C) 2004, 2005 Free Software Foundation, Inc.