autoconf-2.13-consolidated_fixes-1.patch 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
  2. Date: 2016-06-11
  3. Initial Package Version: 2.13
  4. Upstream Status: Version is historic and unmaintained.
  5. Origin: Found at fedora, plus fixes for LFS.
  6. Description: All of the patches currently used by fedora, except for
  7. the patch which ensures gawk is used in preference to mawk (we do not
  8. install mawk). For LFS: we put mktemp in /usr/bin not /bin, remove
  9. the install-info target because that will overwrite standards.info
  10. with an old version (fedora always use a DESTDIR), and change the
  11. man and info dirs to ${datadir}/ i.e. /usr/share (an empty /usr/info
  12. will otherwise be created).
  13. diff -Naur a/acgeneral.m4 b/acgeneral.m4
  14. --- a/acgeneral.m4 1999-01-05 13:27:37.000000000 +0000
  15. +++ b/acgeneral.m4 2016-06-11 00:18:24.429043947 +0100
  16. @@ -1817,10 +1817,6 @@
  17. [cat > conftest.$ac_ext <<EOF
  18. [#]line __oline__ "configure"
  19. #include "confdefs.h"
  20. -ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
  21. -extern "C" void exit(int);
  22. -#endif
  23. -])dnl
  24. [$1]
  25. EOF
  26. if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  27. @@ -1988,12 +1984,12 @@
  28. AC_MSG_CHECKING(size of $1)
  29. AC_CACHE_VAL(AC_CV_NAME,
  30. [AC_TRY_RUN([#include <stdio.h>
  31. -main()
  32. +int main()
  33. {
  34. FILE *f=fopen("conftestval", "w");
  35. - if (!f) exit(1);
  36. + if (!f) return(1);
  37. fprintf(f, "%d\n", sizeof($1));
  38. - exit(0);
  39. + return(0);
  40. }], AC_CV_NAME=`cat conftestval`, AC_CV_NAME=0, ifelse([$2], , , AC_CV_NAME=$2))])dnl
  41. AC_MSG_RESULT($AC_CV_NAME)
  42. AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME)
  43. @@ -2160,20 +2156,38 @@
  44. dnl AC_OUTPUT_MAKE_DEFS()
  45. define(AC_OUTPUT_MAKE_DEFS,
  46. [# Transform confdefs.h into DEFS.
  47. -dnl Using a here document instead of a string reduces the quoting nightmare.
  48. # Protect against shell expansion while executing Makefile rules.
  49. # Protect against Makefile macro expansion.
  50. -cat > conftest.defs <<\EOF
  51. +#
  52. +# If the first sed substitution is executed (which looks for macros that
  53. +# take arguments), then we branch to the quote section. Otherwise,
  54. +# look for a macro that doesn't take arguments.
  55. +cat >confdef2opt.sed <<\_ACEOF
  56. changequote(<<, >>)dnl
  57. -s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  58. -s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g
  59. -s%\[%\\&%g
  60. -s%\]%\\&%g
  61. -s%\$%$$%g
  62. +t clear
  63. +: clear
  64. +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
  65. +t quote
  66. +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
  67. +t quote
  68. +d
  69. +: quote
  70. +s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
  71. +s,\[,\\&,g
  72. +s,\],\\&,g
  73. +s,\$,$$,g
  74. +p
  75. changequote([, ])dnl
  76. -EOF
  77. -DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  78. -rm -f conftest.defs
  79. +_ACEOF
  80. +# We use echo to avoid assuming a particular line-breaking character.
  81. +# The extra dot is to prevent the shell from consuming trailing
  82. +# line-breaks from the sub-command output. A line-break within
  83. +# single-quotes doesn't work because, if this script is created in a
  84. +# platform that uses two characters for line-breaks (e.g., DOS), tr
  85. +# would break.
  86. +ac_LF_and_DOT=`echo; echo .`
  87. +DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
  88. +rm -f confdef2opt.sed
  89. ])
  90. dnl Do the variable substitutions to create the Makefiles or whatever.
  91. diff -Naur a/acspecific.m4 b/acspecific.m4
  92. --- a/acspecific.m4 1999-01-05 13:27:52.000000000 +0000
  93. +++ b/acspecific.m4 2016-06-11 00:18:17.533078644 +0100
  94. @@ -152,8 +152,41 @@
  95. CXXFLAGS=
  96. fi
  97. fi
  98. +
  99. +AC_PROG_CXX_EXIT_DECLARATION
  100. ])
  101. +
  102. +# AC_PROG_CXX_EXIT_DECLARATION
  103. +# -----------------------------
  104. +# Find a valid prototype for exit and declare it in confdefs.h.
  105. +AC_DEFUN(AC_PROG_CXX_EXIT_DECLARATION,
  106. +[for ac_declaration in \
  107. + ''\
  108. + '#include <stdlib.h>' \
  109. + 'extern "C" void std::exit (int) throw (); using std::exit;' \
  110. + 'extern "C" void std::exit (int); using std::exit;' \
  111. + 'extern "C" void exit (int) throw ();' \
  112. + 'extern "C" void exit (int);' \
  113. + 'void exit (int);'
  114. +do
  115. + AC_TRY_COMPILE([#include <stdlib.h>
  116. +$ac_declaration],
  117. + [exit (42);],
  118. + [],
  119. + [continue])
  120. + AC_TRY_COMPILE([$ac_declaration],
  121. + [exit (42);],
  122. + [break])
  123. +done
  124. +if test -n "$ac_declaration"; then
  125. + echo '#ifdef __cplusplus' >>confdefs.h
  126. + echo $ac_declaration >>confdefs.h
  127. + echo '#endif' >>confdefs.h
  128. +fi
  129. +])# AC_PROG_CXX_EXIT_DECLARATION
  130. +
  131. +
  132. dnl Determine a Fortran 77 compiler to use. If `F77' is not already set
  133. dnl in the environment, check for `g77', `f77' and `f2c', in that order.
  134. dnl Set the output variable `F77' to the name of the compiler found.
  135. @@ -1010,7 +1043,7 @@
  136. ])
  137. AC_DEFUN(AC_FUNC_MMAP,
  138. -[AC_CHECK_HEADERS(unistd.h)
  139. +[AC_CHECK_HEADERS(stdlib.h unistd.h sys/stat.h sys/types.h)
  140. AC_CHECK_FUNCS(getpagesize)
  141. AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped,
  142. [AC_TRY_RUN([
  143. @@ -1039,11 +1072,24 @@
  144. #include <fcntl.h>
  145. #include <sys/mman.h>
  146. +#if HAVE_SYS_TYPES_H
  147. +# include <sys/types.h>
  148. +#endif
  149. +
  150. +#if HAVE_STDLIB_H
  151. +# include <stdlib.h>
  152. +#endif
  153. +
  154. +#if HAVE_SYS_STAT_H
  155. +# include <sys/stat.h>
  156. +#endif
  157. +
  158. +#if HAVE_UNISTD_H
  159. +# include <unistd.h>
  160. +#endif
  161. +
  162. /* This mess was copied from the GNU getpagesize.h. */
  163. #ifndef HAVE_GETPAGESIZE
  164. -# ifdef HAVE_UNISTD_H
  165. -# include <unistd.h>
  166. -# endif
  167. /* Assume that all systems that can run configure have sys/param.h. */
  168. # ifndef HAVE_SYS_PARAM_H
  169. @@ -1373,6 +1419,8 @@
  170. r.ru_majflt = r.ru_minflt = 0;
  171. switch (fork()) {
  172. case 0: /* Child. */
  173. + /* Unless we actually _do_ something, the kernel sometimes doesn't chalk up any system time to this process. */
  174. + if(fork()) { i = 123; wait(NULL); } else { i = 234; exit(0); }
  175. sleep(1); /* Give up the CPU. */
  176. _exit(0);
  177. case -1: _exit(0); /* What can we do? */
  178. diff -Naur a/autoconf.sh b/autoconf.sh
  179. --- a/autoconf.sh 1999-01-05 13:27:53.000000000 +0000
  180. +++ b/autoconf.sh 2016-06-11 00:22:17.351872133 +0100
  181. @@ -45,20 +45,20 @@
  182. esac
  183. : ${TMPDIR=/tmp}
  184. -tmpout=${TMPDIR}/acout.$$
  185. +tmpout=`/bin/mktemp ${TMPDIR}/acout.XXXXXX`
  186. localdir=
  187. show_version=no
  188. while test $# -gt 0 ; do
  189. case "${1}" in
  190. -h | --help | --h* )
  191. - echo "${usage}" 1>&2; exit 0 ;;
  192. + echo "${usage}" 1>&2; rm -f $tmpout ; exit 0 ;;
  193. --localdir=* | --l*=* )
  194. localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
  195. shift ;;
  196. -l | --localdir | --l*)
  197. shift
  198. - test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
  199. + test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $tmpout; exit 1; }
  200. localdir="${1}"
  201. shift ;;
  202. --macrodir=* | --m*=* )
  203. @@ -66,7 +66,7 @@
  204. shift ;;
  205. -m | --macrodir | --m* )
  206. shift
  207. - test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
  208. + test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $tmpout; exit 1; }
  209. AC_MACRODIR="${1}"
  210. shift ;;
  211. --version | --v* )
  212. @@ -76,7 +76,7 @@
  213. - ) # Use stdin as input.
  214. break ;;
  215. -* )
  216. - echo "${usage}" 1>&2; exit 1 ;;
  217. + echo "${usage}" 1>&2; rm -f $tmpout; exit 1 ;;
  218. * )
  219. break ;;
  220. esac
  221. @@ -86,23 +86,25 @@
  222. version=`sed -n 's/define.AC_ACVERSION.[ ]*\([0-9.]*\).*/\1/p' \
  223. $AC_MACRODIR/acgeneral.m4`
  224. echo "Autoconf version $version"
  225. + rm -f $tmpout
  226. exit 0
  227. fi
  228. case $# in
  229. 0) infile=configure.in ;;
  230. 1) infile="$1" ;;
  231. - *) echo "$usage" >&2; exit 1 ;;
  232. + *) echo "$usage" >&2; rm -f $tmpout; exit 1 ;;
  233. esac
  234. trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
  235. -tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's.
  236. +tmpin=`/bin/mktemp ${TMPDIR}/acin.XXXXXX`
  237. +# Always set this, to avoid bogus errors from some rm's.
  238. if test z$infile = z-; then
  239. infile=$tmpin
  240. - cat > $infile
  241. elif test ! -r "$infile"; then
  242. echo "autoconf: ${infile}: No such file or directory" >&2
  243. + rm -f $tmpin $tmpout
  244. exit 1
  245. fi
  246. @@ -111,6 +113,8 @@
  247. else
  248. use_localdir=
  249. fi
  250. +# Make sure we don't leave those around - they are annoying
  251. +trap 'rm -f $tmpin $tmpout' 0
  252. # Use the frozen version of Autoconf if available.
  253. r= f=
  254. @@ -118,7 +122,7 @@
  255. case `$M4 --help < /dev/null 2>&1` in
  256. *reload-state*) test -r $AC_MACRODIR/autoconf.m4f && { r=--reload f=f; } ;;
  257. *traditional*) ;;
  258. -*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin; exit 1 ;;
  259. +*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin $tmpout; exit 1 ;;
  260. esac
  261. $M4 -I$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout ||
  262. @@ -154,6 +158,6 @@
  263. /__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__/\2\1/
  264. ' >&4
  265. -rm -f $tmpout
  266. +rm -f $tmpout $tmpin
  267. exit $status
  268. diff -Naur a/autoconf.texi b/autoconf.texi
  269. --- a/autoconf.texi 1999-01-05 13:28:37.000000000 +0000
  270. +++ b/autoconf.texi 2016-06-11 00:18:46.360933604 +0100
  271. @@ -1,7 +1,7 @@
  272. \input texinfo @c -*-texinfo-*-
  273. @c %**start of header
  274. -@setfilename autoconf.info
  275. -@settitle Autoconf
  276. +@setfilename autoconf213.info
  277. +@settitle Autoconf-2.13
  278. @c For double-sided printing, uncomment:
  279. @c @setchapternewpage odd
  280. @c %**end of header
  281. @@ -17,7 +17,8 @@
  282. @ifinfo
  283. @format
  284. START-INFO-DIR-ENTRY
  285. -* Autoconf: (autoconf). Create source code configuration scripts.
  286. +* Autoconf213: (autoconf213). Create source code configuration scripts.
  287. + This is a legacy version of autoconf.
  288. END-INFO-DIR-ENTRY
  289. @end format
  290. diff -Naur a/autoheader.sh b/autoheader.sh
  291. --- a/autoheader.sh 1999-01-05 13:28:39.000000000 +0000
  292. +++ b/autoheader.sh 2016-06-11 00:22:17.351872133 +0100
  293. @@ -194,9 +194,9 @@
  294. # Some fgrep's have limits on the number of lines that can be in the
  295. # pattern on the command line, so use a temporary file containing the
  296. # pattern.
  297. - (fgrep_tmp=${TMPDIR-/tmp}/autoh$$
  298. + (fgrep_tmp=`/bin/mktemp ${TMPDIR-/tmp}/autoh$$.XXXXXX`
  299. trap "rm -f $fgrep_tmp; exit 1" 1 2 15
  300. - cat > $fgrep_tmp <<EOF
  301. + cat >> $fgrep_tmp <<EOF
  302. $syms
  303. EOF
  304. fgrep -f $fgrep_tmp
  305. diff -Naur a/autoupdate.sh b/autoupdate.sh
  306. --- a/autoupdate.sh 1999-01-05 13:28:42.000000000 +0000
  307. +++ b/autoupdate.sh 2016-06-11 00:23:19.151561252 +0100
  308. @@ -26,7 +26,7 @@
  309. Usage: autoupdate [-h] [--help] [-m dir] [--macrodir=dir]
  310. [--version] [template-file]"
  311. -sedtmp=/tmp/acups.$$
  312. +sedtmp=`/bin/mktemp /tmp/acups.XXXXXX`
  313. # For debugging.
  314. #sedtmp=/tmp/acups
  315. show_version=no
  316. @@ -35,13 +35,13 @@
  317. while test $# -gt 0 ; do
  318. case "${1}" in
  319. -h | --help | --h* )
  320. - echo "${usage}" 1>&2; exit 0 ;;
  321. + echo "${usage}" 1>&2; rm -f $sedtmp; exit 0 ;;
  322. --macrodir=* | --m*=* )
  323. AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
  324. shift ;;
  325. -m | --macrodir | --m* )
  326. shift
  327. - test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
  328. + test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $sedtmp; exit 1; }
  329. AC_MACRODIR="${1}"
  330. shift ;;
  331. --version | --versio | --versi | --vers)
  332. @@ -51,7 +51,7 @@
  333. - ) # Use stdin as input.
  334. break ;;
  335. -* )
  336. - echo "${usage}" 1>&2; exit 1 ;;
  337. + echo "${usage}" 1>&2; rm -f $sedtmp; exit 1 ;;
  338. * )
  339. break ;;
  340. esac
  341. @@ -61,6 +61,7 @@
  342. version=`sed -n 's/define.AC_ACVERSION.[ ]*\([0-9.]*\).*/\1/p' \
  343. $AC_MACRODIR/acgeneral.m4`
  344. echo "Autoconf version $version"
  345. + rm -f $sedtmp
  346. exit 0
  347. fi
  348. @@ -68,6 +69,7 @@
  349. tmpout=acupo.$$
  350. trap 'rm -f $sedtmp $tmpout; exit 1' 1 2 15
  351. +trap 'rm -f $sedtmp' 0
  352. case $# in
  353. 0) infile=configure.in; out="> $tmpout"
  354. # Make sure $infile can be read, and $tmpout has the same permissions.
  355. diff -Naur a/configure b/configure
  356. --- a/configure 1999-01-05 13:28:57.000000000 +0000
  357. +++ b/configure 2016-06-11 00:50:57.771231914 +0100
  358. @@ -43,8 +43,8 @@
  359. libdir='${exec_prefix}/lib'
  360. includedir='${prefix}/include'
  361. oldincludedir='/usr/include'
  362. -infodir='${prefix}/info'
  363. -mandir='${prefix}/man'
  364. +infodir='${datadir}/info'
  365. +mandir='${datadir}/man'
  366. # Initialize some other variables.
  367. subdirs=
  368. diff -Naur a/Makefile.in b/Makefile.in
  369. --- a/Makefile.in 1999-01-05 13:27:16.000000000 +0000
  370. +++ b/Makefile.in 2016-06-11 00:29:34.005678107 +0100
  371. @@ -49,7 +49,7 @@
  372. # Directory in which to install library files.
  373. datadir = @datadir@
  374. -acdatadir = $(datadir)/autoconf
  375. +acdatadir = $(datadir)/autoconf-2.13
  376. # Directory in which to install documentation info files.
  377. infodir = @infodir@
  378. @@ -68,8 +68,8 @@
  379. DISTFILES = AUTHORS COPYING ChangeLog ChangeLog.1 INSTALL \
  380. Makefile.in NEWS README TODO $(M4FILES) \
  381. acconfig.h acfunctions acheaders acidentifiers \
  382. - acmakevars acprograms autoconf.info* \
  383. - autoconf.sh autoconf.texi install.texi \
  384. + acmakevars acprograms autoconf213.info* \
  385. + autoconf.sh autoconf213.texi install.texi \
  386. autoheader.sh autoscan.pl autoreconf.sh autoupdate.sh ifnames.sh \
  387. config.guess config.sub configure configure.in \
  388. install-sh mkinstalldirs texinfo.tex \
  389. @@ -106,11 +106,11 @@
  390. autoconf.m4f: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4
  391. autoheader.m4f: autoheader.m4 acgeneral.m4 acspecific.m4 acoldnames.m4
  392. -info: autoconf.info @standards_info@ INSTALL
  393. +info: autoconf213.info @standards_info@ INSTALL
  394. # Use --no-split to avoid creating filenames > 14 chars.
  395. -autoconf.info: autoconf.texi install.texi
  396. - $(MAKEINFO) -I$(srcdir) $(srcdir)/autoconf.texi --no-split --output=$@
  397. +autoconf213.info: autoconf213.texi install.texi
  398. + $(MAKEINFO) -I$(srcdir) $(srcdir)/autoconf213.texi --no-split --output=$@
  399. INSTALL: install.texi
  400. $(MAKEINFO) -I$(srcdir) $(srcdir)/install.texi --output=$@ \
  401. @@ -121,8 +121,8 @@
  402. dvi: autoconf.dvi @standards_dvi@
  403. -autoconf.dvi: autoconf.texi
  404. - $(TEXI2DVI) $(srcdir)/autoconf.texi
  405. +autoconf.dvi: autoconf213.texi
  406. + $(TEXI2DVI) $(srcdir)/autoconf213.texi
  407. standards.dvi: standards.texi make-stds.texi
  408. $(TEXI2DVI) $(srcdir)/standards.texi
  409. @@ -137,35 +137,35 @@
  410. cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
  411. installdirs:
  412. - $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
  413. + $(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(infodir) $(DESTDIR)/$(acdatadir)
  414. -install: all $(M4FILES) acconfig.h installdirs install-info
  415. +install: all $(M4FILES) acconfig.h installdirs
  416. for p in $(ASCRIPTS); do \
  417. - $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
  418. + $(INSTALL_PROGRAM) $$p $(DESTDIR)/$(bindir)/`echo $$p|sed '$(transform)'`; \
  419. done
  420. for i in $(M4FROZEN); do \
  421. - $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
  422. + $(INSTALL_DATA) $$i $(DESTDIR)/$(acdatadir)/$$i; \
  423. done
  424. for i in $(M4FILES) acconfig.h; do \
  425. - $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
  426. + $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)/$(acdatadir)/$$i; \
  427. done
  428. -if test -f autoscan; then \
  429. - $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
  430. + $(INSTALL_PROGRAM) autoscan $(DESTDIR)/$(bindir)/`echo autoscan|sed '$(transform)'`; \
  431. for i in acfunctions acheaders acidentifiers acprograms \
  432. acmakevars; do \
  433. - $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
  434. + $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)/$(acdatadir)/$$i; \
  435. done; \
  436. else :; fi
  437. # Don't cd, to avoid breaking install-sh references.
  438. install-info: info installdirs
  439. - if test -f autoconf.info; then \
  440. + if test -f autoconf213.info; then \
  441. for i in *.info*; do \
  442. - $(INSTALL_DATA) $$i $(infodir)/$$i; \
  443. + $(INSTALL_DATA) $$i $(DESTDIR)/$(infodir)/$$i; \
  444. done; \
  445. else \
  446. for i in $(srcdir)/*.info*; do \
  447. - $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
  448. + $(INSTALL_DATA) $$i $(DESTDIR)/$(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
  449. done; \
  450. fi
  451. @@ -174,7 +174,7 @@
  452. rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
  453. done
  454. rm -fr $(acdatadir)
  455. - cd $(infodir) && rm -f autoconf.info*
  456. + cd $(infodir) && rm -f autoconf213.info*
  457. if test -f standards.info || test -f $(srcdir)/standards.info; \
  458. then cd $(infodir) && rm -f standards.info*; fi
  459. diff -Naur a/testsuite/autoconf.s/syntax.exp b/testsuite/autoconf.s/syntax.exp
  460. --- a/testsuite/autoconf.s/syntax.exp 1999-01-05 13:29:54.000000000 +0000
  461. +++ b/testsuite/autoconf.s/syntax.exp 2016-06-11 00:18:51.996905247 +0100
  462. @@ -2,7 +2,7 @@
  463. send_user "Checking for syntax errors in the specific tests...\n"
  464. set script {s/^AC_DEFUN(\([^,]*\).*/\1/p}
  465. -set macros [exec sed -n $script $srcdir/../acspecific.m4]
  466. +set macros [exec sed -n $script $srcdir/../acspecific.m4 | grep -v -e AC_FUNC_GETLOADAVG -e F77]
  467. foreach mac $macros {
  468. send_user "$mac\n"