automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, ng/master, updated. ng-0.5a


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, ng/master, updated. ng-0.5a-39-g8290baa
Date: Wed, 22 Feb 2012 10:56:26 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=8290baa7eeabeb14ff98ec3e256983143200b37f

The branch, ng/master has been updated
       via  8290baa7eeabeb14ff98ec3e256983143200b37f (commit)
       via  2dc4accd4b6ad4ef7f517d752652ec71cca7f6ad (commit)
       via  db973eaa2be26fcfb523e3bfed65cf466e4946aa (commit)
       via  0f99c10d3f7087f51c84b01e33784d57194afcc4 (commit)
       via  6a53d19c3b85f235a3a272c949d8827355c03061 (commit)
       via  31c621cd079bd5e67e6f5e7841e04f2c4267580c (commit)
      from  bfdfdaa87da4f0549b13538aca50464904b160c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8290baa7eeabeb14ff98ec3e256983143200b37f
Author: Stefano Lattarini <address@hidden>
Date:   Wed Feb 22 11:50:45 2012 +0100

    [ng] cleanup: post-merge cleanup
    
    * tests/parallel-tests-many.test: Avoid uses of "make -e".
    * tests/depcomp-shuffle.sh: Use 'configure.ac', not 'configure.in'.
    * tests/yacc-subobj-nodep.test: Likewise.
    * tests/vpath-rewrite.test: Likewise.
    * tests/pattern-rules.test: Likewise.
    * tests/depcomp-recover.test: Likewise.
    * tests/objdir.test: Likewise.
    * tests/interp3.test: Likewise.
    * tests/gmake-vars.test: Likewise.
    * tests/fort2.test: Likewise.

commit 2dc4accd4b6ad4ef7f517d752652ec71cca7f6ad
Merge: bfdfdaa db973ea
Author: Stefano Lattarini <address@hidden>
Date:   Wed Feb 22 10:56:17 2012 +0100

    Merge branch 'master' into ng/master
    
    * master:
      tests: prefer 'configure.ac' over 'configure.in'
      coverage: expose automake bug#7868
      tests: remove obsoleted "icc" requirement
      readme: fix typo in tests/README

-----------------------------------------------------------------------

Summary of changes:
 syntax-checks.mk                                   |   16 ++
 tests/Makefile.am                                  |    1 +
 tests/README                                       |   12 +-
 tests/ac-output-old.tap                            |   14 +-
 tests/acloca10.test                                |    2 +-
 tests/acloca11.test                                |    2 +-
 tests/acloca12.test                                |    2 +-
 tests/acloca13.test                                |    2 +-
 tests/acloca14.test                                |    4 +-
 tests/acloca15.test                                |    4 +-
 tests/acloca16.test                                |    2 +-
 tests/acloca17.test                                |    4 +-
 tests/acloca18.test                                |    2 +-
 tests/acloca19.test                                |    2 +-
 tests/acloca20.test                                |    2 +-
 tests/acloca21.test                                |    2 +-
 tests/acloca22.test                                |    6 +-
 tests/acloca23.test                                |    2 +-
 tests/aclocal-acdir.test                           |    2 +-
 tests/aclocal-install-absdir.test                  |    2 +-
 tests/aclocal-path-install-serial.test             |    2 +-
 tests/aclocal-path-install.test                    |    4 +-
 tests/aclocal-path-nonexistent.test                |    2 +-
 tests/aclocal-path-precedence.test                 |    2 +-
 tests/aclocal-path.test                            |    2 +-
 tests/aclocal.test                                 |    2 +-
 tests/aclocal3.test                                |    2 +-
 tests/aclocal4.test                                |    2 +-
 tests/aclocal5.test                                |    2 +-
 tests/aclocal6.test                                |    2 +-
 tests/aclocal7.test                                |    2 +-
 tests/aclocal8.test                                |    2 +-
 tests/aclocal9.test                                |    2 +-
 tests/acsilent.test                                |    2 +-
 tests/acsubst.test                                 |    2 +-
 tests/acsubst2.test                                |    2 +-
 tests/add-missing.tap                              |   34 ++--
 tests/alloca.test                                  |    4 +-
 tests/alloca2.test                                 |    4 +-
 tests/alpha.test                                   |    2 +-
 tests/alpha2.test                                  |    4 +-
 tests/am-tests-environment.test                    |    2 +-
 tests/amassign.test                                |    4 +-
 tests/ammissing.test                               |    4 +-
 tests/amopt.test                                   |    2 +-
 tests/amopts-location.test                         |    2 +-
 tests/amopts-variable-expansion.test               |    2 +-
 tests/amsubst.test                                 |    2 +-
 tests/ansi2knr-no-more.test                        |   20 +-
 tests/ar-lib2.test                                 |    4 +-
 tests/ar-lib3.test                                 |    4 +-
 tests/ar-lib4.test                                 |    8 +-
 tests/ar-lib5a.test                                |    2 +-
 tests/ar-lib5b.test                                |    2 +-
 tests/ar-lib6a.test                                |    2 +-
 tests/ar-lib6b.test                                |    2 +-
 tests/ar-lib7.test                                 |    4 +-
 tests/ar.test                                      |    4 +-
 tests/ar2.test                                     |    2 +-
 tests/ar3.test                                     |    2 +-
 tests/ar4.test                                     |    2 +-
 tests/ar5.test                                     |    2 +-
 tests/asm.test                                     |   16 +-
 tests/asm2.test                                    |   18 +-
 tests/asm3.test                                    |   18 +-
 tests/autodist-acconfig-no-subdir.test             |    2 +-
 tests/autodist-acconfig.test                       |    2 +-
 tests/autodist-aclocal-m4.test                     |    4 +-
 tests/autodist-config-headers.test                 |    2 +-
 tests/autodist-configure-no-subdir.test            |    2 +-
 tests/autodist-stamp-vti.test                      |    2 +-
 tests/autodist-subdir.test                         |    2 +-
 tests/autodist.test                                |    2 +-
 tests/autohdr.test                                 |    2 +-
 tests/autohdr2.test                                |    2 +-
 tests/autohdr3.test                                |    2 +-
 tests/autohdr4.test                                |    2 +-
 tests/autohdrdry.test                              |    2 +-
 tests/auxdir-autodetect.test                       |    4 +-
 tests/auxdir-computed.tap                          |    2 +-
 tests/auxdir-misplaced.test                        |    2 +-
 tests/auxdir-nonexistent.test                      |    4 +-
 tests/auxdir-unportable.tap                        |    4 +-
 tests/auxdir.test                                  |    2 +-
 tests/auxdir6.test                                 |    2 +-
 tests/auxdir7.test                                 |    2 +-
 tests/auxdir8.test                                 |    2 +-
 tests/backcompat2.test                             |    3 +
 tests/backcompat3.test                             |    3 +-
 tests/backcompat4.test                             |    8 +-
 tests/backcompat5.test                             |   11 +-
 tests/backcompat6.test                             |    3 +-
 tests/backsl.test                                  |    2 +-
 tests/backsl4.test                                 |    2 +-
 tests/badline.test                                 |    4 +-
 tests/badprog.test                                 |    2 +-
 tests/candist.test                                 |    2 +-
 tests/canon-name.test                              |    2 +-
 tests/canon.test                                   |    2 +-
 tests/canon3.test                                  |    2 +-
 tests/canon4.test                                  |    2 +-
 tests/canon5.test                                  |    2 +-
 tests/canon6.test                                  |    2 +-
 tests/canon7.test                                  |    2 +-
 tests/canon8.test                                  |    2 +-
 tests/ccnoco.test                                  |    2 +-
 tests/ccnoco2.test                                 |    2 +-
 tests/ccnoco3.test                                 |    2 +-
 tests/check-concurrency-bug9245.test               |    2 +-
 tests/check-exported-srcdir.test                   |    2 +-
 tests/check-fd-redirect.test                       |    2 +-
 tests/check-subst-prog.test                        |    2 +-
 tests/check-subst.test                             |    2 +-
 tests/check-tests-in-builddir.test                 |    2 +-
 tests/check10.test                                 |    2 +-
 tests/check11.test                                 |    2 +-
 tests/check12.test                                 |    2 +-
 tests/check2.test                                  |    2 +-
 tests/check3.test                                  |    2 +-
 tests/check4.test                                  |    2 +-
 tests/check5.test                                  |    2 +-
 tests/check6.test                                  |    2 +-
 tests/check7.test                                  |    2 +-
 tests/check8.test                                  |    2 +-
 tests/clean2.test                                  |    2 +-
 tests/colneq2.test                                 |    2 +-
 tests/colon.test                                   |    2 +-
 tests/colon2.test                                  |    2 +-
 tests/colon3.test                                  |    2 +-
 tests/colon4.test                                  |    2 +-
 tests/colon5.test                                  |    2 +-
 tests/colon6.test                                  |    2 +-
 tests/colon7.test                                  |    2 +-
 tests/color.test                                   |    2 +-
 tests/color2.test                                  |    2 +-
 tests/comment2.test                                |    2 +-
 tests/comment4.test                                |    2 +-
 tests/comment5.test                                |    2 +-
 tests/comment6.test                                |    2 +-
 tests/comment7.test                                |    2 +-
 tests/comment8.test                                |    2 +-
 tests/comments-in-var-def.test                     |    2 +-
 tests/compile4.test                                |    2 +-
 tests/compile5.test                                |    2 +-
 tests/compile_f90_c_cxx.test                       |    2 +-
 tests/compile_f_c_cxx.test                         |    2 +-
 tests/cond-basic.test                              |    2 +-
 tests/cond.test                                    |    2 +-
 tests/cond10.test                                  |    2 +-
 tests/cond11.test                                  |    2 +-
 tests/cond13.test                                  |    2 +-
 tests/cond14.test                                  |    2 +-
 tests/cond15.test                                  |    2 +-
 tests/cond16.test                                  |    2 +-
 tests/cond17.test                                  |    2 +-
 tests/cond18.test                                  |    2 +-
 tests/cond19.test                                  |    2 +-
 tests/cond2.test                                   |    2 +-
 tests/cond20.test                                  |    2 +-
 tests/cond21.test                                  |    2 +-
 tests/cond22.test                                  |    2 +-
 tests/cond23.test                                  |    2 +-
 tests/cond24.test                                  |    4 +-
 tests/cond25.test                                  |    2 +-
 tests/cond26.test                                  |    2 +-
 tests/cond27.test                                  |    2 +-
 tests/cond28.test                                  |    2 +-
 tests/cond29.test                                  |    4 +-
 tests/cond3.test                                   |    2 +-
 tests/cond30.test                                  |    2 +-
 tests/cond31.test                                  |    2 +-
 tests/cond32.test                                  |    2 +-
 tests/cond33.test                                  |    2 +-
 tests/cond34.test                                  |    2 +-
 tests/cond35.test                                  |    2 +-
 tests/cond36.test                                  |    2 +-
 tests/cond37.test                                  |    2 +-
 tests/cond38.test                                  |    2 +-
 tests/cond39.test                                  |    2 +-
 tests/cond4.test                                   |    2 +-
 tests/cond40.test                                  |    2 +-
 tests/cond41.test                                  |    4 +-
 tests/cond42.test                                  |   16 +-
 tests/cond43.test                                  |    8 +-
 tests/cond44.test                                  |    2 +-
 tests/cond45.test                                  |    2 +-
 tests/cond46.test                                  |    2 +-
 tests/cond5.test                                   |    2 +-
 tests/cond6.test                                   |    4 +-
 tests/cond7.test                                   |    2 +-
 tests/cond8.test                                   |    2 +-
 tests/cond9.test                                   |    2 +-
 tests/condd.test                                   |    2 +-
 tests/condhook.test                                |    2 +-
 tests/condhook2.test                               |    2 +-
 tests/condinc.test                                 |    2 +-
 tests/condinc2.test                                |    2 +-
 tests/condlib.test                                 |    2 +-
 tests/condman3.test                                |    2 +-
 tests/conff.test                                   |    2 +-
 tests/conff2.test                                  |    8 +-
 tests/conffile-leading-dot.test                    |   18 +-
 tests/confh.test                                   |    2 +-
 tests/confh4.test                                  |    2 +-
 tests/confh5.test                                  |    2 +-
 tests/confh6.test                                  |    2 +-
 tests/confh7.test                                  |    4 +-
 tests/confh8.test                                  |    2 +-
 tests/confincl.test                                |    2 +-
 tests/conflnk.test                                 |    2 +-
 tests/conflnk2.test                                |    2 +-
 tests/conflnk3.test                                |    2 +-
 tests/conflnk4.test                                |    2 +-
 tests/confsub.test                                 |    2 +-
 tests/confvar.test                                 |    2 +-
 tests/confvar2.test                                |    2 +-
 tests/copy.test                                    |    4 +-
 tests/cscope.tap                                   |    2 +-
 tests/cscope2.test                                 |    2 +-
 tests/cscope3.test                                 |    2 +-
 tests/cxx.test                                     |    2 +-
 tests/cxx2.test                                    |    2 +-
 tests/cxxcpp.test                                  |    2 +-
 tests/cxxlibobj.test                               |    2 +-
 tests/cxxlink.test                                 |    2 +-
 tests/cxxnoc.test                                  |    2 +-
 tests/cxxo.test                                    |    2 +-
 tests/cygnus-check-without-all.test                |    2 +-
 tests/cygnus-dependency-tracking.test              |    2 +-
 tests/cygnus-imply-foreign.test                    |   12 +-
 tests/cygnus-no-dist.test                          |    8 +-
 tests/cygnus-no-installinfo.test                   |    2 +-
 tests/cygnus-requires-maintainer-mode.test         |    8 +-
 tests/cygwin32.test                                |    2 +-
 tests/defs                                         |   16 +--
 tests/defs-static.in                               |   10 -
 tests/defun.test                                   |    2 +-
 tests/defun2.test                                  |    2 +-
 tests/dejagnu-absolute-builddir.test               |    2 +-
 tests/dejagnu-relative-srcdir.test                 |    2 +-
 tests/dejagnu-siteexp-append.test                  |    2 +-
 tests/dejagnu-siteexp-extend.test                  |    2 +-
 tests/dejagnu-siteexp-useredit.test                |    2 +-
 tests/dejagnu2.test                                |    2 +-
 tests/dejagnu3.test                                |    2 +-
 tests/dejagnu4.test                                |    2 +-
 tests/dejagnu5.test                                |    2 +-
 tests/dejagnu6.test                                |    2 +-
 tests/dejagnu7.test                                |    2 +-
 tests/deleted-am.test                              |    2 +-
 tests/deleted-m4.test                              |    2 +-
 tests/depacl2.test                                 |    2 +-
 tests/depcomp-recover.test                         |    2 +-
 tests/depcomp-shuffle.sh                           |   12 +-
 tests/depcomp.sh                                   |    2 +-
 tests/depcomp.test                                 |    2 +-
 tests/depcomp2.test                                |    2 +-
 tests/depcomp8a.test                               |    6 +-
 tests/depcomp8b.test                               |    6 +-
 tests/depdist.test                                 |    4 +-
 tests/depend.test                                  |    2 +-
 tests/depend3.test                                 |    2 +-
 tests/depend4.test                                 |    2 +-
 tests/deprecated-acinit.test                       |   10 +-
 tests/destdir.test                                 |    2 +-
 tests/dirlist-abspath.test                         |    2 +-
 tests/dirlist.test                                 |    2 +-
 tests/dirlist2.test                                |    2 +-
 tests/discover.test                                |    2 +-
 tests/dist-auxdir-many-subdirs.test                |    6 +-
 tests/dist-auxfile-2.test                          |    2 +-
 tests/dist-auxfile.test                            |    8 +-
 tests/dist-formats.tap                             |   12 +-
 tests/dist-included-parent-dir.test                |    2 +-
 tests/dist-missing-am.test                         |    2 +-
 tests/dist-missing-included-m4.test                |    2 +-
 tests/dist-missing-m4.test                         |    2 +-
 tests/dist-readonly.test                           |    2 +-
 tests/dist-repeated.test                           |    2 +-
 tests/distcheck-configure-flags-am.test            |    2 +-
 tests/distcheck-configure-flags-subpkg.test        |    8 +-
 tests/distcheck-configure-flags.test               |    2 +-
 tests/distcheck-hook.test                          |    2 +-
 tests/distcheck-hook2.test                         |    4 +-
 tests/distcheck-missing-m4.test                    |    4 +-
 tests/distcheck-outdated-m4.test                   |    6 +-
 tests/distcheck-override-infodir.test              |    2 +-
 tests/distcheck-pr10470.test                       |    2 +-
 tests/distcheck-pr9579.test                        |    2 +-
 tests/distcleancheck.test                          |    2 +-
 tests/distcom-subdir.test                          |    2 +-
 tests/distcom2.test                                |    4 +-
 tests/distcom4.test                                |    2 +-
 tests/distcom5.test                                |    2 +-
 tests/distdir.test                                 |    2 +-
 tests/distlinks.test                               |    2 +-
 tests/distlinksbrk.test                            |    2 +-
 tests/distname.test                                |    2 +-
 tests/dmalloc.test                                 |    2 +-
 tests/doc-parsing-buglets-tabs.test                |    2 +-
 tests/dollar.test                                  |    2 +-
 tests/double.test                                  |    2 +-
 tests/dup2.test                                    |    2 +-
 tests/else.test                                    |    2 +-
 tests/empty.test                                   |    2 +-
 tests/empty2.test                                  |    2 +-
 tests/empty3.test                                  |    2 +-
 tests/empty4.test                                  |    2 +-
 tests/exdir3.test                                  |    2 +-
 tests/exeext.test                                  |    2 +-
 tests/exeext2.test                                 |    2 +-
 tests/exeext3.test                                 |    2 +-
 tests/exeext4.test                                 |    2 +-
 tests/exsource.test                                |    2 +-
 tests/ext.test                                     |    2 +-
 tests/ext2.test                                    |    2 +-
 tests/ext3.test                                    |    2 +-
 tests/extra-portability.test                       |    2 +-
 tests/extra-portability2.test                      |    2 +-
 tests/extra-programs-empty.test                    |    2 +-
 tests/extra.test                                   |    2 +-
 tests/extra10.test                                 |    2 +-
 tests/extra11.test                                 |    2 +-
 tests/extra12.test                                 |    2 +-
 tests/extra2.test                                  |    2 +-
 tests/extra3.test                                  |    2 +-
 tests/extra4.test                                  |    2 +-
 tests/extra5.test                                  |    2 +-
 tests/extra6.test                                  |    2 +-
 tests/extra7.test                                  |    2 +-
 tests/extra8.test                                  |    2 +-
 tests/extra9.test                                  |    2 +-
 tests/extradep.test                                |    2 +-
 tests/extradep2.test                               |    2 +-
 tests/f90only.test                                 |    2 +-
 tests/flavor.test                                  |    2 +-
 tests/flibs.test                                   |    2 +-
 tests/fn99.test                                    |    2 +-
 tests/fn99subdir.test                              |    4 +-
 tests/fnoc.test                                    |    2 +-
 tests/fo.test                                      |    2 +-
 tests/fonly.test                                   |    2 +-
 tests/fort2.test                                   |    6 +-
 tests/fort4.test                                   |    2 +-
 tests/fort5.test                                   |    2 +-
 tests/fortdep.test                                 |    2 +-
 tests/gcj.test                                     |    2 +-
 tests/gcj2.test                                    |    2 +-
 tests/gcj3.test                                    |    2 +-
 tests/gcj4.test                                    |    2 +-
 tests/gcj5.test                                    |    2 +-
 tests/gcj6.test                                    |    2 +-
 tests/gettext-macros.test                          |    4 +-
 tests/gettext.test                                 |    6 +-
 tests/gettext2.test                                |    2 +-
 tests/gettext3.test                                |    2 +-
 tests/gmake-vars.test                              |    2 +-
 tests/gnits.test                                   |    4 +-
 tests/gnits2.test                                  |    2 +-
 tests/gnits3.test                                  |    2 +-
 tests/gnumake.test                                 |    2 +-
 tests/gnuwarn.test                                 |    2 +-
 tests/gnuwarn2.test                                |    4 +-
 tests/hdr-vars-defined-once.test                   |    2 +-
 tests/header.test                                  |    2 +-
 tests/help-depend.test                             |    2 +-
 tests/help-depend2.test                            |    2 +-
 tests/help-dmalloc.test                            |    2 +-
 tests/help-init.test                               |    2 +-
 tests/help-lispdir.test                            |    2 +-
 tests/help-multilib.test                           |    2 +-
 tests/help-python.test                             |    2 +-
 tests/help-silent.test                             |    8 +-
 tests/help-upc.test                                |    2 +-
 tests/help.test                                    |    2 +-
 tests/help2.test                                   |   10 +-
 tests/help3.test                                   |    2 +-
 tests/hfs.test                                     |    2 +-
 tests/implicit.test                                |    2 +-
 tests/init.test                                    |    6 +-
 tests/init2.test                                   |    2 +-
 tests/insh2.test                                   |    2 +-
 tests/install-info-dir.test                        |    2 +-
 tests/install2.test                                |    2 +-
 tests/instdat.test                                 |    2 +-
 tests/instdir-java.test                            |    2 +-
 tests/instdir-lisp.test                            |    2 +-
 tests/instdir-ltlib.test                           |    2 +-
 tests/instdir-prog.test                            |    2 +-
 tests/instdir-python.test                          |    2 +-
 tests/instdir-texi.test                            |    2 +-
 tests/instdir.test                                 |    2 +-
 tests/instdir2.test                                |    2 +-
 tests/instfail-info.test                           |    2 +-
 tests/instfail-java.test                           |    2 +-
 tests/instfail-libtool.test                        |    2 +-
 tests/instfail.test                                |    2 +-
 tests/insthook.test                                |    2 +-
 tests/instman.test                                 |    2 +-
 tests/instmany-mans.test                           |    2 +-
 tests/instmany-python.test                         |    2 +-
 tests/instmany.test                                |    2 +-
 tests/instsh.test                                  |    2 +-
 tests/instspc.tap                                  |    2 +-
 tests/interp.test                                  |    2 +-
 tests/interp2.test                                 |    2 +-
 tests/interp3.test                                 |    2 +-
 tests/java-check.test                              |    2 +-
 tests/java-clean.test                              |    2 +-
 tests/java-compile-install.test                    |    2 +-
 tests/java-compile-run-flat.test                   |    4 +-
 tests/java-compile-run-nested.test                 |    4 +-
 tests/java-empty-classpath.test                    |    2 +-
 tests/java-extra.test                              |    2 +-
 tests/java-mix.test                                |    2 +-
 tests/java-nobase.test                             |    2 +-
 tests/java-noinst.test                             |    2 +-
 tests/java-rebuild.test                            |    2 +-
 tests/java-sources.test                            |    2 +-
 tests/java-uninstall.test                          |    2 +-
 tests/java.test                                    |    2 +-
 tests/java2.test                                   |    2 +-
 tests/java3.test                                   |    2 +-
 tests/javaflags.test                               |    2 +-
 tests/javaprim.test                                |    2 +-
 tests/javasubst.test                               |    2 +-
 tests/ldadd.test                                   |    2 +-
 tests/ldflags.test                                 |    2 +-
 tests/lex-clean-cxx.test                           |    2 +-
 tests/lex-clean.test                               |    2 +-
 tests/lex-depend-cxx.test                          |    2 +-
 tests/lex-depend-grep.test                         |    2 +-
 tests/lex-depend.test                              |    2 +-
 tests/lex-lib-external.test                        |    2 +-
 tests/lex-lib.test                                 |    2 +-
 tests/lex-libobj.test                              |    2 +-
 tests/lex-line.test                                |    2 +-
 tests/lex-nodist.test                              |    2 +-
 tests/lex-noyywrap.test                            |    2 +-
 tests/lex-pr204.test                               |    2 +-
 tests/lex-subobj-nodep.test                        |    2 +-
 tests/lex.test                                     |    2 +-
 tests/lex2.test                                    |    2 +-
 tests/lex3.test                                    |    2 +-
 tests/lex5.test                                    |    2 +-
 tests/lexcpp.test                                  |    2 +-
 tests/lexvpath.test                                |    2 +-
 tests/lflags.test                                  |    2 +-
 tests/lflags2.test                                 |    2 +-
 tests/libexec.test                                 |    2 +-
 tests/libobj-basic.test                            |    6 +-
 tests/libobj10.test                                |    2 +-
 tests/libobj12.test                                |    2 +-
 tests/libobj13.test                                |    2 +-
 tests/libobj14.test                                |    2 +-
 tests/libobj15a.test                               |    4 +-
 tests/libobj15b.test                               |    4 +-
 tests/libobj15c.test                               |    8 +-
 tests/libobj16a.test                               |   10 +-
 tests/libobj16b.test                               |   10 +-
 tests/libobj17.test                                |    2 +-
 tests/libobj18.test                                |    8 +-
 tests/libobj19.test                                |    8 +-
 tests/libobj2.test                                 |    2 +-
 tests/libobj20a.test                               |    2 +-
 tests/libobj20b.test                               |    6 +-
 tests/libobj20c.test                               |    6 +-
 tests/libobj3.test                                 |    4 +-
 tests/libobj4.test                                 |    2 +-
 tests/libobj5.test                                 |    2 +-
 tests/libobj7.test                                 |    2 +-
 tests/library.test                                 |    2 +-
 tests/library2.test                                |    2 +-
 tests/library3.test                                |    2 +-
 tests/libtoo10.test                                |    2 +-
 tests/libtoo11.test                                |    2 +-
 tests/libtool-macros.test                          |    2 +-
 tests/libtool.test                                 |    2 +-
 tests/libtool2.test                                |    2 +-
 tests/libtool3.test                                |    2 +-
 tests/libtool4.test                                |    2 +-
 tests/libtool5.test                                |    2 +-
 tests/libtool6.test                                |    2 +-
 tests/libtool7.test                                |    2 +-
 tests/libtool8.test                                |    2 +-
 tests/libtool9.test                                |    2 +-
 tests/license.test                                 |    2 +-
 tests/link_c_cxx.test                              |    2 +-
 tests/link_dist.test                               |    2 +-
 tests/link_f90_only.test                           |    2 +-
 tests/link_f_only.test                             |    2 +-
 tests/link_fc.test                                 |    2 +-
 tests/link_fccxx.test                              |    2 +-
 tests/link_fcxx.test                               |    2 +-
 tests/link_override.test                           |    2 +-
 tests/lisp3.test                                   |    2 +-
 tests/lisp4.test                                   |    2 +-
 tests/lisp5.test                                   |    2 +-
 tests/lisp6.test                                   |    2 +-
 tests/lisp7.test                                   |    2 +-
 tests/lisp8.test                                   |    2 +-
 tests/lispdry.test                                 |    2 +-
 tests/list-of-tests.mk                             |    1 +
 tests/listval.test                                 |    2 +-
 tests/location.test                                |    2 +-
 tests/ltcond.test                                  |    2 +-
 tests/ltcond2.test                                 |    2 +-
 tests/ltconv.test                                  |    2 +-
 tests/ltdeps.test                                  |    2 +-
 tests/ltinit.test                                  |    2 +-
 tests/ltinstloc.test                               |    2 +-
 tests/ltlibobjs.test                               |    2 +-
 tests/ltlibsrc.test                                |    2 +-
 tests/ltorder.test                                 |    2 +-
 tests/lzma.test                                    |    4 +-
 tests/m4-inclusion.test                            |    2 +-
 tests/maintclean-vpath.test                        |    2 +-
 tests/maintclean.test                              |    2 +-
 tests/maintmode-configure-msg.test                 |    4 +-
 tests/make-dryrun.tap                              |    2 +-
 tests/makej.test                                   |    2 +-
 tests/makej2.test                                  |    2 +-
 tests/maken.test                                   |    2 +-
 tests/maken3.test                                  |    2 +-
 tests/man2.test                                    |    2 +-
 tests/man3.test                                    |    2 +-
 tests/man4.test                                    |    2 +-
 tests/man5.test                                    |    2 +-
 tests/man6.test                                    |    2 +-
 tests/man7.test                                    |    2 +-
 tests/man8.test                                    |    2 +-
 tests/mdate3.test                                  |    2 +-
 tests/mdate4.test                                  |    2 +-
 .../missing-auxfile-stops-makefiles-creation.test  |    4 +-
 tests/missing.test                                 |    2 +-
 tests/missing2.test                                |    2 +-
 tests/missing4.test                                |    2 +-
 tests/missing5.test                                |    2 +-
 tests/missing6.test                                |   20 ++-
 tests/mkinst2.test                                 |    2 +-
 tests/mmode.test                                   |   14 +-
 tests/mmodely.test                                 |    2 +-
 tests/multlib.test                                 |    6 +-
 tests/no-extra-makefile-code.test                  |    2 +-
 tests/nobase-libtool.test                          |    2 +-
 tests/nobase-nodist.test                           |    2 +-
 tests/nobase-python.test                           |    2 +-
 tests/nobase.test                                  |    2 +-
 tests/nodef.test                                   |    4 +-
 tests/nodef2.test                                  |    4 +-
 tests/nodep.test                                   |    2 +-
 tests/nodep2.test                                  |    2 +-
 tests/nodist.test                                  |    2 +-
 tests/nodist2.test                                 |    2 +-
 tests/nodist3.test                                 |    2 +-
 tests/noinstdir.test                               |    2 +-
 tests/nostdinc.test                                |    2 +-
 tests/notrans.test                                 |    2 +-
 tests/number.test                                  |    2 +-
 tests/objc.test                                    |    2 +-
 tests/objc2.test                                   |    2 +-
 tests/objdir.test                                  |    2 +-
 tests/objext-pr10128.test                          |    2 +-
 tests/obsolete.test                                |   14 +-
 tests/order.test                                   |    2 +-
 tests/output-order.test                            |    2 +-
 tests/output.test                                  |    2 +-
 tests/output10.test                                |    2 +-
 tests/output11.test                                |    2 +-
 tests/output12.test                                |    2 +-
 tests/output13.test                                |    2 +-
 tests/output2.test                                 |    2 +-
 tests/output3.test                                 |    2 +-
 tests/output4.test                                 |    2 +-
 tests/output5.test                                 |    2 +-
 tests/output6.test                                 |    2 +-
 tests/output7.test                                 |    2 +-
 tests/output8.test                                 |    4 +-
 tests/output9.test                                 |    2 +-
 tests/override-conditional-1.test                  |    2 +-
 tests/override-conditional-2.test                  |    2 +-
 tests/parallel-am.test                             |    4 +-
 tests/parallel-am2.test                            |    2 +-
 tests/parallel-am3.test                            |    4 +-
 tests/parallel-tests-cmdline-override.test         |    2 +-
 tests/parallel-tests-console-output.test           |    2 +-
 tests/parallel-tests-driver-install.test           |    6 +-
 tests/parallel-tests-dry-run-1.test                |    2 +-
 tests/parallel-tests-dry-run-2.test                |    2 +-
 tests/parallel-tests-empty-testlogs.test           |    2 +-
 tests/parallel-tests-exeext.test                   |    2 +-
 tests/parallel-tests-exit-statuses.test            |    2 +-
 tests/parallel-tests-extra-programs.test           |    2 +-
 tests/parallel-tests-fd-redirect-exeext.test       |    2 +-
 tests/parallel-tests-fd-redirect.test              |    2 +-
 tests/parallel-tests-fork-bomb.test                |    2 +-
 tests/parallel-tests-harderror.test                |    2 +-
 tests/parallel-tests-interrupt.tap                 |    2 +-
 tests/parallel-tests-log-compiler-1.test           |    2 +-
 tests/parallel-tests-log-compiler-2.test           |    2 +-
 tests/parallel-tests-log-compiler-example.test     |    2 +-
 tests/parallel-tests-log-override-1.test           |    2 +-
 tests/parallel-tests-log-override-2.test           |    2 +-
 tests/parallel-tests-log-override-recheck.test     |    2 +-
 tests/parallel-tests-many.test                     |  176 ++++++++++++++++++++
 tests/parallel-tests-no-color-in-log.test          |    2 +-
 tests/parallel-tests-no-spurious-summary.test      |    2 +-
 tests/parallel-tests-once.test                     |    2 +-
 tests/parallel-tests-reset-term.test               |    2 +-
 tests/parallel-tests-subdir.test                   |    2 +-
 tests/parallel-tests-suffix-prog.test              |    2 +-
 tests/parallel-tests-suffix.test                   |    2 +-
 tests/parallel-tests-trailing-bslash.test          |    2 +-
 tests/parallel-tests-unreadable.test               |    2 +-
 tests/parallel-tests.test                          |    2 +-
 tests/parallel-tests10.test                        |    2 +-
 tests/parallel-tests2.test                         |    2 +-
 tests/parallel-tests3.test                         |    2 +-
 tests/parallel-tests5.test                         |    2 +-
 tests/parallel-tests6.test                         |    2 +-
 tests/parallel-tests8.test                         |    2 +-
 tests/parallel-tests9.test                         |    2 +-
 tests/parse.test                                   |    2 +-
 tests/pattern-rules.test                           |    2 +-
 tests/pluseq10.test                                |    2 +-
 tests/pluseq11.test                                |    2 +-
 tests/pluseq2.test                                 |    2 +-
 tests/pluseq3.test                                 |    2 +-
 tests/pluseq4.test                                 |    2 +-
 tests/pluseq5.test                                 |    2 +-
 tests/pluseq6.test                                 |    2 +-
 tests/pluseq7.test                                 |    2 +-
 tests/pluseq9.test                                 |    2 +-
 tests/posixsubst-data.test                         |    2 +-
 tests/posixsubst-extradist.test                    |    2 +-
 tests/posixsubst-ldadd.test                        |    2 +-
 tests/posixsubst-libraries.test                    |    2 +-
 tests/posixsubst-ltlibraries.test                  |    2 +-
 tests/posixsubst-programs.test                     |    2 +-
 tests/posixsubst-scripts.test                      |    2 +-
 tests/posixsubst-sources.test                      |    2 +-
 tests/posixsubst-tests.test                        |    2 +-
 tests/ppf77.test                                   |    2 +-
 tests/pr2.test                                     |    4 +-
 tests/pr211.test                                   |    2 +-
 tests/pr220.test                                   |    2 +-
 tests/pr224.test                                   |    2 +-
 tests/pr229.test                                   |    2 +-
 tests/pr279-2.test                                 |    2 +-
 tests/pr279.test                                   |    2 +-
 tests/pr287.test                                   |    2 +-
 tests/pr300-lib.test                               |    2 +-
 tests/pr300-ltlib.test                             |    2 +-
 tests/pr300-prog.test                              |    2 +-
 tests/pr307.test                                   |    2 +-
 tests/pr401.test                                   |   14 +-
 tests/pr401b.test                                  |   14 +-
 tests/pr401c.test                                  |   14 +-
 tests/pr72.test                                    |    2 +-
 tests/pr8365-remake-timing.test                    |   14 +-
 tests/pr87.test                                    |    2 +-
 tests/pr9.test                                     |    2 +-
 tests/prefix.test                                  |    2 +-
 tests/primary-prefix-couples-documented-valid.test |    2 +-
 tests/primary-prefix-couples-force-valid.test      |    2 +-
 tests/primary-prefix-invalid-couples.tap           |    2 +-
 tests/primary-prefix-valid-couples.test            |    2 +-
 tests/primary2.test                                |    2 +-
 tests/primary3.test                                |    2 +-
 tests/programs-primary-rewritten.test              |    2 +-
 tests/python-dist.test                             |    2 +-
 tests/python-vars.test                             |    2 +-
 tests/python-virtualenv.test                       |    2 +-
 tests/python.test                                  |    2 +-
 tests/python10.test                                |    2 +-
 tests/python11.test                                |    6 +-
 tests/python12.test                                |    2 +-
 tests/python3.test                                 |    2 +-
 tests/python4.test                                 |    2 +-
 tests/python5.test                                 |    2 +-
 tests/python5b.test                                |    2 +-
 tests/python6.test                                 |    2 +-
 tests/python7.test                                 |    2 +-
 tests/python8.test                                 |    2 +-
 tests/python9.test                                 |    2 +-
 tests/recurs.test                                  |    2 +-
 tests/remake-all-1.test                            |    4 +-
 tests/remake-am-pr10111.test                       |    4 +-
 tests/remake-deleted-am-2.test                     |    2 +-
 tests/remake-deleted-am-subdir.test                |    2 +-
 tests/remake-deleted-am.test                       |    2 +-
 tests/remake-deleted-m4-file.test                  |    6 +-
 tests/remake-gnulib-add-acsubst.test               |    2 +-
 tests/remake-gnulib-add-header.test                |    2 +-
 tests/remake-gnulib-remove-header.test             |    2 +-
 tests/remake-m4-pr10111.test                       |    4 +-
 tests/remake-moved-m4-file.test                    |    2 +-
 tests/remake-renamed-am.test                       |    2 +-
 tests/remake-renamed-m4-file.test                  |    2 +-
 tests/remake-renamed-m4-macro-and-file.test        |    6 +-
 tests/remake-renamed-m4-macro.test                 |    4 +-
 tests/remake-subdir-from-subdir.test               |    2 +-
 tests/remake-subdir-gnu.test                       |    6 +-
 tests/remake-subdir-long-time.test                 |    6 +-
 tests/remake-subdir.test                           |    6 +-
 tests/remake.test                                  |    2 +-
 tests/remake10a.test                               |    2 +-
 tests/remake10b.test                               |    2 +-
 tests/remake10c.test                               |    2 +-
 tests/remake11.test                                |   16 +-
 tests/remake12.test                                |    8 +-
 tests/remake1a.test                                |    2 +-
 tests/remake2.test                                 |    2 +-
 tests/remake3.test                                 |    2 +-
 tests/remake3a.test                                |    2 +-
 tests/remake4.test                                 |    2 +-
 tests/remake5.test                                 |    4 +-
 tests/remake6.test                                 |    2 +-
 tests/remake7.test                                 |    2 +-
 tests/remake8a.test                                |   16 +-
 tests/remake8b.test                                |   16 +-
 tests/remake9a.test                                |   14 +-
 tests/remake9b.test                                |    2 +-
 tests/remake9c.test                                |    2 +-
 tests/remake9d.test                                |    2 +-
 tests/repeated-options.test                        |    2 +-
 tests/req.test                                     |    2 +-
 tests/reqd.test                                    |    2 +-
 tests/reqd2.test                                   |    4 +-
 tests/sanity.test                                  |    2 +-
 tests/seenc.test                                   |    2 +-
 tests/self-check-dir.tap                           |    2 +-
 tests/silent-configsite.test                       |   16 +-
 tests/silent-lex.test                              |    2 +-
 tests/silent-many-gcc.test                         |    2 +-
 tests/silent-many-generic.test                     |    2 +-
 tests/silent-yacc-headers.test                     |    2 +-
 tests/silent-yacc.test                             |    2 +-
 tests/silent.test                                  |    2 +-
 tests/silent2.test                                 |    2 +-
 tests/silent3.test                                 |    2 +-
 tests/silent4.test                                 |    2 +-
 tests/silent6.test                                 |    2 +-
 tests/silent7.test                                 |    2 +-
 tests/silent8.test                                 |    2 +-
 tests/silent9.test                                 |    2 +-
 tests/silentcxx-gcc.test                           |    2 +-
 tests/silentcxx.test                               |    2 +-
 tests/silentf77.test                               |    2 +-
 tests/silentf90.test                               |    2 +-
 tests/space.test                                   |    2 +-
 tests/specflg-dummy.test                           |    2 +-
 tests/specflg.test                                 |    2 +-
 tests/specflg10.test                               |    2 +-
 tests/specflg2.test                                |    2 +-
 tests/specflg3.test                                |    2 +-
 tests/specflg6.test                                |    2 +-
 tests/specflg7.test                                |    2 +-
 tests/specflg8.test                                |    2 +-
 tests/specflg9.test                                |    2 +-
 tests/spell2.test                                  |    2 +-
 tests/srcsub.test                                  |    2 +-
 tests/srcsub2.test                                 |    2 +-
 tests/stamph2.test                                 |    2 +-
 tests/stdinc.test                                  |    2 +-
 tests/stdlib.test                                  |    2 +-
 tests/stdlib2.test                                 |    2 +-
 tests/strictness-override.test                     |   20 +-
 tests/strictness-precedence.test                   |    6 +-
 tests/strip.test                                   |    2 +-
 tests/strip2.test                                  |    2 +-
 tests/strip3.test                                  |    2 +-
 tests/subcond.test                                 |    2 +-
 tests/subcond2.test                                |    2 +-
 tests/subcond3.test                                |    2 +-
 tests/subdir.test                                  |    2 +-
 tests/subdir10.test                                |    2 +-
 tests/subdir2.test                                 |    2 +-
 tests/subdir3.test                                 |    2 +-
 tests/subdir4.test                                 |    2 +-
 tests/subdir5.test                                 |   16 +-
 tests/subdir6.test                                 |    2 +-
 tests/subdir8.test                                 |    8 +-
 tests/subdir9.test                                 |    2 +-
 tests/subdirbuiltsources.test                      |    2 +-
 tests/subobj.test                                  |    2 +-
 tests/subobj10.test                                |    2 +-
 tests/subobj11a.test                               |    2 +-
 tests/subobj11c.test                               |    2 +-
 tests/subobj2.test                                 |    2 +-
 tests/subobj4.test                                 |    2 +-
 tests/subobj5.test                                 |    2 +-
 tests/subobj6.test                                 |    2 +-
 tests/subobj7.test                                 |    2 +-
 tests/subobj8.test                                 |    2 +-
 tests/subobj9.test                                 |    2 +-
 tests/subobjname.test                              |    2 +-
 tests/subpkg-yacc.test                             |    2 +-
 tests/subpkg.test                                  |    2 +-
 tests/subpkg2.test                                 |    2 +-
 tests/subpkg3.test                                 |    4 +-
 tests/subpkg4.test                                 |    4 +-
 tests/subst-no-trailing-empty-line.test            |    2 +-
 tests/subst.test                                   |    2 +-
 tests/subst3.test                                  |    2 +-
 tests/subst4.test                                  |    2 +-
 tests/subst5.test                                  |    2 +-
 tests/substre2.test                                |    2 +-
 tests/substref.test                                |    2 +-
 tests/substtarg.test                               |    2 +-
 tests/suffix-chain.tap                             |    2 +-
 tests/suffix.test                                  |    4 +-
 tests/suffix10.tap                                 |    2 +-
 tests/suffix11.tap                                 |    2 +-
 tests/suffix12.test                                |    2 +-
 tests/suffix13.test                                |    2 +-
 tests/suffix2.test                                 |    2 +-
 tests/suffix3.tap                                  |    2 +-
 tests/suffix5.test                                 |    2 +-
 tests/suffix6b.test                                |    2 +-
 tests/suffix6c.test                                |    2 +-
 tests/suffix8.tap                                  |    2 +-
 tests/suffix9.test                                 |    2 +-
 tests/symlink.test                                 |    6 +-
 tests/tags2.test                                   |    2 +-
 tests/tagsub.test                                  |    2 +-
 tests/tap-bad-prog.tap                             |    2 +-
 tests/tap-basic.test                               |    2 +-
 tests/tap-common-setup.test                        |    2 +-
 tests/tap-diagnostic-custom.test                   |    2 +-
 tests/tap-doc.test                                 |    2 +-
 tests/tap-more.test                                |    2 +-
 tests/tap-more2.test                               |    2 +-
 tests/tap-recheck.test                             |    2 +-
 tests/tap-signal.tap                               |    2 +-
 tests/tap-summary-aux.sh                           |    2 +-
 tests/tar-override.test                            |    2 +-
 tests/tar.test                                     |    2 +-
 tests/tar2.test                                    |    2 +-
 tests/tar3.test                                    |    6 +-
 tests/target-cflags.test                           |    2 +-
 tests/targetclash.test                             |    2 +-
 tests/test-driver-acsubst.test                     |    2 +-
 tests/test-driver-cond.test                        |    2 +-
 tests/test-driver-create-log-dir.test              |    2 +-
 tests/test-driver-custom-multitest-recheck.test    |    2 +-
 tests/test-driver-custom-multitest-recheck2.test   |    2 +-
 tests/test-driver-custom-multitest.test            |    2 +-
 tests/test-driver-custom-no-extra-driver.test      |    2 +-
 tests/test-driver-custom-xfail-tests.test          |    2 +-
 tests/test-driver-custom.test                      |    2 +-
 tests/test-driver-fail.test                        |    2 +-
 tests/test-driver-is-distributed.test              |    2 +-
 tests/test-driver-strip-vpath.test                 |    4 +-
 tests/test-extensions-cond.test                    |    2 +-
 tests/test-extensions.test                         |    2 +-
 tests/test-harness-vpath-rewrite.test              |    2 +-
 tests/test-log.test                                |    2 +-
 tests/test-logs-repeated.test                      |    2 +-
 tests/test-metadata-global-log.test                |    2 +-
 tests/test-metadata-global-result.test             |    2 +-
 tests/test-metadata-recheck.test                   |    2 +-
 tests/test-metadata-results.test                   |    2 +-
 tests/test-missing.test                            |    2 +-
 tests/test-missing2.test                           |    2 +-
 tests/test-trs-basic.test                          |    2 +-
 tests/test-trs-recover.test                        |    2 +-
 tests/test-trs-recover2.test                       |    2 +-
 tests/tests-environment-and-log-compiler.test      |    2 +-
 tests/tests-environment-backcompat.test            |    2 +-
 tests/tests-environment-fd-redirect.test           |    2 +-
 tests/tests-environment.test                       |    2 +-
 tests/testsuite-summary-checks.sh                  |    2 +-
 tests/testsuite-summary-count-many.test            |    2 +-
 tests/testsuite-summary-reference-log.test         |    6 +-
 tests/transform.test                               |    2 +-
 tests/transform2.test                              |    2 +-
 tests/txinfo.test                                  |    2 +-
 tests/txinfo13.test                                |    2 +-
 tests/txinfo16.test                                |    2 +-
 tests/txinfo18.test                                |    2 +-
 tests/txinfo19.test                                |    2 +-
 tests/txinfo2.test                                 |    2 +-
 tests/txinfo20.test                                |    2 +-
 tests/txinfo21.test                                |    2 +-
 tests/txinfo22.test                                |    2 +-
 tests/txinfo23.test                                |    2 +-
 tests/txinfo24.test                                |    2 +-
 tests/txinfo25.test                                |    2 +-
 tests/txinfo26.test                                |    2 +-
 tests/txinfo27.test                                |    2 +-
 tests/txinfo28.test                                |    2 +-
 tests/txinfo29.test                                |    6 +-
 tests/txinfo3.test                                 |    2 +-
 tests/txinfo30.test                                |    2 +-
 tests/txinfo32.test                                |    2 +-
 tests/txinfo33.test                                |    2 +-
 tests/txinfo5.test                                 |    2 +-
 tests/txinfo5b.test                                |    2 +-
 tests/txinfo8.test                                 |    2 +-
 tests/uninstall-fail.test                          |    2 +-
 tests/uninstall-pr9578.test                        |    2 +-
 tests/unused.test                                  |    2 +-
 tests/upc.test                                     |    2 +-
 tests/upc2.test                                    |    2 +-
 tests/upc3.test                                    |    2 +-
 tests/vala-mix.test                                |    2 +-
 tests/vala-vpath.test                              |    2 +-
 tests/vala.test                                    |    2 +-
 tests/vala1.test                                   |    2 +-
 tests/vala2.test                                   |    2 +-
 tests/vala3.test                                   |    2 +-
 tests/vala4.test                                   |   10 +-
 tests/vala5.test                                   |    2 +-
 tests/vars-assign.test                             |    2 +-
 tests/vartypo2.test                                |    2 +-
 tests/vartypos.test                                |    2 +-
 tests/version.test                                 |    2 +-
 tests/version2.test                                |    2 +-
 tests/version7.test                                |    4 +-
 tests/version8.test                                |    2 +-
 tests/vpath-rewrite.test                           |    6 +-
 tests/vtexi3.test                                  |    2 +-
 tests/vtexi4.test                                  |    2 +-
 tests/warning-groups-win-over-strictness.test      |    2 +-
 tests/warnings-override.test                       |   18 +-
 tests/warnings-precedence.test                     |    6 +-
 tests/warnings-strictness-interactions.test        |    4 +-
 tests/warnings-unknown.test                        |    4 +-
 tests/warnings-win-over-strictness.test            |   10 +-
 tests/warnopts.test                                |    8 +-
 tests/werror2.test                                 |    2 +-
 tests/werror3.test                                 |    2 +-
 tests/werror4.test                                 |    2 +-
 tests/whoami.test                                  |    2 +-
 tests/xsource.test                                 |    2 +-
 tests/yacc-auxdir.test                             |    2 +-
 tests/yacc-basic.test                              |    2 +-
 tests/yacc-bison-skeleton-cxx.test                 |    2 +-
 tests/yacc-bison-skeleton.test                     |    2 +-
 tests/yacc-clean-cxx.test                          |    2 +-
 tests/yacc-clean.test                              |    2 +-
 tests/yacc-cxx.test                                |    2 +-
 tests/yacc-d-basic.test                            |    2 +-
 tests/yacc-d-cxx.test                              |    2 +-
 tests/yacc-d-vpath.test                            |    2 +-
 tests/yacc-deleted-headers.test                    |    2 +-
 tests/yacc-depend.test                             |    2 +-
 tests/yacc-depend2.test                            |    2 +-
 tests/yacc-dist-nobuild-subdir.test                |    2 +-
 tests/yacc-dist-nobuild.test                       |    2 +-
 tests/yacc-line.test                               |    2 +-
 tests/yacc-mix-c-cxx.test                          |    2 +-
 tests/yacc-nodist.test                             |    2 +-
 tests/yacc-pr204.test                              |    2 +-
 tests/yacc-subobj-nodep.test                       |    2 +-
 tests/yacc-weirdnames.test                         |    2 +-
 tests/yacc.test                                    |    2 +-
 tests/yacc2.test                                   |    4 +-
 tests/yacc4.test                                   |    2 +-
 tests/yacc5.test                                   |    2 +-
 tests/yacc7.test                                   |    2 +-
 tests/yacc8.test                                   |    2 +-
 tests/yaccdry.test                                 |    2 +-
 tests/yaccpp.test                                  |    2 +-
 tests/yaccvpath.test                               |    2 +-
 tests/yflags-cmdline-override.test                 |    2 +-
 tests/yflags-conditional.test                      |    2 +-
 tests/yflags-d-false-positives.test                |    2 +-
 tests/yflags-force-conditional.test                |    2 +-
 tests/yflags-force-override.test                   |    2 +-
 tests/yflags-var-expand.test                       |    2 +-
 tests/yflags.test                                  |    2 +-
 tests/yflags2.test                                 |    2 +-
 974 files changed, 1551 insertions(+), 1363 deletions(-)
 create mode 100755 tests/parallel-tests-many.test

diff --git a/syntax-checks.mk b/syntax-checks.mk
index 0b730d4..d6ab291 100644
--- a/syntax-checks.mk
+++ b/syntax-checks.mk
@@ -79,6 +79,7 @@ sc_tests_plain_perl \
 sc_tests_required_after_defs \
 sc_tests_plain_sleep \
 sc_tests_plain_egrep_fgrep \
+sc_tests_no_configure_in \
 sc_tests_PATH_SEPARATOR \
 sc_tests_logs_duplicate_prefixes \
 sc_tests_makefile_variable_order \
@@ -552,6 +553,21 @@ sc_tests_plain_egrep_fgrep:
          exit 1; \
        fi
 
+## Prefer 'configure.ac' over the obsolescent 'configure.in' as the name
+## for configure input files in our testsuite.  The latter  has been
+## deprecated for several years (at least since autoconf 2.50).
+sc_tests_no_configure_in:
+       @if grep -E '\bconfigure\\*\.in\b' $(xtests) $(srcdir)/tests/defs \
+             | grep -Ev '/backcompat.*\.(test|tap):' \
+             | grep -Ev '/autodist-configure-no-subdir\.test:' \
+             | grep -Ev '/(configure|help)\.test:' \
+             | grep .; \
+       then \
+         echo "Use 'configure.ac', not 'configure.in', as the name" >&2; \
+         echo "for configure input files in the test cases above." >&2; \
+         exit 1; \
+       fi
+
 ## Rule to ensure that the testsuite has been run before.  We don't depend on 
`check'
 ## here, because that would be very wasteful in the common case.  We could run
 ## `make check RECHECK_LOGS=' and avoid toplevel races with 
AM_RECURSIVE_TARGETS.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index da7a68d..6ef271a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -42,6 +42,7 @@ interp3.test \
 override-conditional-2.test \
 java-nobase.test \
 objext-pr10128.test \
+parallel-tests-many.test \
 pr8365-remake-timing.test \
 remake-am-pr10111.test \
 remake-m4-pr10111.test \
diff --git a/tests/README b/tests/README
index 08d06cf..70d5873 100644
--- a/tests/README
+++ b/tests/README
@@ -198,12 +198,12 @@ Do
   or `option-w0.tap' are *not* valid name for hand-written tests.
 
   ./defs brings in some commonly required files, and sets a skeleton
-  configure.in.  If possible, append to this file.  In some cases
+  configure.ac.  If possible, append to this file.  In some cases
   you'll have to overwrite it, but this should be the exception.  Note
-  that configure.in registers Makefile.in but do not output anything by
+  that configure.ac registers Makefile.in but do not output anything by
   default.  If you need ./configure to create Makefile, append AC_OUTPUT
-  to configure.in.  In case you don't want ./defs to pre-populate your
-  test directory (which is a rare occurrence), set `$am_create_destdir'
+  to configure.ac.  In case you don't want ./defs to pre-populate your
+  test directory (which is a rare occurrence), set `$am_create_testdir'
   to "empty" before sourcing ./defs.
 
   By default, the testcases are run with the `errexit' shell flag on,
@@ -243,9 +243,9 @@ Do
   grepping `Makefile.in' (or do both).
 
   If you run $AUTOMAKE or $AUTOCONF several times in the same test
-  and change `configure.in' by the meantime, do
+  and change `configure.ac' by the meantime, do
     rm -rf autom4te.cache
-  before the following runs.  On fast machines the new `configure.in'
+  before the following runs.  On fast machines the new `configure.ac'
   could otherwise have the same timestamp as the old `autom4te.cache'.
   Alternatively, use `--force' for subsequent runs of the tools.
 
diff --git a/tests/ac-output-old.tap b/tests/ac-output-old.tap
index 7518dd1..2d000c5 100755
--- a/tests/ac-output-old.tap
+++ b/tests/ac-output-old.tap
@@ -22,7 +22,7 @@
 
 plan_ 22
 
-rm -f configure.in depcomp # Not required.
+rm -f configure.ac depcomp # Not required.
 
 # -----------------------------------------------------------------------
 
@@ -39,7 +39,7 @@ acoutbs_check ()
   dir=acoutbs$1
   mkdir $dir
   cd $dir
-  cat > configure.in
+  cat > configure.ac
   touch Makefile.am zot.in
   command_ok_ "aclocal groks '\\' in AC_OUTPUT ($dir)" $ACLOCAL
   command_ok_ "automake groks '\\' in AC_OUTPUT ($dir)" $AUTOMAKE
@@ -73,7 +73,7 @@ END
 # -----------------------------------------------------------------------
 
 # Test for bug reported by Jerome Santini.
-# If I put this line in my configure.in:
+# If I put this line in my configure.ac:
 #  AC_OUTPUT(Makefile src/Makefile tests/Makefile, echo timestamp > stamp-h)dnl
 # automake is not happy:
 #  [ ... ]
@@ -82,7 +82,7 @@ END
 mkdir acoutnoq
 cd acoutnoq
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
 AC_OUTPUT(Makefile, [true])
@@ -104,7 +104,7 @@ cd ..
 mkdir acoutpt
 cd acoutpt
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
 AC_OUTPUT([Makefile], [true])
@@ -128,7 +128,7 @@ cd acoutpt2
 # Name of the current "subtest".
 cur=acoutput2
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$cur], [1.0])
 AM_INIT_AUTOMAKE
 AC_OUTPUT([subdir/Makefile subdir/foo Makefile foo], [true])
@@ -160,7 +160,7 @@ cd ..
 mkdir acoutqnl
 cd acoutqnl
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
 AC_OUTPUT([Makefile],
diff --git a/tests/acloca10.test b/tests/acloca10.test
index 7e1570d..f00c2eb 100755
--- a/tests/acloca10.test
+++ b/tests/acloca10.test
@@ -26,7 +26,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 MACRO1
 MACRO2
diff --git a/tests/acloca11.test b/tests/acloca11.test
index 210da36..7a1cff6 100755
--- a/tests/acloca11.test
+++ b/tests/acloca11.test
@@ -20,7 +20,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 MACRO2
 MACRO1
diff --git a/tests/acloca12.test b/tests/acloca12.test
index 07a1b54..958238e 100755
--- a/tests/acloca12.test
+++ b/tests/acloca12.test
@@ -21,7 +21,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 MACRO1
 END
diff --git a/tests/acloca13.test b/tests/acloca13.test
index 940573d..e91a534 100755
--- a/tests/acloca13.test
+++ b/tests/acloca13.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 m4_include([somefile.m4])
 AC_OUTPUT
 END
diff --git a/tests/acloca14.test b/tests/acloca14.test
index 3b0b5de..db20def 100755
--- a/tests/acloca14.test
+++ b/tests/acloca14.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_LIBTOOL
 AC_OUTPUT
 END
@@ -97,7 +97,7 @@ test `ls -1t aclocal.m4 stamp | sed 1q` = aclocal.m4
 diff aclocal.m4 stamp
 
 # If FOO where to be used, that would be another story, of course.
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 FOO
 EOF
 
diff --git a/tests/acloca15.test b/tests/acloca15.test
index 988bb0c..690c06c 100755
--- a/tests/acloca15.test
+++ b/tests/acloca15.test
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Make sure aclocal scans configure.in for macro definitions.
+# Make sure aclocal scans configure.ac for macro definitions.
 # PR/319.
 
 am_create_testdir=empty
@@ -23,7 +23,7 @@ am_create_testdir=empty
 # Start macros with AM_ because that causes aclocal to complain if it
 # cannot find them.
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 m4_include([somedef.m4])
 AC_DEFUN([AM_SOME_MACRO])
diff --git a/tests/acloca16.test b/tests/acloca16.test
index 03955e8..ab894c7 100755
--- a/tests/acloca16.test
+++ b/tests/acloca16.test
@@ -20,7 +20,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_SUBST([POM])
 END
 
diff --git a/tests/acloca17.test b/tests/acloca17.test
index 49a47a3..e6098f0 100755
--- a/tests/acloca17.test
+++ b/tests/acloca17.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 SOME_DEFS
 END
@@ -36,6 +36,6 @@ EOF
 
 WARNINGS=error $ACLOCAL -I m4 2>stderr && { cat stderr >&2; Exit 1; }
 cat stderr >&2
-grep '^configure\.in:2:.*UNDEFINED_MACRO' stderr
+grep '^configure\.ac:2:.*UNDEFINED_MACRO' stderr
 
 :
diff --git a/tests/acloca18.test b/tests/acloca18.test
index 8155882..c0510e1 100755
--- a/tests/acloca18.test
+++ b/tests/acloca18.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_MACRO1
 AM_MACRO2
diff --git a/tests/acloca19.test b/tests/acloca19.test
index c00dc56..60e8afe 100755
--- a/tests/acloca19.test
+++ b/tests/acloca19.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >configure.in <<'END'
+cat >configure.ac <<'END'
 AC_INIT([acloca19], [1.0])
 m4_include([aconfig.ac])
 FOO
diff --git a/tests/acloca20.test b/tests/acloca20.test
index d2247e4..0305066 100755
--- a/tests/acloca20.test
+++ b/tests/acloca20.test
@@ -21,7 +21,7 @@ am_create_testdir=empty
 
 echo 'm4_define([FOO], [wrong foo])' > foo.m4
 echo 'm4_define([FOO], [right foo])' > acinclude.m4
-echo 'AC_INIT FOO' > configure.in
+echo 'AC_INIT FOO' > configure.ac
 
 chmod a-w foo.m4
 
diff --git a/tests/acloca21.test b/tests/acloca21.test
index c4ccc5d..d9b47af 100755
--- a/tests/acloca21.test
+++ b/tests/acloca21.test
@@ -22,7 +22,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 dnl m4_include(__some_really_bogus_nonexistent_file__.m4)
   # m4_include(__some_really_bogus_nonexistent_file__.m4)
 ##  m4_include(__some_really_bogus_nonexistent_file__.m4)
diff --git a/tests/acloca22.test b/tests/acloca22.test
index 62a1595..d51c7f1 100755
--- a/tests/acloca22.test
+++ b/tests/acloca22.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 FOO
 AC_OUTPUT
 EOF
@@ -43,8 +43,8 @@ $MAKE
 grep GREPFOO Makefile
 grep GREPBAR Makefile && Exit 1
 
-sed 's/FOO/BAR/' < configure.in > t
-mv -f t configure.in
+sed 's/FOO/BAR/' < configure.ac > t
+mv -f t configure.ac
 rm -f foo.m4
 $MAKE
 grep GREPFOO Makefile && Exit 1
diff --git a/tests/acloca23.test b/tests/acloca23.test
index 633509d..b5f66e4 100755
--- a/tests/acloca23.test
+++ b/tests/acloca23.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 FOO
 END
diff --git a/tests/aclocal-acdir.test b/tests/aclocal-acdir.test
index f36ce0e..f969dcd 100755
--- a/tests/aclocal-acdir.test
+++ b/tests/aclocal-acdir.test
@@ -22,7 +22,7 @@
 
 mkdir am sys
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 MY_MACRO
 END
 
diff --git a/tests/aclocal-install-absdir.test 
b/tests/aclocal-install-absdir.test
index a41e8e8..353304f 100755
--- a/tests/aclocal-install-absdir.test
+++ b/tests/aclocal-install-absdir.test
@@ -23,7 +23,7 @@
 
 mkdir loc sys
 
-echo 'AM_DUMMY_MACRO' >> configure.in
+echo 'AM_DUMMY_MACRO' >> configure.ac
 echo 'AC_DEFUN([AM_DUMMY_MACRO], [:])' >> sys/foo.m4
 
 cwd=`pwd` || fatal_ "cannot get current working directory"
diff --git a/tests/aclocal-path-install-serial.test 
b/tests/aclocal-path-install-serial.test
index 529f898..55d21e2 100755
--- a/tests/aclocal-path-install-serial.test
+++ b/tests/aclocal-path-install-serial.test
@@ -20,7 +20,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_FOO
 END
diff --git a/tests/aclocal-path-install.test b/tests/aclocal-path-install.test
index 34124e6..e1c719c 100755
--- a/tests/aclocal-path-install.test
+++ b/tests/aclocal-path-install.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_FOO
 END
@@ -46,7 +46,7 @@ test ! -f pdir/foo.m4
 
 # The `--install' option should cause a required macro found in a
 # directory specified in ACLOCAL_PATH to be installed locally.
-echo AM_BAR >> configure.in
+echo AM_BAR >> configure.ac
 $ACLOCAL --install -I ldir
 diff pdir/bar.m4 ldir/bar.m4
 
diff --git a/tests/aclocal-path-nonexistent.test 
b/tests/aclocal-path-nonexistent.test
index 6065bad..8c42ddc 100755
--- a/tests/aclocal-path-nonexistent.test
+++ b/tests/aclocal-path-nonexistent.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_FOO
 END
diff --git a/tests/aclocal-path-precedence.test 
b/tests/aclocal-path-precedence.test
index 178f7c3..26ff5f0 100755
--- a/tests/aclocal-path-precedence.test
+++ b/tests/aclocal-path-precedence.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([foo], [1.0])
 AM_INIT_AUTOMAKE([parallel-tests])
 FOO_MACRO
diff --git a/tests/aclocal-path.test b/tests/aclocal-path.test
index e22eea1..8754c19 100755
--- a/tests/aclocal-path.test
+++ b/tests/aclocal-path.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_FOO_MACRO
 AM_BAR_MACRO
diff --git a/tests/aclocal.test b/tests/aclocal.test
index 9d74262..4030b13 100755
--- a/tests/aclocal.test
+++ b/tests/aclocal.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-echo "AC_INIT([$me], [0]) AM_INIT_AUTOMAKE" > configure.in
+echo "AC_INIT([$me], [0]) AM_INIT_AUTOMAKE" > configure.ac
 
 $ACLOCAL --output=fred
 test -f fred
diff --git a/tests/aclocal3.test b/tests/aclocal3.test
index 73ee80b..b2d2ab9 100755
--- a/tests/aclocal3.test
+++ b/tests/aclocal3.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_INIT([$me], [1.0])
 GNOME_X_CHECKS
 END
diff --git a/tests/aclocal4.test b/tests/aclocal4.test
index e511973..1eb2adc 100755
--- a/tests/aclocal4.test
+++ b/tests/aclocal4.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_RANLIB
 AM_PROG_AR
 AC_PROG_CC
diff --git a/tests/aclocal5.test b/tests/aclocal5.test
index b823ba7..a6a669b 100755
--- a/tests/aclocal5.test
+++ b/tests/aclocal5.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_TEST([GREPME])
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
diff --git a/tests/aclocal6.test b/tests/aclocal6.test
index 710fbe3..8923851 100755
--- a/tests/aclocal6.test
+++ b/tests/aclocal6.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 SOME_DEFS
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
diff --git a/tests/aclocal7.test b/tests/aclocal7.test
index 9fa0944..91be0e6 100755
--- a/tests/aclocal7.test
+++ b/tests/aclocal7.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 SOME_DEFS
 AC_CONFIG_FILES([sub/Makefile])
 END
diff --git a/tests/aclocal8.test b/tests/aclocal8.test
index bb42d80..8df0835 100755
--- a/tests/aclocal8.test
+++ b/tests/aclocal8.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 SOME_DEFS
 END
diff --git a/tests/aclocal9.test b/tests/aclocal9.test
index ab5451b..c7ce751 100755
--- a/tests/aclocal9.test
+++ b/tests/aclocal9.test
@@ -19,7 +19,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 MACRO1
 MACRO2
diff --git a/tests/acsilent.test b/tests/acsilent.test
index dc33d34..0f9c1cb 100755
--- a/tests/acsilent.test
+++ b/tests/acsilent.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >configure.in <<EOF
+cat >configure.ac <<EOF
 AC_INIT
 AM_INIT_GUILE_MODULE
 EOF
diff --git a/tests/acsubst.test b/tests/acsubst.test
index 9396319..9390944 100755
--- a/tests/acsubst.test
+++ b/tests/acsubst.test
@@ -16,7 +16,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_SUBST([FOOBAR_LDFLAGS],[blablabla])
 END
diff --git a/tests/acsubst2.test b/tests/acsubst2.test
index 8485545..e8c8663 100755
--- a/tests/acsubst2.test
+++ b/tests/acsubst2.test
@@ -16,7 +16,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_SUBST([FOOBAR_CFLAGS],[blablabla])
diff --git a/tests/add-missing.tap b/tests/add-missing.tap
index bbb36f8..b33600a 100755
--- a/tests/add-missing.tap
+++ b/tests/add-missing.tap
@@ -54,7 +54,7 @@ AC_CONFIG_FILES([Makefile])
 END
 
 # Pre-compute aclocal.m4, in order to save several aclocal invocations.
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
 AC_PROG_CC
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
@@ -65,7 +65,7 @@ AM_PATH_PYTHON
 END
 $ACLOCAL || framework_failure_ "cannot pre-compute aclocal.m4"
 
-rm -rf configure.in autom4te*.cache
+rm -rf configure.ac autom4te*.cache
 mv aclocal.m4 aclocal.stub
 
 # For debugging.
@@ -103,9 +103,9 @@ check_ ()
   # might not execute the latter (the Autoconf manual gives more details).
   echo > Makefile.am
   if test $override = yes; then
-    echo > configure.in
+    echo > configure.ac
   else
-    cp "$ocwd"/configure.stub configure.in
+    cp "$ocwd"/configure.stub configure.ac
   fi
   test -z "$fetch_file" || cp "$ocwd/$fetch_file" .
   # Read description of "test scenario" from standard input.
@@ -114,7 +114,7 @@ check_ ()
     case $line in
       '== Name ==') what=NAME;;
       '== Makefile.am ==') what=Makefile.am;;
-      '== configure.in ==') what=configure.in;;
+      '== configure.ac ==') what=configure.ac;;
       '== Files ==') what=LIST;;
       '==*') framework_failure_ "invalid input line: $line";;
       ''|'#%'*) : Empty line or ad-hoc comment, ignore. ;;
@@ -143,8 +143,8 @@ check_ ()
   fi
   echo == Makefile.am ==
   cat Makefile.am
-  echo == configure.in ==
-  cat configure.in
+  echo == configure.ac ==
+  cat configure.ac
   echo Expected files: $files
   mkdir "$build_aux"
   cd ..
@@ -249,7 +249,7 @@ check_ <<'END'
 depcomp/C
 == Files ==
 depcomp
-== configure.in ==
+== configure.ac ==
 AC_PROG_CC
 == Makefile.am ==
 bin_PROGRAMS = foo
@@ -260,7 +260,7 @@ check_ <<'END'
 depcomp/C++
 == Files ==
 depcomp
-== configure.in ==
+== configure.ac ==
 AC_PROG_CXX
 == Makefile.am ==
 bin_PROGRAMS = foo
@@ -272,8 +272,8 @@ check_ --run-aclocal <<'END'
 compile
 == Files ==
 compile
-== configure.in ==
-# Using AM_PROG_CC_C_O in configure.in should be enough.  No need to
+== configure.ac ==
+# Using AM_PROG_CC_C_O in configure.ac should be enough.  No need to
 # use AC_PROG_CC too, nor to define xxx_PROGRAMS in Makefile.am.
 AM_PROG_CC_C_O
 END
@@ -287,7 +287,7 @@ cfg-$mach
 == Files ==
 config.sub
 config.guess
-== configure.in ==
+== configure.ac ==
 AC_CANONICAL_$MACH
 END
 done
@@ -297,7 +297,7 @@ check_ <<'END'
 ylwrap/Lex
 == Files ==
 ylwrap
-== configure.in ==
+== configure.ac ==
 AC_PROG_CC
 AC_PROG_LEX
 == Makefile.am ==
@@ -311,7 +311,7 @@ check_ <<'END'
 ylwrap/Yacc
 == Files ==
 ylwrap
-== configure.in ==
+== configure.ac ==
 AC_PROG_CC
 AC_PROG_YACC
 == Makefile.am ==
@@ -348,7 +348,7 @@ check_ <<'END'
 elisp-comp
 == Files ==
 elisp-comp
-== configure.in ==
+== configure.ac ==
 AM_PATH_LISPDIR
 == Makefile.am ==
 lisp_LISP = foo.el
@@ -359,7 +359,7 @@ check_ <<'END'
 py-compile
 == Files ==
 py-compile
-== configure.in ==
+== configure.ac ==
 AM_PATH_PYTHON
 == Makefile.am ==
 python_PYTHON = foo.py
@@ -375,7 +375,7 @@ depcomp
 ylwrap
 config.sub
 config.guess
-== configure.in ==
+== configure.ac ==
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 AC_PROG_CXX
diff --git a/tests/alloca.test b/tests/alloca.test
index 2e4e88e..c87904b 100755
--- a/tests/alloca.test
+++ b/tests/alloca.test
@@ -14,11 +14,11 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Make sure we complain if @ALLOCA@ is used without being set in configure.in
+# Make sure we complain if @ALLOCA@ is used without being set in configure.ac
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AM_PROG_AR
 AC_PROG_CC
 END
diff --git a/tests/alloca2.test b/tests/alloca2.test
index d4c0911..08fad97 100755
--- a/tests/alloca2.test
+++ b/tests/alloca2.test
@@ -14,11 +14,11 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Make sure we complain if @LTALLOCA@ is used without being set in configure.in
+# Make sure we complain if @LTALLOCA@ is used without being set in configure.ac
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 END
diff --git a/tests/alpha.test b/tests/alpha.test
index a92239b..90f2cc2 100755
--- a/tests/alpha.test
+++ b/tests/alpha.test
@@ -18,7 +18,7 @@
 # Jim Meyering.
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([alpha], [1.0a])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/alpha2.test b/tests/alpha2.test
index 104124c..6d5207f 100755
--- a/tests/alpha2.test
+++ b/tests/alpha2.test
@@ -15,11 +15,11 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Another check for README-alpha support.  This time it is requested
-# from configure.in.  Report from Akim Demaille.
+# from configure.ac.  Report from Akim Demaille.
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([alpha], [1.0b])
 AM_INIT_AUTOMAKE([readme-alpha])
 AC_CONFIG_FILES([Makefile sub/Makefile])
diff --git a/tests/am-tests-environment.test b/tests/am-tests-environment.test
index 0a2c9a6..3a6e755 100755
--- a/tests/am-tests-environment.test
+++ b/tests/am-tests-environment.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_MKDIR_P
 AC_OUTPUT
 END
diff --git a/tests/amassign.test b/tests/amassign.test
index f2245c9..1649dd0 100755
--- a/tests/amassign.test
+++ b/tests/amassign.test
@@ -14,12 +14,12 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Test to see if AM_ name can be assigned to in configure.in.
+# Test to see if AM_ name can be assigned to in configure.ac.
 # Report from Steve Robbins.
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CFLAGS=foo
 AC_SUBST(AM_BAR)
 AC_SUBST([AM_ZARDOZ])
diff --git a/tests/ammissing.test b/tests/ammissing.test
index d13f071..aa28126 100755
--- a/tests/ammissing.test
+++ b/tests/ammissing.test
@@ -18,8 +18,8 @@
 
 . ./defs || Exit 1
 
-echo AM_ZARDOZ >> configure.in
+echo AM_ZARDOZ >> configure.ac
 
 $ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
 cat stderr
-grep 'configure.in:.*AM_ZARDOZ.*not found' stderr
+grep 'configure.ac:.*AM_ZARDOZ.*not found' stderr
diff --git a/tests/amopt.test b/tests/amopt.test
index cd3baf1..7861184 100755
--- a/tests/amopt.test
+++ b/tests/amopt.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AM_CONDITIONAL([COND], [true])
 END
 
diff --git a/tests/amopts-location.test b/tests/amopts-location.test
index 27f9ae0..0219f18 100755
--- a/tests/amopts-location.test
+++ b/tests/amopts-location.test
@@ -54,7 +54,7 @@ AUTOMAKE_OPTIONS += tar-v7
 zardoz = 1
 END
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_CONFIG_FILES([Makefile2 Makefile3])
 END
 
diff --git a/tests/amopts-variable-expansion.test 
b/tests/amopts-variable-expansion.test
index c4de275..1427321 100755
--- a/tests/amopts-variable-expansion.test
+++ b/tests/amopts-variable-expansion.test
@@ -21,7 +21,7 @@
 # We want complete control over automake options.
 AUTOMAKE=$am_original_AUTOMAKE
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE([-Wall -Werror gnu])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/amsubst.test b/tests/amsubst.test
index b7d9a7e..b655ce4 100755
--- a/tests/amsubst.test
+++ b/tests/amsubst.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([backslash], "\\")
 _AM_SUBST_NOTMAKE([backslash])
 AC_OUTPUT
diff --git a/tests/ansi2knr-no-more.test b/tests/ansi2knr-no-more.test
index bca00ec..fb2e2a5 100755
--- a/tests/ansi2knr-no-more.test
+++ b/tests/ansi2knr-no-more.test
@@ -21,36 +21,36 @@
 
 warn_rx='automatic de-ANSI-fication.*removed'
 
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
 $ACLOCAL
 mv aclocal.m4 aclocal.sav
-cp configure.in configure.sav
+cp configure.ac configure.sav
 
-echo AM_C_PROTOTYPES >> configure.in
+echo AM_C_PROTOTYPES >> configure.ac
 
 $ACLOCAL -Wnone 2>stderr && { cat stderr >&2; Exit 1; }
 cat stderr >&2
-grep "^configure\\.in:5:.*$warn_rx" stderr
+grep "^configure\\.ac:5:.*$warn_rx" stderr
 
 cat aclocal.sav "$am_automake_acdir"/protos.m4 > aclocal.m4
 $AUTOCONF -Wnone 2>stderr && { cat stderr >&2; Exit 1; }
 cat stderr >&2
-grep "^configure\\.in:5:.*$warn_rx" stderr
+grep "^configure\\.ac:5:.*$warn_rx" stderr
 
 for opt in ansi2knr lib/ansi2knr; do
   # ansi2knr option in Makefile.am
-  cp configure.sav configure.in
+  cp configure.sav configure.ac
   echo "AUTOMAKE_OPTIONS = $opt" > Makefile.am
   rm -rf autom4te*.cache
   AUTOMAKE_fails -Wnone
   grep "^Makefile\.am:1:.*$warn_rx" stderr
-  # ansi2knr option in configure.in
+  # ansi2knr option in configure.ac
   echo > Makefile.am # `echo', not `:', for Solaris /bin/sh.
-  sed "s|^\\(AM_INIT_AUTOMAKE\\).*|\1([$opt])|" configure.sav >configure.in
-  cat configure.in # For debugging.
+  sed "s|^\\(AM_INIT_AUTOMAKE\\).*|\1([$opt])|" configure.sav >configure.ac
+  cat configure.ac # For debugging.
   rm -rf autom4te*.cache
   AUTOMAKE_fails -Wnone
-  grep "^configure\.in:2:.*$warn_rx" stderr
+  grep "^configure\\.ac:2:.*$warn_rx" stderr
 done
 
 :
diff --git a/tests/ar-lib2.test b/tests/ar-lib2.test
index 94ab4ac..7d7e9b5 100755
--- a/tests/ar-lib2.test
+++ b/tests/ar-lib2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 END
@@ -32,7 +32,7 @@ $ACLOCAL
 $AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; Exit 1; }
 cat stderr >&2
 # Make sure ar-lib is installed, and that Automake says so.
-grep '^configure\.in:.*install.*ar-lib' stderr
+grep '^configure\.ac:.*install.*ar-lib' stderr
 test -f ar-lib
 
 :
diff --git a/tests/ar-lib3.test b/tests/ar-lib3.test
index f725c7e..02696f6 100755
--- a/tests/ar-lib3.test
+++ b/tests/ar-lib3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 END
@@ -33,7 +33,7 @@ AUTOMAKE_fails
 
 grep 'requires.*AM_PROG_AR' stderr
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_AR
 END
 
diff --git a/tests/ar-lib4.test b/tests/ar-lib4.test
index 19ffd4c..d1be2eb 100755
--- a/tests/ar-lib4.test
+++ b/tests/ar-lib4.test
@@ -19,9 +19,9 @@
 required=libtoolize
 . ./defs || Exit 1
 
-cp configure.in X
+cp configure.ac X
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_PROG_LIBTOOL
@@ -39,9 +39,9 @@ AUTOMAKE_fails
 
 grep 'requires.*AM_PROG_AR' stderr
 
-cp X configure.in
+cp X configure.ac
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/ar-lib5a.test b/tests/ar-lib5a.test
index 4f9ffea..89dc6d6 100755
--- a/tests/ar-lib5a.test
+++ b/tests/ar-lib5a.test
@@ -21,7 +21,7 @@
 required=lib
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([auxdir])
 AM_INIT_AUTOMAKE
diff --git a/tests/ar-lib5b.test b/tests/ar-lib5b.test
index c9b3668..b99d195 100755
--- a/tests/ar-lib5b.test
+++ b/tests/ar-lib5b.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([auxdir])
 AM_INIT_AUTOMAKE
diff --git a/tests/ar-lib6a.test b/tests/ar-lib6a.test
index 328677b..66ae15b 100755
--- a/tests/ar-lib6a.test
+++ b/tests/ar-lib6a.test
@@ -20,7 +20,7 @@
 required=libtoolize
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
diff --git a/tests/ar-lib6b.test b/tests/ar-lib6b.test
index 79acf45..2be728f 100755
--- a/tests/ar-lib6b.test
+++ b/tests/ar-lib6b.test
@@ -20,7 +20,7 @@
 required=libtoolize
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_PROG_LIBTOOL
diff --git a/tests/ar-lib7.test b/tests/ar-lib7.test
index cc43546..34e6c6e 100755
--- a/tests/ar-lib7.test
+++ b/tests/ar-lib7.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_AR
 END
 
@@ -27,7 +27,7 @@ END
 $ACLOCAL
 AUTOMAKE_fails
 
-grep '^configure\.in:.*ar-lib.*not found' stderr
+grep '^configure\.ac:.*ar-lib.*not found' stderr
 
 $AUTOMAKE --add-missing
 
diff --git a/tests/ar.test b/tests/ar.test
index 9deba93..b8d9901 100755
--- a/tests/ar.test
+++ b/tests/ar.test
@@ -14,11 +14,11 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Make sure that AR, ARFLAGS, and RANLIB can be substituted from configure.in.
+# Make sure that AR, ARFLAGS, and RANLIB can be substituted from configure.ac.
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_AR
 AC_SUBST([AR], ['echo it works'])
 AC_SUBST([ARFLAGS], ['>'])
diff --git a/tests/ar2.test b/tests/ar2.test
index b788881..c71afea 100755
--- a/tests/ar2.test
+++ b/tests/ar2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_OUTPUT
diff --git a/tests/ar3.test b/tests/ar3.test
index 4e4f456..ba0b4b7 100755
--- a/tests/ar3.test
+++ b/tests/ar3.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/ar4.test b/tests/ar4.test
index 3081449..424a776 100755
--- a/tests/ar4.test
+++ b/tests/ar4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_AR
 END
 
diff --git a/tests/ar5.test b/tests/ar5.test
index 572b671..711fad6 100755
--- a/tests/ar5.test
+++ b/tests/ar5.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_AR([
   echo spy > bad-archiver-interface-detected
   AC_MSG_CHECKING([for something else])
diff --git a/tests/asm.test b/tests/asm.test
index fbd3379..f71f622 100755
--- a/tests/asm.test
+++ b/tests/asm.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-mv configure.in configure.stub
+mv configure.ac configure.stub
 
 cat > Makefile.am << 'END'
 noinst_PROGRAMS = maude
@@ -27,7 +27,7 @@ maude_SOURCES = maude.s
 END
 
 echo '*** Try 1 -- should fail because we need CC and CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AC_SUBST([CCASFLAGS])
 AC_OUTPUT
 END
@@ -38,15 +38,15 @@ grep '[Aa]ssembler source.*CCAS.* undefined' stderr
 grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
 
 # On fast machines the autom4te.cache created during the above run of
-# $AUTOMAKE is likely to have the same time stamp as the configure.in
-# created below; thus causing traces for the old configure.in to be
+# $AUTOMAKE is likely to have the same time stamp as the configure.ac
+# created below; thus causing traces for the old configure.ac to be
 # used.  We could do `$sleep', but it's faster to erase the
 # directory.  (Erase autom4te*.cache, not autom4te.cache, because some
 # bogus installations of Autoconf use a versioned cache.)
 rm -rf autom4te*.cache
 
 echo '*** Try 2 -- we still need CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AC_PROG_CC
 AC_SUBST([CCASFLAGS])
 AC_OUTPUT
@@ -60,7 +60,7 @@ grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
 rm -rf autom4te*.cache
 
 echo '*** Try 3 -- we need CCASFLAGS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 CCAS='$(CC)'
 AC_SUBST([CCAS])
 AC_PROG_CC
@@ -75,7 +75,7 @@ grep 'define .*CCASFLAGS.* add .*AM_PROG_AS' stderr
 rm -rf autom4te*.cache
 
 echo '*** Try 4 -- we have everything needed, expect success ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 CCAS='$(CC)'
 AC_SUBST([CCAS])
 AC_PROG_CC
@@ -89,7 +89,7 @@ $AUTOMAKE
 rm -rf autom4te*.cache
 
 echo '*** Try 5 -- we have everything needed, expect success ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AM_PROG_AS
 AC_OUTPUT
 END
diff --git a/tests/asm2.test b/tests/asm2.test
index c607b7d..8194f4f 100755
--- a/tests/asm2.test
+++ b/tests/asm2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-mv configure.in configure.stub
+mv configure.ac configure.stub
 
 cat > Makefile.am << 'END'
 noinst_PROGRAMS = maude
@@ -27,7 +27,7 @@ maude_SOURCES = maude.S
 END
 
 echo '*** Try 1 -- should fail because we need CC and CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AC_SUBST([CCASFLAGS])
 AC_OUTPUT
 END
@@ -38,15 +38,15 @@ grep '[Aa]ssembler source.*CCAS.* undefined' stderr
 grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
 
 # On fast machines the autom4te.cache created during the above run of
-# $AUTOMAKE is likely to have the same time stamp as the configure.in
-# created below; thus causing traces for the old configure.in to be
+# $AUTOMAKE is likely to have the same time stamp as the configure.ac
+# created below; thus causing traces for the old configure.ac to be
 # used.  We could do `$sleep', but it's faster to erase the
 # directory.  (Erase autom4te*.cache, not autom4te.cache, because some
 # bogus installations of Autoconf use a versioned cache.)
 rm -rf autom4te*.cache
 
 echo '*** Try 2 -- we still need CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AC_PROG_CC
 AC_SUBST([CCASFLAGS])
 AC_OUTPUT
@@ -60,7 +60,7 @@ grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
 rm -rf autom4te*.cache
 
 echo '*** Try 3 -- we need CCASFLAGS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 CCAS='$(CC)'
 AC_SUBST([CCAS])
 AC_PROG_CC
@@ -75,7 +75,7 @@ grep 'define .*CCASFLAGS.* add .*AM_PROG_AS' stderr
 rm -rf autom4te*.cache
 
 echo '*** Try 4 -- we need dependency tracking. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 CCAS='$(CC)'
 AC_SUBST([CCAS])
 AC_PROG_CC
@@ -90,7 +90,7 @@ grep ' add .*AM_PROG_AS' stderr
 rm -rf autom4te*.cache
 
 echo '*** Try 5 -- we have everything needed, expect success. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 CCAS='$(CC)'
 AC_SUBST([CCAS])
 AC_PROG_CC
@@ -105,7 +105,7 @@ $AUTOMAKE
 rm -rf autom4te*.cache
 
 echo '*** Try 6 -- we have everything needed, expect success. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AM_PROG_AS
 AC_OUTPUT
 END
diff --git a/tests/asm3.test b/tests/asm3.test
index e74a10c..2207f9b 100755
--- a/tests/asm3.test
+++ b/tests/asm3.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-mv configure.in configure.stub
+mv configure.ac configure.stub
 
 cat > Makefile.am << 'END'
 noinst_PROGRAMS = maude
@@ -27,7 +27,7 @@ maude_SOURCES = maude.sx
 END
 
 echo '*** Try 1 -- should fail because we need CC and CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AC_SUBST([CCASFLAGS])
 AC_OUTPUT
 END
@@ -38,15 +38,15 @@ grep '[Aa]ssembler source.*CCAS.* undefined' stderr
 grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
 
 # On fast machines the autom4te.cache created during the above run of
-# $AUTOMAKE is likely to have the same time stamp as the configure.in
-# created below; thus causing traces for the old configure.in to be
+# $AUTOMAKE is likely to have the same time stamp as the configure.ac
+# created below; thus causing traces for the old configure.ac to be
 # used.  We could do `$sleep', but it's faster to erase the
 # directory.  (Erase autom4te*.cache, not autom4te.cache, because some
 # bogus installations of Autoconf use a versioned cache.)
 rm -rf autom4te*.cache
 
 echo '*** Try 2 -- we still need CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AC_PROG_CC
 AC_SUBST([CCASFLAGS])
 AC_OUTPUT
@@ -60,7 +60,7 @@ grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
 rm -rf autom4te*.cache
 
 echo '*** Try 3 -- we need CCASFLAGS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 CCAS='$(CC)'
 AC_SUBST([CCAS])
 AC_PROG_CC
@@ -75,7 +75,7 @@ grep 'define .*CCASFLAGS.* add .*AM_PROG_AS' stderr
 rm -rf autom4te*.cache
 
 echo '*** Try 4 -- we need dependency tracking. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 CCAS='$(CC)'
 AC_SUBST([CCAS])
 AC_PROG_CC
@@ -90,7 +90,7 @@ grep ' add .*AM_PROG_AS' stderr
 rm -rf autom4te*.cache
 
 echo '*** Try 5 -- we have everything needed, expect success. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 CCAS='$(CC)'
 AC_SUBST([CCAS])
 AC_PROG_CC
@@ -105,7 +105,7 @@ $AUTOMAKE
 rm -rf autom4te*.cache
 
 echo '*** Try 6 -- we have everything needed, expect success. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
 AM_PROG_AS
 AC_OUTPUT
 END
diff --git a/tests/autodist-acconfig-no-subdir.test 
b/tests/autodist-acconfig-no-subdir.test
index d12120a..26aabe0 100755
--- a/tests/autodist-acconfig-no-subdir.test
+++ b/tests/autodist-acconfig-no-subdir.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/autodist-acconfig.test b/tests/autodist-acconfig.test
index f3c388e..3745ada 100755
--- a/tests/autodist-acconfig.test
+++ b/tests/autodist-acconfig.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/autodist-aclocal-m4.test b/tests/autodist-aclocal-m4.test
index 1db4e79..73d0a9a 100755
--- a/tests/autodist-aclocal-m4.test
+++ b/tests/autodist-aclocal-m4.test
@@ -24,10 +24,10 @@
 . ./defs || Exit 1
 
 { echo 'm4_include([defs.m4])'
-  cat configure.in
+  cat configure.ac
   echo 'AC_OUTPUT'
 } > t
-mv -f t configure.in
+mv -f t configure.ac
 
 cat > Makefile.am <<'END'
 .PHONY: test
diff --git a/tests/autodist-config-headers.test 
b/tests/autodist-config-headers.test
index 5a194f5..65888f8 100755
--- a/tests/autodist-config-headers.test
+++ b/tests/autodist-config-headers.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_CONFIG_HEADERS([config.h sub/config.h cfg2.h:conf2.hin])
 AC_OUTPUT
 END
diff --git a/tests/autodist-configure-no-subdir.test 
b/tests/autodist-configure-no-subdir.test
index 7435d2f..7913d90 100755
--- a/tests/autodist-configure-no-subdir.test
+++ b/tests/autodist-configure-no-subdir.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/autodist-stamp-vti.test b/tests/autodist-stamp-vti.test
index be4bf17..2345ad6 100755
--- a/tests/autodist-stamp-vti.test
+++ b/tests/autodist-stamp-vti.test
@@ -21,7 +21,7 @@
 required=makeinfo
 . ./defs || Exit 1
 
-cat >> configure.in << END
+cat >> configure.ac << END
 AC_OUTPUT
 END
 
diff --git a/tests/autodist-subdir.test b/tests/autodist-subdir.test
index a605654..cda2d50 100755
--- a/tests/autodist-subdir.test
+++ b/tests/autodist-subdir.test
@@ -26,7 +26,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/autodist.test b/tests/autodist.test
index 099af9d..2c6c322 100755
--- a/tests/autodist.test
+++ b/tests/autodist.test
@@ -22,7 +22,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([.])
 AM_INIT_AUTOMAKE
diff --git a/tests/autohdr.test b/tests/autohdr.test
index c5031cc..bef7027 100755
--- a/tests/autohdr.test
+++ b/tests/autohdr.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_CONFIG_HEADERS([thisfile.h])
 EOF
 
diff --git a/tests/autohdr2.test b/tests/autohdr2.test
index 1534a3e..6f5415e 100755
--- a/tests/autohdr2.test
+++ b/tests/autohdr2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AM_CONFIG_HEADER([thisfile.h])
 EOF
 
diff --git a/tests/autohdr3.test b/tests/autohdr3.test
index 8eb0d9f..ad55130 100755
--- a/tests/autohdr3.test
+++ b/tests/autohdr3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 m4_include([foo.m4])
 AC_CONFIG_HEADERS([config.h:config.hin])
 AC_OUTPUT
diff --git a/tests/autohdr4.test b/tests/autohdr4.test
index 7c002bd..9acbab1 100755
--- a/tests/autohdr4.test
+++ b/tests/autohdr4.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_PROG_CC
 AC_SUBST([BOT], [bot])
 AC_CONFIG_HEADERS([defs.h config.h:sub1/config.top:sub2/config.${BOT}],,
diff --git a/tests/autohdrdry.test b/tests/autohdrdry.test
index cf402a6..e7e849d 100755
--- a/tests/autohdrdry.test
+++ b/tests/autohdrdry.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_CONFIG_HEADERS([config.h])
 AC_OUTPUT
 EOF
diff --git a/tests/auxdir-autodetect.test b/tests/auxdir-autodetect.test
index 0ef12d7..6e701ff 100755
--- a/tests/auxdir-autodetect.test
+++ b/tests/auxdir-autodetect.test
@@ -23,7 +23,7 @@ nil=__no_such_program
 
 unset NONESUCH || :
 
-cat >>configure.in << END
+cat >>configure.ac << END
 AM_MISSING_PROG([NONESUCH],[$nil])
 AC_OUTPUT
 END
@@ -42,7 +42,7 @@ chmod +x d3/d2/d1/missing
 echo 'echo %%d0%% $*' > d3/d2/d1/d0/missing
 chmod +x d3/d2/d1/d0/missing
 
-mv configure.in d3/d2/d1/d0/
+mv configure.ac d3/d2/d1/d0/
 
 cd d3/d2/d1/d0
 
diff --git a/tests/auxdir-computed.tap b/tests/auxdir-computed.tap
index 4c73a69..487958d 100755
--- a/tests/auxdir-computed.tap
+++ b/tests/auxdir-computed.tap
@@ -21,7 +21,7 @@
 
 plan_ 3
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([\$foo])
 AM_INIT_AUTOMAKE
diff --git a/tests/auxdir-misplaced.test b/tests/auxdir-misplaced.test
index 962ab33..33f5db0 100755
--- a/tests/auxdir-misplaced.test
+++ b/tests/auxdir-misplaced.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_AUX_DIR([.]) dnl this will appear after AM_INIT_AUTOMAKE
 END
 
diff --git a/tests/auxdir-nonexistent.test b/tests/auxdir-nonexistent.test
index 3dd6477..5575b28 100755
--- a/tests/auxdir-nonexistent.test
+++ b/tests/auxdir-nonexistent.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([nonesuch])
 AM_INIT_AUTOMAKE
@@ -29,6 +29,6 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails
-grep '^configure\.in:2:.*nonesuch.* not exist' stderr
+grep '^configure\.ac:2:.*nonesuch.* not exist' stderr
 
 :
diff --git a/tests/auxdir-unportable.tap b/tests/auxdir-unportable.tap
index fb4feca..d04b38c 100755
--- a/tests/auxdir-unportable.tap
+++ b/tests/auxdir-unportable.tap
@@ -20,7 +20,7 @@
 
 plan_ 4
 
-cat >configure.in <<END
+cat >configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([aux])
 AM_INIT_AUTOMAKE
@@ -35,7 +35,7 @@ am_warn_unportable_auxdir ()
   AUTOMAKE_fails
   command_ok_ \
     "warn about $details unportable auxdir name" \
-    grep '^configure\.in:2:.*aux.*W32' stderr
+    grep '^configure\.ac:2:.*aux.*W32' stderr
 }
 
 $ACLOCAL || fatal_ "aclocal failed"
diff --git a/tests/auxdir.test b/tests/auxdir.test
index c09b9e4..c4860f4 100755
--- a/tests/auxdir.test
+++ b/tests/auxdir.test
@@ -19,7 +19,7 @@
 . ./defs || Exit 1
 
 # The "./." is here so we don't have to mess with subdirs.
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([./.])
 AM_INIT_AUTOMAKE
diff --git a/tests/auxdir6.test b/tests/auxdir6.test
index 04881da..08de241 100755
--- a/tests/auxdir6.test
+++ b/tests/auxdir6.test
@@ -22,7 +22,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([auxdir])
 AM_INIT_AUTOMAKE
diff --git a/tests/auxdir7.test b/tests/auxdir7.test
index 9a83432..82d3e65 100755
--- a/tests/auxdir7.test
+++ b/tests/auxdir7.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([.])
 AM_INIT_AUTOMAKE
diff --git a/tests/auxdir8.test b/tests/auxdir8.test
index dc2ee28..cbc9894 100755
--- a/tests/auxdir8.test
+++ b/tests/auxdir8.test
@@ -23,7 +23,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([subdir/Makefile])
 END
 
diff --git a/tests/backcompat2.test b/tests/backcompat2.test
index 26f4ffa..ee38e51 100755
--- a/tests/backcompat2.test
+++ b/tests/backcompat2.test
@@ -18,6 +18,7 @@
 # three arguments does AC_DEFINE the symbols PACKAGE and VERSION iff the
 # third argument is empty or non-existent.
 
+am_create_testdir=empty
 . ./defs || Exit 1
 
 # A trick to make the test run muuuch faster, by avoiding repeated
@@ -26,6 +27,8 @@ echo 'AC_INIT(x,0) AM_INIT_AUTOMAKE' > configure.in
 $ACLOCAL
 rm -rf configure.in autom4te.*
 
+touch install-sh missing
+
 cat > config.h.in <<'END'
 #undef PACKAGE
 #undef VERSION
diff --git a/tests/backcompat3.test b/tests/backcompat3.test
index 5571dd3..f90b8f0 100755
--- a/tests/backcompat3.test
+++ b/tests/backcompat3.test
@@ -17,6 +17,7 @@
 # Backward-compatibility test: check what happens when AC_INIT and
 # AM_INIT_AUTOMAKE are both given two or more arguments.
 
+am_create_testdir=empty
 . ./defs || Exit 1
 
 empty=''
@@ -50,7 +51,7 @@ cat configure.in
 
 $ACLOCAL
 $AUTOCONF
-$AUTOMAKE
+$AUTOMAKE -a
 
 ./configure
 
diff --git a/tests/backcompat4.test b/tests/backcompat4.test
index 44c3c94..9088aae 100755
--- a/tests/backcompat4.test
+++ b/tests/backcompat4.test
@@ -40,23 +40,23 @@ for args in \
   'foo:foo1.in:foo2.in:sub/bar.in:foo3.in' \
 ; do
   rm -rf autom4te*.cache aclocal.m4
-  unindent >configure.in <<END
+  unindent >configure.ac <<END
     AC_INIT([$me], [1.0])
     AM_INIT_AUTOMAKE
     AC_CONFIG_FILES([$args])
     AC_OUTPUT
 END
-  cat configure.in # For debugging.
+  cat configure.ac # For debugging.
   $ACLOCAL
   $AUTOMAKE Makefile
   mv -f Makefile.in Makefile.acf
   rm -rf autom4te*.cache aclocal.m4
-  unindent >configure.in <<END
+  unindent >configure.ac <<END
     AC_INIT([$me], [1.0])
     AM_INIT_AUTOMAKE
     AC_OUTPUT([$args])
 END
-  cat configure.in # For debugging.
+  cat configure.ac # For debugging.
   $ACLOCAL
   $AUTOMAKE Makefile
   mv -f Makefile.in Makefile.aco
diff --git a/tests/backcompat5.test b/tests/backcompat5.test
index d1b316c..262a6c7 100755
--- a/tests/backcompat5.test
+++ b/tests/backcompat5.test
@@ -20,15 +20,18 @@
 # See also the similar test `backcompat6.test'.
 
 am_parallel_tests=no
+am_create_testdir=empty
 . ./defs || Exit 1
 
+makefiles='hacky/Makefile src/Makefile data/Makefile tests/Makefile'
+
 # Yuck!
-cat > configure.in <<'END'
+cat > configure.in <<END
 dnl: Everything here is *deliberately* underquoted!
 AC_INIT(src/foo.input)
 AM_INIT_AUTOMAKE(foo, 1.0)
 AC_CONFIG_FILES(Makefile:mkfile.in)
-AC_OUTPUT(hacky/Makefile src/Makefile data/Makefile tests/Makefile)
+AC_OUTPUT($makefiles)
 END
 
 distdir=foo-1.0
@@ -91,7 +94,11 @@ END
 
 $ACLOCAL
 $AUTOCONF
+$AUTOMAKE -a
+test -f install-sh
+for f in $makefiles; do mv -f $f.in $f.sav; done
 $AUTOMAKE
+for f in $makefiles; do diff $f.sav $f.in; done
 
 ./configure
 ls -l . hacky src data tests # For debugging.
diff --git a/tests/backcompat6.test b/tests/backcompat6.test
index 60cbcaf..7d70b74 100755
--- a/tests/backcompat6.test
+++ b/tests/backcompat6.test
@@ -20,6 +20,7 @@
 # See also the similar test `backcompat5.test'.
 
 required=cc
+am_create_testdir=empty
 . ./defs || Exit 1
 
 # Anyone doing something like this in a real-life package probably
@@ -77,7 +78,7 @@ int main (void)
 END
 
 $ACLOCAL
-$AUTOMAKE
+$AUTOMAKE --add-missing
 $AUTOCONF
 
 ./configure
diff --git a/tests/backsl.test b/tests/backsl.test
index 9316915..48d70c7 100755
--- a/tests/backsl.test
+++ b/tests/backsl.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/backsl4.test b/tests/backsl4.test
index b51ffe3..c11d20d 100755
--- a/tests/backsl4.test
+++ b/tests/backsl4.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
 
 # Note: trailing whitespace used during the test should not appear as
 # trailing whitespace in this file, or it will get stripped by any
diff --git a/tests/badline.test b/tests/badline.test
index f9cb0e8..3f548f7 100755
--- a/tests/badline.test
+++ b/tests/badline.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_SUBST(TEXINFOS)
@@ -30,4 +30,4 @@ END
 
 $ACLOCAL || Exit 1
 AUTOMAKE_fails
-grep 'configure.in:3:.*info_TEXINFOS' stderr
+grep 'configure.ac:3:.*info_TEXINFOS' stderr
diff --git a/tests/badprog.test b/tests/badprog.test
index 907976b..81ff5b7 100755
--- a/tests/badprog.test
+++ b/tests/badprog.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/candist.test b/tests/candist.test
index 8f8c52e..88d8854 100755
--- a/tests/candist.test
+++ b/tests/candist.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
 
 cat > Makefile.am << 'END'
 dist_bin_PROGRAMS = foo
diff --git a/tests/canon-name.test b/tests/canon-name.test
index 9d46acd..bc65b89 100755
--- a/tests/canon-name.test
+++ b/tests/canon-name.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([./gmakefile ./sub/gmakefile])
diff --git a/tests/canon.test b/tests/canon.test
index f84a128..0c4ec7f 100755
--- a/tests/canon.test
+++ b/tests/canon.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/canon3.test b/tests/canon3.test
index 078e79d..25a8e71 100755
--- a/tests/canon3.test
+++ b/tests/canon3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/canon4.test b/tests/canon4.test
index 8a33000..8ff2404 100755
--- a/tests/canon4.test
+++ b/tests/canon4.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/canon5.test b/tests/canon5.test
index 12a335a..4b1b43d 100755
--- a/tests/canon5.test
+++ b/tests/canon5.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/canon6.test b/tests/canon6.test
index aef4c18..2306449 100755
--- a/tests/canon6.test
+++ b/tests/canon6.test
@@ -20,7 +20,7 @@
 required='libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/canon7.test b/tests/canon7.test
index 997caf3..d9d22c2 100755
--- a/tests/canon7.test
+++ b/tests/canon7.test
@@ -19,7 +19,7 @@
 required='cc libtool libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB  dnl: for static libraries
diff --git a/tests/canon8.test b/tests/canon8.test
index bdb35e0..5ec372e 100755
--- a/tests/canon8.test
+++ b/tests/canon8.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/ccnoco.test b/tests/ccnoco.test
index d956f50..910bb12 100755
--- a/tests/ccnoco.test
+++ b/tests/ccnoco.test
@@ -20,7 +20,7 @@
 required=gcc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 # Make sure that $CC can be used after AM_PROG_CC_C_O.
diff --git a/tests/ccnoco2.test b/tests/ccnoco2.test
index c7d6875..e6c9c64 100755
--- a/tests/ccnoco2.test
+++ b/tests/ccnoco2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_CC
 AC_OUTPUT
 EOF
diff --git a/tests/ccnoco3.test b/tests/ccnoco3.test
index d667a98..aea56cb 100755
--- a/tests/ccnoco3.test
+++ b/tests/ccnoco3.test
@@ -19,7 +19,7 @@
 required=gcc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 $CC --version; $CC -v; # For debugging.
diff --git a/tests/check-concurrency-bug9245.test 
b/tests/check-concurrency-bug9245.test
index 03eff03..406a7d9 100755
--- a/tests/check-concurrency-bug9245.test
+++ b/tests/check-concurrency-bug9245.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/check-exported-srcdir.test b/tests/check-exported-srcdir.test
index b074f53..b1e6b70 100755
--- a/tests/check-exported-srcdir.test
+++ b/tests/check-exported-srcdir.test
@@ -35,7 +35,7 @@ mv [!S]* SrcDir
 mkdir BuildDir
 cd SrcDir
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/check-fd-redirect.test b/tests/check-fd-redirect.test
index 6353301..5a64c22 100755
--- a/tests/check-fd-redirect.test
+++ b/tests/check-fd-redirect.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/check-subst-prog.test b/tests/check-subst-prog.test
index 8d8ff58..6fadc7f 100755
--- a/tests/check-subst-prog.test
+++ b/tests/check-subst-prog.test
@@ -20,7 +20,7 @@
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_SUBST([script_tests],
          ['subst-pass-script.test subst-xfail-script.test'])
diff --git a/tests/check-subst.test b/tests/check-subst.test
index 03aa07a..49702b6 100755
--- a/tests/check-subst.test
+++ b/tests/check-subst.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([script_tests], ['subst-pass-script.sh subst-xfail-script.sh'])
 AC_SUBST([xfail_tests], ['xfail-script.test subst-xfail-script.sh'])
 AC_OUTPUT
diff --git a/tests/check-tests-in-builddir.test 
b/tests/check-tests-in-builddir.test
index 93dd966..9f1fe4a 100755
--- a/tests/check-tests-in-builddir.test
+++ b/tests/check-tests-in-builddir.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/check10.test b/tests/check10.test
index 7b7a052..ace8e5a 100755
--- a/tests/check10.test
+++ b/tests/check10.test
@@ -20,7 +20,7 @@
 am_parallel_tests=no
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/check11.test b/tests/check11.test
index 5079245..79a040a 100755
--- a/tests/check11.test
+++ b/tests/check11.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/check12.test b/tests/check12.test
index c4440ea..5b9519d 100755
--- a/tests/check12.test
+++ b/tests/check12.test
@@ -20,7 +20,7 @@
 required=runtest
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/check2.test b/tests/check2.test
index 7dbb4c0..8a05c9c 100755
--- a/tests/check2.test
+++ b/tests/check2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([dir/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/check3.test b/tests/check3.test
index 83520ba..0c90af9 100755
--- a/tests/check3.test
+++ b/tests/check3.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([dir/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/check4.test b/tests/check4.test
index f4dc592..2984d8d 100755
--- a/tests/check4.test
+++ b/tests/check4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([dir/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/check5.test b/tests/check5.test
index 4b2c3b2..bc10ef5 100755
--- a/tests/check5.test
+++ b/tests/check5.test
@@ -19,7 +19,7 @@
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/check6.test b/tests/check6.test
index 4968f24..b6f6a67 100755
--- a/tests/check6.test
+++ b/tests/check6.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/check7.test b/tests/check7.test
index 51e6cd9..1003b55 100755
--- a/tests/check7.test
+++ b/tests/check7.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/check8.test b/tests/check8.test
index 061c53b..d6d764b 100755
--- a/tests/check8.test
+++ b/tests/check8.test
@@ -19,7 +19,7 @@
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/clean2.test b/tests/clean2.test
index a74d2c5..2599e97 100755
--- a/tests/clean2.test
+++ b/tests/clean2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_MAINTAINER_MODE
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
diff --git a/tests/colneq2.test b/tests/colneq2.test
index 515c2f5..b313441 100755
--- a/tests/colneq2.test
+++ b/tests/colneq2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/colon.test b/tests/colon.test
index 5c63bcd..f5cb4e0 100755
--- a/tests/colon.test
+++ b/tests/colon.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_FILES([foo.h:foo.hin])
 AC_OUTPUT
 END
diff --git a/tests/colon2.test b/tests/colon2.test
index 7823cbe..b1938dc 100755
--- a/tests/colon2.test
+++ b/tests/colon2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile:zardoz.in])
diff --git a/tests/colon3.test b/tests/colon3.test
index f8c1188..7b7f83e 100755
--- a/tests/colon3.test
+++ b/tests/colon3.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile:zardoz.in:two.in:three.in])
diff --git a/tests/colon4.test b/tests/colon4.test
index 9043616..6dad3ab 100755
--- a/tests/colon4.test
+++ b/tests/colon4.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_CONFIG_FILES([zardoz:one:two:three])
 AC_OUTPUT
 END
diff --git a/tests/colon5.test b/tests/colon5.test
index 7f51db1..5a0ef37 100755
--- a/tests/colon5.test
+++ b/tests/colon5.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.dep])
diff --git a/tests/colon6.test b/tests/colon6.test
index 295f912..9f14d2a 100755
--- a/tests/colon6.test
+++ b/tests/colon6.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 # With this, version.good should depend on version.gin, while
diff --git a/tests/colon7.test b/tests/colon7.test
index f7ba0d1..822ef9d 100755
--- a/tests/colon7.test
+++ b/tests/colon7.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([colon7], [1.0])
 AM_INIT_AUTOMAKE
 dnl: Please do not add proper m4 quoting here.
diff --git a/tests/color.test b/tests/color.test
index 40b6d7d..cb9724f 100755
--- a/tests/color.test
+++ b/tests/color.test
@@ -39,7 +39,7 @@ case `echo "$std" | grep .` in
   *) skip_ "grep can't parse nonprinting characters";;
 esac
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/color2.test b/tests/color2.test
index 6e9efbd..7df1824 100755
--- a/tests/color2.test
+++ b/tests/color2.test
@@ -69,7 +69,7 @@ rm -f expect-check Makefile
 
 # Do the tests.
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/comment2.test b/tests/comment2.test
index 199e028..a63075c 100755
--- a/tests/comment2.test
+++ b/tests/comment2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/comment4.test b/tests/comment4.test
index d294e0b..42e7bf9 100755
--- a/tests/comment4.test
+++ b/tests/comment4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AC_OUTPUT
 EOF
 
diff --git a/tests/comment5.test b/tests/comment5.test
index db9b75a..0c2a4d6 100755
--- a/tests/comment5.test
+++ b/tests/comment5.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AC_OUTPUT
 EOF
 
diff --git a/tests/comment6.test b/tests/comment6.test
index 0d263b5..9fd8d10 100755
--- a/tests/comment6.test
+++ b/tests/comment6.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AC_OUTPUT
 EOF
 
diff --git a/tests/comment7.test b/tests/comment7.test
index c080a00..5637fb7 100755
--- a/tests/comment7.test
+++ b/tests/comment7.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AM_CONDITIONAL([COND], [true])
 EOF
 
diff --git a/tests/comment8.test b/tests/comment8.test
index 1a2b71b..3ed31e7 100755
--- a/tests/comment8.test
+++ b/tests/comment8.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [true])
 AC_OUTPUT
diff --git a/tests/comments-in-var-def.test b/tests/comments-in-var-def.test
index c5d573f..5c01d76 100755
--- a/tests/comments-in-var-def.test
+++ b/tests/comments-in-var-def.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/compile4.test b/tests/compile4.test
index 9411e1e..d7ae650 100755
--- a/tests/compile4.test
+++ b/tests/compile4.test
@@ -45,7 +45,7 @@ absfoodir=`pwd`/sub
 absmainc=`pwd`/main.c
 absmainobj=`pwd`/main.obj
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AM_PROG_AR
diff --git a/tests/compile5.test b/tests/compile5.test
index ffaad17..fe74f5f 100755
--- a/tests/compile5.test
+++ b/tests/compile5.test
@@ -29,7 +29,7 @@ END
 
 chmod +x ./cl
 
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
 AC_CANONICAL_HOST
 AC_CONFIG_FILES([check_host], [chmod +x check_host])
 AC_OUTPUT
diff --git a/tests/compile_f90_c_cxx.test b/tests/compile_f90_c_cxx.test
index cce7fb4..806c59f 100755
--- a/tests/compile_f90_c_cxx.test
+++ b/tests/compile_f90_c_cxx.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_FC
diff --git a/tests/compile_f_c_cxx.test b/tests/compile_f_c_cxx.test
index 303780b..99893d8 100755
--- a/tests/compile_f_c_cxx.test
+++ b/tests/compile_f_c_cxx.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_F77
diff --git a/tests/cond-basic.test b/tests/cond-basic.test
index e2719a1..5d18b5c 100755
--- a/tests/cond-basic.test
+++ b/tests/cond-basic.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([TEST], [true])
 AC_OUTPUT
 END
diff --git a/tests/cond.test b/tests/cond.test
index a137d72..f7f0a8c 100755
--- a/tests/cond.test
+++ b/tests/cond.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([TEST], [true])
 AC_OUTPUT
 END
diff --git a/tests/cond10.test b/tests/cond10.test
index 77ab952..56a9083 100755
--- a/tests/cond10.test
+++ b/tests/cond10.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([USE_A], [test x = y])
 AM_CONDITIONAL([USE_B], [test x = z])
diff --git a/tests/cond11.test b/tests/cond11.test
index fa3a1b6..b53cb70 100755
--- a/tests/cond11.test
+++ b/tests/cond11.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([CC], [false])
 AM_CONDITIONAL([USE_A], [test -z "$two"])
 AC_SUBST([SUBSTVAR], [bar])
diff --git a/tests/cond13.test b/tests/cond13.test
index 8fd0487..1ab328d 100755
--- a/tests/cond13.test
+++ b/tests/cond13.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AM_PROG_AR
diff --git a/tests/cond14.test b/tests/cond14.test
index 0bb2e7b..f3725c3 100755
--- a/tests/cond14.test
+++ b/tests/cond14.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([COND1], [true])
 END
diff --git a/tests/cond15.test b/tests/cond15.test
index 5bcf700..68f70fd 100755
--- a/tests/cond15.test
+++ b/tests/cond15.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [true])
diff --git a/tests/cond16.test b/tests/cond16.test
index d258ceb..11a4f68 100755
--- a/tests/cond16.test
+++ b/tests/cond16.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND1], [true])
 AC_OUTPUT
 END
diff --git a/tests/cond17.test b/tests/cond17.test
index d466929..37a0793 100755
--- a/tests/cond17.test
+++ b/tests/cond17.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AM_CONDITIONAL([COND1], [true])
diff --git a/tests/cond18.test b/tests/cond18.test
index 7c2f1ce..32c0ab2 100755
--- a/tests/cond18.test
+++ b/tests/cond18.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [true])
 AC_OUTPUT
diff --git a/tests/cond19.test b/tests/cond19.test
index 973aa34..86f677e 100755
--- a/tests/cond19.test
+++ b/tests/cond19.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([CC], [false])
 AC_SUBST([OBJEXT], [o])
 AM_CONDITIONAL([COND1], [test "x$CONDITION1" = "xtrue"])
diff --git a/tests/cond2.test b/tests/cond2.test
index 0876400..1b5fcea 100755
--- a/tests/cond2.test
+++ b/tests/cond2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([TEST], [true])
 END
 
diff --git a/tests/cond20.test b/tests/cond20.test
index fa26248..40e41f1 100755
--- a/tests/cond20.test
+++ b/tests/cond20.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([COND1], [true])
 END
diff --git a/tests/cond21.test b/tests/cond21.test
index fa29111..7719c83 100755
--- a/tests/cond21.test
+++ b/tests/cond21.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [true])
 AM_CONDITIONAL([COND3], [true])
diff --git a/tests/cond22.test b/tests/cond22.test
index cb7cbec..7a58c24 100755
--- a/tests/cond22.test
+++ b/tests/cond22.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 CC=false; AC_SUBST([CC])
 OBJEXT=oo; AC_SUBST([OBJEXT])
 AM_CONDITIONAL([ONE], [true])
diff --git a/tests/cond23.test b/tests/cond23.test
index a66c801..d6c2bdf 100755
--- a/tests/cond23.test
+++ b/tests/cond23.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AM_CONDITIONAL([COND], [true])
 AC_OUTPUT
 EOF
diff --git a/tests/cond24.test b/tests/cond24.test
index fd57d41..b7038cc 100755
--- a/tests/cond24.test
+++ b/tests/cond24.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_SUBST([foo], [bar])
 AM_CONDITIONAL([COND], [true])
 EOF
@@ -34,6 +34,6 @@ EOF
 $ACLOCAL
 AUTOMAKE_fails
 grep '^Makefile\.am:3:.* foo was already defined' stderr
-grep '^configure\.in:4:.*foo.* previously defined here' stderr
+grep '^configure\.ac:4:.*foo.* previously defined here' stderr
 
 :
diff --git a/tests/cond25.test b/tests/cond25.test
index 5f53a01..c427033 100755
--- a/tests/cond25.test
+++ b/tests/cond25.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 AM_CONDITIONAL([USE_FOO], [true])
 AC_PROG_CC
 EOF
diff --git a/tests/cond26.test b/tests/cond26.test
index 90fbcff..f0aac96 100755
--- a/tests/cond26.test
+++ b/tests/cond26.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 AM_CONDITIONAL([USE_FOO], [true])
 EOF
 
diff --git a/tests/cond27.test b/tests/cond27.test
index 3c0c5c7..0a8263d 100755
--- a/tests/cond27.test
+++ b/tests/cond27.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 AM_CONDITIONAL([USE_FOO], [true])
 EOF
 
diff --git a/tests/cond28.test b/tests/cond28.test
index b123ff5..7a6bcff 100755
--- a/tests/cond28.test
+++ b/tests/cond28.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 AM_CONDITIONAL([USE_FOO], [true])
 EOF
 
diff --git a/tests/cond29.test b/tests/cond29.test
index 61d9af5..ee9bf9b 100755
--- a/tests/cond29.test
+++ b/tests/cond29.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >>configure.in
+echo AC_PROG_CC >>configure.ac
 
 cat >Makefile.am <<EOF
 bin_PROGRAMS = a
@@ -54,7 +54,7 @@ do
     a04_SOURCES = quux${i}.c
     endif C$i
 EOF
-  echo "AM_CONDITIONAL([C$i], [:])" >>configure.in
+  echo "AM_CONDITIONAL([C$i], [:])" >>configure.ac
 done
 
 $ACLOCAL
diff --git a/tests/cond3.test b/tests/cond3.test
index 64d1a2a..cf334a5 100755
--- a/tests/cond3.test
+++ b/tests/cond3.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([ONE], [true])
 AM_CONDITIONAL([TWO], [false])
diff --git a/tests/cond30.test b/tests/cond30.test
index ebec0c0..6c2b396 100755
--- a/tests/cond30.test
+++ b/tests/cond30.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_CONDITIONAL([C1], [test -z "$two"])
 AM_CONDITIONAL([C2], [test -n "$two"])
 AC_OUTPUT
diff --git a/tests/cond31.test b/tests/cond31.test
index 5c0c001..d6006cb 100755
--- a/tests/cond31.test
+++ b/tests/cond31.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_SUBST([CC], [false])
 AC_SUBST([OBJEXT], [o])
 AM_CONDITIONAL([C1], [test -z "$two"])
diff --git a/tests/cond32.test b/tests/cond32.test
index a728ceb..9845e8c 100755
--- a/tests/cond32.test
+++ b/tests/cond32.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_CONDITIONAL([C1], [test -z "$two"])
 AM_CONDITIONAL([C2], [test -n "$two"])
 AM_CONDITIONAL([C3], [test -z "$three"])
diff --git a/tests/cond33.test b/tests/cond33.test
index 1aeaea3..9655d3b 100755
--- a/tests/cond33.test
+++ b/tests/cond33.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_CONDITIONAL([INC], [test -z "$two"])
 AC_OUTPUT
 EOF
diff --git a/tests/cond34.test b/tests/cond34.test
index 8561ee2..8349406 100755
--- a/tests/cond34.test
+++ b/tests/cond34.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_CONDITIONAL([TWO], [test -n "$two"])
 AC_OUTPUT
 EOF
diff --git a/tests/cond35.test b/tests/cond35.test
index f8d5e86..97b4c8f 100755
--- a/tests/cond35.test
+++ b/tests/cond35.test
@@ -20,7 +20,7 @@
 required='cc lex yacc'
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_CONDITIONAL([CASE_A], [test -z "$case_B"])
 AC_PROG_CC
 AM_PROG_LEX
diff --git a/tests/cond36.test b/tests/cond36.test
index 7f54db9..82200cc 100755
--- a/tests/cond36.test
+++ b/tests/cond36.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_CONDITIONAL([CASE_A], [test -z "$case_B"])
 AC_PROG_CC
 AM_PROG_LEX
diff --git a/tests/cond37.test b/tests/cond37.test
index 1bfada0..6423d39 100755
--- a/tests/cond37.test
+++ b/tests/cond37.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_CONDITIONAL([CASE_A], [test -n "$case_A"])
 AC_OUTPUT
 EOF
diff --git a/tests/cond38.test b/tests/cond38.test
index 9f13a43..71ae69a 100755
--- a/tests/cond38.test
+++ b/tests/cond38.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_CONDITIONAL([CASE_A], :)
 AM_CONDITIONAL([CASE_B], :)
 AC_OUTPUT
diff --git a/tests/cond39.test b/tests/cond39.test
index 837a867..840b8b8 100755
--- a/tests/cond39.test
+++ b/tests/cond39.test
@@ -21,7 +21,7 @@ required=cc
 
 mkdir sub
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AM_CONDITIONAL([COND], [test "$COND" = true])
 AM_COND_IF([COND], [],
diff --git a/tests/cond4.test b/tests/cond4.test
index e60569e..9bd0cc6 100755
--- a/tests/cond4.test
+++ b/tests/cond4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([CC], [false])
 AC_SUBST([OBJEXT], [o])
 AM_CONDITIONAL([ONE], [test "x$CONDITION1" = "xtrue"])
diff --git a/tests/cond40.test b/tests/cond40.test
index f271dd6..7dadfc1 100755
--- a/tests/cond40.test
+++ b/tests/cond40.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_DEFUN([FOO],
         [AC_CONFIG_FILES([$1])])
 
diff --git a/tests/cond41.test b/tests/cond41.test
index 3a0cbc7..ee17a95 100755
--- a/tests/cond41.test
+++ b/tests/cond41.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_COND_IF([BAD_COND],
           [AC_CONFIG_FILES([file1])])
 AC_OUTPUT
@@ -26,6 +26,6 @@ END
 
 $ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
 cat stderr >&2
-grep '^configure\.in:4:.*AM_COND_IF.* no such condition.*BAD_COND' stderr
+grep '^configure\.ac:4:.*AM_COND_IF.* no such condition.*BAD_COND' stderr
 
 :
diff --git a/tests/cond42.test b/tests/cond42.test
index 75b8555..d4eee01 100755
--- a/tests/cond42.test
+++ b/tests/cond42.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_CONDITIONAL([COND], [:])
 # The next line is needed so that cond-if.m4 is pulled in.
 AM_COND_IF([COND])
@@ -30,8 +30,8 @@ END
 
 edit_configure_in ()
 {
-  sed "$@" < configure.in >configure.int
-  mv -f configure.int configure.in
+  sed "$@" < configure.ac >configure.int
+  mv -f configure.int configure.ac
   rm -rf autom4te*.cache
 }
 
@@ -39,21 +39,21 @@ edit_configure_in ()
 
 $ACLOCAL
 AUTOMAKE_fails
-grep '^configure\.in:8:.* condition stack' stderr
+grep '^configure\.ac:8:.* condition stack' stderr
 
 edit_configure_in 's/_AM_COND_IF/_AM_COND_ELSE/'
 AUTOMAKE_fails
-grep '^configure\.in:7:.* else without if' stderr
+grep '^configure\.ac:7:.* else without if' stderr
 
 edit_configure_in 's/_AM_COND_ELSE/_AM_COND_ENDIF/'
 AUTOMAKE_fails
-grep '^configure\.in:7:.* endif without if' stderr
+grep '^configure\.ac:7:.* endif without if' stderr
 
 edit_configure_in 's/\(_AM_COND_ENDIF\).*/_AM_COND_IF\
 _AM_COND_ENDIF/'
 AUTOMAKE_fails
-grep '^configure\.in:7:.* not enough arguments.* _AM_COND_IF' stderr
-grep '^configure\.in:8:.* not enough arguments.* _AM_COND_ENDIF' stderr
+grep '^configure\.ac:7:.* not enough arguments.* _AM_COND_IF' stderr
+grep '^configure\.ac:8:.* not enough arguments.* _AM_COND_ENDIF' stderr
 test 2 = `grep -c 'not enough arguments' stderr`
 
 :
diff --git a/tests/cond43.test b/tests/cond43.test
index 148ecd4..028168e 100755
--- a/tests/cond43.test
+++ b/tests/cond43.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_CONDITIONAL([COND1], [:])
 AM_CONDITIONAL([COND2], [:])
 AM_COND_IF([COND1],
@@ -31,13 +31,13 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails
-$EGREP '^configure\.in:7:.* missing m4 quoting.*macro depth 2( |$)' stderr
+$EGREP '^configure\.ac:7:.* missing m4 quoting.*macro depth 2( |$)' stderr
 
 sed '/.AM_COND_IF/{
         s/^/[/
         s/$/]/
-     }' < configure.in > configure.int
-mv -f configure.int configure.in
+     }' < configure.ac > configure.int
+mv -f configure.int configure.ac
 rm -rf autom4te*.cache
 $AUTOMAKE
 
diff --git a/tests/cond44.test b/tests/cond44.test
index 662572d..8cc2c2e 100755
--- a/tests/cond44.test
+++ b/tests/cond44.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AM_CONDITIONAL([COND], [true])
 AM_SUBST_NOTMAKE([libdir])
 AC_OUTPUT
diff --git a/tests/cond45.test b/tests/cond45.test
index 659c121..1296cd1 100755
--- a/tests/cond45.test
+++ b/tests/cond45.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_SUBST([foo], [bar])
 AM_SUBST_NOTMAKE([foo])
 AM_CONDITIONAL([COND], [true])
diff --git a/tests/cond46.test b/tests/cond46.test
index 7278428..8d6ef02 100755
--- a/tests/cond46.test
+++ b/tests/cond46.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([USE_A], [test x = y])
 AM_CONDITIONAL([USE_B], [test x = z])
 AC_OUTPUT
diff --git a/tests/cond5.test b/tests/cond5.test
index e187514..dd45678 100755
--- a/tests/cond5.test
+++ b/tests/cond5.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([ONE], [true])
 AM_CONDITIONAL([TWO], [false])
diff --git a/tests/cond6.test b/tests/cond6.test
index e631640..f6a499d 100755
--- a/tests/cond6.test
+++ b/tests/cond6.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo 'AM_CONDITIONAL([FOO], [true])' >> configure.in
+echo 'AM_CONDITIONAL([FOO], [true])' >> configure.ac
 
 cat > Makefile.am << 'END'
 if FOO
@@ -52,7 +52,7 @@ $AUTOMAKE
 
 rm -rf autom4te*.cache
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 touch aclocal.m4 # Avoid unnecessary firing the remake rules.
 $AUTOCONF
 $AUTOMAKE Makefile
diff --git a/tests/cond7.test b/tests/cond7.test
index 7864fc9..1651ac9 100755
--- a/tests/cond7.test
+++ b/tests/cond7.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 compat=yes
 AM_CONDITIONAL([Compatible], [test x$compat = xyes])
 AC_OUTPUT
diff --git a/tests/cond8.test b/tests/cond8.test
index a4e2b5d..f21aacb 100755
--- a/tests/cond8.test
+++ b/tests/cond8.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([X], [test "$x" = yes])
 AC_OUTPUT
diff --git a/tests/cond9.test b/tests/cond9.test
index 1c66792..b9addab 100755
--- a/tests/cond9.test
+++ b/tests/cond9.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([WRONG], [test x = y])
 AC_OUTPUT
 END
diff --git a/tests/condd.test b/tests/condd.test
index 8a9cc62..be32b7d 100755
--- a/tests/condd.test
+++ b/tests/condd.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 dnl Define a macro with the same name as the conditional to exhibit
 dnl any underquoted bug.
 AC_DEFUN([COND1], ["some'meaningless;characters`])
diff --git a/tests/condhook.test b/tests/condhook.test
index a0df1ca..3b0f89c 100755
--- a/tests/condhook.test
+++ b/tests/condhook.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([TEST], [false])
 AC_OUTPUT
 END
diff --git a/tests/condhook2.test b/tests/condhook2.test
index 40662c9..a853e37 100755
--- a/tests/condhook2.test
+++ b/tests/condhook2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([TEST], [true])
 AC_OUTPUT
 END
diff --git a/tests/condinc.test b/tests/condinc.test
index 6236bd8..b7011e7 100755
--- a/tests/condinc.test
+++ b/tests/condinc.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([TOBE], [false])
 END
 
diff --git a/tests/condinc2.test b/tests/condinc2.test
index 942f5ae..e88b0d2 100755
--- a/tests/condinc2.test
+++ b/tests/condinc2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([TOBE], [false])
 END
 
diff --git a/tests/condlib.test b/tests/condlib.test
index fd01199..fae04bf 100755
--- a/tests/condlib.test
+++ b/tests/condlib.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_RANLIB
 AM_MAINTAINER_MODE
 AM_PROG_AR
diff --git a/tests/condman3.test b/tests/condman3.test
index 5d79c47..9f2714f 100755
--- a/tests/condman3.test
+++ b/tests/condman3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND], [test x"$FOO" = x"true"])
 AC_OUTPUT
 END
diff --git a/tests/conff.test b/tests/conff.test
index ede7712..d969660 100755
--- a/tests/conff.test
+++ b/tests/conff.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([bar/Makefile:bar/Makefile.in:Makefile.bot])
 AC_OUTPUT
 END
diff --git a/tests/conff2.test b/tests/conff2.test
index f851f80..2c42f29 100755
--- a/tests/conff2.test
+++ b/tests/conff2.test
@@ -18,9 +18,9 @@
 
 . ./defs || Exit 1
 
-# We avoid using configure.in stub initialized by ./defs, since we need
+# We avoid using configure.ac stub initialized by ./defs, since we need
 # to keep track of line numbers (to grep for error messages).
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES ([oops])
@@ -30,7 +30,7 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails
-grep 'configure\.in:3:.* arguments .*AC_CONFIG_FILES' stderr
-grep 'configure\.in:4:.* arguments .*AC_CONFIG_HEADERS' stderr
+grep 'configure\.ac:3:.* arguments .*AC_CONFIG_FILES' stderr
+grep 'configure\.ac:4:.* arguments .*AC_CONFIG_HEADERS' stderr
 
 :
diff --git a/tests/conffile-leading-dot.test b/tests/conffile-leading-dot.test
index d9d299f..3c5ba97 100755
--- a/tests/conffile-leading-dot.test
+++ b/tests/conffile-leading-dot.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([./Makefile])
@@ -33,16 +33,16 @@ touch a.in b.in c.in Makefile.am
 $ACLOCAL
 
 AUTOMAKE_fails -Wnone -Wunsupported
-grep "^configure\.in:3:.*'\\./Makefile'" stderr
-grep "^configure\.in:3:.* omit leading '\\./'" stderr
-grep "^configure\.in:3:.*remake rules might be subtly broken" stderr
-grep "^configure\.in:4:.*'\\./foo'" stderr
-grep "^configure\.in:4:.* omit leading '\\./'" stderr
-grep "^configure\.in:4:.*remake rules might be subtly broken" stderr
+grep "^configure\.ac:3:.*'\\./Makefile'" stderr
+grep "^configure\.ac:3:.* omit leading '\\./'" stderr
+grep "^configure\.ac:3:.*remake rules might be subtly broken" stderr
+grep "^configure\.ac:4:.*'\\./foo'" stderr
+grep "^configure\.ac:4:.* omit leading '\\./'" stderr
+grep "^configure\.ac:4:.*remake rules might be subtly broken" stderr
 
 # Check that our warning was actually justified.
-sed 's/^AM_INIT_AUTOMAKE/&([-Wall -Wno-unsupported])/' <configure.in >t
-mv -f t configure.in
+sed 's/^AM_INIT_AUTOMAKE/&([-Wall -Wno-unsupported])/' <configure.ac >t
+mv -f t configure.ac
 rm -rf autom4te*.cache
 $ACLOCAL
 $AUTOCONF
diff --git a/tests/confh.test b/tests/confh.test
index 1568c2f..ee57438 100755
--- a/tests/confh.test
+++ b/tests/confh.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONFIG_HEADER([include/config.h])
 AC_OUTPUT
 END
diff --git a/tests/confh4.test b/tests/confh4.test
index 50ace63..ea6a9ff 100755
--- a/tests/confh4.test
+++ b/tests/confh4.test
@@ -24,7 +24,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([include/Makefile])
 AM_CONFIG_HEADER([include/config.h])
 AC_PROG_CC
diff --git a/tests/confh5.test b/tests/confh5.test
index a43e428..c35c3e8 100755
--- a/tests/confh5.test
+++ b/tests/confh5.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([FOO], [NameToBeGrepped])
 AC_CONFIG_FILES([include/config.h.in])
 AC_CONFIG_HEADERS([config.h])
diff --git a/tests/confh6.test b/tests/confh6.test
index 109d029..c5e7d7e 100755
--- a/tests/confh6.test
+++ b/tests/confh6.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONFIG_HEADER([subdir/config.h])
 AC_OUTPUT
 END
diff --git a/tests/confh7.test b/tests/confh7.test
index fcc79d8..665a774 100755
--- a/tests/confh7.test
+++ b/tests/confh7.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONFIG_HEADER([config.h two.h])
 END
 
@@ -33,7 +33,7 @@ $AUTOMAKE
 
 # Try again with more macros.
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/confh8.test b/tests/confh8.test
index 1398b16..d60dccb 100755
--- a/tests/confh8.test
+++ b/tests/confh8.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONFIG_HEADER([one.h two.h])
 AC_OUTPUT
 END
diff --git a/tests/confincl.test b/tests/confincl.test
index f86e40e..dfc7551 100755
--- a/tests/confincl.test
+++ b/tests/confincl.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/conflnk.test b/tests/conflnk.test
index 9d24c0e..75f9f2e 100755
--- a/tests/conflnk.test
+++ b/tests/conflnk.test
@@ -26,7 +26,7 @@ mkdir sdir
 : > sdir/src2
 mkdir sdir-no-make
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 AC_CONFIG_FILES([sdir/Makefile])
 AC_CONFIG_LINKS([dest:src])
 AC_CONFIG_LINKS([dest2:src])
diff --git a/tests/conflnk2.test b/tests/conflnk2.test
index 1d0e156..4a1478b 100755
--- a/tests/conflnk2.test
+++ b/tests/conflnk2.test
@@ -40,7 +40,7 @@ mkdir sdir
 mkdir sdir-no-make
 : > sdir-no-make/src4
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 AC_CONFIG_FILES([sdir/Makefile])
 AC_CONFIG_LINKS([dest:src])
 AC_CONFIG_LINKS([sdir/dest2:src2 sdir-no-make/dest3:sdir/src3])
diff --git a/tests/conflnk3.test b/tests/conflnk3.test
index e12898d..ffb0d98 100755
--- a/tests/conflnk3.test
+++ b/tests/conflnk3.test
@@ -39,7 +39,7 @@ mkdir sdir
 : > sdir/Makefile.am
 : > sdir/src3
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 AC_CONFIG_FILES([sdir/Makefile])
 my_src_dir=sdir
 my_dest=dest
diff --git a/tests/conflnk4.test b/tests/conflnk4.test
index 6675bc0..02f3e2a 100755
--- a/tests/conflnk4.test
+++ b/tests/conflnk4.test
@@ -36,7 +36,7 @@ test: distdir
        test -f $(distdir)/sdir/mk-subdir/src4
 EOF
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 AC_CONFIG_FILES([sdir/Makefile])
 AC_CONFIG_LINKS([src:src])
 AC_CONFIG_LINKS([sdir/src2:sdir/src2])
diff --git a/tests/confsub.test b/tests/confsub.test
index c11a087..1887046 100755
--- a/tests/confsub.test
+++ b/tests/confsub.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
 AM_CONFIG_HEADER(subdir/config.h:subdir/config.hin)
diff --git a/tests/confvar.test b/tests/confvar.test
index 2d773e8..e77563e 100755
--- a/tests/confvar.test
+++ b/tests/confvar.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([QBERT])
 END
 
diff --git a/tests/confvar2.test b/tests/confvar2.test
index 66d04dc..bc6ffca 100755
--- a/tests/confvar2.test
+++ b/tests/confvar2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([OTHER_SCRIPTS])
 END
 
diff --git a/tests/copy.test b/tests/copy.test
index 6da3617..e023231 100755
--- a/tests/copy.test
+++ b/tests/copy.test
@@ -46,12 +46,12 @@ test -f install-sh
 is_not_symlink install-sh
 
 # Let's do a couple of more elaborated tests, this time with the auxdir
-# explicitly defined in configure.in.
+# explicitly defined in configure.ac.
 
 mkdir sub
 cd sub
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([auxdir])
 AM_INIT_AUTOMAKE
diff --git a/tests/cscope.tap b/tests/cscope.tap
index 806912a..1e09331 100755
--- a/tests/cscope.tap
+++ b/tests/cscope.tap
@@ -22,7 +22,7 @@ plan_ 18
 
 ocwd=`pwd` || fatal_ "getting top-level directory"
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_SUBST([CC],  [who-cares])
 AC_SUBST([CXX], [who-cares])
diff --git a/tests/cscope2.test b/tests/cscope2.test
index bd5e1c4..e47989b 100755
--- a/tests/cscope2.test
+++ b/tests/cscope2.test
@@ -19,7 +19,7 @@
 required=
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 : >Makefile.am
diff --git a/tests/cscope3.test b/tests/cscope3.test
index bf2716c..cd3082d 100755
--- a/tests/cscope3.test
+++ b/tests/cscope3.test
@@ -21,7 +21,7 @@
 required=cscope
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/cxx.test b/tests/cxx.test
index eafe4f6..c69aac6 100755
--- a/tests/cxx.test
+++ b/tests/cxx.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 END
 
diff --git a/tests/cxx2.test b/tests/cxx2.test
index e40ef22..243e607 100755
--- a/tests/cxx2.test
+++ b/tests/cxx2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >>configure.in
+echo AC_PROG_CC >>configure.ac
 
 cat >Makefile.am <<'END'
 bin_PROGRAMS = hello
diff --git a/tests/cxxcpp.test b/tests/cxxcpp.test
index 69010f7..cc69163 100755
--- a/tests/cxxcpp.test
+++ b/tests/cxxcpp.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXXCPP
 END
 
diff --git a/tests/cxxlibobj.test b/tests/cxxlibobj.test
index ef39726..6f4ce2e 100755
--- a/tests/cxxlibobj.test
+++ b/tests/cxxlibobj.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_CC
 AC_REPLACE_FUNCS(strdup)
diff --git a/tests/cxxlink.test b/tests/cxxlink.test
index 4a196be..5ce3beb 100755
--- a/tests/cxxlink.test
+++ b/tests/cxxlink.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 END
diff --git a/tests/cxxnoc.test b/tests/cxxnoc.test
index 055b35f..66d0b0d 100755
--- a/tests/cxxnoc.test
+++ b/tests/cxxnoc.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 END
 
diff --git a/tests/cxxo.test b/tests/cxxo.test
index 56a9598..a754701 100755
--- a/tests/cxxo.test
+++ b/tests/cxxo.test
@@ -17,7 +17,7 @@
 # Make sure C++ files are rewritten to ".o" and not just "o".
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 END
 
diff --git a/tests/cygnus-check-without-all.test 
b/tests/cygnus-check-without-all.test
index 1efc0b5..f428e95 100755
--- a/tests/cygnus-check-without-all.test
+++ b/tests/cygnus-check-without-all.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AM_MAINTAINER_MODE
 AC_OUTPUT
 END
diff --git a/tests/cygnus-dependency-tracking.test 
b/tests/cygnus-dependency-tracking.test
index 5a567f0..f07c6fc 100755
--- a/tests/cygnus-dependency-tracking.test
+++ b/tests/cygnus-dependency-tracking.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AM_MAINTAINER_MODE
 AC_PROG_CC
 AC_OUTPUT
diff --git a/tests/cygnus-imply-foreign.test b/tests/cygnus-imply-foreign.test
index ea8a189..3dcf671 100755
--- a/tests/cygnus-imply-foreign.test
+++ b/tests/cygnus-imply-foreign.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 # This is *required* in cygnus mode
 AM_MAINTAINER_MODE
 END
@@ -48,13 +48,13 @@ echo 'AUTOMAKE_OPTIONS = gnu cygnus' >> Makefile.am
 $AUTOMAKE -Werror
 mv -f Makefile.sav Makefile.am
 
-# Try again, this time enabling cygnus mode from configure.in.
-cp configure.in configure.sav
-sed 's/^AM_INIT_AUTOMAKE$/&([gnits cygnus])/' configure.sav >configure.in
-cmp configure.in configure.sav && fatal_ 'failed to edit configure.in'
+# Try again, this time enabling cygnus mode from configure.ac.
+cp configure.ac configure.sav
+sed 's/^AM_INIT_AUTOMAKE$/&([gnits cygnus])/' configure.sav >configure.ac
+cmp configure.ac configure.sav && fatal_ 'failed to edit configure.ac'
 
 $ACLOCAL --force
 $AUTOMAKE -Werror
-mv -f configure.sav configure.in
+mv -f configure.sav configure.ac
 
 :
diff --git a/tests/cygnus-no-dist.test b/tests/cygnus-no-dist.test
index 9c4b781..eccf7fd 100755
--- a/tests/cygnus-no-dist.test
+++ b/tests/cygnus-no-dist.test
@@ -18,10 +18,10 @@
 
 . ./defs || Exit 1
 
-echo AM_MAINTAINER_MODE >> configure.in
-mv -f configure.in configure.stub
+echo AM_MAINTAINER_MODE >> configure.ac
+mv -f configure.ac configure.stub
 
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
 AC_OUTPUT
 END
 
@@ -57,7 +57,7 @@ cat > sub2/Makefile.am <<'END'
 AUTOMAKE_OPTIONS = cygnus -Wall
 END
 
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
 AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/cygnus-no-installinfo.test b/tests/cygnus-no-installinfo.test
index f05d015..9b0b199 100755
--- a/tests/cygnus-no-installinfo.test
+++ b/tests/cygnus-no-installinfo.test
@@ -19,7 +19,7 @@
 required=makeinfo
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AM_MAINTAINER_MODE
 AC_OUTPUT
 END
diff --git a/tests/cygnus-requires-maintainer-mode.test 
b/tests/cygnus-requires-maintainer-mode.test
index 43cc5f0..b01dfbc 100755
--- a/tests/cygnus-requires-maintainer-mode.test
+++ b/tests/cygnus-requires-maintainer-mode.test
@@ -22,9 +22,9 @@
 
 $ACLOCAL
 AUTOMAKE_fails --cygnus
-grep '^configure\.in:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
+grep '^configure\.ac:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_FILES([sub/Makefile])
 END
 
@@ -40,9 +40,9 @@ END
 rm -rf autom4te.cache
 $ACLOCAL
 AUTOMAKE_fails
-grep '^configure\.in:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
+grep '^configure\.ac:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AM_MAINTAINER_MODE
 END
 
diff --git a/tests/cygwin32.test b/tests/cygwin32.test
index b786544..9415fb6 100755
--- a/tests/cygwin32.test
+++ b/tests/cygwin32.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/defs b/tests/defs
index f289e08..501a2aa 100644
--- a/tests/defs
+++ b/tests/defs
@@ -730,16 +730,6 @@ do
         *) FC=$F77 FCFLAGS=$FFLAGS; export FC FCFLAGS;;
       esac
       ;;
-    icc)
-      CC=icc
-      export CC CPPFLAGS # But not CFLAGS (see comments for `cl' above).
-      # There is no way to ask *only* the compiler's version.
-      # This tool always wants to do something (by default
-      # it will try link *nothing* and complain it cannot find
-      # main(); funny).  Use -help so it does not try linking anything.
-      echo "$me: running $CC -V -help"
-      $CC -V -help || skip_all_ "Intel C compiler \`$CC' not available"
-      ;;
     javac)
       # The Java compiler from JDK 1.5 (and presumably earlier versions)
       # cannot handle the `-version' option by itself: it bails out
@@ -1002,9 +992,9 @@ else
        "$am_scriptdir"/depcomp . \
       || framework_failure_ "fetching common files from $am_scriptdir"
     # Build appropriate environment in test directory.  E.g., create
-    # configure.in, touch all necessary files, etc.  Don't use AC_OUTPUT,
+    # configure.ac, touch all necessary files, etc.  Don't use AC_OUTPUT,
     # but AC_CONFIG_FILES so that appending still produces a valid
-    # configure.in.  But then, tests running config.status really need
+    # configure.ac.  But then, tests running config.status really need
     # to append AC_OUTPUT.
     {
       echo "AC_INIT([$me], [1.0])"
@@ -1014,7 +1004,7 @@ else
         echo "AM_INIT_AUTOMAKE"
       fi
       echo "AC_CONFIG_FILES([Makefile])"
-    } >configure.in || framework_failure_ "creating configure.in skeleton"
+    } >configure.ac || framework_failure_ "creating configure.ac skeleton"
   fi
 fi
 
diff --git a/tests/defs-static.in b/tests/defs-static.in
index 6a815c0..c474d7a 100644
--- a/tests/defs-static.in
+++ b/tests/defs-static.in
@@ -179,16 +179,6 @@ ACLOCAL="$am_original_ACLOCAL -Werror"
 # should use $am_original_AUTOMAKE instead.
 AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror -Wall"
 
-# This is a hack to seamlessly support the infamous "autoconf wrappers",
-# that might dispatch different autoconf versions depending on the name
-# of the input files and/or the command-line options used.  See:
-# <http://lists.gnu.org/archive/html/automake/2011-12/msg00039.html>
-# FIXME: in the long run, the better fix will be to convert our testsuite
-# to use `configure.ac' instead of `configure.in' as autoconf input.
-AUTOCONF="$AUTOCONF -B /no/such/dir"
-AUTOM4TE="$AUTOM4TE -B /no/such/dir"
-AUTORECONF="$AUTORECONF -B /no/such/dir"
-
 # POSIX no longer requires 'egrep' and 'fgrep',
 # but some hosts lack 'grep -E' and 'grep -F'.
 EGREP=${AM_TESTSUITE_EGREP-'@EGREP@'}
diff --git a/tests/defun.test b/tests/defun.test
index 6891ede..9b66a56 100755
--- a/tests/defun.test
+++ b/tests/defun.test
@@ -24,7 +24,7 @@ AC_DEFUN([AM_FUNC_TWO], address@hidden@AM_FUNC_THREE])
 AC_DEFUN([AM_FUNC_ONE], [AC_REQUIRE([AM_FUNC_TWO])])
 END
 
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
 AM_FUNC_ONE
 END
 
diff --git a/tests/defun2.test b/tests/defun2.test
index 7bebc8e..0b3f96b 100755
--- a/tests/defun2.test
+++ b/tests/defun2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 dnl if buggy this will require getloadavg.c
 AC_PROG_CC
 AC_DEFUN([AC_FUNC_GETLOADAVG])
diff --git a/tests/dejagnu-absolute-builddir.test 
b/tests/dejagnu-absolute-builddir.test
index 856d9d0..8cdc3a1 100755
--- a/tests/dejagnu-absolute-builddir.test
+++ b/tests/dejagnu-absolute-builddir.test
@@ -20,7 +20,7 @@
 required=runtest
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu-relative-srcdir.test 
b/tests/dejagnu-relative-srcdir.test
index 71f5bd9..05ae200 100755
--- a/tests/dejagnu-relative-srcdir.test
+++ b/tests/dejagnu-relative-srcdir.test
@@ -20,7 +20,7 @@
 required=runtest
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu-siteexp-append.test 
b/tests/dejagnu-siteexp-append.test
index b37df57..c3bfff6 100755
--- a/tests/dejagnu-siteexp-append.test
+++ b/tests/dejagnu-siteexp-append.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu-siteexp-extend.test 
b/tests/dejagnu-siteexp-extend.test
index 5b1630a..f0f6194 100755
--- a/tests/dejagnu-siteexp-extend.test
+++ b/tests/dejagnu-siteexp-extend.test
@@ -32,7 +32,7 @@ write_check_for ()
 END
 }
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu-siteexp-useredit.test 
b/tests/dejagnu-siteexp-useredit.test
index d29b769..9be5eba 100755
--- a/tests/dejagnu-siteexp-useredit.test
+++ b/tests/dejagnu-siteexp-useredit.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu2.test b/tests/dejagnu2.test
index 2c3c8b8..0a0d091 100755
--- a/tests/dejagnu2.test
+++ b/tests/dejagnu2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu3.test b/tests/dejagnu3.test
index c8da733..7d15bc9 100755
--- a/tests/dejagnu3.test
+++ b/tests/dejagnu3.test
@@ -26,7 +26,7 @@ END
 
 chmod +x hammer
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu4.test b/tests/dejagnu4.test
index 361bb95..44904df 100755
--- a/tests/dejagnu4.test
+++ b/tests/dejagnu4.test
@@ -38,7 +38,7 @@ echo "I'm a right spanner!"
 END
 chmod +x spanner
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu5.test b/tests/dejagnu5.test
index 44447db..26eaa60 100755
--- a/tests/dejagnu5.test
+++ b/tests/dejagnu5.test
@@ -28,7 +28,7 @@ echo "Ah, we have been expecting you, Mr. Blond."
 END
 chmod +x $package
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu6.test b/tests/dejagnu6.test
index 24b3307..38255f6 100755
--- a/tests/dejagnu6.test
+++ b/tests/dejagnu6.test
@@ -25,7 +25,7 @@ echo whatever
 END
 chmod +x faildeja
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/dejagnu7.test b/tests/dejagnu7.test
index b42aaf4..a926955 100755
--- a/tests/dejagnu7.test
+++ b/tests/dejagnu7.test
@@ -29,7 +29,7 @@ echo whatever
 END
 chmod +x failtcl
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/deleted-am.test b/tests/deleted-am.test
index af37639..11fefb7 100755
--- a/tests/deleted-am.test
+++ b/tests/deleted-am.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 echo 'include $(top_srcdir)/foobar.am' > Makefile.am
 echo 'include zardoz.am' > foobar.am
diff --git a/tests/deleted-m4.test b/tests/deleted-m4.test
index 43f1017..69499b5 100755
--- a/tests/deleted-m4.test
+++ b/tests/deleted-m4.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 m4_include([foobar.m4])
 AC_OUTPUT
 END
diff --git a/tests/depacl2.test b/tests/depacl2.test
index 5c5ebf3..378a1a2 100755
--- a/tests/depacl2.test
+++ b/tests/depacl2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo 'AM_FOO' >> configure.in
+echo 'AM_FOO' >> configure.ac
 echo 'AC_DEFUN([AM_FOO], [AC_REQUIRE([AC_HEADER_STDC])])' > AM_FOO.m4
 
 $ACLOCAL -I .
diff --git a/tests/depcomp-recover.test b/tests/depcomp-recover.test
index 1529726..c8747cd 100755
--- a/tests/depcomp-recover.test
+++ b/tests/depcomp-recover.test
@@ -22,7 +22,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_CONFIG_FILES([sub/Makefile])
diff --git a/tests/depcomp-shuffle.sh b/tests/depcomp-shuffle.sh
index 23c0832..56eb7a3 100755
--- a/tests/depcomp-shuffle.sh
+++ b/tests/depcomp-shuffle.sh
@@ -68,11 +68,11 @@ else
   grep_prog_out () { ./prg && ./prg | grep "$1" || Exit 1; }
 fi
 
-echo AC_PROG_CC                         >> configure.in
-echo AM_PROG_AR                         >> configure.in
-echo AC_PROG_RANLIB                     >> configure.in
-test -z "$xdir" || echo AM_PROG_CC_C_O  >> configure.in
-echo AC_OUTPUT                          >> configure.in
+echo AC_PROG_CC                         >> configure.ac
+echo AM_PROG_AR                         >> configure.ac
+echo AC_PROG_RANLIB                     >> configure.ac
+test -z "$xdir" || echo AM_PROG_CC_C_O  >> configure.ac
+echo AC_OUTPUT                          >> configure.ac
 
 if test -n "$xdir"; then
   echo AUTOMAKE_OPTIONS = subdir-objects > Makefile.am
@@ -86,7 +86,7 @@ get-exeext:
        @echo \$(EXEEXT)
 END
 
-cat configure.in # For debugging.
+cat configure.ac # For debugging.
 cat Makefile.am  # Likewise.
 
 test -z "$xdir" || mkdir "$xdir"
diff --git a/tests/depcomp.sh b/tests/depcomp.sh
index d204058..66fe8da 100755
--- a/tests/depcomp.sh
+++ b/tests/depcomp.sh
@@ -127,7 +127,7 @@ check_distclean ()
   fi
 }
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
diff --git a/tests/depcomp.test b/tests/depcomp.test
index 3d03766..f2e0370 100755
--- a/tests/depcomp.test
+++ b/tests/depcomp.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([subdir/Makefile subdir2/Makefile])
diff --git a/tests/depcomp2.test b/tests/depcomp2.test
index 4980ed7..624dee6 100755
--- a/tests/depcomp2.test
+++ b/tests/depcomp2.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([subdir/Makefile])
 AC_PROG_CC
 AC_OUTPUT
diff --git a/tests/depcomp8a.test b/tests/depcomp8a.test
index 05f7f2a..7fb2602 100755
--- a/tests/depcomp8a.test
+++ b/tests/depcomp8a.test
@@ -22,7 +22,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 #x AM_PROG_CC_C_O
 AC_OUTPUT
@@ -61,8 +61,8 @@ DISTCHECK_CONFIGURE_FLAGS='--enable-dependency-tracking' 
$MAKE distcheck
 
 # Try again with subdir-objects option.
 
-sed 's/#x //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //' configure.ac >configure.int
+mv -f configure.int configure.ac
 echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
 
 $ACLOCAL
diff --git a/tests/depcomp8b.test b/tests/depcomp8b.test
index ab87cce..49b44ca 100755
--- a/tests/depcomp8b.test
+++ b/tests/depcomp8b.test
@@ -22,7 +22,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 #x AM_PROG_CC_C_O
 AM_PROG_AR
@@ -56,8 +56,8 @@ DISTCHECK_CONFIGURE_FLAGS='--enable-dependency-tracking' 
$MAKE distcheck
 
 # Try again with subdir-objects option.
 
-sed 's/#x //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //' configure.ac >configure.int
+mv -f configure.int configure.ac
 echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
 
 $ACLOCAL
diff --git a/tests/depdist.test b/tests/depdist.test
index d6bcc83..e81e097 100755
--- a/tests/depdist.test
+++ b/tests/depdist.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-rm -f configure.in
+rm -f configure.ac
 
 mkdir config
 for i in *; do
@@ -29,7 +29,7 @@ for i in *; do
    fi
 done
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([config])
 AM_INIT_AUTOMAKE
diff --git a/tests/depend.test b/tests/depend.test
index a2f8b6e..7d7d1a9 100755
--- a/tests/depend.test
+++ b/tests/depend.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
 
 cat > Makefile.am << 'END'
 bin_PROGRAMS = fred
diff --git a/tests/depend3.test b/tests/depend3.test
index 5303a7f..8f8431a 100755
--- a/tests/depend3.test
+++ b/tests/depend3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_SUBST(DEPS)
 END
diff --git a/tests/depend4.test b/tests/depend4.test
index 13da757..136ff32 100755
--- a/tests/depend4.test
+++ b/tests/depend4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
 
 $ACLOCAL
 
diff --git a/tests/deprecated-acinit.test b/tests/deprecated-acinit.test
index e94ab5d..d130f9c 100755
--- a/tests/deprecated-acinit.test
+++ b/tests/deprecated-acinit.test
@@ -31,21 +31,21 @@ errmsg='AC_INIT should be called with package and version 
argument'
 for ac_init in AC_INIT 'AC_INIT([Makefile.am])'; do
   for am_init_automake in AM_INIT_AUTOMAKE 'AM_INIT_AUTOMAKE([1.11])'; do
     rm -rf autom4te*.cache aclocal.m4
-    unindent > configure.in <<END
+    unindent > configure.ac <<END
         $ac_init
         $am_init_automake
         AC_CONFIG_FILES([Makefile])
 END
-    cat configure.in # For debugging.
+    cat configure.ac # For debugging.
     $ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
     cat stderr >&2
-    grep "^configure\\.in:.* $errmsg" stderr
+    grep "^configure\\.ac:.* $errmsg" stderr
     cp aclocal-m4.sav aclocal.m4
     $AUTOCONF 2>stderr && { cat stderr >&2; Exit 1; }
     cat stderr >&2
-    grep "^configure\\.in:.* $errmsg" stderr
+    grep "^configure\\.ac:.* $errmsg" stderr
     AUTOMAKE_fails
-    grep "^configure\\.in:.* $errmsg" stderr
+    grep "^configure\\.ac:.* $errmsg" stderr
   done
 done
 
diff --git a/tests/destdir.test b/tests/destdir.test
index a0cf558..38ad08b 100755
--- a/tests/destdir.test
+++ b/tests/destdir.test
@@ -23,7 +23,7 @@ required='ro-dir'
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AC_OUTPUT
 EOF
 
diff --git a/tests/dirlist-abspath.test b/tests/dirlist-abspath.test
index 4ae92e5..78af8b1 100755
--- a/tests/dirlist-abspath.test
+++ b/tests/dirlist-abspath.test
@@ -26,7 +26,7 @@ echo 'AC_DEFUN([AM_FOO], [foo-foo--foo])' > acdir-more/foo.m4
 
 cd sub
 
-cat > configure.in <<EOF
+cat > configure.ac <<EOF
 AC_INIT([$me], [1.0])
 AM_FOO
 EOF
diff --git a/tests/dirlist.test b/tests/dirlist.test
index 3f6a2d7..4cbebb4 100755
--- a/tests/dirlist.test
+++ b/tests/dirlist.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<EOF
+cat > configure.ac <<EOF
 AC_INIT
 AM_INIT_GUILE_MODULE
 EOF
diff --git a/tests/dirlist2.test b/tests/dirlist2.test
index e84cfa0..38db514 100755
--- a/tests/dirlist2.test
+++ b/tests/dirlist2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<EOF
+cat > configure.ac <<EOF
 AC_INIT
 AM_INIT_GUILE_MODULE
 AM_FOO_BAR
diff --git a/tests/discover.test b/tests/discover.test
index d74fcf7..7a01dc7 100755
--- a/tests/discover.test
+++ b/tests/discover.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_RANLIB
 AM_PROG_AR
 AC_PROG_CC
diff --git a/tests/dist-auxdir-many-subdirs.test 
b/tests/dist-auxdir-many-subdirs.test
index 478220b..c999351 100755
--- a/tests/dist-auxdir-many-subdirs.test
+++ b/tests/dist-auxdir-many-subdirs.test
@@ -39,7 +39,7 @@ do_check ()
   cd T$count.d
 
   distdir=$me-$count
-  unindent > configure.in << END
+  unindent > configure.ac << END
     AC_INIT([$me], [$count])
     AC_CONFIG_AUX_DIR([$auxdir])
     AM_INIT_AUTOMAKE([parallel-tests])
@@ -79,12 +79,12 @@ END
   for x in $suffixes; do
     mkdir sub$x
     echo "SUBDIRS += sub$x" >> Makefile.am
-    echo "AC_CONFIG_FILES([sub$x/Makefile])" >> configure.in
+    echo "AC_CONFIG_FILES([sub$x/Makefile])" >> configure.ac
     cp Makefile.stub sub$x/Makefile.am
     echo 'int main (void) { return 0; }' > sub$x/foo.c
     touch sub$x/bar.py sub$x/baz.el
   done
-  echo AC_OUTPUT >> configure.in
+  echo AC_OUTPUT >> configure.ac
 
   $ACLOCAL
   $AUTOCONF
diff --git a/tests/dist-auxfile-2.test b/tests/dist-auxfile-2.test
index 1b051ee..50dd5fe 100755
--- a/tests/dist-auxfile-2.test
+++ b/tests/dist-auxfile-2.test
@@ -22,7 +22,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([sub])
 AM_INIT_AUTOMAKE
diff --git a/tests/dist-auxfile.test b/tests/dist-auxfile.test
index 0b3bb6a..53a7416 100755
--- a/tests/dist-auxfile.test
+++ b/tests/dist-auxfile.test
@@ -31,7 +31,7 @@ for auxdir in build-aux ''; do
   mkdir T$i.d
   cd T$i.d
 
-  unindent > configure.in <<END
+  unindent > configure.ac <<END
     AC_INIT([$me], [1.0])
     AC_CONFIG_AUX_DIR([${auxdir:-.}])
     AM_INIT_AUTOMAKE
@@ -74,9 +74,9 @@ END
   $AUTOCONF
 
   AUTOMAKE_fails
-  grep "^configure\\.in:4:.* required file.*$auxdir_rx/foo\\.txt" stderr
-  grep "^configure\\.in:5:.* required file.*$auxdir_rx/bar\\.sh"  stderr
-  grep "^configure\\.in:6:.* required file.*$auxdir_rx/zardoz"    stderr
+  grep "^configure\\.ac:4:.* required file.*$auxdir_rx/foo\\.txt" stderr
+  grep "^configure\\.ac:5:.* required file.*$auxdir_rx/bar\\.sh"  stderr
+  grep "^configure\\.ac:6:.* required file.*$auxdir_rx/zardoz"    stderr
 
   touch $auxdir/foo.txt $auxdir/bar.sh $auxdir/zardoz
   cp "$am_scriptdir"/missing "$am_scriptdir"/install-sh $auxdir \
diff --git a/tests/dist-formats.tap b/tests/dist-formats.tap
index 612af54..821c8e0 100755
--- a/tests/dist-formats.tap
+++ b/tests/dist-formats.tap
@@ -126,14 +126,14 @@ start_subtest ()
   am_opts=`echo $am_opts | tr ',' ' '`
   mkdir "$name"
   cd "$name"
-  unindent > configure.in <<END
+  unindent > configure.ac <<END
     AC_INIT([$name], [1.0])
     AM_INIT_AUTOMAKE([$ac_opts])
     AC_CONFIG_FILES([Makefile])
     AC_OUTPUT
 END
   echo "AUTOMAKE_OPTIONS = $am_opts" > Makefile.am
-  # It is imperative that aclocal.m4 is copied after configure.in has
+  # It is imperative that aclocal.m4 is copied after configure.ac has
   # been created, to avoid a spurious trigger of the automatic remake
   # rules for configure & co.
   cp "$ocwd"/aclocal.m4 \
@@ -221,7 +221,7 @@ nogzip_automake_failure 'am' 'Makefile\.am:1'
 end_subtest
 
 start_subtest ac-nogz-only am_opts= ac_opts=no-dist-gzip
-nogzip_automake_failure 'ac' 'configure\.in:2'
+nogzip_automake_failure 'ac' 'configure\.ac:2'
 end_subtest
 
 # ------------------------------------------------- #
@@ -382,12 +382,12 @@ unset flip fmt
 
 echo '])' >> am-init.m4
 
-sed 's/AM_INIT_AUTOMAKE.*/m4_include([am-init.m4])/' configure.in > t
-mv -f t configure.in
+sed 's/AM_INIT_AUTOMAKE.*/m4_include([am-init.m4])/' configure.ac > t
+mv -f t configure.ac
 
 # For debugging.
 cat Makefil.am
-cat configure.in
+cat configure.ac
 cat am-init.m4
 
 command_ok_ "$desc [aclocal]" $ACLOCAL --force
diff --git a/tests/dist-included-parent-dir.test 
b/tests/dist-included-parent-dir.test
index 552cc38..88ca414 100755
--- a/tests/dist-included-parent-dir.test
+++ b/tests/dist-included-parent-dir.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/dist-missing-am.test b/tests/dist-missing-am.test
index 52a613b..aa42989 100755
--- a/tests/dist-missing-am.test
+++ b/tests/dist-missing-am.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 include $(srcdir)/foobar.am
diff --git a/tests/dist-missing-included-m4.test 
b/tests/dist-missing-included-m4.test
index 9e8cd7a..8c3c757 100755
--- a/tests/dist-missing-included-m4.test
+++ b/tests/dist-missing-included-m4.test
@@ -22,7 +22,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 m4_include([foobar.m4])
 m4_include([zardoz.m4])
 AC_OUTPUT
diff --git a/tests/dist-missing-m4.test b/tests/dist-missing-m4.test
index a6f248f..61ed200 100755
--- a/tests/dist-missing-m4.test
+++ b/tests/dist-missing-m4.test
@@ -22,7 +22,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 m4_pattern_forbid([^MY_])
 MY_FOOBAR || exit 1
 MY_ZARDOZ || exit 1
diff --git a/tests/dist-readonly.test b/tests/dist-readonly.test
index 934ea69..1aa32c8 100755
--- a/tests/dist-readonly.test
+++ b/tests/dist-readonly.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/dist-repeated.test b/tests/dist-repeated.test
index 00c071e..6651e72 100755
--- a/tests/dist-repeated.test
+++ b/tests/dist-repeated.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 bin_PROGRAMS = foo bar
diff --git a/tests/distcheck-configure-flags-am.test 
b/tests/distcheck-configure-flags-am.test
index 917c4de..7dbe2ab 100755
--- a/tests/distcheck-configure-flags-am.test
+++ b/tests/distcheck-configure-flags-am.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_ARG_ENABLE([success], [], [success=$enableval], [success=no])
 AS_IF([test $success = yes && test "$sentence" = 'it works :-)'],
       [:],
diff --git a/tests/distcheck-configure-flags-subpkg.test 
b/tests/distcheck-configure-flags-subpkg.test
index 94c7f8f..45d0e0c 100755
--- a/tests/distcheck-configure-flags-subpkg.test
+++ b/tests/distcheck-configure-flags-subpkg.test
@@ -22,7 +22,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_SUBDIRS([subpkg])
 if test $dc != ok || test $am_dc != ok; then
   AC_MSG_ERROR([dc=$dc am_dc=$dc])
@@ -32,12 +32,12 @@ END
 
 mkdir subpkg
 
-sed <configure.in >subpkg/configure.in \
+sed <configure.ac >subpkg/configure.ac \
     -e 's/^AC_INIT.*/AC_INIT([subpkg], [2.0])/' \
     -e '/^AC_CONFIG_SUBDIRS/d' \
 
-cat configure.in
-cat subpkg/configure.in
+cat configure.ac
+cat subpkg/configure.ac
 
 dc=KO am_dc=KO; export dc am_dc
 
diff --git a/tests/distcheck-configure-flags.test 
b/tests/distcheck-configure-flags.test
index c327fcd..aec3ec4 100755
--- a/tests/distcheck-configure-flags.test
+++ b/tests/distcheck-configure-flags.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_ARG_ENABLE([success], [], [success=$enableval], [success=no])
 AS_IF([test $success = yes && test "$sentence" = 'it works :-)'],
       [:],
diff --git a/tests/distcheck-hook.test b/tests/distcheck-hook.test
index 3466e0c..eee3f07 100755
--- a/tests/distcheck-hook.test
+++ b/tests/distcheck-hook.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/distcheck-hook2.test b/tests/distcheck-hook2.test
index b5527ae..3eccc4f 100755
--- a/tests/distcheck-hook2.test
+++ b/tests/distcheck-hook2.test
@@ -20,14 +20,14 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_SUBDIRS([subpkg])
 AC_OUTPUT
 END
 
 mkdir subpkg
 
-cat > subpkg/configure.in << 'END'
+cat > subpkg/configure.ac << 'END'
 AC_INIT([subpkg], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/distcheck-missing-m4.test b/tests/distcheck-missing-m4.test
index b630535..8cdb6da 100755
--- a/tests/distcheck-missing-m4.test
+++ b/tests/distcheck-missing-m4.test
@@ -31,7 +31,7 @@ ACLOCAL_AMFLAGS = -I m4
 include $(srcdir)/distcheck-hook-m4.am
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 dnl We *deliberately* don't use m4_pattern_forbid here.
 AC_OUTPUT
 MY_FOO
@@ -91,7 +91,7 @@ $MAKE distcheck
 # We start to use new "third-party" macros from new .m4 files, but forget
 # to re-run "aclocal --install" by hand, relying on automatic remake rules.
 # Our distcheck-hook should catch this too.
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 MY_QUX
 MY_BLA
 END
diff --git a/tests/distcheck-outdated-m4.test b/tests/distcheck-outdated-m4.test
index 6d06f2c..5d23721 100755
--- a/tests/distcheck-outdated-m4.test
+++ b/tests/distcheck-outdated-m4.test
@@ -31,7 +31,7 @@ ACLOCAL_AMFLAGS = -I m4
 include $(srcdir)/distcheck-hook-m4.am
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 MY_FOO
 MY_BAR
@@ -70,7 +70,7 @@ check_no_spurious_error ()
 # of a pre-existing third-party m4 file, but forget to re-run
 # "aclocal --install" by hand, relying on automatic remake
 # rules.  Our distcheck-hook should catch this too.
-echo MY_ZARDOZ >> configure.in
+echo MY_ZARDOZ >> configure.ac
 
 cat > acdir/baz.m4 << 'END'
 # serial 2
@@ -96,7 +96,7 @@ $MAKE distcheck
 #  - use ACLOCAL_PATH, and
 #  - do not add the use of a new macro.
 
-echo MY_FNORD >> configure.in
+echo MY_FNORD >> configure.ac
 
 mkdir pth
 cat > pth/fnord.m4 << 'END'
diff --git a/tests/distcheck-override-infodir.test 
b/tests/distcheck-override-infodir.test
index f9e4ee4..a9f3f91 100755
--- a/tests/distcheck-override-infodir.test
+++ b/tests/distcheck-override-infodir.test
@@ -20,7 +20,7 @@
 required='makeinfo tex texi2dvi install-info'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/distcheck-pr10470.test b/tests/distcheck-pr10470.test
index 5e90d0a..1b6a322 100755
--- a/tests/distcheck-pr10470.test
+++ b/tests/distcheck-pr10470.test
@@ -30,7 +30,7 @@ sh -c "cd foo.d && sleep '4'" &
 sleep '1'
 rm -rf foo.d && skip_ 'system is able to remove "in use" directories'
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<END
 TESTS = foo.test
diff --git a/tests/distcheck-pr9579.test b/tests/distcheck-pr9579.test
index 5fb3447..d2d3c69 100755
--- a/tests/distcheck-pr9579.test
+++ b/tests/distcheck-pr9579.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/distcleancheck.test b/tests/distcleancheck.test
index 38a06c4..cc4f495 100755
--- a/tests/distcleancheck.test
+++ b/tests/distcleancheck.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/distcom-subdir.test b/tests/distcom-subdir.test
index 8362323..dcad10d 100755
--- a/tests/distcom-subdir.test
+++ b/tests/distcom-subdir.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([subdir/Makefile])
 AC_PROG_CC
 AC_OUTPUT
diff --git a/tests/distcom2.test b/tests/distcom2.test
index 0eba22c..0f8cba0 100755
--- a/tests/distcom2.test
+++ b/tests/distcom2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_CONFIG_FILES([subdir/Makefile])
@@ -74,7 +74,7 @@ for opt in '' --no-force; do
 
   $FGREP ' $(top_srcdir)/depcomp ' subdir/dc.txt
   # The `compile' script will be listed in the DIST_COMMON of the top-level
-  # Makefile because it's required in configure.in (by AM_PROG_CC_C_O).
+  # Makefile because it's required in configure.ac (by AM_PROG_CC_C_O).
   $FGREP ' $(top_srcdir)/compile ' dc.txt || $FGREP ' compile ' dc.txt
 
 done
diff --git a/tests/distcom4.test b/tests/distcom4.test
index 1589bec..dc37fcf 100755
--- a/tests/distcom4.test
+++ b/tests/distcom4.test
@@ -22,7 +22,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
    AC_CONFIG_FILES([tests/autoconf:tests/wrapper.in],
                    [chmod +x tests/autoconf])
    AC_CONFIG_FILES([tests/autoheader:tests/wrapper.in],
diff --git a/tests/distcom5.test b/tests/distcom5.test
index d9b43da..adfbe52 100755
--- a/tests/distcom5.test
+++ b/tests/distcom5.test
@@ -36,7 +36,7 @@ extract_distcommon ()
     }' -e '/^DIST_COMMON =/ p' ${1+"$@"}
 }
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
    AC_CONFIG_FILES([tests/autoconf:tests/wrapper.in],
                    [chmod +x tests/autoconf])
    AC_CONFIG_FILES([tests/autoheader:tests/wrapper.in],
diff --git a/tests/distdir.test b/tests/distdir.test
index ef455b7..99e9e9e 100755
--- a/tests/distdir.test
+++ b/tests/distdir.test
@@ -23,7 +23,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/distlinks.test b/tests/distlinks.test
index ffe70e5..08244c0 100755
--- a/tests/distlinks.test
+++ b/tests/distlinks.test
@@ -38,7 +38,7 @@ ln -s bar2 bar3
 
 ln -s "`pwd`/foo" quux
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/distlinksbrk.test b/tests/distlinksbrk.test
index 7d1926b..af1ea0d 100755
--- a/tests/distlinksbrk.test
+++ b/tests/distlinksbrk.test
@@ -44,7 +44,7 @@ test -h $lnk2
 test -h $lnka
 test -h $lnkb
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/distname.test b/tests/distname.test
index 1c1029e..0ef3cdb 100755
--- a/tests/distname.test
+++ b/tests/distname.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_SRCDIR([a.c])
 AC_PROG_CC
 AC_OUTPUT
diff --git a/tests/dmalloc.test b/tests/dmalloc.test
index 6fd0836..286bcf7 100755
--- a/tests/dmalloc.test
+++ b/tests/dmalloc.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_HEADERS([config.h])
 AM_WITH_DMALLOC
 AC_SUBST([LDFLAGS])
diff --git a/tests/doc-parsing-buglets-tabs.test 
b/tests/doc-parsing-buglets-tabs.test
index 057017d..22c981c 100755
--- a/tests/doc-parsing-buglets-tabs.test
+++ b/tests/doc-parsing-buglets-tabs.test
@@ -42,7 +42,7 @@ just_to_separate: dummy deps
 ${tab}bin_PROGRAMS = foo
 END
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 $ACLOCAL
 $AUTOMAKE
diff --git a/tests/dollar.test b/tests/dollar.test
index 5d00180..baa89f5 100755
--- a/tests/dollar.test
+++ b/tests/dollar.test
@@ -22,7 +22,7 @@
 # `$$' in a target or a dependency (it outputs the empty string instead).
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'EOF'
 mydir = $(prefix)/my
diff --git a/tests/double.test b/tests/double.test
index 1b9962a..7f353b7 100755
--- a/tests/double.test
+++ b/tests/double.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
 
 cat > Makefile.am << 'END'
 bin_PROGRAMS = spice nutmeg help sconvert multidec nutmeg
diff --git a/tests/dup2.test b/tests/dup2.test
index b50ce51..d405828 100755
--- a/tests/dup2.test
+++ b/tests/dup2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_FUNC_STRTOD
 END
 
diff --git a/tests/else.test b/tests/else.test
index 26ca9b4..74d2158 100755
--- a/tests/else.test
+++ b/tests/else.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo 'AM_CONDITIONAL(FOO, true)' >> configure.in
+echo 'AM_CONDITIONAL(FOO, true)' >> configure.ac
 
 cat > Makefile.am << 'END'
 # Flag to tell us if apache dir is a source distribution.
diff --git a/tests/empty.test b/tests/empty.test
index 78b5ffd..795f922 100755
--- a/tests/empty.test
+++ b/tests/empty.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
 echo 'data_DATA =' >Makefile.am
 
 $ACLOCAL
diff --git a/tests/empty2.test b/tests/empty2.test
index 1fcaaaf..7d12423 100755
--- a/tests/empty2.test
+++ b/tests/empty2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/empty3.test b/tests/empty3.test
index 5415c7d..6aabfba 100755
--- a/tests/empty3.test
+++ b/tests/empty3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/empty4.test b/tests/empty4.test
index c684839..8106426 100755
--- a/tests/empty4.test
+++ b/tests/empty4.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_SUBST(ZOO_OBJ)
 END
diff --git a/tests/exdir3.test b/tests/exdir3.test
index 88c0db8..672548c 100755
--- a/tests/exdir3.test
+++ b/tests/exdir3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_SUBST([pkgdatadir], ["FOO"])
 AC_OUTPUT
 EOF
diff --git a/tests/exeext.test b/tests/exeext.test
index 110e2ce..22294cc 100755
--- a/tests/exeext.test
+++ b/tests/exeext.test
@@ -24,7 +24,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([WANT_MT], [test -z "$revert"])
 AM_CONDITIONAL([WANT_RMT], [test -z "$revert"])
diff --git a/tests/exeext2.test b/tests/exeext2.test
index d420deb..3315ad8 100755
--- a/tests/exeext2.test
+++ b/tests/exeext2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/exeext3.test b/tests/exeext3.test
index a93bec5..1bc1a10 100755
--- a/tests/exeext3.test
+++ b/tests/exeext3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/exeext4.test b/tests/exeext4.test
index 8a657a6..298879d 100755
--- a/tests/exeext4.test
+++ b/tests/exeext4.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND], [test -n "$cond"])
 AC_SUBST([programs], ['prg1$(EXEEXT) prg2$(EXEEXT)'])
 AC_SUBST([CC], [whocares])
diff --git a/tests/exsource.test b/tests/exsource.test
index f589767..0c8a426 100755
--- a/tests/exsource.test
+++ b/tests/exsource.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
 
 cat > Makefile.am << 'END'
 bin_PROGRAMS = www
diff --git a/tests/ext.test b/tests/ext.test
index d7e512b..3fad1a1 100755
--- a/tests/ext.test
+++ b/tests/ext.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_F77
 AC_PROG_FC
 AC_PROG_OBJC
diff --git a/tests/ext2.test b/tests/ext2.test
index 1dc5235..3df0282 100755
--- a/tests/ext2.test
+++ b/tests/ext2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_CXX
 EOF
 
diff --git a/tests/ext3.test b/tests/ext3.test
index 0ea2e62..bd5ed6d 100755
--- a/tests/ext3.test
+++ b/tests/ext3.test
@@ -22,7 +22,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 END
 
 cat > Makefile.am << 'END'
diff --git a/tests/extra-portability.test b/tests/extra-portability.test
index 9f4a4b4..4f684bb 100755
--- a/tests/extra-portability.test
+++ b/tests/extra-portability.test
@@ -25,7 +25,7 @@
 # We want (almost) complete control over automake options.
 AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror"
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_OUTPUT
diff --git a/tests/extra-portability2.test b/tests/extra-portability2.test
index d2894ac..db4a594 100755
--- a/tests/extra-portability2.test
+++ b/tests/extra-portability2.test
@@ -22,7 +22,7 @@
 # We want complete control over automake options.
 AUTOMAKE=$am_original_AUTOMAKE
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_OUTPUT
diff --git a/tests/extra-programs-empty.test b/tests/extra-programs-empty.test
index 5c1e879..bc061bf 100755
--- a/tests/extra-programs-empty.test
+++ b/tests/extra-programs-empty.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([Makefile2 Makefile3])
 AC_SUBST([prog])
 AC_PROG_CC
diff --git a/tests/extra.test b/tests/extra.test
index a5452c5..7bad9ef 100755
--- a/tests/extra.test
+++ b/tests/extra.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/extra10.test b/tests/extra10.test
index 53a0830..27eb1ed 100755
--- a/tests/extra10.test
+++ b/tests/extra10.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 EXTRA_DIST = *.foo
diff --git a/tests/extra11.test b/tests/extra11.test
index baeac86..b86be73 100755
--- a/tests/extra11.test
+++ b/tests/extra11.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 AUTOMAKE_OPTIONS = -Wno-portability
diff --git a/tests/extra12.test b/tests/extra12.test
index bdefab4..d499ced 100755
--- a/tests/extra12.test
+++ b/tests/extra12.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 
 cat > Makefile.am <<'END'
diff --git a/tests/extra2.test b/tests/extra2.test
index e97207e..30eaeed 100755
--- a/tests/extra2.test
+++ b/tests/extra2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/extra3.test b/tests/extra3.test
index 179e611..4065801 100755
--- a/tests/extra3.test
+++ b/tests/extra3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo 'AC_SUBST(CODICIL)' >> configure.in
+echo 'AC_SUBST(CODICIL)' >> configure.ac
 
 cat > Makefile.am << 'END'
 sysconf_DATA = @CODICIL@
diff --git a/tests/extra4.test b/tests/extra4.test
index 716d180..5b31b63 100755
--- a/tests/extra4.test
+++ b/tests/extra4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo 'AC_SUBST(CODICIL)' >> configure.in
+echo 'AC_SUBST(CODICIL)' >> configure.ac
 
 cat > Makefile.am << 'END'
 sysconf_DATA = @CODICIL@
diff --git a/tests/extra5.test b/tests/extra5.test
index f6ef21f..7fdd983 100755
--- a/tests/extra5.test
+++ b/tests/extra5.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 EXTRA_DIST=foo
diff --git a/tests/extra6.test b/tests/extra6.test
index 2b5ef72..6b51211 100755
--- a/tests/extra6.test
+++ b/tests/extra6.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 EXTRA_DIST=foo/bar baz foo2/bar2 baz2
diff --git a/tests/extra7.test b/tests/extra7.test
index 3c77b43..4ad7789 100755
--- a/tests/extra7.test
+++ b/tests/extra7.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 EXTRA_DIST=foo/bar baz
diff --git a/tests/extra8.test b/tests/extra8.test
index ff055f3..9eef189 100755
--- a/tests/extra8.test
+++ b/tests/extra8.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/extra9.test b/tests/extra9.test
index 5f01024..b5a6007 100755
--- a/tests/extra9.test
+++ b/tests/extra9.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/extradep.test b/tests/extradep.test
index cf949b5..77b806a 100755
--- a/tests/extradep.test
+++ b/tests/extradep.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/extradep2.test b/tests/extradep2.test
index 9bf67fe..91722bd 100755
--- a/tests/extradep2.test
+++ b/tests/extradep2.test
@@ -19,7 +19,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/f90only.test b/tests/f90only.test
index 66b1d67..a65a91e 100755
--- a/tests/f90only.test
+++ b/tests/f90only.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_FC
 END
 
diff --git a/tests/flavor.test b/tests/flavor.test
index 327b447..c892350 100755
--- a/tests/flavor.test
+++ b/tests/flavor.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_MAINTAINER_MODE
 AC_OUTPUT
 END
diff --git a/tests/flibs.test b/tests/flibs.test
index 058acfa..706a0ac 100755
--- a/tests/flibs.test
+++ b/tests/flibs.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_F77
 AC_F77_LIBRARY_LDFLAGS
 END
diff --git a/tests/fn99.test b/tests/fn99.test
index b2c208f..c4a0001 100755
--- a/tests/fn99.test
+++ b/tests/fn99.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat >Makefile.am <<'END'
 AUTOMAKE_OPTIONS = filename-length-max=99
diff --git a/tests/fn99subdir.test b/tests/fn99subdir.test
index e05eea1..5fb93ea 100755
--- a/tests/fn99subdir.test
+++ b/tests/fn99subdir.test
@@ -22,7 +22,7 @@
 # The name is so that 99 is exactly hit (including final \0).
 subdirname='cnfsubdir'
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_CONFIG_SUBDIRS([$subdirname])
 AC_OUTPUT
 END
@@ -34,7 +34,7 @@ END
 
 mkdir $subdirname
 
-cat >> $subdirname/configure.in <<EOF
+cat >> $subdirname/configure.ac <<EOF
 AC_INIT([$subdirname], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/fnoc.test b/tests/fnoc.test
index ca7179f..fbd2135 100755
--- a/tests/fnoc.test
+++ b/tests/fnoc.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_F77
 END
 
diff --git a/tests/fo.test b/tests/fo.test
index 8194566..50b4f4a 100755
--- a/tests/fo.test
+++ b/tests/fo.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_F77
 END
 
diff --git a/tests/fonly.test b/tests/fonly.test
index ea7ae22..c3ae614 100755
--- a/tests/fonly.test
+++ b/tests/fonly.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_F77
 END
 
diff --git a/tests/fort2.test b/tests/fort2.test
index 7562996..d7348ed 100755
--- a/tests/fort2.test
+++ b/tests/fort2.test
@@ -24,7 +24,7 @@ required=gfortran # Required only in order to run ./configure.
 
 mkdir sub
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_FC
 AC_FC_SRCEXT([f90])
 AC_FC_SRCEXT([f95])
@@ -51,8 +51,8 @@ cat stdout
 grep -v '\$(FCFLAGS_f' stdout && Exit 1
 grep '.\$(FC.*\$(FCFLAGS_blabla' Makefile.in && Exit 1
 
-sed '/^AC_FC_SRCEXT.*blabla/d' configure.in >t
-mv -f t configure.in
+sed '/^AC_FC_SRCEXT.*blabla/d' configure.ac >t
+mv -f t configure.ac
 
 rm -rf autom4te*.cache
 $ACLOCAL
diff --git a/tests/fort4.test b/tests/fort4.test
index 31b9f25..a23c9bd 100755
--- a/tests/fort4.test
+++ b/tests/fort4.test
@@ -47,7 +47,7 @@ END
 sed s,foo,bar, foo.f90 > sub/bar.f90
 sed s,foo,baz, foo.f90 > sub/baz.f
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_F77
 AC_PROG_FC
 AC_FC_SRCEXT([f90], [],
diff --git a/tests/fort5.test b/tests/fort5.test
index 44af179..4614b66 100755
--- a/tests/fort5.test
+++ b/tests/fort5.test
@@ -48,7 +48,7 @@ END
 sed s,foo,bar, foo.f90 > sub/bar.f90
 sed s,foo,baz, foo.f90 > sub/baz.f
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_F77
 AC_PROG_FC
 AC_FC_SRCEXT([f90], [],
diff --git a/tests/fortdep.test b/tests/fortdep.test
index 5e25bf9..d10644d 100755
--- a/tests/fortdep.test
+++ b/tests/fortdep.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_SRCDIR([foo.f])
 AC_PROG_F77
 AC_OUTPUT
diff --git a/tests/gcj.test b/tests/gcj.test
index 3335cbb..b510f1c 100755
--- a/tests/gcj.test
+++ b/tests/gcj.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 _AM_DEPENDENCIES([GCJ])
 AC_SUBST([GCJ])
 END
diff --git a/tests/gcj2.test b/tests/gcj2.test
index d34957a..92eed45 100755
--- a/tests/gcj2.test
+++ b/tests/gcj2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 _AM_DEPENDENCIES(GCJ)
 AC_SUBST(GCJ)
 END
diff --git a/tests/gcj3.test b/tests/gcj3.test
index 02c71c7..a8ec120 100755
--- a/tests/gcj3.test
+++ b/tests/gcj3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 _AM_DEPENDENCIES([GCJ])
 AC_SUBST([GCJ])
 END
diff --git a/tests/gcj4.test b/tests/gcj4.test
index 58e2ff6..4d2db9f 100755
--- a/tests/gcj4.test
+++ b/tests/gcj4.test
@@ -19,7 +19,7 @@
 required=gcj
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_GCJ
 AC_OUTPUT
 END
diff --git a/tests/gcj5.test b/tests/gcj5.test
index c09e895..f3c218f 100755
--- a/tests/gcj5.test
+++ b/tests/gcj5.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 _AM_DEPENDENCIES(GCJ)
 END
 
diff --git a/tests/gcj6.test b/tests/gcj6.test
index 17603ba..3fe4a31 100755
--- a/tests/gcj6.test
+++ b/tests/gcj6.test
@@ -19,7 +19,7 @@
 required='gcj'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_GCJ
 AC_OUTPUT
 END
diff --git a/tests/gettext-macros.test b/tests/gettext-macros.test
index e3408a9..460b793 100755
--- a/tests/gettext-macros.test
+++ b/tests/gettext-macros.test
@@ -46,14 +46,14 @@ else
 fi
 
 # We will need to specify the correct autopoint (or gettextize) version
-# in the AM_GNU_GETTEXT_VERSION call in configure.in if we want autopoint
+# in the AM_GNU_GETTEXT_VERSION call in configure.ac if we want autopoint
 # (or gettextize) to setup the correct infrastructure -- in particular,
 # for what concerns us, to bring in all the required .m4 files.
 autopoint_version=`extract_program_version $am_gettextize_command` \
   && test -n "$autopoint_version" \
   || autopoint_version=0.10.35
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([foo], [1.0])
 AC_PROG_CC
 # Both required by autopoint.
diff --git a/tests/gettext.test b/tests/gettext.test
index 0fcef2c..12bbc7d 100755
--- a/tests/gettext.test
+++ b/tests/gettext.test
@@ -19,7 +19,7 @@
 required='gettext'
 . ./defs || Exit 1
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AM_GNU_GETTEXT
 AM_GNU_GETTEXT_VERSION([0.14.3])
 AC_OUTPUT
@@ -46,8 +46,8 @@ if $ACLOCAL; then
 fi
 
 : >config.rpath
-sed '/AM_GNU_GETTEXT_VERSION/d' configure.in >configure.int
-mv -f configure.int configure.in
+sed '/AM_GNU_GETTEXT_VERSION/d' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 $ACLOCAL
 
diff --git a/tests/gettext2.test b/tests/gettext2.test
index 488743c..254d06e 100755
--- a/tests/gettext2.test
+++ b/tests/gettext2.test
@@ -20,7 +20,7 @@
 required='gettext'
 . ./defs || Exit 1
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AM_GNU_GETTEXT([external])
 AC_OUTPUT
 END
diff --git a/tests/gettext3.test b/tests/gettext3.test
index a30f5fb..7ebd436 100755
--- a/tests/gettext3.test
+++ b/tests/gettext3.test
@@ -19,7 +19,7 @@
 required='gettext'
 . ./defs || Exit 1
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_INTL_SUBDIR
 AC_OUTPUT
diff --git a/tests/gmake-vars.test b/tests/gmake-vars.test
index 659d1a1..0c4012b 100755
--- a/tests/gmake-vars.test
+++ b/tests/gmake-vars.test
@@ -68,7 +68,7 @@ do/test: my/prereq
          && test '$(<D)' = 'my'
 END
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 $ACLOCAL
 AUTOMAKE_run
diff --git a/tests/gnits.test b/tests/gnits.test
index fda8c5c..badb8b0 100755
--- a/tests/gnits.test
+++ b/tests/gnits.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [3.5.3.2])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES(Makefile)
@@ -39,4 +39,4 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails --gnits
-grep 'configure.in:.*3\.5\.3\.2' stderr
+grep 'configure.ac:.*3\.5\.3\.2' stderr
diff --git a/tests/gnits2.test b/tests/gnits2.test
index 97028f2..5bb3fbe 100755
--- a/tests/gnits2.test
+++ b/tests/gnits2.test
@@ -19,7 +19,7 @@
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/gnits3.test b/tests/gnits3.test
index 35c2b0c..56f149f 100755
--- a/tests/gnits3.test
+++ b/tests/gnits3.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/gnumake.test b/tests/gnumake.test
index 8ad386b..dd2fe37 100755
--- a/tests/gnumake.test
+++ b/tests/gnumake.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/GNUmakefile])
 AC_OUTPUT
 END
diff --git a/tests/gnuwarn.test b/tests/gnuwarn.test
index 9b87f15..5aac432 100755
--- a/tests/gnuwarn.test
+++ b/tests/gnuwarn.test
@@ -21,7 +21,7 @@
 # We need (almost) complete control over automake options.
 AUTOMAKE="$am_original_AUTOMAKE -Werror"
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/gnuwarn2.test b/tests/gnuwarn2.test
index 9ff3aea..cda3a9a 100755
--- a/tests/gnuwarn2.test
+++ b/tests/gnuwarn2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([gnuwarn2], [1.0])
 AM_INIT_AUTOMAKE([no-installman])
 AC_CONFIG_FILES([Makefile])
@@ -39,4 +39,4 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails
-grep 'configure.in:2:.*no-installman' stderr
+grep 'configure.ac:2:.*no-installman' stderr
diff --git a/tests/hdr-vars-defined-once.test b/tests/hdr-vars-defined-once.test
index d0c5135..1e31cd2 100755
--- a/tests/hdr-vars-defined-once.test
+++ b/tests/hdr-vars-defined-once.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/header.test b/tests/header.test
index ba33933..dc93ac8 100755
--- a/tests/header.test
+++ b/tests/header.test
@@ -25,7 +25,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([MY_HEADERS])
 AC_PROG_CC
 END
diff --git a/tests/help-depend.test b/tests/help-depend.test
index bb128d4..cb57c43 100755
--- a/tests/help-depend.test
+++ b/tests/help-depend.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_DEP_TRACK
 END
diff --git a/tests/help-depend2.test b/tests/help-depend2.test
index c2787eb..76d0ae6 100755
--- a/tests/help-depend2.test
+++ b/tests/help-depend2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_PROG_CC
diff --git a/tests/help-dmalloc.test b/tests/help-dmalloc.test
index afa94aa..1ed6140 100755
--- a/tests/help-dmalloc.test
+++ b/tests/help-dmalloc.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_WITH_DMALLOC
 END
diff --git a/tests/help-init.test b/tests/help-init.test
index 3e8f40a..1492577 100755
--- a/tests/help-init.test
+++ b/tests/help-init.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 END
diff --git a/tests/help-lispdir.test b/tests/help-lispdir.test
index fd1ddfa..597f942 100755
--- a/tests/help-lispdir.test
+++ b/tests/help-lispdir.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_PATH_LISPDIR
 END
diff --git a/tests/help-multilib.test b/tests/help-multilib.test
index 512ec50..28dac16 100755
--- a/tests/help-multilib.test
+++ b/tests/help-multilib.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_ENABLE_MULTILIB
 END
diff --git a/tests/help-python.test b/tests/help-python.test
index dca11db..48f15fb 100755
--- a/tests/help-python.test
+++ b/tests/help-python.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_PATH_PYTHON
 END
diff --git a/tests/help-silent.test b/tests/help-silent.test
index 8953232..2c78212 100755
--- a/tests/help-silent.test
+++ b/tests/help-silent.test
@@ -19,20 +19,20 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_SILENT_RULES
 END
 
 $ACLOCAL
 
-mv -f configure.in configure.tmpl
+mv -f configure.ac configure.tmpl
 
 q="[\`'\"]"
 
 for args in '' '([])' '([yes])' '([no])'; do
-  sed "s/AM_SILENT_RULES.*/&$args/" configure.tmpl >configure.in
-  cat configure.in
+  sed "s/AM_SILENT_RULES.*/&$args/" configure.tmpl >configure.ac
+  cat configure.ac
   $AUTOCONF --force
   grep_configure_help --enable-silent-rules \
                       " less verbose build.*\\(undo.*${q}make V=1${q}"
diff --git a/tests/help-upc.test b/tests/help-upc.test
index 8d41c58..b7b01f8 100755
--- a/tests/help-upc.test
+++ b/tests/help-upc.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_PROG_UPC
 END
diff --git a/tests/help.test b/tests/help.test
index b1cc2d8..2f7c2d1 100755
--- a/tests/help.test
+++ b/tests/help.test
@@ -34,7 +34,7 @@ $AUTOMAKE --version
 $AUTOMAKE --help
 
 # Sanity checks: aclocal and automake cannot work without configure.ac
-# or configure.in.
+# nor configure.in.
 $ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
 cat stderr >&2
 $FGREP configure.ac stderr
diff --git a/tests/help2.test b/tests/help2.test
index de9e779..0d433f4 100755
--- a/tests/help2.test
+++ b/tests/help2.test
@@ -15,7 +15,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Make sure --help and --version work, even when the current directory
-# contains a broken configure.in and a broken acinclude.m4.
+# contains a broken configure.ac and a broken acinclude.m4.
 . ./defs || Exit 1
 
 # Ensure we run in a new, clean directory.
@@ -27,7 +27,7 @@ cd cleandir
 ACLOCAL=$am_original_ACLOCAL
 AUTOMAKE=$am_original_AUTOMAKE
 
-echo '[' > configure.in
+echo '[' > configure.ac
 echo '[' > acinclude.m4
 
 $AUTOMAKE --version
@@ -42,11 +42,11 @@ $FGREP acinclude.m4 stderr
 
 rm -f acinclude.m4
 
-# Sanity checks: aclocal and automake cannot work with broken configure.in.
+# Sanity checks: aclocal and automake cannot work with broken configure.ac.
 $ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
 cat stderr >&2
-$FGREP configure.in stderr
+$FGREP configure.ac stderr
 AUTOMAKE_fails
-$FGREP configure.in stderr
+$FGREP configure.ac stderr
 
 :
diff --git a/tests/help3.test b/tests/help3.test
index e72eed2..54e06d5 100755
--- a/tests/help3.test
+++ b/tests/help3.test
@@ -27,7 +27,7 @@ cd cleandir
 ACLOCAL=$am_original_ACLOCAL
 AUTOMAKE=$am_original_AUTOMAKE
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([.]) dnl prevent automake from looking into '..'
 AM_INIT_AUTOMAKE([foreign])
diff --git a/tests/hfs.test b/tests/hfs.test
index 505932e..6000040 100755
--- a/tests/hfs.test
+++ b/tests/hfs.test
@@ -21,7 +21,7 @@
 # Report from Peter O'Gorman.
 
 . ./defs || Exit 1
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
 
 : >CHANGELOG
 echo 'EXTRA_DIST = CHANGELOG' >Makefile.am
diff --git a/tests/implicit.test b/tests/implicit.test
index 9efb8fc..a9a068b 100755
--- a/tests/implicit.test
+++ b/tests/implicit.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/init.test b/tests/init.test
index 474b90b..d576814 100755
--- a/tests/init.test
+++ b/tests/init.test
@@ -22,16 +22,16 @@
 for ac_init_args in '' '([x])'; do
   for am_init_args in '' '([1.10])'; do
     rm -rf aclocal.m4 autom4te*.cache
-    unindent >configure.in <<END
+    unindent >configure.ac <<END
       AC_INIT$ac_init_args
       AM_INIT_AUTOMAKE$am_init_args
 END
-    cat configure.in # For debugging.
+    cat configure.ac # For debugging.
     # The error message should mention AC_INIT, not AC_PACKAGE_VERSION.
     ($ACLOCAL && $AUTOCONF) 2>stderr && { cat stderr >&2; Exit 1; }
     cat stderr >&2
     $FGREP AC_PACKAGE_VERSION stderr && Exit 1
-    grep 'configure\.in:.* AC_INIT .*arguments' stderr
+    grep 'configure\.ac:.* AC_INIT .*arguments' stderr
   done
 done
 
diff --git a/tests/init2.test b/tests/init2.test
index 003a3e0..44e79cb 100755
--- a/tests/init2.test
+++ b/tests/init2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >configure.in <<END
+cat >configure.ac <<END
 AC_INIT([init2], [1.0])
 AM_INIT_AUTOMAKE([nosuchoption])
 END
diff --git a/tests/insh2.test b/tests/insh2.test
index fdefafa..cd74f82 100755
--- a/tests/insh2.test
+++ b/tests/insh2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 pkgdata_DATA =
diff --git a/tests/install-info-dir.test b/tests/install-info-dir.test
index bbca73e..c05318d 100755
--- a/tests/install-info-dir.test
+++ b/tests/install-info-dir.test
@@ -30,7 +30,7 @@ mkdir bin
 saved_PATH=$PATH; export saved_PATH
 PATH=$cwd/bin$PATH_SEPARATOR$PATH; export PATH
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/install2.test b/tests/install2.test
index 8313701..10ab856 100755
--- a/tests/install2.test
+++ b/tests/install2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 dnl Prevent automake from looking in .. and ../..
 AC_CONFIG_AUX_DIR(.)
diff --git a/tests/instdat.test b/tests/instdat.test
index 011ba4f..0754a09 100755
--- a/tests/instdat.test
+++ b/tests/instdat.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_SUBST([INSTALL_DATA])
 END
 
diff --git a/tests/instdir-java.test b/tests/instdir-java.test
index 33294d0..0288c2c 100755
--- a/tests/instdir-java.test
+++ b/tests/instdir-java.test
@@ -19,7 +19,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/instdir-lisp.test b/tests/instdir-lisp.test
index d26e222..1180212 100755
--- a/tests/instdir-lisp.test
+++ b/tests/instdir-lisp.test
@@ -19,7 +19,7 @@
 required=emacs
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_PATH_LISPDIR
 AC_OUTPUT
 END
diff --git a/tests/instdir-ltlib.test b/tests/instdir-ltlib.test
index 65065a0..5e1a31f 100755
--- a/tests/instdir-ltlib.test
+++ b/tests/instdir-ltlib.test
@@ -21,7 +21,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AM_PROG_AR
diff --git a/tests/instdir-prog.test b/tests/instdir-prog.test
index e96a434..179041a 100755
--- a/tests/instdir-prog.test
+++ b/tests/instdir-prog.test
@@ -21,7 +21,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AM_PROG_AR
diff --git a/tests/instdir-python.test b/tests/instdir-python.test
index 5fca61c..4c120b2 100755
--- a/tests/instdir-python.test
+++ b/tests/instdir-python.test
@@ -19,7 +19,7 @@
 required=python
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_PATH_PYTHON
 AC_OUTPUT
 END
diff --git a/tests/instdir-texi.test b/tests/instdir-texi.test
index 66b5c69..8909eab 100755
--- a/tests/instdir-texi.test
+++ b/tests/instdir-texi.test
@@ -25,7 +25,7 @@ dvips --help \
 pdfetex --version || pdftex --version \
   || skip_ "pdeftex and pdftex are both missing"
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/instdir.test b/tests/instdir.test
index 9b78121..87d844d 100755
--- a/tests/instdir.test
+++ b/tests/instdir.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_SUBST([foodir], ['${datadir}'/foo])
 AC_OUTPUT
 END
diff --git a/tests/instdir2.test b/tests/instdir2.test
index a81ecbc..b3f0354 100755
--- a/tests/instdir2.test
+++ b/tests/instdir2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_SUBST([foodir], ['${datadir}'/foo])
 AC_OUTPUT
 END
diff --git a/tests/instfail-info.test b/tests/instfail-info.test
index 510f610..58aef97 100755
--- a/tests/instfail-info.test
+++ b/tests/instfail-info.test
@@ -22,7 +22,7 @@
 required='makeinfo'
 . ./defs || Exit 1
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/instfail-java.test b/tests/instfail-java.test
index 18aa53c..0ae80f5 100755
--- a/tests/instfail-java.test
+++ b/tests/instfail-java.test
@@ -22,7 +22,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/instfail-libtool.test b/tests/instfail-libtool.test
index e45f45b..0acfd2c 100755
--- a/tests/instfail-libtool.test
+++ b/tests/instfail-libtool.test
@@ -22,7 +22,7 @@
 required='cc libtool libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AM_PROG_AR
 AC_PROG_LIBTOOL
 AC_OUTPUT
diff --git a/tests/instfail.test b/tests/instfail.test
index 2d65d13..1e5a340 100755
--- a/tests/instfail.test
+++ b/tests/instfail.test
@@ -22,7 +22,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/insthook.test b/tests/insthook.test
index aa7b19e..2423a2f 100755
--- a/tests/insthook.test
+++ b/tests/insthook.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_PROG_LN_S
 AC_OUTPUT
 EOF
diff --git a/tests/instman.test b/tests/instman.test
index 7c47ac7..7871045 100755
--- a/tests/instman.test
+++ b/tests/instman.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'EOF'
 man_MANS = frob.8
diff --git a/tests/instmany-mans.test b/tests/instmany-mans.test
index 8bc9884..903f35a 100755
--- a/tests/instmany-mans.test
+++ b/tests/instmany-mans.test
@@ -62,7 +62,7 @@ END
 
 chmod +x rm
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_CONFIG_FILES([myinstall], [chmod +x ./myinstall])
 AC_CONFIG_FILES([$subdir/Makefile])
 AC_OUTPUT
diff --git a/tests/instmany-python.test b/tests/instmany-python.test
index 714ef1d..794eacd 100755
--- a/tests/instmany-python.test
+++ b/tests/instmany-python.test
@@ -58,7 +58,7 @@ END
 
 chmod +x rm
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AM_PATH_PYTHON
 AC_CONFIG_FILES([myinstall], [chmod +x ./myinstall])
 AC_CONFIG_FILES([$subdir/Makefile])
diff --git a/tests/instmany.test b/tests/instmany.test
index d513325..a2b5d94 100755
--- a/tests/instmany.test
+++ b/tests/instmany.test
@@ -70,7 +70,7 @@ END
 
 chmod +x rm
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_CONFIG_FILES([myinstall], [chmod +x ./myinstall])
 AC_CONFIG_FILES([$subdir/Makefile])
 AC_OUTPUT
diff --git a/tests/instsh.test b/tests/instsh.test
index 79736d4..38bbacc 100755
--- a/tests/instsh.test
+++ b/tests/instsh.test
@@ -26,7 +26,7 @@ rm -f install-sh
 # Since the default path includes '../..', we must run this test in
 # yet another subdir.
 mkdir frob
-mv Makefile.am configure.in frob/
+mv Makefile.am configure.ac frob/
 cd frob
 
 $ACLOCAL
diff --git a/tests/instspc.tap b/tests/instspc.tap
index c9781d3..5083cc2 100755
--- a/tests/instspc.tap
+++ b/tests/instspc.tap
@@ -71,7 +71,7 @@ create_input_data ()
 {
   mkdir sub
 
-  unindent >> configure.in << 'EOF'
+  unindent >> configure.ac << 'EOF'
     AC_PROG_CC
     AM_PROG_AR
     AC_PROG_RANLIB
diff --git a/tests/interp.test b/tests/interp.test
index e0e8f57..b45d449 100755
--- a/tests/interp.test
+++ b/tests/interp.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/interp2.test b/tests/interp2.test
index e9ca2b1..3ce33e2 100755
--- a/tests/interp2.test
+++ b/tests/interp2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PATH_X
 AC_PATH_XTRA
diff --git a/tests/interp3.test b/tests/interp3.test
index ba74339..1394c6d 100755
--- a/tests/interp3.test
+++ b/tests/interp3.test
@@ -23,7 +23,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/java-check.test b/tests/java-check.test
index cf926f1..230fb96 100755
--- a/tests/java-check.test
+++ b/tests/java-check.test
@@ -21,7 +21,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/java-clean.test b/tests/java-clean.test
index 7b4e08b..2399201 100755
--- a/tests/java-clean.test
+++ b/tests/java-clean.test
@@ -19,7 +19,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/java-compile-install.test b/tests/java-compile-install.test
index 7472bcf..eb120a3 100755
--- a/tests/java-compile-install.test
+++ b/tests/java-compile-install.test
@@ -19,7 +19,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_OUTPUT
 EOF
 
diff --git a/tests/java-compile-run-flat.test b/tests/java-compile-run-flat.test
index ba74bf3..c0f1c2c 100755
--- a/tests/java-compile-run-flat.test
+++ b/tests/java-compile-run-flat.test
@@ -27,9 +27,9 @@ required='java javac'
 am_parallel_tests=no
 . ./defs || Exit 1
 
-echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.in
+echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.ac
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([JAVA], [java])
 AC_CONFIG_SRCDIR([PkgLocation.jin])
 AC_CONFIG_FILES([PkgLocation.java:PkgLocation.jin])
diff --git a/tests/java-compile-run-nested.test 
b/tests/java-compile-run-nested.test
index d3cd181..9039b74 100755
--- a/tests/java-compile-run-nested.test
+++ b/tests/java-compile-run-nested.test
@@ -28,9 +28,9 @@ required='java javac'
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.in
+echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.ac
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([JAVA], [java])
 AC_CONFIG_SRCDIR([jprog/PkgLocation.jin])
 AC_SUBST([jprogdatadir],  ['${pkgdatadir}'])
diff --git a/tests/java-empty-classpath.test b/tests/java-empty-classpath.test
index f229383..9ec48b2 100755
--- a/tests/java-empty-classpath.test
+++ b/tests/java-empty-classpath.test
@@ -20,7 +20,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_SRCDIR([org/gnu/bug/Library.java])
 AC_CONFIG_FILES([
     org/Makefile
diff --git a/tests/java-extra.test b/tests/java-extra.test
index bab71af..f2fc76d 100755
--- a/tests/java-extra.test
+++ b/tests/java-extra.test
@@ -22,7 +22,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND], [test x"$cond" = x"yes"])
 AC_OUTPUT
 END
diff --git a/tests/java-mix.test b/tests/java-mix.test
index 25ce6d9..7f2d929 100755
--- a/tests/java-mix.test
+++ b/tests/java-mix.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/java-nobase.test b/tests/java-nobase.test
index 75ab418..168ace3 100755
--- a/tests/java-nobase.test
+++ b/tests/java-nobase.test
@@ -19,7 +19,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/java-noinst.test b/tests/java-noinst.test
index ba33771..b11e6a0 100755
--- a/tests/java-noinst.test
+++ b/tests/java-noinst.test
@@ -20,7 +20,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/java-rebuild.test b/tests/java-rebuild.test
index 4807594..37ead3a 100755
--- a/tests/java-rebuild.test
+++ b/tests/java-rebuild.test
@@ -19,7 +19,7 @@
 required='javac'
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/java-sources.test b/tests/java-sources.test
index cc8b7da..a3cbb17 100755
--- a/tests/java-sources.test
+++ b/tests/java-sources.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/java-uninstall.test b/tests/java-uninstall.test
index 2c44d9c..97cc4ab 100755
--- a/tests/java-uninstall.test
+++ b/tests/java-uninstall.test
@@ -19,7 +19,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/java.test b/tests/java.test
index c5881aa..16b1250 100755
--- a/tests/java.test
+++ b/tests/java.test
@@ -19,7 +19,7 @@
 required=javac
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_OUTPUT
 EOF
 
diff --git a/tests/java2.test b/tests/java2.test
index d714308..c0b9f95 100755
--- a/tests/java2.test
+++ b/tests/java2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL(WITH_JDK, false)
 AC_OUTPUT
 END
diff --git a/tests/java3.test b/tests/java3.test
index 41b3ae2..c8162b1 100755
--- a/tests/java3.test
+++ b/tests/java3.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([WHO_CARES], [false])
 AC_OUTPUT
 END
diff --git a/tests/javaflags.test b/tests/javaflags.test
index db3c787..f42e3c2 100755
--- a/tests/javaflags.test
+++ b/tests/javaflags.test
@@ -24,7 +24,7 @@ echo "$*" > javaflags.list
 END
 chmod a+x fake-javac
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 # Simulate presence of the java compiler using our fake-javac script.
 AC_SUBST([JAVAC], ['$(abs_top_srcdir)'/fake-javac])
diff --git a/tests/javaprim.test b/tests/javaprim.test
index 3995ef9..fe55535 100755
--- a/tests/javaprim.test
+++ b/tests/javaprim.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([JAVA])
 END
 
diff --git a/tests/javasubst.test b/tests/javasubst.test
index 78b76ee..455b8c6 100755
--- a/tests/javasubst.test
+++ b/tests/javasubst.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([JAVAC])
 END
 
diff --git a/tests/ldadd.test b/tests/ldadd.test
index cf047dc..a0bd021 100755
--- a/tests/ldadd.test
+++ b/tests/ldadd.test
@@ -19,7 +19,7 @@
 required=libtool
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_LIBTOOL
 AC_SUBST([LTLIBOBJS], [q.lo])
diff --git a/tests/ldflags.test b/tests/ldflags.test
index 729dfe9..269af34 100755
--- a/tests/ldflags.test
+++ b/tests/ldflags.test
@@ -20,7 +20,7 @@
 required=libtool
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/lex-clean-cxx.test b/tests/lex-clean-cxx.test
index 453c353..81b4169 100755
--- a/tests/lex-clean-cxx.test
+++ b/tests/lex-clean-cxx.test
@@ -25,7 +25,7 @@ required=lex
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_LEX
 AC_OUTPUT
diff --git a/tests/lex-clean.test b/tests/lex-clean.test
index 06f8d89..4dccc92 100755
--- a/tests/lex-clean.test
+++ b/tests/lex-clean.test
@@ -24,7 +24,7 @@ required=yacc
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_LEX
 AC_OUTPUT
diff --git a/tests/lex-depend-cxx.test b/tests/lex-depend-cxx.test
index 478a55f..e1560ee 100755
--- a/tests/lex-depend-cxx.test
+++ b/tests/lex-depend-cxx.test
@@ -22,7 +22,7 @@ required=lex
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AM_PROG_LEX
 AC_OUTPUT
diff --git a/tests/lex-depend-grep.test b/tests/lex-depend-grep.test
index e38f353..863df13 100755
--- a/tests/lex-depend-grep.test
+++ b/tests/lex-depend-grep.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AM_PROG_LEX
diff --git a/tests/lex-depend.test b/tests/lex-depend.test
index e2e37df..17f66e9 100755
--- a/tests/lex-depend.test
+++ b/tests/lex-depend.test
@@ -22,7 +22,7 @@ required=lex
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_LEX
 AC_OUTPUT
diff --git a/tests/lex-lib-external.test b/tests/lex-lib-external.test
index d50ae39..56e39ec 100755
--- a/tests/lex-lib-external.test
+++ b/tests/lex-lib-external.test
@@ -20,7 +20,7 @@
 required='cc lex'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_PROG_LEX
diff --git a/tests/lex-lib.test b/tests/lex-lib.test
index f874f37..f84fc34 100755
--- a/tests/lex-lib.test
+++ b/tests/lex-lib.test
@@ -21,7 +21,7 @@
 required='cc lex'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/lex-libobj.test b/tests/lex-libobj.test
index 3bd4f8a..d342d0b 100755
--- a/tests/lex-libobj.test
+++ b/tests/lex-libobj.test
@@ -20,7 +20,7 @@
 required='cc lex'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_PROG_LEX
diff --git a/tests/lex-line.test b/tests/lex-line.test
index 641bcaf..008328d 100755
--- a/tests/lex-line.test
+++ b/tests/lex-line.test
@@ -24,7 +24,7 @@ required=lex
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_PROG_CC
 AM_PROG_CC_C_O
diff --git a/tests/lex-nodist.test b/tests/lex-nodist.test
index dc6c843..4dbb719 100755
--- a/tests/lex-nodist.test
+++ b/tests/lex-nodist.test
@@ -25,7 +25,7 @@ required=lex
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 dnl Sister test 'lex-pr204.test' should use 'AC_PROG_LEX' instead.
 AM_PROG_LEX
diff --git a/tests/lex-noyywrap.test b/tests/lex-noyywrap.test
index 5b002c8..bc95d78 100755
--- a/tests/lex-noyywrap.test
+++ b/tests/lex-noyywrap.test
@@ -19,7 +19,7 @@
 required='cc flex'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_LEX
 AC_OUTPUT
diff --git a/tests/lex-pr204.test b/tests/lex-pr204.test
index d991b36..4c05cc6 100755
--- a/tests/lex-pr204.test
+++ b/tests/lex-pr204.test
@@ -25,7 +25,7 @@ required=lex
 
 set -e
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AM_MAINTAINER_MODE
 AC_PROG_CC
 dnl We use AC_PROG_LEX deliberately.
diff --git a/tests/lex-subobj-nodep.test b/tests/lex-subobj-nodep.test
index ff5fd48..8bfc153 100755
--- a/tests/lex-subobj-nodep.test
+++ b/tests/lex-subobj-nodep.test
@@ -20,7 +20,7 @@
 required='cc lex'
 . ./defs || Exit 1
 
-cat >>configure.in <<\END
+cat >>configure.ac <<\END
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_LEX
diff --git a/tests/lex.test b/tests/lex.test
index 3316550..d3d256a 100755
--- a/tests/lex.test
+++ b/tests/lex.test
@@ -16,7 +16,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_LEX
 END
diff --git a/tests/lex2.test b/tests/lex2.test
index af3eea7..4b20d14 100755
--- a/tests/lex2.test
+++ b/tests/lex2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/lex3.test b/tests/lex3.test
index b8a207b..a795bbd 100755
--- a/tests/lex3.test
+++ b/tests/lex3.test
@@ -21,7 +21,7 @@
 required='cc lex'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_LEX
 AC_OUTPUT
diff --git a/tests/lex5.test b/tests/lex5.test
index 99fab8e..a55afb6 100755
--- a/tests/lex5.test
+++ b/tests/lex5.test
@@ -19,7 +19,7 @@
 required='cc lex'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AM_PROG_LEX
diff --git a/tests/lexcpp.test b/tests/lexcpp.test
index 2b77c19..717be0e 100755
--- a/tests/lexcpp.test
+++ b/tests/lexcpp.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_LEX
 END
diff --git a/tests/lexvpath.test b/tests/lexvpath.test
index 0cdaf84..70bff55 100755
--- a/tests/lexvpath.test
+++ b/tests/lexvpath.test
@@ -29,7 +29,7 @@ cat > lexoutroot.in << 'END'
 LEX_OUTPUT_ROOT='@LEX_OUTPUT_ROOT@'
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([lexoutroot])
 AC_PROG_CC
 AC_PROG_LEX
diff --git a/tests/lflags.test b/tests/lflags.test
index b8b83ca..98e03fc 100755
--- a/tests/lflags.test
+++ b/tests/lflags.test
@@ -29,7 +29,7 @@ echo 'extern int dummy;' >> lex.yy.c
 END
 chmod a+x fake-lex
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([CC], [false])
 # Simulate presence of Lex using our fake-lex script.
 AC_SUBST([LEX], ['$(abs_top_srcdir)'/fake-lex])
diff --git a/tests/lflags2.test b/tests/lflags2.test
index cdf9683..c5b65ad 100755
--- a/tests/lflags2.test
+++ b/tests/lflags2.test
@@ -28,7 +28,7 @@ echo 'extern int dummy;' >> lex.yy.c
 END
 chmod a+x fake-lex
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([CXX], [false])
 # Simulate presence of Lex using our fake-lex script.
 AC_SUBST([LEX], ['$(abs_top_srcdir)'/fake-lex])
diff --git a/tests/libexec.test b/tests/libexec.test
index b993e53..24a934d 100755
--- a/tests/libexec.test
+++ b/tests/libexec.test
@@ -23,7 +23,7 @@ libexec_PROGRAMS = foo
 pkglibexec_PROGRAMS = bar
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/libobj-basic.test b/tests/libobj-basic.test
index 75a5cb1..f8394d6 100755
--- a/tests/libobj-basic.test
+++ b/tests/libobj-basic.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-mv configure.in configure.proto
+mv configure.ac configure.proto
 cat >> configure.proto << 'END'
 AC_PROG_CC
 AM_PROG_AR
@@ -70,7 +70,7 @@ extern int dummy_liver;
 END
 
 # AC_LIBSOURCE should work also if called after AC_OUTPUT.
-cat configure.proto - > configure.in <<END
+cat configure.proto - > configure.ac <<END
 AC_LIBSOURCE([maude.c])
 END
 
@@ -97,7 +97,7 @@ extra_checks = maude-src maude-dist liver-src liver-dist
 END
 
 # AC_LIBSOURCES should work also if called after AC_OUTPUT.
-cat configure.proto - > configure.in <<END
+cat configure.proto - > configure.ac <<END
 AC_LIBSOURCES([maude.c, liver.c])
 END
 
diff --git a/tests/libobj10.test b/tests/libobj10.test
index ce5fc41..a566b09 100755
--- a/tests/libobj10.test
+++ b/tests/libobj10.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/libobj12.test b/tests/libobj12.test
index 8eafd97..2a65a63 100755
--- a/tests/libobj12.test
+++ b/tests/libobj12.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/libobj13.test b/tests/libobj13.test
index 66e3fc4..ef63d8b 100755
--- a/tests/libobj13.test
+++ b/tests/libobj13.test
@@ -20,7 +20,7 @@
 required='libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/libobj14.test b/tests/libobj14.test
index d36af93..50554de 100755
--- a/tests/libobj14.test
+++ b/tests/libobj14.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_PROG_CC
 AC_LIBSOURCE([bar.c])
 AM_CONDITIONAL([CASE], [:])
diff --git a/tests/libobj15a.test b/tests/libobj15a.test
index 2c290ea..d306b71 100755
--- a/tests/libobj15a.test
+++ b/tests/libobj15a.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
@@ -35,6 +35,6 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails
-grep 'configure\.in:.*required file.*foobar\.c.*' stderr
+grep 'configure\.ac:.*required file.*foobar\.c.*' stderr
 
 :
diff --git a/tests/libobj15b.test b/tests/libobj15b.test
index 107476c..f0466fd 100755
--- a/tests/libobj15b.test
+++ b/tests/libobj15b.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
@@ -38,6 +38,6 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails
-grep 'configure\.in:.*required file.*foobar\.c.*' stderr
+grep 'configure\.ac:.*required file.*foobar\.c.*' stderr
 
 :
diff --git a/tests/libobj15c.test b/tests/libobj15c.test
index da59eb0..9719213 100755
--- a/tests/libobj15c.test
+++ b/tests/libobj15c.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AC_LIBSOURCES([foobar.c, bazquux.c])
@@ -39,12 +39,12 @@ AUTOMAKE="$AUTOMAKE -Wno-extra-portability"
 $ACLOCAL
 
 AUTOMAKE_fails
-grep 'configure\.in:.*required file.*foobar\.c.*' stderr
-grep 'configure\.in:.*required file.*bazquux\.c.*' stderr
+grep 'configure\.ac:.*required file.*foobar\.c.*' stderr
+grep 'configure\.ac:.*required file.*bazquux\.c.*' stderr
 
 : > foobar.c
 AUTOMAKE_fails
-grep 'configure\.in:.*required file.*bazquux\.c.*' stderr
+grep 'configure\.ac:.*required file.*bazquux\.c.*' stderr
 grep 'foobar\.c' stderr && Exit 1
 
 :
diff --git a/tests/libobj16a.test b/tests/libobj16a.test
index 1f9fe01..1e78195 100755
--- a/tests/libobj16a.test
+++ b/tests/libobj16a.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-mv configure.in configure.proto
+mv configure.ac configure.proto
 cat >> configure.proto << 'END'
 AC_PROG_CC
 AM_PROG_AR
@@ -77,8 +77,8 @@ sed '/%LIBOBJ-STUFF%/{
 s/.*//
 i\
 AC_LIBOBJ([maude])
-}' configure.proto > configure.in
-cat configure.in # For debugging.
+}' configure.proto > configure.ac
+cat configure.ac # For debugging.
 
 cat > extra-checks.am << 'END'
 extra_checks = maude-src maude-dist maude-lib liver-not-dist
@@ -117,8 +117,8 @@ else\
   AC_LIBOBJ([liver])\
 fi\
 AC_LIBSOURCES([maude.c, liver.c])
-}' configure.proto > configure.in
-cat configure.in # For debugging.
+}' configure.proto > configure.ac
+cat configure.ac # For debugging.
 
 $ACLOCAL
 $AUTOCONF
diff --git a/tests/libobj16b.test b/tests/libobj16b.test
index fbb9bd7..a607ce9 100755
--- a/tests/libobj16b.test
+++ b/tests/libobj16b.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-mv configure.in configure.proto
+mv configure.ac configure.proto
 cat >> configure.proto << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
@@ -76,8 +76,8 @@ sed '/%LIBOBJ-STUFF%/{
 s/.*//
 i\
 AC_LIBOBJ(maude) dnl: do not quote this!
-}' configure.proto > configure.in
-cat configure.in # For debugging.
+}' configure.proto > configure.ac
+cat configure.ac # For debugging.
 
 cat > extra-checks.am << 'END'
 extra_checks = maude-src maude-dist maude-lib liver-not-dist
@@ -117,8 +117,8 @@ else\
 fi\
 AC_LIBSOURCE(maude.c) dnl: do not quote this!\
 AC_LIBSOURCE(liver.c) dnl: do not quote this!
-}' configure.proto > configure.in
-cat configure.in # For debugging.
+}' configure.proto > configure.ac
+cat configure.ac # For debugging.
 
 $ACLOCAL
 $AUTOCONF
diff --git a/tests/libobj17.test b/tests/libobj17.test
index bbb31d1..0ced8d9 100755
--- a/tests/libobj17.test
+++ b/tests/libobj17.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AM_PROG_AR
diff --git a/tests/libobj18.test b/tests/libobj18.test
index 8792fc2..0ac7438 100755
--- a/tests/libobj18.test
+++ b/tests/libobj18.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
@@ -38,8 +38,8 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails
-grep 'configure\.in:.*required file.*\$foo\.c.*not found' stderr
-grep 'configure\.in:.*required file.*\$bar\.c.*not found' stderr
-grep 'configure\.in:.*required file.*\$baz\.c.*not found' stderr
+grep 'configure\.ac:.*required file.*\$foo\.c.*not found' stderr
+grep 'configure\.ac:.*required file.*\$bar\.c.*not found' stderr
+grep 'configure\.ac:.*required file.*\$baz\.c.*not found' stderr
 
 :
diff --git a/tests/libobj19.test b/tests/libobj19.test
index eec26fb..8105727 100755
--- a/tests/libobj19.test
+++ b/tests/libobj19.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_LIBOBJ_DIR([libobj-dir])
 AC_PROG_CC
 AM_PROG_CC_C_O
@@ -79,9 +79,9 @@ echo SUBDIRS = sub > Makefile.am
 
 sed '/^AC_OUTPUT/i\
 AC_CONFIG_FILES([sub/Makefile])
-' configure.in > t
-mv -f t configure.in
-cat configure.in # For debugging.
+' configure.ac > t
+mv -f t configure.ac
+cat configure.ac # For debugging.
 
 $ACLOCAL
 $AUTOCONF
diff --git a/tests/libobj2.test b/tests/libobj2.test
index 4d90afc..ce655c2 100755
--- a/tests/libobj2.test
+++ b/tests/libobj2.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([subdir/Makefile])
 AC_PROG_CC
 AM_PROG_AR
diff --git a/tests/libobj20a.test b/tests/libobj20a.test
index 1b26e6c..6496978 100755
--- a/tests/libobj20a.test
+++ b/tests/libobj20a.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_LIBOBJ_DIR([libobj-dir])
 AC_PROG_CC
 AM_PROG_AR
diff --git a/tests/libobj20b.test b/tests/libobj20b.test
index e8872fb..ec9193e 100755
--- a/tests/libobj20b.test
+++ b/tests/libobj20b.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_LIBOBJ_DIR([libobj-dir])
 AC_PROG_CC
 AM_PROG_AR
@@ -42,12 +42,12 @@ END
 $ACLOCAL
 
 AUTOMAKE_fails
-grep 'configure\.in:.*required directory.*libobj-dir' stderr
+grep 'configure\.ac:.*required directory.*libobj-dir' stderr
 
 mkdir libobj-dir
 : > foobar.c # Oops, it should be in libobj-dir!
 AUTOMAKE_fails
-grep 'configure\.in:.*required file.*libobj-dir/foobar.c.*' stderr
+grep 'configure\.ac:.*required file.*libobj-dir/foobar.c.*' stderr
 
 rm -f foobar.c
 
diff --git a/tests/libobj20c.test b/tests/libobj20c.test
index 7408bc1..2aedbd0 100755
--- a/tests/libobj20c.test
+++ b/tests/libobj20c.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_LIBOBJ_DIR([libobj-dir])
 AC_PROG_CC
 AC_PROG_RANLIB
@@ -39,12 +39,12 @@ $ACLOCAL
 AUTOMAKE="$AUTOMAKE -Wno-extra-portability"
 
 AUTOMAKE_fails
-grep 'configure\.in:.*required directory.*\./libobj-dir' stderr
+grep 'configure\.ac:.*required directory.*\./libobj-dir' stderr
 
 mkdir libobj-dir
 : > foobar.c # Oops, it should be in libobj-dir!
 AUTOMAKE_fails
-grep 'configure\.in:.*required file.*libobj-dir/foobar.c.*' stderr
+grep 'configure\.ac:.*required file.*libobj-dir/foobar.c.*' stderr
 
 rm -f foobar.c
 
diff --git a/tests/libobj3.test b/tests/libobj3.test
index 3eac992..37ec6bf 100755
--- a/tests/libobj3.test
+++ b/tests/libobj3.test
@@ -15,11 +15,11 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Make sure we complain if @LIBOBJS@ is used without being set in
-# configure.in.
+# configure.ac.
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_RANLIB
 AM_PROG_AR
 END
diff --git a/tests/libobj4.test b/tests/libobj4.test
index 31ee7ef..68711af 100755
--- a/tests/libobj4.test
+++ b/tests/libobj4.test
@@ -23,7 +23,7 @@ cat > Makefile.am << 'END'
 bin_PROGRAMS = foo
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_REPLACE_FUNCS([foo])
 END
diff --git a/tests/libobj5.test b/tests/libobj5.test
index ad26cda..036ae56 100755
--- a/tests/libobj5.test
+++ b/tests/libobj5.test
@@ -24,7 +24,7 @@ bin_PROGRAMS = joe
 LDADD = @LIBOBJS@
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_REPLACE_FUNCS(\
    foo_bar_quux)
diff --git a/tests/libobj7.test b/tests/libobj7.test
index a613216..56fb16e 100755
--- a/tests/libobj7.test
+++ b/tests/libobj7.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/library.test b/tests/library.test
index edc0693..dffe658 100755
--- a/tests/library.test
+++ b/tests/library.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_RANLIB
 AM_MAINTAINER_MODE
 AC_PROG_CC
diff --git a/tests/library2.test b/tests/library2.test
index f7b6f5a..dfa8758 100755
--- a/tests/library2.test
+++ b/tests/library2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/library3.test b/tests/library3.test
index 685eaee..27a2b15 100755
--- a/tests/library3.test
+++ b/tests/library3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_CC
 AM_CONDITIONAL([A], [:])
 AM_CONDITIONAL([B], [:])
diff --git a/tests/libtoo10.test b/tests/libtoo10.test
index 434080d..0218ef3 100755
--- a/tests/libtoo10.test
+++ b/tests/libtoo10.test
@@ -20,7 +20,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_AR
 AC_PROG_LIBTOOL
 AC_OUTPUT
diff --git a/tests/libtoo11.test b/tests/libtoo11.test
index 5d11f61..cd55cc0 100755
--- a/tests/libtoo11.test
+++ b/tests/libtoo11.test
@@ -20,7 +20,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_LIBTOOL
 m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
 AC_OUTPUT
diff --git a/tests/libtool-macros.test b/tests/libtool-macros.test
index 428410d..5d5b328 100755
--- a/tests/libtool-macros.test
+++ b/tests/libtool-macros.test
@@ -35,7 +35,7 @@ else
   # available, e.g., by properly setting ACLOCAL_PATH.
   rm -rf m4
   mkdir m4
-  echo AC_PROG_LIBTOOL >> configure.in
+  echo AC_PROG_LIBTOOL >> configure.ac
   # See below for an explanation about the use the of `-Wno-syntax'.
   if $ACLOCAL -Wno-syntax -I m4 --install && test -f m4/libtool.m4; then
     : # Libtool macros already accessible by default.
diff --git a/tests/libtool.test b/tests/libtool.test
index deb6f36..7b267a7 100755
--- a/tests/libtool.test
+++ b/tests/libtool.test
@@ -20,7 +20,7 @@
 required=libtool
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_LIBTOOL_DLOPEN
 AC_DISABLE_SHARED
 AC_PROG_LIBTOOL
diff --git a/tests/libtool2.test b/tests/libtool2.test
index 21ad792..3b8a78b 100755
--- a/tests/libtool2.test
+++ b/tests/libtool2.test
@@ -20,7 +20,7 @@
 required=libtoolize
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/libtool3.test b/tests/libtool3.test
index c1a3865..5ab3b08 100755
--- a/tests/libtool3.test
+++ b/tests/libtool3.test
@@ -20,7 +20,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AM_PROG_LIBTOOL
diff --git a/tests/libtool4.test b/tests/libtool4.test
index 4efa8d3..2ce92dd 100755
--- a/tests/libtool4.test
+++ b/tests/libtool4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 END
diff --git a/tests/libtool5.test b/tests/libtool5.test
index 25fd526..b9e778b 100755
--- a/tests/libtool5.test
+++ b/tests/libtool5.test
@@ -21,7 +21,7 @@
 required='libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [false])
 AC_PROG_CC
diff --git a/tests/libtool6.test b/tests/libtool6.test
index 360d566..13dbc73 100755
--- a/tests/libtool6.test
+++ b/tests/libtool6.test
@@ -20,7 +20,7 @@
 required='libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [false])
 AC_PROG_CC
diff --git a/tests/libtool7.test b/tests/libtool7.test
index 0c89a03..bc8eaca 100755
--- a/tests/libtool7.test
+++ b/tests/libtool7.test
@@ -20,7 +20,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_LIBTOOL_DLOPEN
diff --git a/tests/libtool8.test b/tests/libtool8.test
index 7a566d7..352b878 100755
--- a/tests/libtool8.test
+++ b/tests/libtool8.test
@@ -19,7 +19,7 @@
 required='libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [false])
 AC_PROG_CC
diff --git a/tests/libtool9.test b/tests/libtool9.test
index e801175..ac3a6b0 100755
--- a/tests/libtool9.test
+++ b/tests/libtool9.test
@@ -22,7 +22,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AM_PROG_AR
diff --git a/tests/license.test b/tests/license.test
index e3eeefc..c3dad69 100755
--- a/tests/license.test
+++ b/tests/license.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
 
 cat >Makefile.am <<\EOF
 test1: distdir
diff --git a/tests/link_c_cxx.test b/tests/link_c_cxx.test
index 86c2e0b..cd1715e 100755
--- a/tests/link_c_cxx.test
+++ b/tests/link_c_cxx.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 END
diff --git a/tests/link_dist.test b/tests/link_dist.test
index 1f2e997..3e49caf 100755
--- a/tests/link_dist.test
+++ b/tests/link_dist.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 END
diff --git a/tests/link_f90_only.test b/tests/link_f90_only.test
index a111ffd..ab19d13 100755
--- a/tests/link_f90_only.test
+++ b/tests/link_f90_only.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_FC
 END
 
diff --git a/tests/link_f_only.test b/tests/link_f_only.test
index 1eabfb3..75126e3 100755
--- a/tests/link_f_only.test
+++ b/tests/link_f_only.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_F77
 END
 
diff --git a/tests/link_fc.test b/tests/link_fc.test
index d1e3614..dafff60 100755
--- a/tests/link_fc.test
+++ b/tests/link_fc.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_F77
 END
diff --git a/tests/link_fccxx.test b/tests/link_fccxx.test
index 2f9695a..b1236d4 100755
--- a/tests/link_fccxx.test
+++ b/tests/link_fccxx.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_F77
diff --git a/tests/link_fcxx.test b/tests/link_fcxx.test
index b1a6fc5..854c7d4 100755
--- a/tests/link_fcxx.test
+++ b/tests/link_fcxx.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_F77
 END
diff --git a/tests/link_override.test b/tests/link_override.test
index b48fcea..48d32a2 100755
--- a/tests/link_override.test
+++ b/tests/link_override.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/lisp3.test b/tests/lisp3.test
index d80d6be..a1531d3 100755
--- a/tests/lisp3.test
+++ b/tests/lisp3.test
@@ -27,7 +27,7 @@ am-three.el:
 CLEANFILES = am-three.el
 EOF
 
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
 AM_PATH_LISPDIR
 AC_OUTPUT
 EOF
diff --git a/tests/lisp4.test b/tests/lisp4.test
index 8f9310f..8d2de59 100755
--- a/tests/lisp4.test
+++ b/tests/lisp4.test
@@ -47,7 +47,7 @@ not-installed:
        find "$(lispdir)" | grep '\.elc$$' && exit 1; :
 EOF
 
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
 AM_PATH_LISPDIR
 AC_OUTPUT
 EOF
diff --git a/tests/lisp5.test b/tests/lisp5.test
index 572392e..997a56e 100755
--- a/tests/lisp5.test
+++ b/tests/lisp5.test
@@ -46,7 +46,7 @@ not-installed:
        find "$(lispdir)" | grep '\.elc$$' && exit 1; :
 EOF
 
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
 AM_PATH_LISPDIR
 AC_OUTPUT
 EOF
diff --git a/tests/lisp6.test b/tests/lisp6.test
index e2e839b..9635ea2 100755
--- a/tests/lisp6.test
+++ b/tests/lisp6.test
@@ -32,7 +32,7 @@ dist-test: distdir
        test -f $(distdir)/am-three.el
 EOF
 
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
 AM_CONDITIONAL([WANT_TWO], [test -n "$want_two"])
 AM_PATH_LISPDIR
 AC_OUTPUT
diff --git a/tests/lisp7.test b/tests/lisp7.test
index c55f86c..79799d1 100755
--- a/tests/lisp7.test
+++ b/tests/lisp7.test
@@ -22,7 +22,7 @@ cat > Makefile.am << 'EOF'
 dist_lisp_LISP = am-one.el am-two.el am-three.el
 EOF
 
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
 AM_PATH_LISPDIR
 EMACS=no # Simulate no emacs.
 AC_OUTPUT
diff --git a/tests/lisp8.test b/tests/lisp8.test
index 007bac0..0b2faeb 100755
--- a/tests/lisp8.test
+++ b/tests/lisp8.test
@@ -23,7 +23,7 @@ cat > Makefile.am << 'EOF'
 dist_lisp_LISP = am-one.el am-two.el am-three.el
 EOF
 
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
 AM_PATH_LISPDIR
 AC_OUTPUT
 EOF
diff --git a/tests/lispdry.test b/tests/lispdry.test
index 03031e9..b5c0f26 100755
--- a/tests/lispdry.test
+++ b/tests/lispdry.test
@@ -23,7 +23,7 @@ cat > Makefile.am << 'EOF'
 dist_lisp_LISP = am-one.el am-two.el am-three.el
 EOF
 
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
 AM_PATH_LISPDIR
 AC_OUTPUT
 EOF
diff --git a/tests/list-of-tests.mk b/tests/list-of-tests.mk
index d296671..4fa2640 100644
--- a/tests/list-of-tests.mk
+++ b/tests/list-of-tests.mk
@@ -726,6 +726,7 @@ parallel-tests-exit-statuses.test \
 parallel-tests-console-output.test \
 parallel-tests-once.test \
 parallel-tests-trailing-bslash.test \
+parallel-tests-many.test \
 tests-environment.test \
 am-tests-environment.test \
 tests-environment-backcompat.test \
diff --git a/tests/listval.test b/tests/listval.test
index 66016a5..5e2f9a6 100755
--- a/tests/listval.test
+++ b/tests/listval.test
@@ -20,7 +20,7 @@
 required=libtool
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([LTLIBOBJS])
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/location.test b/tests/location.test
index 8c77185..e2d44da 100755
--- a/tests/location.test
+++ b/tests/location.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [true])
 AC_PROG_CC
diff --git a/tests/ltcond.test b/tests/ltcond.test
index 1698d4c..d5098ea 100755
--- a/tests/ltcond.test
+++ b/tests/ltcond.test
@@ -20,7 +20,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_CONDITIONAL([WANT_LIBFOO], [true])
 AM_CONDITIONAL([WANT_LIBBAR], [false])
 AC_SUBST([WANTEDLIBS], ['lib1foo.la lib1bar.la'])
diff --git a/tests/ltcond2.test b/tests/ltcond2.test
index 405adf9..4a72394 100755
--- a/tests/ltcond2.test
+++ b/tests/ltcond2.test
@@ -19,7 +19,7 @@
 required='cc native libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/ltconv.test b/tests/ltconv.test
index c5f7085..19ed8b3 100755
--- a/tests/ltconv.test
+++ b/tests/ltconv.test
@@ -20,7 +20,7 @@
 required='cc native libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/ltdeps.test b/tests/ltdeps.test
index 3ff2515..100d045 100755
--- a/tests/ltdeps.test
+++ b/tests/ltdeps.test
@@ -19,7 +19,7 @@
 required=libtool
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_AR
 AC_PROG_LIBTOOL
 AC_PROG_CXX
diff --git a/tests/ltinit.test b/tests/ltinit.test
index 73af62e..49ddbe0 100755
--- a/tests/ltinit.test
+++ b/tests/ltinit.test
@@ -21,7 +21,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 dnl Older libtool versions don't define LT_PREREQ :-(
diff --git a/tests/ltinstloc.test b/tests/ltinstloc.test
index 1263caa..2879aa1 100755
--- a/tests/ltinstloc.test
+++ b/tests/ltinstloc.test
@@ -20,7 +20,7 @@
 required='libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/ltlibobjs.test b/tests/ltlibobjs.test
index a73019c..5cdccf0 100755
--- a/tests/ltlibobjs.test
+++ b/tests/ltlibobjs.test
@@ -19,7 +19,7 @@
 required=libtool
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([LTLIBOBJS])
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/ltlibsrc.test b/tests/ltlibsrc.test
index f68f459..11e2a1d 100755
--- a/tests/ltlibsrc.test
+++ b/tests/ltlibsrc.test
@@ -19,7 +19,7 @@
 required='cc libtool'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/ltorder.test b/tests/ltorder.test
index da834d7..358e620 100755
--- a/tests/ltorder.test
+++ b/tests/ltorder.test
@@ -19,7 +19,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/lzma.test b/tests/lzma.test
index 59dd545..8e78f86 100755
--- a/tests/lzma.test
+++ b/tests/lzma.test
@@ -25,7 +25,7 @@ $ACLOCAL --force
 AUTOMAKE_fails -Wnone -Wno-error
 grep "^Makefile\\.am:1:.*$errmsg" stderr
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([lzma], [1.0])
 AM_INIT_AUTOMAKE([no-dist-gzip dist-lzma])
 AC_CONFIG_FILES([Makefile])
@@ -36,6 +36,6 @@ END
 rm -rf autom4te*.cache
 $ACLOCAL
 AUTOMAKE_fails -Wnone -Wno-error
-grep "^configure\\.in:2:.*$errmsg" stderr
+grep "^configure\\.ac:2:.*$errmsg" stderr
 
 :
diff --git a/tests/m4-inclusion.test b/tests/m4-inclusion.test
index ddea64d..7285e28 100755
--- a/tests/m4-inclusion.test
+++ b/tests/m4-inclusion.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 sinclude([doesntexist.m4])
 EOF
 
diff --git a/tests/maintclean-vpath.test b/tests/maintclean-vpath.test
index 44c06ea..f5f50ed 100755
--- a/tests/maintclean-vpath.test
+++ b/tests/maintclean-vpath.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([bar sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/maintclean.test b/tests/maintclean.test
index d64f9a9..8bdc7d2 100755
--- a/tests/maintclean.test
+++ b/tests/maintclean.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([bar sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/maintmode-configure-msg.test 
b/tests/maintmode-configure-msg.test
index 3cfbb7b..ac13aff 100755
--- a/tests/maintmode-configure-msg.test
+++ b/tests/maintmode-configure-msg.test
@@ -24,11 +24,11 @@
 set_maintmode ()
 {
   rm -rf autom4te*.cache # Just to be sure not to use a stale cache.
-  echo "AC_INIT([$me], [1.0])" > configure.in
+  echo "AC_INIT([$me], [1.0])" > configure.ac
   case $1 in
     DEFAULT) echo AM_MAINTAINER_MODE;;
           *) echo "AM_MAINTAINER_MODE([$*])";;
-  esac >> configure.in
+  esac >> configure.ac
 }
 
 check_configure_message_with ()
diff --git a/tests/make-dryrun.tap b/tests/make-dryrun.tap
index a581bc4..57c7a1c 100755
--- a/tests/make-dryrun.tap
+++ b/tests/make-dryrun.tap
@@ -23,7 +23,7 @@ plan_ 14
 
 mkdir sub
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 all:
diff --git a/tests/makej.test b/tests/makej.test
index 6c82111..a282535 100755
--- a/tests/makej.test
+++ b/tests/makej.test
@@ -23,7 +23,7 @@
 
 . ./defs || Exit 1
 
-cat >configure.in <<END
+cat >configure.ac <<END
 m4_include([version.m4])
 AC_INIT([$me], [THE_VERSION])
 AM_INIT_AUTOMAKE
diff --git a/tests/makej2.test b/tests/makej2.test
index 1b96e75..746a2bd 100755
--- a/tests/makej2.test
+++ b/tests/makej2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/maken.test b/tests/maken.test
index c5d6fc5..0b90f2b 100755
--- a/tests/maken.test
+++ b/tests/maken.test
@@ -23,7 +23,7 @@
 
 mkdir sub
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/maken3.test b/tests/maken3.test
index c4474b0..7228a83 100755
--- a/tests/maken3.test
+++ b/tests/maken3.test
@@ -25,7 +25,7 @@
 
 mkdir sub sub2
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile sub2/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/man2.test b/tests/man2.test
index ec86273..38c3992 100755
--- a/tests/man2.test
+++ b/tests/man2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/man3.test b/tests/man3.test
index 50d5df7..baa05fe 100755
--- a/tests/man3.test
+++ b/tests/man3.test
@@ -24,7 +24,7 @@ installcheck-local:
        grep bar "$(mandir)/man1/foo.1"
 END
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 : ${foo=foo}
 AC_SUBST([foo])
 AC_CONFIG_FILES([foo.1])
diff --git a/tests/man4.test b/tests/man4.test
index d524355..895e0c5 100755
--- a/tests/man4.test
+++ b/tests/man4.test
@@ -42,7 +42,7 @@ bar.1:
        $(HELP2MAN) --output=$(srcdir)/bar.1 $(srcdir)/bar
 END
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_MISSING_PROG([HELP2MAN], [help2man])
 AC_OUTPUT
 END
diff --git a/tests/man5.test b/tests/man5.test
index bdd3d59..674ea03 100755
--- a/tests/man5.test
+++ b/tests/man5.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/man6.test b/tests/man6.test
index aa49049..8d141c3 100755
--- a/tests/man6.test
+++ b/tests/man6.test
@@ -31,7 +31,7 @@ zardoz.1:
        $(HELP2MAN) --output=$(srcdir)/zardoz.1 $(srcdir)/zardoz
 END
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AM_MISSING_PROG([HELP2MAN], [help2man])
 AC_OUTPUT
 END
diff --git a/tests/man7.test b/tests/man7.test
index b850228..37bec90 100755
--- a/tests/man7.test
+++ b/tests/man7.test
@@ -25,7 +25,7 @@ $(srcdir)/foo.1 bar.1:
 MAINTAINERCLEANFILES = $(dist_man_MANS)
 END
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/man8.test b/tests/man8.test
index e03341b..4293fde 100755
--- a/tests/man8.test
+++ b/tests/man8.test
@@ -26,7 +26,7 @@ foo.1:
        : > $(srcdir)/$@
 END
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/mdate3.test b/tests/mdate3.test
index 393e926..a37e60b 100755
--- a/tests/mdate3.test
+++ b/tests/mdate3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([foo])
 AM_INIT_AUTOMAKE
diff --git a/tests/mdate4.test b/tests/mdate4.test
index c5ba431..ac1be3a 100755
--- a/tests/mdate4.test
+++ b/tests/mdate4.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 END
 
diff --git a/tests/missing-auxfile-stops-makefiles-creation.test 
b/tests/missing-auxfile-stops-makefiles-creation.test
index 1324ef9..d708081 100755
--- a/tests/missing-auxfile-stops-makefiles-creation.test
+++ b/tests/missing-auxfile-stops-makefiles-creation.test
@@ -19,14 +19,14 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AM_PATH_PYTHON
 END
 
 echo SUBDIRS = > Makefile.am
 
 for i in 1 2 3 4 5; do
-  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.in
+  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac
   echo "SUBDIRS += sub$i" >> Makefile.am
   mkdir sub$i
   echo python_PYTHON = foo.py > sub$i/Makefile.am
diff --git a/tests/missing.test b/tests/missing.test
index 7055bca..473d041 100755
--- a/tests/missing.test
+++ b/tests/missing.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_OUTPUT
 EOF
 
diff --git a/tests/missing2.test b/tests/missing2.test
index e9dc19b..89e9a5d 100755
--- a/tests/missing2.test
+++ b/tests/missing2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 m4_include([v.m4])
 AC_OUTPUT
 EOF
diff --git a/tests/missing4.test b/tests/missing4.test
index 64018d1..01321c3 100755
--- a/tests/missing4.test
+++ b/tests/missing4.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
 
 touch Makefile.am
 
diff --git a/tests/missing5.test b/tests/missing5.test
index 20ecb8f..e17b267 100755
--- a/tests/missing5.test
+++ b/tests/missing5.test
@@ -26,7 +26,7 @@ get_shell_script missing
 needed_tools='chmod find sed test touch'
 needed_tools_csep=`echo $needed_tools | sed 's/ /, /g'`
 
-cat >configure.in <<EOF
+cat >configure.ac <<EOF
 AC_INIT([missing4], [1.0])
 m4_foreach([tool], [$needed_tools_csep],
           [AC_PATH_PROG(tool, tool, [false])
diff --git a/tests/missing6.test b/tests/missing6.test
index cfc4840..8173f81 100755
--- a/tests/missing6.test
+++ b/tests/missing6.test
@@ -16,24 +16,26 @@
 
 # Make sure autoconf version checks in aclocal.m4 are robust.
 
+am_create_testdirs=empty
 . ./defs || Exit 1
 
-{
-  echo 'm4_define([AC_AUTOCONF_VERSION], [9999a])'
-  echo 'dnl!! m4_define([a], [oops])'
-  cat configure.in
-  echo AC_OUTPUT
-} >configure.ac
-rm -f configure.in
+cat > configure.ac <<END
+m4_define([AC_AUTOCONF_VERSION], [9999a])
+dnl!! m4_define([a], [oops])
+AC_INIT([$me], [1.0])
+AM_INIT_AUTOMAKE
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+END
 
-touch Makefile.am
+: > Makefile.am
 
 $ACLOCAL
 $AUTOCONF 2>stderr || { cat stderr >&2; Exit 1; }
 cat stderr >&2
 grep 'You have another version of autoconf' stderr
 grep 'aclocal.m4:.*this file was generated for' stderr
-$AUTOMAKE
+$AUTOMAKE -a
 ./configure
 $MAKE
 
diff --git a/tests/mkinst2.test b/tests/mkinst2.test
index a871305..6582836 100755
--- a/tests/mkinst2.test
+++ b/tests/mkinst2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 AUTOMAKE_OPTIONS = no-installman
diff --git a/tests/mmode.test b/tests/mmode.test
index 95b386d..6c80399 100755
--- a/tests/mmode.test
+++ b/tests/mmode.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_MAINTAINER_MODE
 AC_OUTPUT
 END
@@ -38,14 +38,14 @@ grep '^MAINT.*#' Makefile
 ./configure --enable-maintainer-mode
 grep '^MAINT.*#' Makefile && Exit 1
 
-sed 's/\(AM_MAINTAINER_MODE\).*/\1([disable])/' configure.in > configure.int
-mv -f configure.int configure.in
+sed 's/\(AM_MAINTAINER_MODE\).*/\1([disable])/' configure.ac > configure.int
+mv -f configure.int configure.ac
 mv configure configure1
 $AUTOCONF --force
 diff configure configure1
 
-sed 's/\(AM_MAINTAINER_MODE\).*/\1([enable])/' configure.in > configure.int
-mv -f configure.int configure.in
+sed 's/\(AM_MAINTAINER_MODE\).*/\1([enable])/' configure.ac > configure.int
+mv -f configure.int configure.ac
 $AUTOCONF --force
 
 ./configure
@@ -57,8 +57,8 @@ grep '^MAINT.*#' Makefile && Exit 1
 ./configure --disable-maintainer-mode
 grep '^MAINT.*#' Makefile
 
-sed 's/\(AM_MAINTAINER_MODE\).*/\1([foo])/' configure.in > configure.int
-mv -f configure.int configure.in
+sed 's/\(AM_MAINTAINER_MODE\).*/\1([foo])/' configure.ac > configure.int
+mv -f configure.int configure.ac
 $AUTOCONF --force -Werror && Exit 1
 
 :
diff --git a/tests/mmodely.test b/tests/mmodely.test
index 8bc8ae7..d026900 100755
--- a/tests/mmodely.test
+++ b/tests/mmodely.test
@@ -21,7 +21,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_MAINTAINER_MODE
 AC_PROG_CC
 AM_PROG_LEX
diff --git a/tests/multlib.test b/tests/multlib.test
index 0f9b890..c5ce640 100755
--- a/tests/multlib.test
+++ b/tests/multlib.test
@@ -30,7 +30,7 @@ cp "$mldir"/multi.m4 m4
 ACLOCAL_PATH=${ACLOCAL_PATH+"$ACLOCAL_PATH:"}`pwd`/m4
 export ACLOCAL_PATH
 
-cat >configure.in <<'END'
+cat >configure.ac <<'END'
 AC_INIT([multlib], [1.0])
 AC_CONFIG_SRCDIR(libfoo/foo.c)
 AC_CONFIG_AUX_DIR(.)
@@ -71,7 +71,7 @@ EOF
 mkdir libfoo
 cp "$mldir"/multilib.am libfoo/
 
-cat >libfoo/configure.in <<'END'
+cat >libfoo/configure.ac <<'END'
 AC_PREREQ(2.57)
 AC_INIT(libfoo, 0.1, address@hidden)
 AC_CONFIG_SRCDIR(foo.c)
@@ -98,7 +98,7 @@ END
 mkdir libbar
 cp "$mldir"/multilib.am libbar/
 
-cat >libbar/configure.in <<'END'
+cat >libbar/configure.ac <<'END'
 AC_PREREQ(2.57)
 AC_INIT(libbar, 0.1, address@hidden)
 # Apparently it doesn't work to have auxdir=.. when
diff --git a/tests/no-extra-makefile-code.test 
b/tests/no-extra-makefile-code.test
index d0b18fb..1742dc4 100755
--- a/tests/no-extra-makefile-code.test
+++ b/tests/no-extra-makefile-code.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 : > Makefile.am
 
diff --git a/tests/nobase-libtool.test b/tests/nobase-libtool.test
index 4e8ddfa..38008cd 100755
--- a/tests/nobase-libtool.test
+++ b/tests/nobase-libtool.test
@@ -21,7 +21,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/nobase-nodist.test b/tests/nobase-nodist.test
index 01d5c11..d4ae44a 100755
--- a/tests/nobase-nodist.test
+++ b/tests/nobase-nodist.test
@@ -21,7 +21,7 @@
 # Simulate no emacs and no python (it shouldn't be needed in this test).
 EMACS="no" PYTHON=":"; export EMCAS PYTHON
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PATH_LISPDIR
 AM_PATH_PYTHON([], [], [:])
 # Simulate no javac (it shouldn't be needed in this test).
diff --git a/tests/nobase-python.test b/tests/nobase-python.test
index 9863fff..2850901 100755
--- a/tests/nobase-python.test
+++ b/tests/nobase-python.test
@@ -19,7 +19,7 @@
 required=python
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AM_PATH_PYTHON
 AC_OUTPUT
 EOF
diff --git a/tests/nobase.test b/tests/nobase.test
index 4bbaee5..e7661c0 100755
--- a/tests/nobase.test
+++ b/tests/nobase.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/nodef.test b/tests/nodef.test
index 9f8df0b..3c55745 100755
--- a/tests/nodef.test
+++ b/tests/nodef.test
@@ -27,7 +27,7 @@
 
 # First, check that PACKAGE and VERSION are output by default.
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN])
 AC_OUTPUT(output)
@@ -43,7 +43,7 @@ grep 'DEFS.*-DVERSION=\\"UnIqUe' output
 
 # Then, check that PACKAGE and VERSION are not output if requested.
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN], [no])
 AC_OUTPUT(output)
diff --git a/tests/nodef2.test b/tests/nodef2.test
index 8190ebe..965a915 100755
--- a/tests/nodef2.test
+++ b/tests/nodef2.test
@@ -20,7 +20,7 @@
 
 # First, check that PACKAGE and VERSION are output by default.
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN])
 AM_INIT_AUTOMAKE
 AC_OUTPUT(output)
@@ -36,7 +36,7 @@ grep 'DEFS.*-DVERSION=\\"UnIqUe' output
 
 # Then, check that PACKAGE and VERSION are not output if requested.
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN])
 AM_INIT_AUTOMAKE([no-define])
 AC_OUTPUT(output Makefile)
diff --git a/tests/nodep.test b/tests/nodep.test
index b87c2ac..5dcad1c 100755
--- a/tests/nodep.test
+++ b/tests/nodep.test
@@ -25,7 +25,7 @@ bin_PROGRAMS = zardoz
 zardoz_SOURCES = y.c
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/nodep2.test b/tests/nodep2.test
index a79d698..edf0fa9 100755
--- a/tests/nodep2.test
+++ b/tests/nodep2.test
@@ -23,7 +23,7 @@ bin_PROGRAMS = foo
 foo_SOURCES = a.c b.cpp c.m d.S e.java f.upc
 END
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([nodep2], [1], address@hidden)
 AM_INIT_AUTOMAKE([no-dependencies])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/nodist.test b/tests/nodist.test
index 6636e91..92cc2f7 100755
--- a/tests/nodist.test
+++ b/tests/nodist.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/nodist2.test b/tests/nodist2.test
index 3c6e8c7..36851be 100755
--- a/tests/nodist2.test
+++ b/tests/nodist2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AC_OUTPUT
 EOF
 
diff --git a/tests/nodist3.test b/tests/nodist3.test
index 59a6727..23becc1 100755
--- a/tests/nodist3.test
+++ b/tests/nodist3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/noinstdir.test b/tests/noinstdir.test
index 9b3d8f6..39abdc7 100755
--- a/tests/noinstdir.test
+++ b/tests/noinstdir.test
@@ -32,7 +32,7 @@ check_PROGRAMS = bar
 check_HEADERS = bar.h
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/nostdinc.test b/tests/nostdinc.test
index 3230b2d..868c0d9 100755
--- a/tests/nostdinc.test
+++ b/tests/nostdinc.test
@@ -23,7 +23,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/notrans.test b/tests/notrans.test
index e524f7d..487b66f 100755
--- a/tests/notrans.test
+++ b/tests/notrans.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/number.test b/tests/number.test
index fb6b455..b96e118 100755
--- a/tests/number.test
+++ b/tests/number.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/objc.test b/tests/objc.test
index 8f74b78..d0e7bf0 100755
--- a/tests/objc.test
+++ b/tests/objc.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_OBJC
 END
 
diff --git a/tests/objc2.test b/tests/objc2.test
index 4864f8e..290bf26 100755
--- a/tests/objc2.test
+++ b/tests/objc2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >>configure.in
+echo AC_PROG_CC >>configure.ac
 
 cat >Makefile.am <<'END'
 bin_PROGRAMS = hello
diff --git a/tests/objdir.test b/tests/objdir.test
index 496a425..0f1f844 100755
--- a/tests/objdir.test
+++ b/tests/objdir.test
@@ -22,7 +22,7 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([obj])
 AM_INIT_AUTOMAKE
diff --git a/tests/objext-pr10128.test b/tests/objext-pr10128.test
index e105635..2fe2dfd 100755
--- a/tests/objext-pr10128.test
+++ b/tests/objext-pr10128.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 LINK = echo >$@ Linked $@ from
diff --git a/tests/obsolete.test b/tests/obsolete.test
index 00cbdae..c4240c2 100755
--- a/tests/obsolete.test
+++ b/tests/obsolete.test
@@ -22,24 +22,24 @@ set x ${AUTOUPDATE-autoupdate}
 required=$2
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 END
 
 $PERL -ne '/AU_DEFUN\(\[(\w+)\]/ && print "$1\n"' \
   "$am_automake_acdir/obsolete.m4" > obs
-cat obs >> configure.in
+cat obs >> configure.ac
 $PERL -ne 'chomp; print "grep $_ output || Exit 1\n"; ' obs > obs.1
-$PERL -ne 'chomp; print "grep $_ configure.in && Exit 1\n"; ' obs > obs.2
+$PERL -ne 'chomp; print "grep $_ configure.ac && Exit 1\n"; ' obs > obs.2
 echo : >> obs.1 # Since it will be sourced, it must end with a success.
 echo : >> obs.2 # Likewise.
 
-cat configure.in # For debugging.
+cat configure.ac # For debugging.
 cat obs.1        # Likewise.
 cat obs.2        # Likewise.
 
-# Sanity check.  Make sure we have added something to configure.in.
-test `wc -l <configure.in` -gt 1
+# Sanity check.  Make sure we have added something to configure.ac.
+test `wc -l <configure.ac` -gt 1
 
 $ACLOCAL
 
@@ -51,7 +51,7 @@ cat output
 $AUTOUPDATE
 . ./obs.2
 
-# Autoconf should be able to grok the updated configure.in.
+# Autoconf should be able to grok the updated configure.ac.
 $AUTOCONF
 
 :
diff --git a/tests/order.test b/tests/order.test
index 2dbee35..2383403 100755
--- a/tests/order.test
+++ b/tests/order.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 jm_TEST
 FOO
 END
diff --git a/tests/output-order.test b/tests/output-order.test
index f260672..f242a51 100755
--- a/tests/output-order.test
+++ b/tests/output-order.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/output.test b/tests/output.test
index e241b1d..faf877b 100755
--- a/tests/output.test
+++ b/tests/output.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_OUTPUT([Makefile frob/zardoz])
diff --git a/tests/output10.test b/tests/output10.test
index 904e2bf..92492f6 100755
--- a/tests/output10.test
+++ b/tests/output10.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << END
+cat >> configure.ac << END
 AC_SUBST([FOO], [top])
 AC_SUBST([BAR], [bot])
 AC_CONFIG_FILES([a/top])
diff --git a/tests/output11.test b/tests/output11.test
index 8291fa5..4413f97 100755
--- a/tests/output11.test
+++ b/tests/output11.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << \END
+cat >> configure.ac << \END
 AC_SUBST([FOO], [foo])
 file1=this.in
 echo @FOO@ >$file1
diff --git a/tests/output12.test b/tests/output12.test
index 11a8f36..a3693cc 100755
--- a/tests/output12.test
+++ b/tests/output12.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << \END
+cat >> configure.ac << \END
 AC_SUBST([FOO], [foo])
 AC_SUBST([file1], [this.in])
 echo @FOO@ >$file1
diff --git a/tests/output13.test b/tests/output13.test
index 21fd4fe..53d914d 100755
--- a/tests/output13.test
+++ b/tests/output13.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << \END
+cat >> configure.ac << \END
 AC_SUBST([FOO], [foo])
 if $create; then
   AC_CONFIG_FILES([file])
diff --git a/tests/output2.test b/tests/output2.test
index e7614da..41c81bf 100755
--- a/tests/output2.test
+++ b/tests/output2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_OUTPUT([Makefile intl/intlh.inst po/Makefile.in misc/gettextize])
diff --git a/tests/output3.test b/tests/output3.test
index 30df453..dd7aaef 100755
--- a/tests/output3.test
+++ b/tests/output3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_OUTPUT([Makefile
diff --git a/tests/output4.test b/tests/output4.test
index f4ee145..fa6a95e 100755
--- a/tests/output4.test
+++ b/tests/output4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_OUTPUT([tests/Makefile tests/defs])
diff --git a/tests/output5.test b/tests/output5.test
index 4915370..8bf9403 100755
--- a/tests/output5.test
+++ b/tests/output5.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([foo], [bar], [baz])
 AM_INIT_AUTOMAKE
 AC_OUTPUT
diff --git a/tests/output6.test b/tests/output6.test
index 0752712..80ae4ff 100755
--- a/tests/output6.test
+++ b/tests/output6.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([foo:a.in:b.in:c.in:d.in])
diff --git a/tests/output7.test b/tests/output7.test
index dc9752e..57ff35a 100755
--- a/tests/output7.test
+++ b/tests/output7.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([
diff --git a/tests/output8.test b/tests/output8.test
index a90280b..75d7110 100755
--- a/tests/output8.test
+++ b/tests/output8.test
@@ -22,8 +22,8 @@
 mkdir testdir
 cd testdir
 
-mv ../configure.in .
-cat >> configure.in << END
+mv ../configure.ac .
+cat >> configure.ac << END
 AC_CONFIG_FILES([a/foo.sh:../testdir/a/foo.sh.in])
 AC_CONFIG_FILES([a/Makefile])
 AC_OUTPUT
diff --git a/tests/output9.test b/tests/output9.test
index 10c30ce..f075910 100755
--- a/tests/output9.test
+++ b/tests/output9.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << END
+cat >> configure.ac << END
 AC_CONFIG_FILES([a/mid.in:a/input.in.in])
 AC_CONFIG_FILES([b/out:a/mid.in])
 AC_CONFIG_FILES([a/Makefile b/Makefile])
diff --git a/tests/override-conditional-1.test 
b/tests/override-conditional-1.test
index 1f7b550..1f66d3f 100755
--- a/tests/override-conditional-1.test
+++ b/tests/override-conditional-1.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND], [test x"$cond" = x"yes"])
 AC_OUTPUT
 END
diff --git a/tests/override-conditional-2.test 
b/tests/override-conditional-2.test
index acaa497..4f06888 100755
--- a/tests/override-conditional-2.test
+++ b/tests/override-conditional-2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND], [:])
 END
 
diff --git a/tests/parallel-am.test b/tests/parallel-am.test
index b73f0f8..db184b2 100755
--- a/tests/parallel-am.test
+++ b/tests/parallel-am.test
@@ -38,7 +38,7 @@
 required=perl-threads
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([parallel-am], [1.0])
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
@@ -54,7 +54,7 @@ END
 
 list='1 2 3 4 5 6 7 8 9'
 for i in $list; do
-  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.in
+  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac
   echo "SUBDIRS += sub$i" >> Makefile.am
   mkdir sub$i
   echo > sub$i/Makefile.am
diff --git a/tests/parallel-am2.test b/tests/parallel-am2.test
index 3d8f987..a8ee1b9 100755
--- a/tests/parallel-am2.test
+++ b/tests/parallel-am2.test
@@ -34,7 +34,7 @@ END
 
 list='1 2 3'
 for i in $list; do
-  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.in
+  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac
   echo "SUBDIRS += sub$i" >> Makefile.am
   mkdir sub$i sub$i/sub
   unindent > sub$i/Makefile.am << END
diff --git a/tests/parallel-am3.test b/tests/parallel-am3.test
index dba3397..d630290 100755
--- a/tests/parallel-am3.test
+++ b/tests/parallel-am3.test
@@ -24,7 +24,7 @@
 required=perl-threads
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([parallel-am], [1.0])
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
@@ -40,7 +40,7 @@ END
 
 list='1 2 3'
 for i in $list; do
-  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.in
+  echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac
   echo "SUBDIRS += sub$i" >> Makefile.am
   mkdir sub$i
   unindent > sub$i/Makefile.am <<END
diff --git a/tests/parallel-tests-cmdline-override.test 
b/tests/parallel-tests-cmdline-override.test
index ed725ab..7d219e9 100755
--- a/tests/parallel-tests-cmdline-override.test
+++ b/tests/parallel-tests-cmdline-override.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-console-output.test 
b/tests/parallel-tests-console-output.test
index a25b405..ac43b25 100755
--- a/tests/parallel-tests-console-output.test
+++ b/tests/parallel-tests-console-output.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-driver-install.test 
b/tests/parallel-tests-driver-install.test
index 012602d..b538799 100755
--- a/tests/parallel-tests-driver-install.test
+++ b/tests/parallel-tests-driver-install.test
@@ -25,7 +25,7 @@ am_parallel_tests=yes
 mkdir am-init-automake
 cd am-init-automake
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([my_aux_dir])
 AM_INIT_AUTOMAKE([parallel-tests])
@@ -53,7 +53,7 @@ test -f my_aux_dir/test-driver
 test ! -r test-driver
 test ! -r sub/test-driver
 
-grep '^configure\.in:3:.*installing.*my_aux_dir/test-driver' stderr
+grep '^configure\.ac:3:.*installing.*my_aux_dir/test-driver' stderr
 
 cd ..
 
@@ -62,7 +62,7 @@ cd ..
 mkdir automake-options
 cd automake-options
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
diff --git a/tests/parallel-tests-dry-run-1.test 
b/tests/parallel-tests-dry-run-1.test
index 27e62a0..b094c18 100755
--- a/tests/parallel-tests-dry-run-1.test
+++ b/tests/parallel-tests-dry-run-1.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 TESTS = foo.test bar.test
diff --git a/tests/parallel-tests-dry-run-2.test 
b/tests/parallel-tests-dry-run-2.test
index 6cf1c23..0d13677 100755
--- a/tests/parallel-tests-dry-run-2.test
+++ b/tests/parallel-tests-dry-run-2.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-empty-testlogs.test 
b/tests/parallel-tests-empty-testlogs.test
index 9e27041..c49a412 100755
--- a/tests/parallel-tests-empty-testlogs.test
+++ b/tests/parallel-tests-empty-testlogs.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/parallel-tests-exeext.test b/tests/parallel-tests-exeext.test
index 05836ff..e93f5f1 100755
--- a/tests/parallel-tests-exeext.test
+++ b/tests/parallel-tests-exeext.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 dnl We need to fool the init.m4 internals a little.
 AC_DEFUN([_AM_FOO],
   [m4_provide([_AM_COMPILER_EXEEXT])
diff --git a/tests/parallel-tests-exit-statuses.test 
b/tests/parallel-tests-exit-statuses.test
index 69bd04c..bf75fa3 100755
--- a/tests/parallel-tests-exit-statuses.test
+++ b/tests/parallel-tests-exit-statuses.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-extra-programs.test 
b/tests/parallel-tests-extra-programs.test
index 94f4aef..7e61f4b 100755
--- a/tests/parallel-tests-extra-programs.test
+++ b/tests/parallel-tests-extra-programs.test
@@ -21,7 +21,7 @@ required='cc native'
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/parallel-tests-fd-redirect-exeext.test 
b/tests/parallel-tests-fd-redirect-exeext.test
index 09d6297..46e0b66 100755
--- a/tests/parallel-tests-fd-redirect-exeext.test
+++ b/tests/parallel-tests-fd-redirect-exeext.test
@@ -25,7 +25,7 @@ required='cc native'
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 # Calls like "write(9, ...)" are unlikely to work for MinGW-compiled
 # programs.  We must skip this test if this is the case.
diff --git a/tests/parallel-tests-fd-redirect.test 
b/tests/parallel-tests-fd-redirect.test
index 4af48da..90b44ae 100755
--- a/tests/parallel-tests-fd-redirect.test
+++ b/tests/parallel-tests-fd-redirect.test
@@ -23,7 +23,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-fork-bomb.test 
b/tests/parallel-tests-fork-bomb.test
index 1f86c75..2032d7b 100755
--- a/tests/parallel-tests-fork-bomb.test
+++ b/tests/parallel-tests-fork-bomb.test
@@ -42,7 +42,7 @@ is_too_deep := $(shell test $(MAKELEVEL) -lt 10 && echo no)
  endif
 END
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 # Another helpful idiom to avoid hanging on capable systems.  The subshell
 # is needed since `ulimit' might be a special shell builtin.
diff --git a/tests/parallel-tests-harderror.test 
b/tests/parallel-tests-harderror.test
index ae6765c..6f69eef 100755
--- a/tests/parallel-tests-harderror.test
+++ b/tests/parallel-tests-harderror.test
@@ -19,7 +19,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/parallel-tests-interrupt.tap 
b/tests/parallel-tests-interrupt.tap
index 795b01d..39a04a7 100755
--- a/tests/parallel-tests-interrupt.tap
+++ b/tests/parallel-tests-interrupt.tap
@@ -24,7 +24,7 @@ am_parallel_tests=yes
 
 plan_ 16
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-log-compiler-1.test 
b/tests/parallel-tests-log-compiler-1.test
index 10a56b3..a44a4c5 100755
--- a/tests/parallel-tests-log-compiler-1.test
+++ b/tests/parallel-tests-log-compiler-1.test
@@ -22,7 +22,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([acsubst_compiler], [t-compiler])
 AC_CONFIG_LINKS([chk-compiler:chk-compiler])
 AC_OUTPUT
diff --git a/tests/parallel-tests-log-compiler-2.test 
b/tests/parallel-tests-log-compiler-2.test
index c3825a1..7443e26 100755
--- a/tests/parallel-tests-log-compiler-2.test
+++ b/tests/parallel-tests-log-compiler-2.test
@@ -23,7 +23,7 @@ am_parallel_tests=yes
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/parallel-tests-log-compiler-example.test 
b/tests/parallel-tests-log-compiler-example.test
index a043c5d..8b45758 100755
--- a/tests/parallel-tests-log-compiler-example.test
+++ b/tests/parallel-tests-log-compiler-example.test
@@ -21,7 +21,7 @@ am_parallel_tests=yes
 required=python
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_SUBST([PERL], ['$PERL'])
 AM_PATH_PYTHON
 AC_OUTPUT
diff --git a/tests/parallel-tests-log-override-1.test 
b/tests/parallel-tests-log-override-1.test
index b41feef..a4b3d19 100755
--- a/tests/parallel-tests-log-override-1.test
+++ b/tests/parallel-tests-log-override-1.test
@@ -19,7 +19,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-log-override-2.test 
b/tests/parallel-tests-log-override-2.test
index a3f5f4c..3c11c9c 100755
--- a/tests/parallel-tests-log-override-2.test
+++ b/tests/parallel-tests-log-override-2.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-log-override-recheck.test 
b/tests/parallel-tests-log-override-recheck.test
index a2255c4..04e3768 100755
--- a/tests/parallel-tests-log-override-recheck.test
+++ b/tests/parallel-tests-log-override-recheck.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-many.test b/tests/parallel-tests-many.test
new file mode 100755
index 0000000..a54d929
--- /dev/null
+++ b/tests/parallel-tests-many.test
@@ -0,0 +1,176 @@
+#! /bin/sh
+# Copyright (C) 2012 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Check that the parallel-tests harness does not hit errors due to
+# an exceeded command line length when there are many tests.
+# For automake bug#7868.  This test is currently expected to fail.
+
+am_parallel_tests=yes
+. ./defs || Exit 1
+
+set -e
+
+cat >> configure.ac << 'END'
+AC_OUTPUT
+END
+
+cat > Makefile.am <<'END'
+# Sanity check that the $(TESTS) is going to exceed the system
+# command line length.
+# Extra quoting and indirections below are required to ensure the
+# various make implementations (e.g, GNU make or Sun Distributed Make)
+# will truly spawn a shell to execute this command, instead of relying
+# on optimizations that might mask the "Argument list too long" error
+# we expect.
+this-will-fail:
+       @":" && ":" $(TEST_LOGS)
+TEST_LOG_COMPILER = true
+include list-of-tests.am
+# So that we won't have to create a ton of dummy test cases.
+$(TESTS):
+END
+
+# The real instance will be dynamically created later.
+echo TESTS = foo.test > list-of-tests.am
+
+$ACLOCAL && $AUTOCONF && $AUTOMAKE -a \
+  || framework_failure_ "unexpected autotools failure"
+./configure \
+  || framework_failure_ "unexpected configure failure"
+
+# We want to hit the system command-line length limit without hitting
+# the filename length limit or the PATHMAX limit; so we use longish
+# (but not too long) names for the testcase, and place them in a nested
+# (but not too deeply) directory.
+# We also prefer to use the minimal(ish) number of test cases that can
+# make us hit the command-line length limit, since the more the test
+# cases are, the more time "automake" and "make check" will take to run
+# (especially on Cygwin and MinGW/MSYS).
+
+tname="wow-this-is-a-very-long-name-for-a-simple-dummy-test-case"
+dname="and-this-too-is-a-very-long-name-for-a-dummy-directory"
+
+deepdir=.
+depth=0
+for i in 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 29 21 22 23 24; do
+  new_deepdir=$deepdir/$dname.d$i
+  mkdir $new_deepdir || break
+  tmpfile=$new_deepdir/$tname-some-more-chars-for-good-measure
+  if touch $tmpfile; then
+    rm -f $tmpfile || Exit 99
+  else
+    rmdir $new_deepdir || Exit 99
+  fi
+  deepdir=$new_deepdir
+  unset tmpfile new_deepdir
+  depth=$i
+done
+
+cat <<END
+*********************************************************************
+Our tests will be in the following directory (depth = $depth)
+*********************************************************************
+$deepdir
+*********************************************************************
+END
+
+setup_data ()
+{
+  awk "
+    BEGIN {
+      print \"TESTS = \\\\\"
+      for (i = 1; i < $count; i = i + 1)
+        print \"  $deepdir/$tname-\" i \".test \\\\\"
+      print \"  $deepdir/$tname-\" i \".test\"
+    }
+  " > list-of-tests.am || Exit 99
+  $AUTOMAKE Makefile \
+    || framework_failure_ "unexpected automake failure"
+  ./config.status Makefile \
+    || framework_failure_ "unexpected config.status failure"
+}
+
+for count in 1 2 4 8 12 16 20 24 28 32 48 64 96 128 E_HUGE; do
+  test $count = E_HUGE && break
+  count=`expr $count '*' 100` || Exit 99
+  setup_data
+  if $MAKE this-will-fail; then
+    continue
+  else
+    # We have managed to find a number of test cases large enough to
+    # hit the system command-line limits; we can stop.  But first, for
+    # good measure, increase the number of tests of some 20%, to be
+    # "even more sure" of really tickling command line length limits.
+    count=`expr '(' $count '*' 12 ')' / 10` || Exit 99
+    setup_data
+    break
+  fi
+done
+
+if test $count = E_HUGE; then
+  framework_failure_ "system has a too-high limit on command line length"
+else
+  cat <<END
+*********************************************************************
+               Number of tests we will use: $count
+*********************************************************************
+END
+fi
+
+$MAKE check TESTS=$deepdir/$tname-1.test \
+  && test -f $deepdir/$tname-1.log \
+  || framework_failure_ "\"make check\" with one single tests"
+
+rm -f $deepdir/* || Exit 99
+
+$MAKE check > stdout || { cat stdout; Exit 1; }
+cat stdout
+
+grep "All $count tests" stdout
+
+grep "^PASS: .*$tname-[0-9][0-9]*\.test" stdout > grp
+ls -1 $deepdir | grep '\.log$' > lst
+
+sed 20q lst # For debugging.
+sed 20q grp # Likewise.
+
+test `cat <grp | wc -l` -eq $count
+test `cat <lst | wc -l` -eq $count
+
+# We need to simulate a failure of two tests.
+st=0
+env TESTS="$deepdir/$tname-1.test $deepdir/$tname-2.test" \
+    $MAKE check TEST_LOG_COMPILER=false > stdout && st=1
+cat stdout
+test `grep -c '^FAIL:' stdout` -eq 2 || st=1
+test $st -eq 0 || fatal_ "couldn't simulate failure of two tests"
+unset st
+
+$MAKE recheck > stdout || { cat stdout; Exit 1; }
+cat stdout
+grep "^PASS: .*$tname-1\.test" stdout
+grep "^PASS: .*$tname-2\.test" stdout
+test `LC_ALL=C grep -c "^[A-Z][A-Z]*:" stdout` -eq 2
+grep "All 2 tests" stdout
+
+# "make clean" might ignore some failures, so we prefer to also grep its
+# output to ensure that no "Argument list too long" error was encountered.
+$MAKE clean >output 2>&1 || { cat output; Exit 1; }
+cat output
+grep -i 'list.* too long' output && Exit 1
+ls $deepdir | grep '\.log$' && Exit 1
+
+:
diff --git a/tests/parallel-tests-no-color-in-log.test 
b/tests/parallel-tests-no-color-in-log.test
index 3161efa..313d8d3 100755
--- a/tests/parallel-tests-no-color-in-log.test
+++ b/tests/parallel-tests-no-color-in-log.test
@@ -32,7 +32,7 @@ esac
 
 TERM=ansi; export TERM
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-no-spurious-summary.test 
b/tests/parallel-tests-no-spurious-summary.test
index 4a9fd23..ce33c7b 100755
--- a/tests/parallel-tests-no-spurious-summary.test
+++ b/tests/parallel-tests-no-spurious-summary.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-once.test b/tests/parallel-tests-once.test
index 0a7360d..4962ecd 100755
--- a/tests/parallel-tests-once.test
+++ b/tests/parallel-tests-once.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-reset-term.test 
b/tests/parallel-tests-reset-term.test
index eab2948..6307f6e 100755
--- a/tests/parallel-tests-reset-term.test
+++ b/tests/parallel-tests-reset-term.test
@@ -30,7 +30,7 @@ case `echo "$esc" | $FGREP "$esc"` in
   *) skip_ "$FGREP can't parse nonprinting characters" ;;
 esac
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-subdir.test b/tests/parallel-tests-subdir.test
index 7e7e031..6848edb 100755
--- a/tests/parallel-tests-subdir.test
+++ b/tests/parallel-tests-subdir.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-suffix-prog.test 
b/tests/parallel-tests-suffix-prog.test
index 10438a7..abd4a5c 100755
--- a/tests/parallel-tests-suffix-prog.test
+++ b/tests/parallel-tests-suffix-prog.test
@@ -22,7 +22,7 @@ am_parallel_tests=yes
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/parallel-tests-suffix.test b/tests/parallel-tests-suffix.test
index 826bb81..bd72d0d 100755
--- a/tests/parallel-tests-suffix.test
+++ b/tests/parallel-tests-suffix.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests-trailing-bslash.test 
b/tests/parallel-tests-trailing-bslash.test
index 418b722..129c5a1 100755
--- a/tests/parallel-tests-trailing-bslash.test
+++ b/tests/parallel-tests-trailing-bslash.test
@@ -22,7 +22,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 TESTS = foo.test
diff --git a/tests/parallel-tests-unreadable.test 
b/tests/parallel-tests-unreadable.test
index 2bb5059..1750e26 100755
--- a/tests/parallel-tests-unreadable.test
+++ b/tests/parallel-tests-unreadable.test
@@ -24,7 +24,7 @@ am_parallel_tests=yes
 chmod a-r t && test ! -r t || skip_ "you can still read unreadable files"
 rm -f t
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests.test b/tests/parallel-tests.test
index dcaf99c..4861ff5 100755
--- a/tests/parallel-tests.test
+++ b/tests/parallel-tests.test
@@ -26,7 +26,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests10.test b/tests/parallel-tests10.test
index 2f2cae4..322767a 100755
--- a/tests/parallel-tests10.test
+++ b/tests/parallel-tests10.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests2.test b/tests/parallel-tests2.test
index 105345c..86e4a2b 100755
--- a/tests/parallel-tests2.test
+++ b/tests/parallel-tests2.test
@@ -39,7 +39,7 @@ unset r2h
 cp "$top_testsrcdir"/contrib/check-html.am . \
   || fatal_ "cannot fetch 'check-html.am' from contrib"
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests3.test b/tests/parallel-tests3.test
index ffa900e..9ba27f2 100755
--- a/tests/parallel-tests3.test
+++ b/tests/parallel-tests3.test
@@ -24,7 +24,7 @@ case $MAKE in
   *\ -j*) skip_ "\$MAKE contains \`-j'";;
 esac
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests5.test b/tests/parallel-tests5.test
index 9500f4d..62256e0 100755
--- a/tests/parallel-tests5.test
+++ b/tests/parallel-tests5.test
@@ -24,7 +24,7 @@ am_parallel_tests=yes
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/parallel-tests6.test b/tests/parallel-tests6.test
index be7e67f..fb908e2 100755
--- a/tests/parallel-tests6.test
+++ b/tests/parallel-tests6.test
@@ -21,7 +21,7 @@
 
 am_parallel_tests=yes
 . ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests8.test b/tests/parallel-tests8.test
index 1681e42..ad55c0e 100755
--- a/tests/parallel-tests8.test
+++ b/tests/parallel-tests8.test
@@ -27,7 +27,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parallel-tests9.test b/tests/parallel-tests9.test
index 6c47f73..f22be8d 100755
--- a/tests/parallel-tests9.test
+++ b/tests/parallel-tests9.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/parse.test b/tests/parse.test
index 37f21f9..20ac2fe 100755
--- a/tests/parse.test
+++ b/tests/parse.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/pattern-rules.test b/tests/pattern-rules.test
index 83e6605..c333194 100755
--- a/tests/pattern-rules.test
+++ b/tests/pattern-rules.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 foo/%.out: bar/%.in
diff --git a/tests/pluseq10.test b/tests/pluseq10.test
index 3c569c1..e9ce944 100755
--- a/tests/pluseq10.test
+++ b/tests/pluseq10.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
 AM_CONDITIONAL([A], [true])
 AM_CONDITIONAL([B], [false])
 AC_OUTPUT
diff --git a/tests/pluseq11.test b/tests/pluseq11.test
index 7da9b4f..0090df0 100755
--- a/tests/pluseq11.test
+++ b/tests/pluseq11.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/pluseq2.test b/tests/pluseq2.test
index 418bf90..d5a3fd9 100755
--- a/tests/pluseq2.test
+++ b/tests/pluseq2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([CHECK], [true])
 END
 
diff --git a/tests/pluseq3.test b/tests/pluseq3.test
index 40ba82c..4085a46 100755
--- a/tests/pluseq3.test
+++ b/tests/pluseq3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([CHECK], [true])
 END
 
diff --git a/tests/pluseq4.test b/tests/pluseq4.test
index 3d8e63c..e95ed85 100755
--- a/tests/pluseq4.test
+++ b/tests/pluseq4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/pluseq5.test b/tests/pluseq5.test
index 5266174..f8ffa00 100755
--- a/tests/pluseq5.test
+++ b/tests/pluseq5.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([CHECK], [true])
 END
 
diff --git a/tests/pluseq6.test b/tests/pluseq6.test
index f41ae51..971ed03 100755
--- a/tests/pluseq6.test
+++ b/tests/pluseq6.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([ZZZ])
 END
 
diff --git a/tests/pluseq7.test b/tests/pluseq7.test
index 7650f68..6136dbe 100755
--- a/tests/pluseq7.test
+++ b/tests/pluseq7.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 END
diff --git a/tests/pluseq9.test b/tests/pluseq9.test
index 20c5ff8..f127a6f 100755
--- a/tests/pluseq9.test
+++ b/tests/pluseq9.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
 AM_CONDITIONAL([COND1], [true])
 AM_CONDITIONAL([COND2], [true])
 AM_CONDITIONAL([COND3], [true])
diff --git a/tests/posixsubst-data.test b/tests/posixsubst-data.test
index 5670ddc..d163049 100755
--- a/tests/posixsubst-data.test
+++ b/tests/posixsubst-data.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/posixsubst-extradist.test b/tests/posixsubst-extradist.test
index 2f8b21b..216a8c9 100755
--- a/tests/posixsubst-extradist.test
+++ b/tests/posixsubst-extradist.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/posixsubst-ldadd.test b/tests/posixsubst-ldadd.test
index 6287c1e..247789e 100755
--- a/tests/posixsubst-ldadd.test
+++ b/tests/posixsubst-ldadd.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AM_PROG_AR
diff --git a/tests/posixsubst-libraries.test b/tests/posixsubst-libraries.test
index 0ade779..01edcbb 100755
--- a/tests/posixsubst-libraries.test
+++ b/tests/posixsubst-libraries.test
@@ -21,7 +21,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 AM_PROG_AR
diff --git a/tests/posixsubst-ltlibraries.test 
b/tests/posixsubst-ltlibraries.test
index 9da7aeb..d967709 100755
--- a/tests/posixsubst-ltlibraries.test
+++ b/tests/posixsubst-ltlibraries.test
@@ -21,7 +21,7 @@
 required='cc libtool libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/posixsubst-programs.test b/tests/posixsubst-programs.test
index 0328a10..29f08dd 100755
--- a/tests/posixsubst-programs.test
+++ b/tests/posixsubst-programs.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/posixsubst-scripts.test b/tests/posixsubst-scripts.test
index f6e1b14..f6c31b3 100755
--- a/tests/posixsubst-scripts.test
+++ b/tests/posixsubst-scripts.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/posixsubst-sources.test b/tests/posixsubst-sources.test
index 0edec08..4c7b740 100755
--- a/tests/posixsubst-sources.test
+++ b/tests/posixsubst-sources.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/posixsubst-tests.test b/tests/posixsubst-tests.test
index bed12ad..9b00b28 100755
--- a/tests/posixsubst-tests.test
+++ b/tests/posixsubst-tests.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/ppf77.test b/tests/ppf77.test
index fe439a7..70266d6 100755
--- a/tests/ppf77.test
+++ b/tests/ppf77.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_F77
 END
 
diff --git a/tests/pr2.test b/tests/pr2.test
index 026d0c4..ffe4a81 100755
--- a/tests/pr2.test
+++ b/tests/pr2.test
@@ -18,7 +18,7 @@
 # "make dist" fails for AC_OUTPUT(README.foo:templ/README.foo.in).
 #
 # == Report ==
-# When my AC_OUTPUT macro in configure.in contains something
+# When my AC_OUTPUT macro in configure.ac contains something
 # like the following (among the Makefiles)
 #       README.foo:templ/README.foo.in
 # the generated dist target in the Makefile.in fails,
@@ -30,7 +30,7 @@
 . ./defs || Exit 1
 
 # Please keep this underquoted and old-style.
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
 AC_OUTPUT(README.foo:templ/README.foo.in Makefile)
diff --git a/tests/pr211.test b/tests/pr211.test
index 0c62481..6cb445e 100755
--- a/tests/pr211.test
+++ b/tests/pr211.test
@@ -30,7 +30,7 @@
 required=libtoolize
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_LIBTOOL
 AC_OUTPUT
diff --git a/tests/pr220.test b/tests/pr220.test
index 4c5b91c..657221d 100755
--- a/tests/pr220.test
+++ b/tests/pr220.test
@@ -31,7 +31,7 @@ endif
 data_DATA = $(NEVER_DEFINED)
 EOF
 
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
 AC_ARG_ENABLE([foo],
 [  --enable-foo          Enable foo],
 [ if test "foo" = "bar" ; then
diff --git a/tests/pr224.test b/tests/pr224.test
index db96161..265a45b 100755
--- a/tests/pr224.test
+++ b/tests/pr224.test
@@ -41,7 +41,7 @@ bin_PROGRAMS = bar
 bar_SOURCES = foo/main.c
 EOF
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/pr229.test b/tests/pr229.test
index 023b6a6..cacdb82 100755
--- a/tests/pr229.test
+++ b/tests/pr229.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<EOF
+cat >> configure.ac <<EOF
 AC_CYGWIN
 EOF
 
diff --git a/tests/pr279-2.test b/tests/pr279-2.test
index da271ec..5618d76 100755
--- a/tests/pr279-2.test
+++ b/tests/pr279-2.test
@@ -26,7 +26,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([FOOTEST], [false])
 AC_OUTPUT
diff --git a/tests/pr279.test b/tests/pr279.test
index dd5961c..3383131 100755
--- a/tests/pr279.test
+++ b/tests/pr279.test
@@ -26,7 +26,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([FOOTEST], [false])
 AC_OUTPUT
diff --git a/tests/pr287.test b/tests/pr287.test
index 576abeb..681f6d6 100755
--- a/tests/pr287.test
+++ b/tests/pr287.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/pr300-lib.test b/tests/pr300-lib.test
index 6745669..9f9791f 100755
--- a/tests/pr300-lib.test
+++ b/tests/pr300-lib.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_RANLIB
 AC_PROG_CC
 AC_OUTPUT
diff --git a/tests/pr300-ltlib.test b/tests/pr300-ltlib.test
index df9c229..09ae870 100755
--- a/tests/pr300-ltlib.test
+++ b/tests/pr300-ltlib.test
@@ -20,7 +20,7 @@
 required='cc libtoolize'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_LIBTOOL
 AC_OUTPUT
diff --git a/tests/pr300-prog.test b/tests/pr300-prog.test
index 0f1c074..6812231 100755
--- a/tests/pr300-prog.test
+++ b/tests/pr300-prog.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/pr307.test b/tests/pr307.test
index f6994cd..b1af312 100755
--- a/tests/pr307.test
+++ b/tests/pr307.test
@@ -35,7 +35,7 @@
 required='libtoolize gcc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_LIBTOOL
 AC_OUTPUT
diff --git a/tests/pr401.test b/tests/pr401.test
index 3ae991d..9652786 100755
--- a/tests/pr401.test
+++ b/tests/pr401.test
@@ -42,7 +42,7 @@ int main (void)
 }
 EOF
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 ## These lines are activated for later tests
 #: AC_CONFIG_LIBOBJ_DIR([lib])
 AC_PROG_CC
@@ -91,8 +91,8 @@ $MAKE distcheck
 # Invocation of AC_CONFIG_LIBOBJ_DIR may be necessary for reasons
 # unrelated to Automake or Makefile.am layout.
 
-sed 's/#: //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#: //' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 $ACLOCAL
 $AUTOCONF
@@ -116,8 +116,8 @@ mv -f src/t src/Makefile.am
 ## Test using LIBOBJS from a sibling directory. ##
 ## -------------------------------------------- ##
 
-sed 's/#x //; s/lib\/Makefile //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 cat >Makefile.am <<'EOF'
 SUBDIRS = src
@@ -153,8 +153,8 @@ $MAKE distclean
 ## Test using LIBOBJS from parent directory. ##
 ## ----------------------------------------- ##
 
-sed 's/^.*src\/Makefile.*$//' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/^.*src\/Makefile.*$//' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 cat >Makefile.am <<'EOF'
 AUTOMAKE_OPTIONS = subdir-objects
diff --git a/tests/pr401b.test b/tests/pr401b.test
index 0195a00..7567866 100755
--- a/tests/pr401b.test
+++ b/tests/pr401b.test
@@ -42,7 +42,7 @@ int main (void)
 }
 EOF
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 ## These lines are activated for later tests
 #: AC_CONFIG_LIBOBJ_DIR([lib])
 AC_PROG_CC
@@ -92,8 +92,8 @@ $MAKE distcheck
 # Invocation of AC_CONFIG_LIBOBJ_DIR may be necessary for reasons
 # unrelated to Automake or Makefile.am layout.
 
-sed 's/#: //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#: //' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 $ACLOCAL
 $AUTOCONF
@@ -116,8 +116,8 @@ mv -f src/t src/Makefile.am
 ## Test using LTLIBOBJS from a sibling directory. ##
 ## ---------------------------------------------- ##
 
-sed 's/#x //; s/lib\/Makefile //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 cat >Makefile.am <<'EOF'
 SUBDIRS = src
@@ -153,8 +153,8 @@ $MAKE distclean
 ## Test using LTLIBOBJS from parent directory. ##
 ## ------------------------------------------- ##
 
-sed 's/^.*src\/Makefile.*$//' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/^.*src\/Makefile.*$//' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 cat >Makefile.am <<'EOF'
 AUTOMAKE_OPTIONS = subdir-objects
diff --git a/tests/pr401c.test b/tests/pr401c.test
index 75b516f..50b2633 100755
--- a/tests/pr401c.test
+++ b/tests/pr401c.test
@@ -45,7 +45,7 @@ int main (void)
 }
 EOF
 
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
 ## These lines are activated for later tests.
 #: AC_CONFIG_LIBOBJ_DIR([lib])
 AC_PROG_CC
@@ -94,8 +94,8 @@ $MAKE distcheck
 # Invocation of AC_CONFIG_LIBOBJ_DIR may be necessary for reasons
 # unrelated to Automake or Makefile.am layout.
 
-sed 's/#: //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#: //' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 $ACLOCAL
 $AUTOCONF
@@ -119,8 +119,8 @@ mv -f src/t src/Makefile.am
 ## Test using ALLOCA from a sibling directory. ##
 ## ------------------------------------------- ##
 
-sed 's/#x //; s/lib\/Makefile //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 cat >Makefile.am <<'EOF'
 SUBDIRS = src
@@ -156,8 +156,8 @@ $MAKE distclean
 ## Test using ALLOCA from parent directory. ##
 ## ---------------------------------------- ##
 
-sed 's/^.*src\/Makefile.*$//' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/^.*src\/Makefile.*$//' configure.ac >configure.int
+mv -f configure.int configure.ac
 
 cat >Makefile.am <<'EOF'
 AUTOMAKE_OPTIONS = subdir-objects
diff --git a/tests/pr72.test b/tests/pr72.test
index 02d0787..b16e879 100755
--- a/tests/pr72.test
+++ b/tests/pr72.test
@@ -20,7 +20,7 @@
 required=libtool
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_LIBTOOL
 END
diff --git a/tests/pr8365-remake-timing.test b/tests/pr8365-remake-timing.test
index 841ed74..7af1e7f 100755
--- a/tests/pr8365-remake-timing.test
+++ b/tests/pr8365-remake-timing.test
@@ -27,7 +27,7 @@
 # We'll use calls to stat to get debugging information.
 if stat /dev/null; then stat=stat; else stat=:; fi
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 FOOBAR=zardoz
 AC_OUTPUT
 END
@@ -45,7 +45,7 @@ $MAKE Makefile
 # Sanity check.
 $EGREP 'FOOBAR|zardoz' Makefile && fatal_ 'unexpected AC_SUBST in Makefile'
 
-echo 'AC_SUBST([FOOBAR])' >> configure.in
+echo 'AC_SUBST([FOOBAR])' >> configure.ac
 
 # Modified configure dependencies must have the same timestamp of
 # config.status and Makefile in order to trigger the bug.
@@ -54,11 +54,11 @@ echo 'AC_SUBST([FOOBAR])' >> configure.in
 # autoconf manual).  Finally, we also sleep before touching, to ensure
 # that the (possibly truncated) timestamps of config.status etc. are
 # strictly newer than the non-truncated configure timestamp.
-$stat config.status Makefile configure.in
+$stat config.status Makefile configure.ac
 $sleep
 touch config.status
-touch -r config.status config.status Makefile configure.in
-$stat config.status Makefile configure.in
+touch -r config.status config.status Makefile configure.ac
+$stat config.status Makefile configure.ac
 
 # Also, the race condition is triggered only when aclocal, automake
 # and aclocal run fast enough to keep the timestamp of the generated
@@ -70,7 +70,7 @@ cat > aclocal-wrap <<END
 #!/bin/sh
 set -ex
 # aclocal shouldn't use our autoconf wrapper when extracting
-# the races from configure.in.
+# the races from configure.ac.
 AUTOCONF='$AUTOCONF'; export AUTOCONF
 $ACLOCAL "\$@"
 touch -r config.status aclocal.m4
@@ -81,7 +81,7 @@ cat > automake-wrap <<END
 #!/bin/sh
 set -ex
 # automake shouldn't use our autoconf wrapper when extracting
-# the races from configure.in.
+# the races from configure.ac.
 AUTOCONF='$AUTOCONF'; export AUTOCONF
 $AUTOMAKE "\$@"
 touch -r config.status Makefile.in
diff --git a/tests/pr87.test b/tests/pr87.test
index 58cdfd2..a0c7ac5 100755
--- a/tests/pr87.test
+++ b/tests/pr87.test
@@ -37,7 +37,7 @@ EOF
 done
 
 echo "SUBDIRS = $subdirs" > Makefile.am
-cat >configure.in <<EOF
+cat >configure.ac <<EOF
 AC_INIT(`echo $subdirs | sed 's|\([a-z][a-z]*\).*|\1/\1.c|'`)
 AC_CONFIG_AUX_DIR(.)
 AM_INIT_AUTOMAKE($me, 1.0)
diff --git a/tests/pr9.test b/tests/pr9.test
index f4c8c26..f1df402 100755
--- a/tests/pr9.test
+++ b/tests/pr9.test
@@ -25,7 +25,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([support])
 AM_INIT_AUTOMAKE
diff --git a/tests/prefix.test b/tests/prefix.test
index 5b43f76..26c088a 100755
--- a/tests/prefix.test
+++ b/tests/prefix.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/primary-prefix-couples-documented-valid.test 
b/tests/primary-prefix-couples-documented-valid.test
index c80afcd..7b0021a 100755
--- a/tests/primary-prefix-couples-documented-valid.test
+++ b/tests/primary-prefix-couples-documented-valid.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/primary-prefix-couples-force-valid.test 
b/tests/primary-prefix-couples-force-valid.test
index db2594d..064db2b 100755
--- a/tests/primary-prefix-couples-force-valid.test
+++ b/tests/primary-prefix-couples-force-valid.test
@@ -26,7 +26,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/primary-prefix-invalid-couples.tap 
b/tests/primary-prefix-invalid-couples.tap
index 3747f3b..d957b1f 100755
--- a/tests/primary-prefix-invalid-couples.tap
+++ b/tests/primary-prefix-invalid-couples.tap
@@ -34,7 +34,7 @@ oIFS=$IFS # Saved for later.
 : > config.guess
 : > config.sub
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/primary-prefix-valid-couples.test 
b/tests/primary-prefix-valid-couples.test
index a345c21..1b1e89b 100755
--- a/tests/primary-prefix-valid-couples.test
+++ b/tests/primary-prefix-valid-couples.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/primary2.test b/tests/primary2.test
index 1298c78..f9417d8 100755
--- a/tests/primary2.test
+++ b/tests/primary2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
 
 cat > Makefile.am << 'END'
 bin_PROGRAMS = @programs@
diff --git a/tests/primary3.test b/tests/primary3.test
index a6b8995..ba34b57 100755
--- a/tests/primary3.test
+++ b/tests/primary3.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_CC
 AC_OUTPUT
 EOF
diff --git a/tests/programs-primary-rewritten.test 
b/tests/programs-primary-rewritten.test
index 65c432e..7e1bd0b 100755
--- a/tests/programs-primary-rewritten.test
+++ b/tests/programs-primary-rewritten.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([FOO], [c])
 AC_OUTPUT
 END
diff --git a/tests/python-dist.test b/tests/python-dist.test
index 6740df6..25dd4fe 100755
--- a/tests/python-dist.test
+++ b/tests/python-dist.test
@@ -19,7 +19,7 @@
 # This test does not require python.
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PATH_PYTHON([], [:], [:])
 AC_OUTPUT
 END
diff --git a/tests/python-vars.test b/tests/python-vars.test
index 53e2620..ff4d13e 100755
--- a/tests/python-vars.test
+++ b/tests/python-vars.test
@@ -40,7 +40,7 @@ pkgpyexecdir="\${pyexecdir}/$me"
 pyvars='PYTHON_VERSION PYTHON_PLATFORM PYTHON_PREFIX PYTHON_EXEC_PREFIX
         pkgpythondir pkgpyexecdir'
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([vars-got pythondir pyexecdir])
 AM_PATH_PYTHON
 AC_OUTPUT
diff --git a/tests/python-virtualenv.test b/tests/python-virtualenv.test
index f12aab8..30854fb 100755
--- a/tests/python-virtualenv.test
+++ b/tests/python-virtualenv.test
@@ -39,7 +39,7 @@ py_version=`python -c 'import sys; print("%u.%u" % 
tuple(sys.version_info[:2]))'
 py_site=$VIRTUAL_ENV/lib/python$py_version/site-packages
 
 # We need control over the package name.
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([am_virtenv], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/python.test b/tests/python.test
index d85631f..8a39f9f 100755
--- a/tests/python.test
+++ b/tests/python.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo 'AM_PATH_PYTHON' >> configure.in
+echo 'AM_PATH_PYTHON' >> configure.ac
 
 cat > Makefile.am << 'END'
 python_PYTHON = foo.py
diff --git a/tests/python10.test b/tests/python10.test
index 67db3fb..b28c3a4 100755
--- a/tests/python10.test
+++ b/tests/python10.test
@@ -19,7 +19,7 @@
 required=python
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_PATH_PYTHON
 AM_CONDITIONAL([ONE], [test "x$one" = x1])
 AC_OUTPUT
diff --git a/tests/python11.test b/tests/python11.test
index 7e2c52a..aff3c9c 100755
--- a/tests/python11.test
+++ b/tests/python11.test
@@ -19,7 +19,7 @@
 # Python is not required for this test.
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 m4_define([_AM_PYTHON_INTERPRETER_LIST], [IShouldNotExist1 IShouldNotExist2])
 AM_PATH_PYTHON
 # The following be executed only after the first run, once a
@@ -40,8 +40,8 @@ grep 'checking for IShouldNotExist1' stdout
 grep 'checking for IShouldNotExist2' stdout
 grep 'no suitable Python interpreter found' stderr
 
-sed 's/AM_PATH_PYTHON/AM_PATH_PYTHON(,,:)/' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/AM_PATH_PYTHON/AM_PATH_PYTHON(,,:)/' configure.ac >configure.int
+mv -f configure.int configure.ac
 $ACLOCAL --force
 $AUTOCONF --force
 # This one should define PYTHON as ":" and exit successfully.
diff --git a/tests/python12.test b/tests/python12.test
index 38270d0..3faeb45 100755
--- a/tests/python12.test
+++ b/tests/python12.test
@@ -19,7 +19,7 @@
 required=python
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_PATH_PYTHON
 AC_OUTPUT
 EOF
diff --git a/tests/python3.test b/tests/python3.test
index 6d1fda0..72021cd 100755
--- a/tests/python3.test
+++ b/tests/python3.test
@@ -19,7 +19,7 @@
 required=python
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AM_PATH_PYTHON
 AC_OUTPUT
 EOF
diff --git a/tests/python4.test b/tests/python4.test
index 65d3754..4294bb2 100755
--- a/tests/python4.test
+++ b/tests/python4.test
@@ -19,7 +19,7 @@
 # Python is not required for this test.
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AM_PATH_PYTHON
 AC_OUTPUT
 EOF
diff --git a/tests/python5.test b/tests/python5.test
index f3ee778..80429f9 100755
--- a/tests/python5.test
+++ b/tests/python5.test
@@ -20,7 +20,7 @@
 # Python is not required for this test.
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 # Hopefully the Python team will never release such a version.
 AM_PATH_PYTHON([9999.9])
 AC_OUTPUT
diff --git a/tests/python5b.test b/tests/python5b.test
index e95e035..b382b38 100755
--- a/tests/python5b.test
+++ b/tests/python5b.test
@@ -20,7 +20,7 @@
 required=python
 . ./defs || Exit 1
 
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
 # Hopefully the Python team will never release such a version.
 AM_PATH_PYTHON([9999.9])
 AC_OUTPUT
diff --git a/tests/python6.test b/tests/python6.test
index 21d8d1e..0e09a43 100755
--- a/tests/python6.test
+++ b/tests/python6.test
@@ -20,7 +20,7 @@
 # Python is not required for this test.
 . ./defs || Exit 1
 
-cat >>configure.in <<\EOF
+cat >>configure.ac <<\EOF
 AM_PATH_PYTHON(,, [echo "$PYTHON" > py])
 AC_OUTPUT
 EOF
diff --git a/tests/python7.test b/tests/python7.test
index 070139d..ec0ac07 100755
--- a/tests/python7.test
+++ b/tests/python7.test
@@ -20,7 +20,7 @@
 # Python is not required for this test.
 . ./defs || Exit 1
 
-cat >>configure.in <<\EOF
+cat >>configure.ac <<\EOF
 # Hopefully the Python team will never release such a version.
 AM_PATH_PYTHON([9999.9], [], [echo "$PYTHON" > py])
 AC_OUTPUT
diff --git a/tests/python8.test b/tests/python8.test
index 1ba387f..f999cb6 100755
--- a/tests/python8.test
+++ b/tests/python8.test
@@ -19,7 +19,7 @@
 required=python
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 # $PYTHON is supposed to be properly set in ACTION-IF-TRUE.
 AM_PATH_PYTHON(, [$PYTHON -V >py-version 2>&1])
 AC_OUTPUT
diff --git a/tests/python9.test b/tests/python9.test
index 35929c9..e567adc 100755
--- a/tests/python9.test
+++ b/tests/python9.test
@@ -20,7 +20,7 @@
 required=python
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 # $PYTHON is supposed to be properly set in ACTION-IF-TRUE.
 AM_PATH_PYTHON([0.0], [$PYTHON -c 'print("%u:%u" % (1-1, 2**0))' > py.out])
 AC_OUTPUT
diff --git a/tests/recurs.test b/tests/recurs.test
index bcec365..5a9c165 100755
--- a/tests/recurs.test
+++ b/tests/recurs.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL(ONE, true)
 AM_CONDITIONAL(TWO, false)
diff --git a/tests/remake-all-1.test b/tests/remake-all-1.test
index 59c2f69..066d6e2 100755
--- a/tests/remake-all-1.test
+++ b/tests/remake-all-1.test
@@ -24,7 +24,7 @@ magic1=::MagicStringOne::
 magic2=__MagicStringTwo__
 magic3=%%MagicStringThree%%
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([$mkfile sub/$mkfile])
@@ -50,7 +50,7 @@ $FGREP "$magic1" mkfile.in && Exit 1 # Sanity check.
 
 # - either a file in $(am__configure_deps) has been updated ...
 $sleep
-echo "AC_SUBST([FOO])" >> configure.in
+echo "AC_SUBST([FOO])" >> configure.ac
 $MAKE
 $FGREP FOO $mkfile # For debugging.
 $FGREP $magic1 $mkfile
diff --git a/tests/remake-am-pr10111.test b/tests/remake-am-pr10111.test
index d6d225a..c567608 100755
--- a/tests/remake-am-pr10111.test
+++ b/tests/remake-am-pr10111.test
@@ -24,7 +24,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
@@ -53,7 +53,7 @@ mkdir build
 cd build
 ../configure
 # He wants to verify that the rules he's written to rebuild a file
-# included by configure.in works also in VPATH builds.
+# included by configure.ac works also in VPATH builds.
 rm -f ../foobar.am
 $MAKE
 grep '= foobar was here =' ../Makefile.in
diff --git a/tests/remake-deleted-am-2.test b/tests/remake-deleted-am-2.test
index e855115..6169639 100755
--- a/tests/remake-deleted-am-2.test
+++ b/tests/remake-deleted-am-2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 $ACLOCAL
 $AUTOCONF
diff --git a/tests/remake-deleted-am-subdir.test 
b/tests/remake-deleted-am-subdir.test
index 022fbb7..fefe1ff 100755
--- a/tests/remake-deleted-am-subdir.test
+++ b/tests/remake-deleted-am-subdir.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/remake-deleted-am.test b/tests/remake-deleted-am.test
index ba8c6f9..2543bd6 100755
--- a/tests/remake-deleted-am.test
+++ b/tests/remake-deleted-am.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 $ACLOCAL
 $AUTOCONF
diff --git a/tests/remake-deleted-m4-file.test 
b/tests/remake-deleted-m4-file.test
index bcd17fa..258dde2 100755
--- a/tests/remake-deleted-m4-file.test
+++ b/tests/remake-deleted-m4-file.test
@@ -22,7 +22,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 FOO_MACRO
 AC_OUTPUT
 END
@@ -63,8 +63,8 @@ $MAKE test
 
 $sleep
 
-sed -e "s|FOO_MACRO|$macro_value|" configure.in > t
-mv -f t configure.in
+sed -e "s|FOO_MACRO|$macro_value|" configure.ac > t
+mv -f t configure.ac
 rm -f m4/foo.m4
 
 $MAKE test
diff --git a/tests/remake-gnulib-add-acsubst.test 
b/tests/remake-gnulib-add-acsubst.test
index f794d7b..3d3ab08 100755
--- a/tests/remake-gnulib-add-acsubst.test
+++ b/tests/remake-gnulib-add-acsubst.test
@@ -24,7 +24,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 MY_MACROS
 AC_OUTPUT
diff --git a/tests/remake-gnulib-add-header.test 
b/tests/remake-gnulib-add-header.test
index 7422c27..91c38e5 100755
--- a/tests/remake-gnulib-add-header.test
+++ b/tests/remake-gnulib-add-header.test
@@ -24,7 +24,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_HEADERS([config.h])
 AC_PROG_CC
 MY_MACROS
diff --git a/tests/remake-gnulib-remove-header.test 
b/tests/remake-gnulib-remove-header.test
index f64f7de..aff60df 100755
--- a/tests/remake-gnulib-remove-header.test
+++ b/tests/remake-gnulib-remove-header.test
@@ -25,7 +25,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_HEADERS([config.h])
 AC_PROG_CC
 MY_MACROS
diff --git a/tests/remake-m4-pr10111.test b/tests/remake-m4-pr10111.test
index c988f28..09a2a4c 100755
--- a/tests/remake-m4-pr10111.test
+++ b/tests/remake-m4-pr10111.test
@@ -24,7 +24,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 m4_include([foobar.m4])
 AC_OUTPUT
 END
@@ -51,7 +51,7 @@ mkdir build
 cd build
 ../configure
 # He wants to verify that the rules he's written to rebuild a file
-# included by configure.in works also in VPATH builds.
+# included by configure.ac works also in VPATH builds.
 rm -f ../foobar.m4
 $MAKE
 grep ': foobar was here :' ../configure
diff --git a/tests/remake-moved-m4-file.test b/tests/remake-moved-m4-file.test
index c5d1e6e..d2ac95b 100755
--- a/tests/remake-moved-m4-file.test
+++ b/tests/remake-moved-m4-file.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 MY_MACRO
 AC_OUTPUT
 END
diff --git a/tests/remake-renamed-am.test b/tests/remake-renamed-am.test
index fbb7acf..1df75f3 100755
--- a/tests/remake-renamed-am.test
+++ b/tests/remake-renamed-am.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am <<'END'
 include foo.am
diff --git a/tests/remake-renamed-m4-file.test 
b/tests/remake-renamed-m4-file.test
index 9311b33..553da92 100755
--- a/tests/remake-renamed-m4-file.test
+++ b/tests/remake-renamed-m4-file.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 MY_MACRO
 AC_OUTPUT
 END
diff --git a/tests/remake-renamed-m4-macro-and-file.test 
b/tests/remake-renamed-m4-macro-and-file.test
index 2d93fc8..6e99cdf 100755
--- a/tests/remake-renamed-m4-macro-and-file.test
+++ b/tests/remake-renamed-m4-macro-and-file.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 MY_MACRO
 AC_OUTPUT
 END
@@ -71,8 +71,8 @@ sed -e 's/BAR_MACRO/QUUX_MACRO/' \
 sed -e 's/BAR_MACRO/QUUX_MACRO/' -e 's/MY_MACRO/A_MACRO/' \
   m4/macros.m4 > m4/defs.m4
 rm -f m4/macros.m4 m4/bar.m4
-sed -e 's/BAR_MACRO/QUUX_MACRO/' -e 's/MY_MACRO/A_MACRO/' configure.in > t
-mv -f t configure.in
+sed -e 's/BAR_MACRO/QUUX_MACRO/' -e 's/MY_MACRO/A_MACRO/' configure.ac > t
+mv -f t configure.ac
 $MAKE test
 $MAKE distdir
 ls -l $distdir $distdir/*
diff --git a/tests/remake-renamed-m4-macro.test 
b/tests/remake-renamed-m4-macro.test
index 48b9e43..981a440 100755
--- a/tests/remake-renamed-m4-macro.test
+++ b/tests/remake-renamed-m4-macro.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 MY_MACRO
 AC_OUTPUT
 END
@@ -60,7 +60,7 @@ $MAKE test
 
 $sleep
 
-for f in m4/macros.m4 configure.in; do
+for f in m4/macros.m4 configure.ac; do
   sed -e 's/MY_MACRO/YOUR_MACRO/' $f > t
   mv -f t $f
 done
diff --git a/tests/remake-subdir-from-subdir.test 
b/tests/remake-subdir-from-subdir.test
index 8761921..9421e03 100755
--- a/tests/remake-subdir-from-subdir.test
+++ b/tests/remake-subdir-from-subdir.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 m4_include([subdirs.m4])
 AC_SUBST([MAGIC], [magic])
 AC_OUTPUT
diff --git a/tests/remake-subdir-gnu.test b/tests/remake-subdir-gnu.test
index 2be942a..6b0a26c 100755
--- a/tests/remake-subdir-gnu.test
+++ b/tests/remake-subdir-gnu.test
@@ -31,7 +31,7 @@ debug_info ()
                 sub/GNUmakefile.in sub/GNUmakefile
 }
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([GNUmakefile sub/GNUmakefile])
@@ -55,8 +55,8 @@ $MAKE
 debug_info
 
 $sleep
-sed "s|magic|$magic1|" configure.in > t
-mv -f t configure.in
+sed "s|magic|$magic1|" configure.ac > t
+mv -f t configure.ac
 cd sub
 $MAKE
 cd ..
diff --git a/tests/remake-subdir-long-time.test 
b/tests/remake-subdir-long-time.test
index 0d04b00..89dccaf 100755
--- a/tests/remake-subdir-long-time.test
+++ b/tests/remake-subdir-long-time.test
@@ -23,7 +23,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE([foreign -Wall -Werror])
 AC_CONFIG_FILES([Makefile sub/Makefile])
@@ -96,8 +96,8 @@ rm -f automake-has-run aclocal-has-run
 $MAKE ACLOCAL=false AUTOMAKE=false AUTOCONF=false
 
 $sleep
-sed "s|magic|magic2|" configure.in > t
-mv -f t configure.in
+sed "s|magic|magic2|" configure.ac > t
+mv -f t configure.ac
 
 cd sub
 $MAKE Makefile AUTOMAKE="$AUTOMAKE" ACLOCAL="$ACLOCAL"
diff --git a/tests/remake-subdir.test b/tests/remake-subdir.test
index 44e6109..f8290f6 100755
--- a/tests/remake-subdir.test
+++ b/tests/remake-subdir.test
@@ -29,7 +29,7 @@ debug_info ()
   grep -i magic configure Makefile.in Makefile sub/Makefile.in sub/Makefile
 }
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_SUBST([MAGIC], [magic])
 AC_OUTPUT
@@ -51,8 +51,8 @@ $MAKE
 debug_info
 
 $sleep
-sed "s|magic|$magic1|" configure.in > t
-mv -f t configure.in
+sed "s|magic|$magic1|" configure.ac > t
+mv -f t configure.ac
 cd sub
 $MAKE
 cd ..
diff --git a/tests/remake.test b/tests/remake.test
index e9afa4d..75785e8 100755
--- a/tests/remake.test
+++ b/tests/remake.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([sub/Makefile])
diff --git a/tests/remake10a.test b/tests/remake10a.test
index 3bff12d..c7ac87a 100755
--- a/tests/remake10a.test
+++ b/tests/remake10a.test
@@ -26,7 +26,7 @@ magic3=%%MagicStringThree%%
 
 remake="$MAKE nil"
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 m4_include([foo.m4])
 AC_SUBST([FINGERPRINT], [my_fingerprint])
 AC_OUTPUT
diff --git a/tests/remake10b.test b/tests/remake10b.test
index 94d1cd0..37eb635 100755
--- a/tests/remake10b.test
+++ b/tests/remake10b.test
@@ -26,7 +26,7 @@ magic3=%%MagicStringThree%%
 
 remake="$MAKE nil"
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/remake10c.test b/tests/remake10c.test
index b9df6c5..2eb88db 100755
--- a/tests/remake10c.test
+++ b/tests/remake10c.test
@@ -26,7 +26,7 @@ magic3=%%MagicStringThree%%
 
 remake="$MAKE nil"
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 FINGERPRINT='my_fingerprint'
 AC_SUBST([FINGERPRINT])
 AC_OUTPUT
diff --git a/tests/remake11.test b/tests/remake11.test
index 32d320d..ec96a08 100755
--- a/tests/remake11.test
+++ b/tests/remake11.test
@@ -26,20 +26,20 @@ ocwd=`pwd` || Exit 1
 magic1=::MagicStringOne::
 magic2=__MagicStringTwo__
 
-echo "AC_SUBST([FOO], [$magic1])" >> configure.in
+echo "AC_SUBST([FOO], [$magic1])" >> configure.ac
 
 echo "@FOO@" > bar.in
-echo "AC_CONFIG_FILES([bar])" >> configure.in
+echo "AC_CONFIG_FILES([bar])" >> configure.ac
 for i in 0 1 2 3 4 5 6 7 8 9; do
   d=${d+"$d/"}sub$i
   echo "SUBDIRS = sub$i" > Makefile.am
-  echo "AC_CONFIG_FILES([$d/Makefile])" >> "$ocwd"/configure.in
-  echo "AC_CONFIG_FILES([$d/bar])" >> "$ocwd"/configure.in
+  echo "AC_CONFIG_FILES([$d/Makefile])" >> "$ocwd"/configure.ac
+  echo "AC_CONFIG_FILES([$d/bar])" >> "$ocwd"/configure.ac
   mkdir sub$i
   cd sub$i
   echo "$d: @FOO@" > bar.in
 done
-echo AC_OUTPUT >> "$ocwd"/configure.in
+echo AC_OUTPUT >> "$ocwd"/configure.ac
 : > Makefile.am
 unset d i
 bottom=`pwd`
@@ -51,7 +51,7 @@ makefiles_list=`echo "$makefiles_am_list" | sed 's/\.am$//'`
 bar_in_list=`find . -name bar.in | LC_ALL=C sort`
 bar_list=`echo "$bar_in_list" | sed 's/\.in$//'`
 
-cat configure.in # For debugging.
+cat configure.ac # For debugging.
 
 $ACLOCAL
 $AUTOMAKE
@@ -64,8 +64,8 @@ for f in configure config.status $makefiles_list $bar_list; do
 done
 
 $sleep
-sed "s/$magic1/$magic2/" configure.in >configure.tmp
-mv -f configure.tmp configure.in
+sed "s/$magic1/$magic2/" configure.ac >configure.tmp
+mv -f configure.tmp configure.ac
 
 cd "$bottom"
 $MAKE
diff --git a/tests/remake12.test b/tests/remake12.test
index 4453fbf..1154d96 100755
--- a/tests/remake12.test
+++ b/tests/remake12.test
@@ -23,7 +23,7 @@ magic1=::MagicStringOne::
 magic2=__MagicStringTwo__
 magic3=%%MagicStringThree%%
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([zardoz])
@@ -93,9 +93,9 @@ $FGREP $magic2 zardoz.in
 
 $sleep
 sed 's/^\(AC_CONFIG_FILES\)(.*/\1([zardoz:top.in:quux.in:bot.in])/' \
-  <configure.in >t
-mv -f t configure.in
-cat configure.in # For debugging.
+  <configure.ac >t
+mv -f t configure.ac
+cat configure.ac # For debugging.
 sed '/^#H:/d' zardoz.am > quux.am
 echo 'FOO = dummy' >> quux.am
 echo 'BAR = $(BAZ)' > top.in
diff --git a/tests/remake1a.test b/tests/remake1a.test
index c6f6ae5..ce32cbc 100755
--- a/tests/remake1a.test
+++ b/tests/remake1a.test
@@ -21,7 +21,7 @@
 
 fingerprint='=/FiNgErPrInT/='
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([sub/Makefile])
diff --git a/tests/remake2.test b/tests/remake2.test
index 95d210f..228b14f 100755
--- a/tests/remake2.test
+++ b/tests/remake2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([sub/Makefile])
diff --git a/tests/remake3.test b/tests/remake3.test
index 6e7e232..361b5f4 100755
--- a/tests/remake3.test
+++ b/tests/remake3.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/foo])
 AC_OUTPUT
 END
diff --git a/tests/remake3a.test b/tests/remake3a.test
index 4aa549a..b10c541 100755
--- a/tests/remake3a.test
+++ b/tests/remake3a.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/foo])
 AC_OUTPUT
 END
diff --git a/tests/remake4.test b/tests/remake4.test
index e2fd132..2205ab4 100755
--- a/tests/remake4.test
+++ b/tests/remake4.test
@@ -27,7 +27,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 # Rebuild rule are ok until make dist, but not afterwards.
 if test ! -f rebuild_ok; then
   ACLOCAL=false
diff --git a/tests/remake5.test b/tests/remake5.test
index 3c41547..be98afd 100755
--- a/tests/remake5.test
+++ b/tests/remake5.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_MAINTAINER_MODE
 m4_include([foo.m4])
 if test ! -f rebuild_ok; then
@@ -44,7 +44,7 @@ $MAKE
 # triggered by default.  ($MAKE will fail if they are, because the
 # tools are set to false.)
 $sleep
-touch aclocal.m4 Makefile.am configure.in foo.m4
+touch aclocal.m4 Makefile.am configure.ac foo.m4
 $MAKE
 
 # Make sure the rebuild rule for Makefile is triggered.
diff --git a/tests/remake6.test b/tests/remake6.test
index b7e5f0b..c48c1b8 100755
--- a/tests/remake6.test
+++ b/tests/remake6.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/remake7.test b/tests/remake7.test
index 6e3ef2a..fbd15e6 100755
--- a/tests/remake7.test
+++ b/tests/remake7.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/remake8a.test b/tests/remake8a.test
index 438cc37..c87d4d7 100755
--- a/tests/remake8a.test
+++ b/tests/remake8a.test
@@ -23,7 +23,7 @@
 
 . ./defs || Exit 1
 
-mv -f configure.in configure.stub
+mv -f configure.ac configure.stub
 
 cat > Makefile.am <<'END'
 all-local: foo
@@ -35,7 +35,7 @@ check-local:
 CLEANFILES = foo
 END
 
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
 AC_OUTPUT
 END
 
@@ -78,7 +78,7 @@ $MAKE distcheck
 
 rm -f bar
 
-# Modify Makefile.am and configure.in.
+# Modify Makefile.am and configure.ac.
 
 $sleep
 
@@ -90,7 +90,7 @@ check-local:
        test ! -r bar
 END
 
-cat $srcdir/configure.stub - > $srcdir/configure.in <<'END'
+cat $srcdir/configure.stub - > $srcdir/configure.ac <<'END'
 AC_CONFIG_FILES([quux])
 AC_SUBST([QUUX], [Zardoz])
 AC_OUTPUT
@@ -126,11 +126,11 @@ END
 $MAKE # This should place aclocal flags in Makefile.
 grep '.*-I m4' Makefile # Sanity check.
 
-# Modify configure.in and aclocal.m4.
+# Modify configure.ac and aclocal.m4.
 
 $sleep
 
-cat $srcdir/configure.stub - > $srcdir/configure.in <<'END'
+cat $srcdir/configure.stub - > $srcdir/configure.ac <<'END'
 AC_CONFIG_FILES([quux])
 MY_CUSTOM_MACRO
 AC_OUTPUT
@@ -147,7 +147,7 @@ $MAKE distcheck
 
 # Modify Makefile.am, remove aclocal.m4, and add a new m4 file to
 # the directory of extra m4 files considered by aclocal.  This new
-# file should now provide a macro required by configure.in and that
+# file should now provide a macro required by configure.ac and that
 # was previously provided by aclocal.m4.
 
 $sleep
@@ -167,7 +167,7 @@ $MAKE distcheck
 
 # Modify Makefile.am, remove all the extra m4 files to considered
 # by aclocal, and add an acinclude.m4 file.  This last file should
-# now provide a macro required by configure.in, and that was
+# now provide a macro required by configure.ac, and that was
 # previously provided by the extra m4 files considered by aclocal.
 
 $sleep
diff --git a/tests/remake8b.test b/tests/remake8b.test
index 49caeeb..d6dd166 100755
--- a/tests/remake8b.test
+++ b/tests/remake8b.test
@@ -23,7 +23,7 @@
 
 . ./defs || Exit 1
 
-mv -f configure.in configure.stub
+mv -f configure.ac configure.stub
 
 cat > Makefile.am <<'END'
 all-local: foo
@@ -35,7 +35,7 @@ check-local:
 CLEANFILES = foo
 END
 
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
 AC_OUTPUT
 END
 
@@ -80,7 +80,7 @@ $MAKE distcheck
 
 rm -f bar
 
-# Modify Makefile.am and configure.in.
+# Modify Makefile.am and configure.ac.
 
 $sleep
 
@@ -92,7 +92,7 @@ check-local:
        test ! -r bar
 END
 
-cat $srcdir/configure.stub - > $srcdir/configure.in <<'END'
+cat $srcdir/configure.stub - > $srcdir/configure.ac <<'END'
 AC_CONFIG_FILES([quux])
 AC_SUBST([QUUX], [Zardoz])
 AC_OUTPUT
@@ -128,11 +128,11 @@ END
 $MAKE # This should place aclocal flags in Makefile.
 grep '.*-I m4' Makefile # Sanity check.
 
-# Modify configure.in and aclocal.m4.
+# Modify configure.ac and aclocal.m4.
 
 $sleep
 
-cat $srcdir/configure.stub - > $srcdir/configure.in <<'END'
+cat $srcdir/configure.stub - > $srcdir/configure.ac <<'END'
 AC_CONFIG_FILES([quux])
 MY_CUSTOM_MACRO
 AC_OUTPUT
@@ -149,7 +149,7 @@ $MAKE distcheck
 
 # Modify Makefile.am, remove aclocal.m4, and add a new m4 file to
 # the directory of extra m4 files considered by aclocal.  This new
-# file should now provide a macro required by configure.in and that
+# file should now provide a macro required by configure.ac and that
 # was previously provided by aclocal.m4.
 
 $sleep
@@ -169,7 +169,7 @@ $MAKE distcheck
 
 # Modify Makefile.am, remove all the extra m4 files to considered
 # by aclocal, and add an acinclude.m4 file.  This last file should
-# now provide a macro required by configure.in, and that was
+# now provide a macro required by configure.ac, and that was
 # previously provided by the extra m4 files considered by aclocal.
 
 $sleep
diff --git a/tests/remake9a.test b/tests/remake9a.test
index 3b5d58a..ff06848 100755
--- a/tests/remake9a.test
+++ b/tests/remake9a.test
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Test remake rules when configure.in or its prerequisites change.
+# Test remake rules when configure.ac or its prerequisites change.
 # Keep in sync with the other sister tests `remake9*.test'.
 
 . ./defs || Exit 1
@@ -22,7 +22,7 @@
 magic1=::MagicStringOne::
 magic2=__MagicStringTwo__
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 FINGERPRINT=BadBadBad
 AC_SUBST([FINGERPRINT])
 AC_CONFIG_FILES([foo.sh:foo.in], [chmod a+x foo.sh])
@@ -33,7 +33,7 @@ cat > Makefile.am <<'END'
 nil:
 .PHONY: nil
 
-$(srcdir)/configure.in: $(srcdir)/tweak-configure-in
+$(srcdir)/configure.ac: $(srcdir)/tweak-configure-in
        $(SHELL) $(srcdir)/tweak-configure-in <$@ >address@hidden
        mv -f address@hidden $@
 EXTRA_DIST = $(srcdir)/tweak-configure-in
@@ -70,8 +70,8 @@ for vpath in : false; do
   $MAKE # Should be a no-op.
 
   $sleep
-  sed "s/^\\(FINGERPRINT\\)=.*/\\1=$magic1/" $srcdir/configure.in >t
-  mv -f t $srcdir/configure.in
+  sed "s/^\\(FINGERPRINT\\)=.*/\\1=$magic1/" $srcdir/configure.ac >t
+  mv -f t $srcdir/configure.ac
   $MAKE nil
   $FGREP FINGERPRINT Makefile # For debugging.
   $FGREP $magic1 Makefile
@@ -88,8 +88,8 @@ for vpath in : false; do
 
   $sleep
   echo cat > $srcdir/tweak-configure-in # Make it a no-op again.
-  sed "s/^\\(FINGERPRINT\\)=.*/\\1=DummyValue/" $srcdir/configure.in >t
-  mv -f t $srcdir/configure.in
+  sed "s/^\\(FINGERPRINT\\)=.*/\\1=DummyValue/" $srcdir/configure.ac >t
+  mv -f t $srcdir/configure.ac
   $MAKE distcheck
   $FGREP $magic1 Makefile && Exit 1 # Sanity check.
   $FGREP $magic2 Makefile && Exit 1 # Likewise.
diff --git a/tests/remake9b.test b/tests/remake9b.test
index 7c85dd6..8ab7390 100755
--- a/tests/remake9b.test
+++ b/tests/remake9b.test
@@ -22,7 +22,7 @@
 magic1=::MagicStringOne::
 magic2=__MagicStringTwo__
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/remake9c.test b/tests/remake9c.test
index 48117c5..19afa61 100755
--- a/tests/remake9c.test
+++ b/tests/remake9c.test
@@ -22,7 +22,7 @@
 magic1=::MagicStringOne::
 magic2=__MagicStringTwo__
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 FINGERPRINT='my_fingerprint'
 AC_SUBST([FINGERPRINT])
 AC_CONFIG_FILES([foo.sh:foo.in], [chmod a+x foo.sh])
diff --git a/tests/remake9d.test b/tests/remake9d.test
index 5c52f33..e2daa31 100755
--- a/tests/remake9d.test
+++ b/tests/remake9d.test
@@ -22,7 +22,7 @@
 magic1=::MagicStringOne::
 magic2=__MagicStringTwo__
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 FINGERPRINT='my_fingerprint'
 AC_SUBST([FINGERPRINT])
 AC_CONFIG_FILES([foo.sh:foo.in], [chmod a+x foo.sh])
diff --git a/tests/repeated-options.test b/tests/repeated-options.test
index 827f877..8ad5765 100755
--- a/tests/repeated-options.test
+++ b/tests/repeated-options.test
@@ -20,7 +20,7 @@
 required='cc bzip2'
 . ./defs || Exit 1
 
-cat >configure.in <<END
+cat >configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip no-dist-gzip dist-bzip2])
 AC_PROG_CC
diff --git a/tests/req.test b/tests/req.test
index abe1ef8..cfc3b43 100755
--- a/tests/req.test
+++ b/tests/req.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in <<EOF
+cat > configure.ac <<EOF
 AC_INIT
 AM_INIT_GUILE_MODULE
 EOF
diff --git a/tests/reqd.test b/tests/reqd.test
index 021b114..9e0bcc1 100755
--- a/tests/reqd.test
+++ b/tests/reqd.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<EOF
+cat >> configure.ac <<EOF
 AC_CONFIG_FILES([one/Makefile two/Makefile])
 AC_OUTPUT
 EOF
diff --git a/tests/reqd2.test b/tests/reqd2.test
index 3008583..a9442a2 100755
--- a/tests/reqd2.test
+++ b/tests/reqd2.test
@@ -21,7 +21,7 @@
 required='libtoolize'
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([req2], [1.0])
 AC_CONFIG_AUX_DIR([autoconf])
 AM_INIT_AUTOMAKE
@@ -52,6 +52,6 @@ $AUTOCONF
 test -f autoconf/ltmain.sh # Sanity check.
 rm -f autoconf/ltmain.sh
 AUTOMAKE_fails --add-missing --copy
-grep '^configure\.in:7:.* required file.*autoconf/ltmain\.sh' stderr
+grep '^configure\.ac:7:.* required file.*autoconf/ltmain\.sh' stderr
 
 :
diff --git a/tests/sanity.test b/tests/sanity.test
index 0620c17..d4f328c 100755
--- a/tests/sanity.test
+++ b/tests/sanity.test
@@ -21,7 +21,7 @@
 mkdir 'unsafe$'
 cd 'unsafe$'
 
-mv ../configure.in .
+mv ../configure.ac .
 mv ../install-sh ../missing .
 
 : > Makefile.am
diff --git a/tests/seenc.test b/tests/seenc.test
index 0cb26d1..d1bfa23 100755
--- a/tests/seenc.test
+++ b/tests/seenc.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 dnl AC_PROG_CC and AC_PROG_CXX missing on purpose
 AC_LIBOBJ([fsusage])
 AC_LIBOBJ([mountlist])
diff --git a/tests/self-check-dir.tap b/tests/self-check-dir.tap
index a934188..45da511 100755
--- a/tests/self-check-dir.tap
+++ b/tests/self-check-dir.tap
@@ -51,7 +51,7 @@ do_check 'testdir has the expected path' \
 do_check 'fully pre-populated testdir' \
          'unset am_create_testdir' \
          'test -f install-sh || Exit 1
-          test -f configure.in || Exit 1
+          test -f configure.ac || Exit 1
           case `pwd` in '"$cwd"'/_self.dir) : ;; *) Exit 1;; esac'
 
 do_check 'testdir has the expected path' \
diff --git a/tests/silent-configsite.test b/tests/silent-configsite.test
index 681c274..813753b 100755
--- a/tests/silent-configsite.test
+++ b/tests/silent-configsite.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_OUTPUT
 EOF
@@ -35,7 +35,7 @@ EOF
 
 unset enable_silent_rules || :
 
-: 'No explicit default in configure.in, enable by default in config.site'
+: 'No explicit default in configure.ac, enable by default in config.site'
 
 $ACLOCAL
 $AUTOCONF
@@ -49,10 +49,10 @@ CONFIG_SITE=./config.site ./configure --disable-silent-rules
 $MAKE test-nosilent
 $MAKE distclean
 
-: 'Disable by default in configure.in, enable by default in config.site'
+: 'Disable by default in configure.ac, enable by default in config.site'
 
-sed 's/^AM_SILENT_RULES/&([no])/' configure.in > configure.tmp
-mv -f configure.tmp configure.in
+sed 's/^AM_SILENT_RULES/&([no])/' configure.ac > configure.tmp
+mv -f configure.tmp configure.ac
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --add-missing
@@ -65,10 +65,10 @@ CONFIG_SITE=./config.site ./configure --disable-silent-rules
 $MAKE test-nosilent
 $MAKE distclean
 
-: 'Enable by default in configure.in, disable by default in config.site'
+: 'Enable by default in configure.ac, disable by default in config.site'
 
-sed 's/^AM_SILENT_RULES/&([yes])/' configure.in > configure.tmp
-mv -f configure.tmp configure.in
+sed 's/^AM_SILENT_RULES/&([yes])/' configure.ac > configure.tmp
+mv -f configure.tmp configure.ac
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE --add-missing
diff --git a/tests/silent-lex.test b/tests/silent-lex.test
index 78cd53f..ff68eda 100755
--- a/tests/silent-lex.test
+++ b/tests/silent-lex.test
@@ -23,7 +23,7 @@ set -e
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AM_PROG_CC_C_O
 AC_PROG_LEX
diff --git a/tests/silent-many-gcc.test b/tests/silent-many-gcc.test
index ed05785..708b9b7 100755
--- a/tests/silent-many-gcc.test
+++ b/tests/silent-many-gcc.test
@@ -94,7 +94,7 @@ do_and_check_verbose_build ()
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AM_PROG_CC_C_O
 AC_PROG_CXX
diff --git a/tests/silent-many-generic.test b/tests/silent-many-generic.test
index 409a08b..2f4cd9b 100755
--- a/tests/silent-many-generic.test
+++ b/tests/silent-many-generic.test
@@ -95,7 +95,7 @@ do_and_check_verbose_build ()
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AM_PROG_CC_C_O
 AC_PROG_F77
diff --git a/tests/silent-yacc-headers.test b/tests/silent-yacc-headers.test
index a870475..aaf0b30 100755
--- a/tests/silent-yacc-headers.test
+++ b/tests/silent-yacc-headers.test
@@ -24,7 +24,7 @@ set -e
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_PROG_YACC
 AC_PROG_CC
diff --git a/tests/silent-yacc.test b/tests/silent-yacc.test
index fc02353..11fa197 100755
--- a/tests/silent-yacc.test
+++ b/tests/silent-yacc.test
@@ -24,7 +24,7 @@ set -e
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AM_PROG_CC_C_O
 AC_PROG_YACC
diff --git a/tests/silent.test b/tests/silent.test
index c08fcca..f914c44 100755
--- a/tests/silent.test
+++ b/tests/silent.test
@@ -23,7 +23,7 @@ required=cc
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_CONFIG_FILES([sub/Makefile])
 AC_PROG_CC
diff --git a/tests/silent2.test b/tests/silent2.test
index 2fc32c5..6565a27 100755
--- a/tests/silent2.test
+++ b/tests/silent2.test
@@ -24,7 +24,7 @@ required=gcc
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_CONFIG_FILES([sub/Makefile])
 AC_PROG_CC
diff --git a/tests/silent3.test b/tests/silent3.test
index b5667a8..21609f1 100755
--- a/tests/silent3.test
+++ b/tests/silent3.test
@@ -23,7 +23,7 @@ required='cc libtoolize'
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_CONFIG_FILES([sub/Makefile])
 AC_PROG_CC
diff --git a/tests/silent4.test b/tests/silent4.test
index 1e71664..cce38fc 100755
--- a/tests/silent4.test
+++ b/tests/silent4.test
@@ -24,7 +24,7 @@ required="libtoolize gcc"
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_CONFIG_FILES([sub/Makefile])
 AC_PROG_CC
diff --git a/tests/silent6.test b/tests/silent6.test
index e12ccc2..8440643 100755
--- a/tests/silent6.test
+++ b/tests/silent6.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_OUTPUT
 EOF
diff --git a/tests/silent7.test b/tests/silent7.test
index 98cd55f..d376c27 100755
--- a/tests/silent7.test
+++ b/tests/silent7.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_OUTPUT
 EOF
diff --git a/tests/silent8.test b/tests/silent8.test
index c8a9870..257786a 100755
--- a/tests/silent8.test
+++ b/tests/silent8.test
@@ -19,7 +19,7 @@
 required='makeinfo-html tex texi2dvi-o dvips'
 . ./defs || Exit 1
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_OUTPUT
 EOF
diff --git a/tests/silent9.test b/tests/silent9.test
index 8edfc18..f8e017f 100755
--- a/tests/silent9.test
+++ b/tests/silent9.test
@@ -23,7 +23,7 @@ required='cc libtoolize'
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_CONFIG_FILES([sub/Makefile])
 AC_PROG_CC
diff --git a/tests/silentcxx-gcc.test b/tests/silentcxx-gcc.test
index 16a44ea..7699ac8 100755
--- a/tests/silentcxx-gcc.test
+++ b/tests/silentcxx-gcc.test
@@ -23,7 +23,7 @@ required=g++
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_PROG_CXX
 AC_CONFIG_FILES([sub/Makefile])
diff --git a/tests/silentcxx.test b/tests/silentcxx.test
index 3621f07..192178d 100755
--- a/tests/silentcxx.test
+++ b/tests/silentcxx.test
@@ -24,7 +24,7 @@ required=c++
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_PROG_CXX
 AC_CONFIG_FILES([sub/Makefile])
diff --git a/tests/silentf77.test b/tests/silentf77.test
index 6075cf0..ce6f6a0 100755
--- a/tests/silentf77.test
+++ b/tests/silentf77.test
@@ -22,7 +22,7 @@ required=fortran77
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_PROG_F77
 AC_CONFIG_FILES([sub/Makefile])
diff --git a/tests/silentf90.test b/tests/silentf90.test
index bdecd98..8bb06b2 100755
--- a/tests/silentf90.test
+++ b/tests/silentf90.test
@@ -22,7 +22,7 @@ required=fortran
 
 mkdir sub
 
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
 AM_SILENT_RULES
 AC_PROG_FC
 AC_CONFIG_FILES([sub/Makefile])
diff --git a/tests/space.test b/tests/space.test
index efefab3..c46ade1 100755
--- a/tests/space.test
+++ b/tests/space.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
 
 cat > Makefile.am << 'END'
     bin_PROGRAMS = foo
diff --git a/tests/specflg-dummy.test b/tests/specflg-dummy.test
index b030585d..ae6473a 100755
--- a/tests/specflg-dummy.test
+++ b/tests/specflg-dummy.test
@@ -51,7 +51,7 @@ AC_DEFUN([AC_PROG_LIBTOOL], [AC_SUBST([LIBTOOL], [dummy])])
 END
 : > ltmain.sh
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_YACC
diff --git a/tests/specflg.test b/tests/specflg.test
index 44fb7b8..b4ffd00 100755
--- a/tests/specflg.test
+++ b/tests/specflg.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 END
diff --git a/tests/specflg10.test b/tests/specflg10.test
index 76e1677..3b8fc5b 100755
--- a/tests/specflg10.test
+++ b/tests/specflg10.test
@@ -19,7 +19,7 @@
 required='cc c++'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AC_CONFIG_FILES([sub/Makefile sub2/Makefile])
diff --git a/tests/specflg2.test b/tests/specflg2.test
index 38a9168..be7ebb5 100755
--- a/tests/specflg2.test
+++ b/tests/specflg2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_CXX
diff --git a/tests/specflg3.test b/tests/specflg3.test
index b4611aa..9e78872 100755
--- a/tests/specflg3.test
+++ b/tests/specflg3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/specflg6.test b/tests/specflg6.test
index 846eab3..f420cdf 100755
--- a/tests/specflg6.test
+++ b/tests/specflg6.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AM_CONDITIONAL([BAR], [true])
diff --git a/tests/specflg7.test b/tests/specflg7.test
index 83c8193..26ad75c 100755
--- a/tests/specflg7.test
+++ b/tests/specflg7.test
@@ -19,7 +19,7 @@
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/specflg8.test b/tests/specflg8.test
index 8febbcd..435ce16 100755
--- a/tests/specflg8.test
+++ b/tests/specflg8.test
@@ -21,7 +21,7 @@
 required='cc native'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/specflg9.test b/tests/specflg9.test
index c7b2012..96e7a2e 100755
--- a/tests/specflg9.test
+++ b/tests/specflg9.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/spell2.test b/tests/spell2.test
index 0a504c0..a4b0a46 100755
--- a/tests/spell2.test
+++ b/tests/spell2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
 
 cat > Makefile.am << 'END'
 bin_PROGRAMS = zardoz
diff --git a/tests/srcsub.test b/tests/srcsub.test
index 7ecfacc..978a105 100755
--- a/tests/srcsub.test
+++ b/tests/srcsub.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/srcsub2.test b/tests/srcsub2.test
index fe4428d..2d6da97 100755
--- a/tests/srcsub2.test
+++ b/tests/srcsub2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/stamph2.test b/tests/stamph2.test
index d3096ea..a7a3c34 100755
--- a/tests/stamph2.test
+++ b/tests/stamph2.test
@@ -17,7 +17,7 @@
 # Make sure stamp-h* files are created where we expect
 . ./defs || Exit 1
 
-cat >> configure.in << END
+cat >> configure.ac << END
 AM_CONFIG_HEADER([1.h
                   2.h:config.hin
                   3.h:sdir1/config1.hin])
diff --git a/tests/stdinc.test b/tests/stdinc.test
index db10243..ec99483 100755
--- a/tests/stdinc.test
+++ b/tests/stdinc.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_CONFIG_HEADERS([sub/config.h])
 AC_CONFIG_FILES([sub/bar.h])
diff --git a/tests/stdlib.test b/tests/stdlib.test
index 84412f3..1594707 100755
--- a/tests/stdlib.test
+++ b/tests/stdlib.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/stdlib2.test b/tests/stdlib2.test
index 773da1d..749f22e 100755
--- a/tests/stdlib2.test
+++ b/tests/stdlib2.test
@@ -28,7 +28,7 @@ required=libtool
 : > config.guess
 : > config.sub
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/strictness-override.test b/tests/strictness-override.test
index 8acbda0..8c365f0 100755
--- a/tests/strictness-override.test
+++ b/tests/strictness-override.test
@@ -15,7 +15,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # The strictness specified in Makefile.am:AUTOMAKE_OPTIONS should
-# override that specified in configure.in:AM_INIT_AUTOMAKE, and both
+# override that specified in configure.ac:AM_INIT_AUTOMAKE, and both
 # should override the strictness specified on the command line.
 # NOTE: the current semantics might not be the best one (even if it has
 # been in place for quite a long time); see also Automake bug #7673.
@@ -59,63 +59,63 @@ touch INSTALL NEWS AUTHORS ChangeLog COPYING
 
 rm -rf autom4te*.cache
 set_strictness '' Makefile.am
-set_strictness '' configure.in
+set_strictness '' configure.ac
 ko --gnu
 ko
 ok --foreign
 
 rm -rf autom4te*.cache
 set_strictness 'gnu' Makefile.am
-set_strictness '' configure.in
+set_strictness '' configure.ac
 ko --gnu
 ko
 ko --foreign
 
 rm -rf autom4te*.cache
 set_strictness '' Makefile.am
-set_strictness 'gnu' configure.in
+set_strictness 'gnu' configure.ac
 ko --gnu
 ko
 ko --foreign
 
 rm -rf autom4te*.cache
 set_strictness 'foreign' Makefile.am
-set_strictness '' configure.in
+set_strictness '' configure.ac
 ok --gnu
 ok
 ok --foreign
 
 rm -rf autom4te*.cache
 set_strictness '' Makefile.am
-set_strictness 'foreign' configure.in
+set_strictness 'foreign' configure.ac
 ok --gnu
 ok
 ok --foreign
 
 rm -rf autom4te*.cache
 set_strictness 'gnu' Makefile.am
-set_strictness 'gnu' configure.in
+set_strictness 'gnu' configure.ac
 ko --gnu
 ko
 ko --foreign
 
 rm -rf autom4te*.cache
 set_strictness 'foreign' Makefile.am
-set_strictness 'foreign' configure.in
+set_strictness 'foreign' configure.ac
 ok --gnu
 ok
 ok --foreign
 
 rm -rf autom4te*.cache
 set_strictness 'foreign' Makefile.am
-set_strictness 'gnu' configure.in
+set_strictness 'gnu' configure.ac
 ok --gnu
 ok
 ok --foreign
 
 rm -rf autom4te*.cache
 set_strictness 'gnu' Makefile.am
-set_strictness 'foreign' configure.in
+set_strictness 'foreign' configure.ac
 ko --gnu
 ko
 ko --foreign
diff --git a/tests/strictness-precedence.test b/tests/strictness-precedence.test
index 34b8844..6f5a143 100755
--- a/tests/strictness-precedence.test
+++ b/tests/strictness-precedence.test
@@ -57,16 +57,16 @@ ko --foreign --gnu
 ok --gnu --foreign
 
 set_strictness '' Makefile.am
-set_strictness 'gnu foreign' configure.in
+set_strictness 'gnu foreign' configure.ac
 rm -rf autom4te*.cache
 $ACLOCAL
 ok
-set_strictness 'foreign gnu' configure.in
+set_strictness 'foreign gnu' configure.ac
 rm -rf autom4te*.cache
 $ACLOCAL
 ko
 
-set_strictness '' configure.in
+set_strictness '' configure.ac
 rm -rf autom4te*.cache
 $ACLOCAL
 set_strictness 'gnu foreign' Makefile.am
diff --git a/tests/strip.test b/tests/strip.test
index 2e1338d..dfefcd9 100755
--- a/tests/strip.test
+++ b/tests/strip.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/strip2.test b/tests/strip2.test
index f1df905..49a5c06 100755
--- a/tests/strip2.test
+++ b/tests/strip2.test
@@ -20,7 +20,7 @@
 required='cc strip'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/strip3.test b/tests/strip3.test
index af0ef2d..187e8a5 100755
--- a/tests/strip3.test
+++ b/tests/strip3.test
@@ -20,7 +20,7 @@
 required='cc libtoolize strip'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/subcond.test b/tests/subcond.test
index e0910e3..c09e5ad 100755
--- a/tests/subcond.test
+++ b/tests/subcond.test
@@ -19,7 +19,7 @@
 required=gettext
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_GNU_GETTEXT
 AM_CONDITIONAL(MAUDE, true)
 ALL_LINGUAS=
diff --git a/tests/subcond2.test b/tests/subcond2.test
index 304b2ed..d3e3679 100755
--- a/tests/subcond2.test
+++ b/tests/subcond2.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_CONDITIONAL([COND_OPT], [test "$want_opt" = yes])
 AC_CONFIG_FILES([src/Makefile opt/Makefile])
 AC_OUTPUT
diff --git a/tests/subcond3.test b/tests/subcond3.test
index d701dde..39b39d9 100755
--- a/tests/subcond3.test
+++ b/tests/subcond3.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 if test "$want_opt" = yes; then
   MAYBE_OPT=opt
 else
diff --git a/tests/subdir.test b/tests/subdir.test
index 20ad10e..34b6ece 100755
--- a/tests/subdir.test
+++ b/tests/subdir.test
@@ -21,7 +21,7 @@
 
 mkdir zot
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([zot/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/subdir10.test b/tests/subdir10.test
index 67a22a9..4ba791a 100755
--- a/tests/subdir10.test
+++ b/tests/subdir10.test
@@ -20,7 +20,7 @@
 
 mkdir sub
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/subdir2.test b/tests/subdir2.test
index 7311c6c..3ef4151 100755
--- a/tests/subdir2.test
+++ b/tests/subdir2.test
@@ -21,7 +21,7 @@
 mkdir one
 mkdir one/two
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([one/Makefile one/two/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/subdir3.test b/tests/subdir3.test
index 5e48d4d..d9b160f 100755
--- a/tests/subdir3.test
+++ b/tests/subdir3.test
@@ -24,7 +24,7 @@ zardoz_SOURCES = y.c x/z.c
 widdershins_SOURCES = x/z.c
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/subdir4.test b/tests/subdir4.test
index f0cf1c3..2094a1a 100755
--- a/tests/subdir4.test
+++ b/tests/subdir4.test
@@ -21,7 +21,7 @@
 
 mkdir lib src
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_RANLIB
 AC_PROG_CC
 AM_PROG_AR
diff --git a/tests/subdir5.test b/tests/subdir5.test
index c0c7548..ed8eb75 100755
--- a/tests/subdir5.test
+++ b/tests/subdir5.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
@@ -35,20 +35,20 @@ $MAKE
 
 # Now add new directories.
 
-# First we add a new directory by modifying configure.in directly.
-# We update configure.in *before* updating sub/Makefile.am; subdir8.test
+# First we add a new directory by modifying configure.ac directly.
+# We update configure.ac *before* updating sub/Makefile.am; subdir8.test
 # does it in the other way: it updates confiles.m4 (which is m4_included
-# by configure.in there) after Makefile.am.
+# by configure.ac there) after Makefile.am.
 
 # Modified configure dependencies must be newer than config.status.
 $sleep
-sed <configure.in >configure.tmp -e '/^AC_OUTPUT$/i\
+sed <configure.ac >configure.tmp -e '/^AC_OUTPUT$/i\
 AC_CONFIG_FILES([maude/Makefile])\
 m4_include([confile.m4])\
 ' # Last newline required by older OpenBSD sed.
-mv -f configure.tmp configure.in
+mv -f configure.tmp configure.ac
 
-cat configure.in # For debugging.
+cat configure.ac # For debugging.
 
 : > confile.m4
 
@@ -69,7 +69,7 @@ grep '^SUBDIRS = *maude *$' Makefile
 test -f maude/Makefile
 
 # Then we add a new directory by modifying a file included (through
-# `m4_include') by configure.in.
+# `m4_include') by configure.ac.
 mkdir maude2
 # Modified configure dependencies must be newer than config.status.
 $sleep
diff --git a/tests/subdir6.test b/tests/subdir6.test
index 44e7d51..5c17b65 100755
--- a/tests/subdir6.test
+++ b/tests/subdir6.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONFIG_HEADER([sub/config.h:sub/config.hin])
 AC_OUTPUT
 END
diff --git a/tests/subdir8.test b/tests/subdir8.test
index f0c7c49..f7a464c 100755
--- a/tests/subdir8.test
+++ b/tests/subdir8.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 m4_include([confiles.m4])
 MORE_DEFS
 AC_OUTPUT
@@ -50,9 +50,9 @@ $MAKE
 # Now add new directories.
 
 # The first step users typically do when adding a new subdir is
-# editing configure.in.  That is already tested by subdir5.test,
+# editing configure.ac.  That is already tested by subdir5.test,
 # though, so here we try to just edit a file that is included by
-# configure.in, without touching configure.in itself.
+# configure.ac, without touching configure.ac itself.
 
 mkdir sub/maude
 cat > sub/maude/Makefile.am << 'END'
@@ -67,7 +67,7 @@ mkdir maude
 : > maude/Makefile.am
 
 # Update confiles.m4 *after* updating sub/Makefile.am; subdir5.test do
-# it in the other way: it updates configure.in before Makefile.am.
+# it in the other way: it updates configure.ac before Makefile.am.
 # We sleep here because modified configure dependencies must be newer
 # than config.status.
 $sleep
diff --git a/tests/subdir9.test b/tests/subdir9.test
index 8c6a6b6..116e1c3 100755
--- a/tests/subdir9.test
+++ b/tests/subdir9.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([src/subdir/Makefile src/subdir2/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/subdirbuiltsources.test b/tests/subdirbuiltsources.test
index f2bba56..23c04f7 100755
--- a/tests/subdirbuiltsources.test
+++ b/tests/subdirbuiltsources.test
@@ -23,7 +23,7 @@ required=cc
 
 mkdir lib
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([lib/Makefile])
 AC_PROG_RANLIB
 AC_PROG_CC
diff --git a/tests/subobj.test b/tests/subobj.test
index 291c18d..b7f6597 100755
--- a/tests/subobj.test
+++ b/tests/subobj.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 END
diff --git a/tests/subobj10.test b/tests/subobj10.test
index 30f31f1..db6bf72 100755
--- a/tests/subobj10.test
+++ b/tests/subobj10.test
@@ -19,7 +19,7 @@
 required=gcc
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE([subdir-objects])
 
diff --git a/tests/subobj11a.test b/tests/subobj11a.test
index 0eb1b18..b0e37fc 100755
--- a/tests/subobj11a.test
+++ b/tests/subobj11a.test
@@ -35,7 +35,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/subobj11c.test b/tests/subobj11c.test
index a3fd7a2..e3a05fb 100755
--- a/tests/subobj11c.test
+++ b/tests/subobj11c.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 END
diff --git a/tests/subobj2.test b/tests/subobj2.test
index 038da43..3a3f861 100755
--- a/tests/subobj2.test
+++ b/tests/subobj2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 END
 
diff --git a/tests/subobj4.test b/tests/subobj4.test
index 59ccf66..8631d2b 100755
--- a/tests/subobj4.test
+++ b/tests/subobj4.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_CXX
diff --git a/tests/subobj5.test b/tests/subobj5.test
index d4bd9cd..3b05b6a 100755
--- a/tests/subobj5.test
+++ b/tests/subobj5.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([generic/Makefile])
 AC_PROG_CC
 AM_PROG_CC_C_O
diff --git a/tests/subobj6.test b/tests/subobj6.test
index 87a6815..2f902f2 100755
--- a/tests/subobj6.test
+++ b/tests/subobj6.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_CC_C_O
 AC_OUTPUT
 END
diff --git a/tests/subobj7.test b/tests/subobj7.test
index 3670731..863cae0 100755
--- a/tests/subobj7.test
+++ b/tests/subobj7.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/subobj8.test b/tests/subobj8.test
index 7bfd7ed..da64f74 100755
--- a/tests/subobj8.test
+++ b/tests/subobj8.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([tools])
 AM_INIT_AUTOMAKE
diff --git a/tests/subobj9.test b/tests/subobj9.test
index ed5c064..dfa70c1 100755
--- a/tests/subobj9.test
+++ b/tests/subobj9.test
@@ -25,7 +25,7 @@
 required='c++ libtoolize'
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE([subdir-objects])
 AC_PROG_CXX
diff --git a/tests/subobjname.test b/tests/subobjname.test
index d10317d..bef3bf0 100755
--- a/tests/subobjname.test
+++ b/tests/subobjname.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_CONDITIONAL([FOO1], [some test])
 AM_CONDITIONAL([FOO2], [some test])
diff --git a/tests/subpkg-yacc.test b/tests/subpkg-yacc.test
index 3a62fb3..4cffc28 100755
--- a/tests/subpkg-yacc.test
+++ b/tests/subpkg-yacc.test
@@ -20,7 +20,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AC_CONFIG_SUBDIRS([lib])
 AC_OUTPUT
diff --git a/tests/subpkg.test b/tests/subpkg.test
index 6f85bfa..82bf338 100755
--- a/tests/subpkg.test
+++ b/tests/subpkg.test
@@ -28,7 +28,7 @@ AC_DEFUN([FOO],[
 ])
 EOF
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_CONFIG_SUBDIRS([lib])
 FOO
 END
diff --git a/tests/subpkg2.test b/tests/subpkg2.test
index fb2afe4..af89fc1 100755
--- a/tests/subpkg2.test
+++ b/tests/subpkg2.test
@@ -27,7 +27,7 @@ AC_DEFUN([FOO],[
 ])
 EOF
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_CONFIG_SUBDIRS([sub])
 AC_OUTPUT
 END
diff --git a/tests/subpkg3.test b/tests/subpkg3.test
index 8b48311..38dc455 100755
--- a/tests/subpkg3.test
+++ b/tests/subpkg3.test
@@ -23,7 +23,7 @@ SUBDIRS = subpkg
 EXTRA_DIST = subpkg/foobar
 END
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_CONFIG_SUBDIRS([subpkg])
 AC_OUTPUT
 END
@@ -34,7 +34,7 @@ echo foobar >subpkg/foobar
 
 echo SUBDIRS = >subpkg/Makefile.am
 
-cat >subpkg/configure.in <<'END'
+cat >subpkg/configure.ac <<'END'
 AC_INIT([subpkg], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/subpkg4.test b/tests/subpkg4.test
index ca225ca..28ee763 100755
--- a/tests/subpkg4.test
+++ b/tests/subpkg4.test
@@ -34,7 +34,7 @@ test-distdir-is-readable:
        fi
 END
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_CONFIG_SUBDIRS([subpkg])
 AC_OUTPUT
 END
@@ -49,7 +49,7 @@ cat >subpkg/Makefile.am <<'END'
 EXTRA_DIST = foobar dir
 END
 
-cat >subpkg/configure.in <<'END'
+cat >subpkg/configure.ac <<'END'
 AC_INIT([subpkg], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/subst-no-trailing-empty-line.test 
b/tests/subst-no-trailing-empty-line.test
index 862b43e..719ff1a 100755
--- a/tests/subst-no-trailing-empty-line.test
+++ b/tests/subst-no-trailing-empty-line.test
@@ -34,7 +34,7 @@ v3=ABCDEFGHIJKLMNOPQRSTUVWXYZ
 # Literal backslash for use by grep.
 bs='\\'
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_SUBST([A], [''])
 AC_SUBST([$v1], [''])
 AC_SUBST([$v2], [''])
diff --git a/tests/subst.test b/tests/subst.test
index c28dbd7..f46f2ed 100755
--- a/tests/subst.test
+++ b/tests/subst.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 dnl This test used to have the following lines, which cannot have
 dnl worked sensibly with Autoconf for years, however:
 dnl AC_SUBST($1)
diff --git a/tests/subst3.test b/tests/subst3.test
index 47d1080..cc81063 100755
--- a/tests/subst3.test
+++ b/tests/subst3.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_RANLIB
diff --git a/tests/subst4.test b/tests/subst4.test
index 7c0cc82..ab3631e 100755
--- a/tests/subst4.test
+++ b/tests/subst4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 myrule="\
 foo: bar
        echo making \$@ from bar
diff --git a/tests/subst5.test b/tests/subst5.test
index ab484a9..2fef1b9 100755
--- a/tests/subst5.test
+++ b/tests/subst5.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AC_SUBST([substed1])
 AC_SUBST([substed2])
diff --git a/tests/substre2.test b/tests/substre2.test
index 99aa3c6..a205c08 100755
--- a/tests/substre2.test
+++ b/tests/substre2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([CC], [whocares])
 AC_OUTPUT
 END
diff --git a/tests/substref.test b/tests/substref.test
index 6eb5c12..7183a91 100755
--- a/tests/substref.test
+++ b/tests/substref.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([CC], [whocares])
 AC_OUTPUT
 END
diff --git a/tests/substtarg.test b/tests/substtarg.test
index abca749..2e695f8 100755
--- a/tests/substtarg.test
+++ b/tests/substtarg.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_SOURCE([fakelib.c])
 AC_PROG_CC
 AM_PROG_AR
diff --git a/tests/suffix-chain.tap b/tests/suffix-chain.tap
index 42286d3..9b3191e 100755
--- a/tests/suffix-chain.tap
+++ b/tests/suffix-chain.tap
@@ -23,7 +23,7 @@ required=cc
 
 plan_ 8
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/suffix.test b/tests/suffix.test
index 8529a67..1490f6e 100755
--- a/tests/suffix.test
+++ b/tests/suffix.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_RANLIB
 END
@@ -34,7 +34,7 @@ for use_arlib in false :; do
 
   if $use_arlib; then
     am_warns=
-    echo AM_PROG_AR >> configure.in
+    echo AM_PROG_AR >> configure.ac
     : > ar-lib
   else
     am_warns=-Wno-extra-portability
diff --git a/tests/suffix10.tap b/tests/suffix10.tap
index cde8f77..7a0cfee 100755
--- a/tests/suffix10.tap
+++ b/tests/suffix10.tap
@@ -22,7 +22,7 @@ required='cc libtoolize yacc'
 
 plan_ 7
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_CC
 AC_PROG_YACC
 AM_PROG_AR
diff --git a/tests/suffix11.tap b/tests/suffix11.tap
index d454909..6c897c3 100755
--- a/tests/suffix11.tap
+++ b/tests/suffix11.tap
@@ -23,7 +23,7 @@ required=cc
 
 plan_ 10
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_CC
 AC_OUTPUT
 EOF
diff --git a/tests/suffix12.test b/tests/suffix12.test
index e0a3d37..2910527 100755
--- a/tests/suffix12.test
+++ b/tests/suffix12.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_CC
 AC_OUTPUT
 EOF
diff --git a/tests/suffix13.test b/tests/suffix13.test
index 73f0506..d797ae5 100755
--- a/tests/suffix13.test
+++ b/tests/suffix13.test
@@ -21,7 +21,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/suffix2.test b/tests/suffix2.test
index f34a412..afd67d4 100755
--- a/tests/suffix2.test
+++ b/tests/suffix2.test
@@ -21,7 +21,7 @@ required=libtoolize
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/suffix3.tap b/tests/suffix3.tap
index 7ad8088..23670ab 100755
--- a/tests/suffix3.tap
+++ b/tests/suffix3.tap
@@ -21,7 +21,7 @@ required=c++
 
 plan_ 10
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_OUTPUT
 END
diff --git a/tests/suffix5.test b/tests/suffix5.test
index 9f55f18..ad915aa 100755
--- a/tests/suffix5.test
+++ b/tests/suffix5.test
@@ -21,7 +21,7 @@
 required='cc libtool'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([LINK], [:])
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/suffix6b.test b/tests/suffix6b.test
index ffd9ba0..67ef877 100755
--- a/tests/suffix6b.test
+++ b/tests/suffix6b.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 # $(LINK) is not defined automatically by Automake, since the *_SOURCES
 # variables don't contain any known extension (.c, .cc, .f, ...).
 # So we need this hack -- but since such an hack can also serve as a
diff --git a/tests/suffix6c.test b/tests/suffix6c.test
index 8cea2cd..1319e62 100755
--- a/tests/suffix6c.test
+++ b/tests/suffix6c.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 # $(LINK) is not defined automatically by Automake, since the *_SOURCES
 # variables don't contain any known extension (.c, .cc, .f ...),
 # So we need this hack -- but since such an hack can also serve as a
diff --git a/tests/suffix8.tap b/tests/suffix8.tap
index d999dcc..fd549cf 100755
--- a/tests/suffix8.tap
+++ b/tests/suffix8.tap
@@ -23,7 +23,7 @@ required='cc libtoolize'
 
 plan_ 10
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_PROG_AR
 AM_PROG_LIBTOOL
 AC_OUTPUT
diff --git a/tests/suffix9.test b/tests/suffix9.test
index 7e4547b..a38f143 100755
--- a/tests/suffix9.test
+++ b/tests/suffix9.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/symlink.test b/tests/symlink.test
index 1936d07..f4b4338 100755
--- a/tests/symlink.test
+++ b/tests/symlink.test
@@ -22,7 +22,7 @@ am_create_testdir=empty
 
 : > Makefile.am
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([symlink], [1.0])
 AC_CONFIG_AUX_DIR([subdir])
 AM_INIT_AUTOMAKE
@@ -32,8 +32,8 @@ END
 $ACLOCAL
 AUTOMAKE_fails --add-missing
 
-grep '^configure\.in:3: .*missing.*error while making link' stderr
-grep '^configure\.in:3: .*install-sh.*error while making link' stderr
+grep '^configure\.ac:3: .*missing.*error while making link' stderr
+grep '^configure\.ac:3: .*install-sh.*error while making link' stderr
 
 test `$FGREP -c 'error while making link' stderr` -eq 2
 
diff --git a/tests/tags2.test b/tests/tags2.test
index efc9e48..7d4ee64 100755
--- a/tests/tags2.test
+++ b/tests/tags2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/tagsub.test b/tests/tagsub.test
index 807c850..5915d46 100755
--- a/tests/tagsub.test
+++ b/tests/tagsub.test
@@ -20,7 +20,7 @@
 required=etags
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/tap-bad-prog.tap b/tests/tap-bad-prog.tap
index 7504bbd..580e7d3 100755
--- a/tests/tap-bad-prog.tap
+++ b/tests/tap-bad-prog.tap
@@ -25,7 +25,7 @@ fetch_tap_driver
 
 plan_ 6
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/tap-basic.test b/tests/tap-basic.test
index ec853d3..96578e5 100755
--- a/tests/tap-basic.test
+++ b/tests/tap-basic.test
@@ -29,7 +29,7 @@ am_parallel_tests=yes
 
 fetch_tap_driver
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/tap-common-setup.test b/tests/tap-common-setup.test
index 1f93cea..b14099a 100755
--- a/tests/tap-common-setup.test
+++ b/tests/tap-common-setup.test
@@ -19,7 +19,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << END
+cat >> configure.ac << END
 AC_OUTPUT
 END
 
diff --git a/tests/tap-diagnostic-custom.test b/tests/tap-diagnostic-custom.test
index d11fac9..d3f28a5 100755
--- a/tests/tap-diagnostic-custom.test
+++ b/tests/tap-diagnostic-custom.test
@@ -23,7 +23,7 @@ am_parallel_tests=yes
 
 fetch_tap_driver
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/tap-doc.test b/tests/tap-doc.test
index 5622b3f..46b3b51 100755
--- a/tests/tap-doc.test
+++ b/tests/tap-doc.test
@@ -22,7 +22,7 @@ am_parallel_tests=yes
 
 fetch_tap_driver
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/tap-more.test b/tests/tap-more.test
index 413edb1..643ca21 100755
--- a/tests/tap-more.test
+++ b/tests/tap-more.test
@@ -29,7 +29,7 @@ am_parallel_tests=yes
 
 fetch_tap_driver
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_SUBST([AM_TEST_LOG_DRIVER_FLAGS], ['--comments'])
 AC_OUTPUT
 END
diff --git a/tests/tap-more2.test b/tests/tap-more2.test
index c5e173a..253fdb9 100755
--- a/tests/tap-more2.test
+++ b/tests/tap-more2.test
@@ -25,7 +25,7 @@ am_parallel_tests=yes
 
 fetch_tap_driver
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/tap-recheck.test b/tests/tap-recheck.test
index 6ff5d3d..4b120a5 100755
--- a/tests/tap-recheck.test
+++ b/tests/tap-recheck.test
@@ -22,7 +22,7 @@ am_parallel_tests=yes
 
 fetch_tap_driver
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/tap-signal.tap b/tests/tap-signal.tap
index 58f8d0c..ab1cd40 100755
--- a/tests/tap-signal.tap
+++ b/tests/tap-signal.tap
@@ -24,7 +24,7 @@ fetch_tap_driver
 
 plan_ 10
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/tap-summary-aux.sh b/tests/tap-summary-aux.sh
index 518a35f..c5da03d 100755
--- a/tests/tap-summary-aux.sh
+++ b/tests/tap-summary-aux.sh
@@ -28,7 +28,7 @@ esac
 
 fetch_tap_driver
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([GNU AutoTAP], [5.12], address@hidden)
 AM_INIT_AUTOMAKE([parallel-tests])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/tar-override.test b/tests/tar-override.test
index bda62c4..393bae8 100755
--- a/tests/tar-override.test
+++ b/tests/tar-override.test
@@ -23,7 +23,7 @@
 
 cwd=`pwd` || fatal_ "couldn't get current working directory"
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > am--tar <<'END'
 #!/bin/sh
diff --git a/tests/tar.test b/tests/tar.test
index 1e6a3f2..263049a 100755
--- a/tests/tar.test
+++ b/tests/tar.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([tar], [1.0])
 AM_INIT_AUTOMAKE([tar-ustar])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/tar2.test b/tests/tar2.test
index 0b62a7f..f9cc000 100755
--- a/tests/tar2.test
+++ b/tests/tar2.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([tar2], [1.0])
 AM_INIT_AUTOMAKE([tar-pax])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/tar3.test b/tests/tar3.test
index 12126b4..ea46bb8 100755
--- a/tests/tar3.test
+++ b/tests/tar3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([tar2], [1.0])
 AM_INIT_AUTOMAKE([tar-pax tar-v7])
 AC_CONFIG_FILES([Makefile])
@@ -29,11 +29,11 @@ END
 
 $ACLOCAL
 AUTOMAKE_fails
-grep 'configure.in:2:.*mutually exclusive' stderr
+grep 'configure.ac:2:.*mutually exclusive' stderr
 
 rm -rf autom4te.cache
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT([tar2], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/target-cflags.test b/tests/target-cflags.test
index 82ead7d..ad0e94d 100755
--- a/tests/target-cflags.test
+++ b/tests/target-cflags.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_OUTPUT
diff --git a/tests/targetclash.test b/tests/targetclash.test
index a2c841c..43e227d 100755
--- a/tests/targetclash.test
+++ b/tests/targetclash.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/test-driver-acsubst.test b/tests/test-driver-acsubst.test
index 970a7b3..eefdd81 100755
--- a/tests/test-driver-acsubst.test
+++ b/tests/test-driver-acsubst.test
@@ -27,7 +27,7 @@ cp "$testsrcdir"/trivial-test-driver test-drivers/triv \
 cp "$am_scriptdir"/test-driver test-drivers/dflt \
   || fatal_ "failed to fetch auxiliary script test-driver"
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([LOG_DRIVER],      ['${SHELL} test-drivers/triv'])
 AC_SUBST([TEST_LOG_DRIVER], ['${SHELL} test-drivers/dflt'])
 AC_SUBST([SH_LOG_DRIVER],   ['${my_drv}'])
diff --git a/tests/test-driver-cond.test b/tests/test-driver-cond.test
index 932df51..3129b9b 100755
--- a/tests/test-driver-cond.test
+++ b/tests/test-driver-cond.test
@@ -26,7 +26,7 @@ cp "$testsrcdir"/trivial-test-driver . \
 cp "$am_scriptdir"/tap-driver.pl . \
   || fatal_ "failed to fetch auxiliary script tap-driver.pl"
 
-cat >> configure.in << END
+cat >> configure.ac << END
 AM_CONDITIONAL([COND1], [:])
 AM_CONDITIONAL([COND2], [false])
 AM_CONDITIONAL([COND3], [false])
diff --git a/tests/test-driver-create-log-dir.test 
b/tests/test-driver-create-log-dir.test
index 15ed0cb..988331e 100755
--- a/tests/test-driver-create-log-dir.test
+++ b/tests/test-driver-create-log-dir.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-driver-custom-multitest-recheck.test 
b/tests/test-driver-custom-multitest-recheck.test
index 7d9411d..4bf9c00 100755
--- a/tests/test-driver-custom-multitest-recheck.test
+++ b/tests/test-driver-custom-multitest-recheck.test
@@ -28,7 +28,7 @@ am_parallel_tests=yes
 cp "$testsrcdir"/trivial-test-driver . \
   || fatal_ "failed to fetch auxiliary script trivial-test-driver"
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-driver-custom-multitest-recheck2.test 
b/tests/test-driver-custom-multitest-recheck2.test
index 8fea8de..274c34d 100755
--- a/tests/test-driver-custom-multitest-recheck2.test
+++ b/tests/test-driver-custom-multitest-recheck2.test
@@ -27,7 +27,7 @@ am_parallel_tests=yes
 cp "$testsrcdir"/trivial-test-driver . \
   || fatal_ "failed to fetch auxiliary script trivial-test-driver"
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-driver-custom-multitest.test 
b/tests/test-driver-custom-multitest.test
index b170b95..871660c 100755
--- a/tests/test-driver-custom-multitest.test
+++ b/tests/test-driver-custom-multitest.test
@@ -25,7 +25,7 @@ am_parallel_tests=yes
 cp "$testsrcdir"/trivial-test-driver . \
   || fatal_ "failed to fetch auxiliary script trivial-test-driver"
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-driver-custom-no-extra-driver.test 
b/tests/test-driver-custom-no-extra-driver.test
index 6bfe952..b177181 100755
--- a/tests/test-driver-custom-no-extra-driver.test
+++ b/tests/test-driver-custom-no-extra-driver.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
 AC_SUBST([X_LOG_DRIVER], [none])
diff --git a/tests/test-driver-custom-xfail-tests.test 
b/tests/test-driver-custom-xfail-tests.test
index cfc2e9b..745772f 100755
--- a/tests/test-driver-custom-xfail-tests.test
+++ b/tests/test-driver-custom-xfail-tests.test
@@ -19,7 +19,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([nihil], [])
 AC_SUBST([ac_xfail_tests], ['x5.test x6$(test_suffix)'])
 AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
diff --git a/tests/test-driver-custom.test b/tests/test-driver-custom.test
index 3fc7ab9..74e8a9e 100755
--- a/tests/test-driver-custom.test
+++ b/tests/test-driver-custom.test
@@ -19,7 +19,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-driver-fail.test b/tests/test-driver-fail.test
index a9359da..0eb2268 100755
--- a/tests/test-driver-fail.test
+++ b/tests/test-driver-fail.test
@@ -25,7 +25,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-driver-is-distributed.test 
b/tests/test-driver-is-distributed.test
index 106c792..971b8bb 100755
--- a/tests/test-driver-is-distributed.test
+++ b/tests/test-driver-is-distributed.test
@@ -35,7 +35,7 @@ do_check ()
   mkdir $whereopts
   cd $whereopts
   mkdir tests
-  unindent > configure.in << END
+  unindent > configure.ac << END
     AC_INIT([$me], [1.0])
     AC_CONFIG_AUX_DIR([$auxdir])
     AM_INIT_AUTOMAKE([$ac_opts])
diff --git a/tests/test-driver-strip-vpath.test 
b/tests/test-driver-strip-vpath.test
index f6b232b..21bd9c3 100755
--- a/tests/test-driver-strip-vpath.test
+++ b/tests/test-driver-strip-vpath.test
@@ -23,12 +23,12 @@ am_parallel_tests=yes
 ocwd=`pwd` || fatal_ "cannot get current working directory"
 
 mkdir src build
-mv install-sh missing configure.in src
+mv install-sh missing configure.ac src
 rm -f depcomp
 
 cd src
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-extensions-cond.test b/tests/test-extensions-cond.test
index 55fc4f4..8180803 100755
--- a/tests/test-extensions-cond.test
+++ b/tests/test-extensions-cond.test
@@ -19,7 +19,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_CONDITIONAL([COND], [:])
 AM_CONDITIONAL([COND2], [:])
 END
diff --git a/tests/test-extensions.test b/tests/test-extensions.test
index d024619..d2fc2dd 100755
--- a/tests/test-extensions.test
+++ b/tests/test-extensions.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-harness-vpath-rewrite.test 
b/tests/test-harness-vpath-rewrite.test
index 1ce4833..f0f71c6 100755
--- a/tests/test-harness-vpath-rewrite.test
+++ b/tests/test-harness-vpath-rewrite.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-log.test b/tests/test-log.test
index 588754f..2a4d599 100755
--- a/tests/test-log.test
+++ b/tests/test-log.test
@@ -25,7 +25,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/test-logs-repeated.test b/tests/test-logs-repeated.test
index 0738786..d75bbcb 100755
--- a/tests/test-logs-repeated.test
+++ b/tests/test-logs-repeated.test
@@ -23,7 +23,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/test-metadata-global-log.test 
b/tests/test-metadata-global-log.test
index ce956d9..bbd9339 100755
--- a/tests/test-metadata-global-log.test
+++ b/tests/test-metadata-global-log.test
@@ -23,7 +23,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-metadata-global-result.test 
b/tests/test-metadata-global-result.test
index c3682a3..8a6020c 100755
--- a/tests/test-metadata-global-result.test
+++ b/tests/test-metadata-global-result.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-metadata-recheck.test b/tests/test-metadata-recheck.test
index 3779710..0a7a7cc 100755
--- a/tests/test-metadata-recheck.test
+++ b/tests/test-metadata-recheck.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-metadata-results.test b/tests/test-metadata-results.test
index 373b84f..91102a8 100755
--- a/tests/test-metadata-results.test
+++ b/tests/test-metadata-results.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-missing.test b/tests/test-missing.test
index ee19987..3f5a9bd 100755
--- a/tests/test-missing.test
+++ b/tests/test-missing.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-missing2.test b/tests/test-missing2.test
index c762dd6..e511a8b 100755
--- a/tests/test-missing2.test
+++ b/tests/test-missing2.test
@@ -22,7 +22,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/test-trs-basic.test b/tests/test-trs-basic.test
index 43f78d9..1e16bd1 100755
--- a/tests/test-trs-basic.test
+++ b/tests/test-trs-basic.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/test-trs-recover.test b/tests/test-trs-recover.test
index 4e527cc..68fb86b 100755
--- a/tests/test-trs-recover.test
+++ b/tests/test-trs-recover.test
@@ -22,7 +22,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/test-trs-recover2.test b/tests/test-trs-recover2.test
index b4dbff8..a048ce3 100755
--- a/tests/test-trs-recover2.test
+++ b/tests/test-trs-recover2.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_OUTPUT
 END
 
diff --git a/tests/tests-environment-and-log-compiler.test 
b/tests/tests-environment-and-log-compiler.test
index 3767790..0e9d6e7 100755
--- a/tests/tests-environment-and-log-compiler.test
+++ b/tests/tests-environment-and-log-compiler.test
@@ -21,7 +21,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/tests-environment-backcompat.test 
b/tests/tests-environment-backcompat.test
index af2b5d5..f773cbd 100755
--- a/tests/tests-environment-backcompat.test
+++ b/tests/tests-environment-backcompat.test
@@ -22,7 +22,7 @@
 am_parallel_tests=no
 . ./defs || Exit 1
 
-cat >> configure.in <<END
+cat >> configure.ac <<END
 AC_SUBST([PERL], ['$PERL'])
 AC_OUTPUT
 END
diff --git a/tests/tests-environment-fd-redirect.test 
b/tests/tests-environment-fd-redirect.test
index dc5886f..0361aff 100755
--- a/tests/tests-environment-fd-redirect.test
+++ b/tests/tests-environment-fd-redirect.test
@@ -29,7 +29,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/tests-environment.test b/tests/tests-environment.test
index 87b0975..27cd458 100755
--- a/tests/tests-environment.test
+++ b/tests/tests-environment.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/testsuite-summary-checks.sh 
b/tests/testsuite-summary-checks.sh
index 26e285f..f36f7a5 100755
--- a/tests/testsuite-summary-checks.sh
+++ b/tests/testsuite-summary-checks.sh
@@ -36,7 +36,7 @@ case $use_colors in
     fatal_ "invalid use_colors='$use_colors'";;
 esac
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([GNU AutoFoo], [7.1], address@hidden)
 AM_INIT_AUTOMAKE([$am_opts])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/testsuite-summary-count-many.test 
b/tests/testsuite-summary-count-many.test
index 5e8a295..43c2b65 100755
--- a/tests/testsuite-summary-count-many.test
+++ b/tests/testsuite-summary-count-many.test
@@ -38,7 +38,7 @@ ${br}
 See ./test-suite.log
 ${br}"
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 TEST_LOG_DRIVER = $(SHELL) $(srcdir)/trivial-test-driver
diff --git a/tests/testsuite-summary-reference-log.test 
b/tests/testsuite-summary-reference-log.test
index e8f9c05..1d4238b 100755
--- a/tests/testsuite-summary-reference-log.test
+++ b/tests/testsuite-summary-reference-log.test
@@ -20,7 +20,7 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-mv configure.in configure.stub
+mv configure.ac configure.stub
 
 cat > fail << 'END'
 #!/bin/sh
@@ -28,7 +28,7 @@ exit 1
 END
 chmod a+x fail
 
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
 AC_OUTPUT
 END
 
@@ -62,7 +62,7 @@ mkdir sub
 echo TESTS = fail > sub/Makefile.am
 mv fail sub
 
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/transform.test b/tests/transform.test
index acb49a3..7aa958e 100755
--- a/tests/transform.test
+++ b/tests/transform.test
@@ -19,7 +19,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/transform2.test b/tests/transform2.test
index 2b27b45..a4a94f7 100755
--- a/tests/transform2.test
+++ b/tests/transform2.test
@@ -20,7 +20,7 @@
 required=cc
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_CC
 AC_OUTPUT
 END
diff --git a/tests/txinfo.test b/tests/txinfo.test
index 40c92c5..e6667cb 100755
--- a/tests/txinfo.test
+++ b/tests/txinfo.test
@@ -20,7 +20,7 @@
 required=makeinfo
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo13.test b/tests/txinfo13.test
index 625dd10..77f9af7 100755
--- a/tests/txinfo13.test
+++ b/tests/txinfo13.test
@@ -21,7 +21,7 @@
 required='makeinfo tex texi2dvi-o'
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 info_TEXINFOS = subdir/main.texi
diff --git a/tests/txinfo16.test b/tests/txinfo16.test
index c1b3fe7..7ed194e 100755
--- a/tests/txinfo16.test
+++ b/tests/txinfo16.test
@@ -20,7 +20,7 @@
 required='makeinfo tex texi2dvi'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo18.test b/tests/txinfo18.test
index c0d1881..22b096b 100755
--- a/tests/txinfo18.test
+++ b/tests/txinfo18.test
@@ -21,7 +21,7 @@
 required='makeinfo tex texi2dvi'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo19.test b/tests/txinfo19.test
index c947753..e304b42 100755
--- a/tests/txinfo19.test
+++ b/tests/txinfo19.test
@@ -19,7 +19,7 @@
 required='makeinfo tex'
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 info_TEXINFOS = main.texi
diff --git a/tests/txinfo2.test b/tests/txinfo2.test
index a33bf7e..0daebd9 100755
--- a/tests/txinfo2.test
+++ b/tests/txinfo2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo20.test b/tests/txinfo20.test
index 2fd4cdf..5c07880 100755
--- a/tests/txinfo20.test
+++ b/tests/txinfo20.test
@@ -19,7 +19,7 @@
 required=makeinfo
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 info_TEXINFOS = main.texi sub/main.texi
diff --git a/tests/txinfo21.test b/tests/txinfo21.test
index eae9515..258cba3 100755
--- a/tests/txinfo21.test
+++ b/tests/txinfo21.test
@@ -20,7 +20,7 @@
 required='makeinfo-html tex texi2dvi'
 . ./defs || Exit 1
 
-cat >>configure.in <<\EOF
+cat >>configure.ac <<\EOF
 AC_CONFIG_FILES([rec/Makefile])
 
 # At the time of writing, Autoconf does not supplies any of these
diff --git a/tests/txinfo22.test b/tests/txinfo22.test
index 0b90e85..c33898b 100755
--- a/tests/txinfo22.test
+++ b/tests/txinfo22.test
@@ -21,7 +21,7 @@
 required='makeinfo tex texi2dvi'
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([aux1])
 AM_INIT_AUTOMAKE
diff --git a/tests/txinfo23.test b/tests/txinfo23.test
index 1693b82..e5c1761 100755
--- a/tests/txinfo23.test
+++ b/tests/txinfo23.test
@@ -22,7 +22,7 @@
 required='makeinfo tex texi2dvi-o'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo24.test b/tests/txinfo24.test
index f62e14a..709cee7 100755
--- a/tests/txinfo24.test
+++ b/tests/txinfo24.test
@@ -21,7 +21,7 @@
 required='makeinfo tex texi2dvi-o'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo25.test b/tests/txinfo25.test
index 5cdd293..cb6abaa 100755
--- a/tests/txinfo25.test
+++ b/tests/txinfo25.test
@@ -23,7 +23,7 @@
 required='makeinfo tex texi2dvi-o'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo26.test b/tests/txinfo26.test
index b958aaf..e336bba 100755
--- a/tests/txinfo26.test
+++ b/tests/txinfo26.test
@@ -20,7 +20,7 @@
 required='makeinfo'
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 info_TEXINFOS = main.texi
diff --git a/tests/txinfo27.test b/tests/txinfo27.test
index ecd98c6..131300a 100755
--- a/tests/txinfo27.test
+++ b/tests/txinfo27.test
@@ -19,7 +19,7 @@
 required='makeinfo'
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 info_TEXINFOS = main.texi
diff --git a/tests/txinfo28.test b/tests/txinfo28.test
index 058e47c..97b36d5 100755
--- a/tests/txinfo28.test
+++ b/tests/txinfo28.test
@@ -27,7 +27,7 @@ required='makeinfo tex texi2dvi-o'
 TIME_STYLE="+%Y-%m-%d %H:%M:%S"
 export TIME_STYLE
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << 'END'
 MA = ma
diff --git a/tests/txinfo29.test b/tests/txinfo29.test
index cf6112f..a0013d2 100755
--- a/tests/txinfo29.test
+++ b/tests/txinfo29.test
@@ -43,13 +43,13 @@ grep '^INFO_DEPS *= *foo.info *$' Makefile.in
 cat > Makefile.am << 'END'
 info_TEXINFOS = bar.texi
 END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_SUBST([INFO_DEPS])
 END
-rm -rf autom4te.cache # Make sure autoconf sees the configure.in update.
+rm -rf autom4te.cache # Make sure autoconf sees the configure.ac update.
 AUTOMAKE_fails
 
-grep '^configure\.in:4:.*user variable.*INFO_DEPS' stderr
+grep '^configure\.ac:4:.*user variable.*INFO_DEPS' stderr
 grep 'overrides Automake variable.*INFO_DEPS' stderr
 
 $AUTOMAKE -Wno-override
diff --git a/tests/txinfo3.test b/tests/txinfo3.test
index b662def..88e1bac 100755
--- a/tests/txinfo3.test
+++ b/tests/txinfo3.test
@@ -19,7 +19,7 @@
 required='makeinfo tex texi2dvi'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo30.test b/tests/txinfo30.test
index 799cefc..b85ef0f 100755
--- a/tests/txinfo30.test
+++ b/tests/txinfo30.test
@@ -26,7 +26,7 @@ cat >bar.texi <<EOF
 @setfilename bar.info
 EOF
 
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
 
 cat >makeinfo <<\EOF
 #!/bin/sh
diff --git a/tests/txinfo32.test b/tests/txinfo32.test
index 8c25bed..7fa7938 100755
--- a/tests/txinfo32.test
+++ b/tests/txinfo32.test
@@ -20,7 +20,7 @@
 . ./defs || Exit 1
 
 mkdir sub
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/txinfo33.test b/tests/txinfo33.test
index 30f34f9..d724824 100755
--- a/tests/txinfo33.test
+++ b/tests/txinfo33.test
@@ -22,7 +22,7 @@ required='makeinfo tex texi2dvi-o dvips'
 
 mkdir sub
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/txinfo5.test b/tests/txinfo5.test
index e4aa1f6..da32cb6 100755
--- a/tests/txinfo5.test
+++ b/tests/txinfo5.test
@@ -22,7 +22,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_MAINTAINER_MODE
 END
 
diff --git a/tests/txinfo5b.test b/tests/txinfo5b.test
index d4e0b19..a52be5a 100755
--- a/tests/txinfo5b.test
+++ b/tests/txinfo5b.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_MAINTAINER_MODE
 END
 
diff --git a/tests/txinfo8.test b/tests/txinfo8.test
index e8f6107..4b186bc 100755
--- a/tests/txinfo8.test
+++ b/tests/txinfo8.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 AC_CONFIG_AUX_DIR([auxdir])
 AM_INIT_AUTOMAKE
diff --git a/tests/uninstall-fail.test b/tests/uninstall-fail.test
index 640ef71..69154bb 100755
--- a/tests/uninstall-fail.test
+++ b/tests/uninstall-fail.test
@@ -39,7 +39,7 @@ else
   rm_f_is_silent_on_error=yes
 fi
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/uninstall-pr9578.test b/tests/uninstall-pr9578.test
index ba961f9..1ba6ac7 100755
--- a/tests/uninstall-pr9578.test
+++ b/tests/uninstall-pr9578.test
@@ -24,7 +24,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_OUTPUT
 END
 
diff --git a/tests/unused.test b/tests/unused.test
index 5852f75..271273f 100755
--- a/tests/unused.test
+++ b/tests/unused.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 MACRO_1
 MACRO_1_2
 MACRO_1_2_3
diff --git a/tests/upc.test b/tests/upc.test
index 6b467bc..320e02f 100755
--- a/tests/upc.test
+++ b/tests/upc.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AM_PROG_UPC
 AC_OUTPUT
 END
diff --git a/tests/upc2.test b/tests/upc2.test
index 01a8ca7..43575d8 100755
--- a/tests/upc2.test
+++ b/tests/upc2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_PROG_CC >>configure.in
+echo AC_PROG_CC >>configure.ac
 
 cat >Makefile.am <<'END'
 bin_PROGRAMS = hello
diff --git a/tests/upc3.test b/tests/upc3.test
index 91826a9..eb02679 100755
--- a/tests/upc3.test
+++ b/tests/upc3.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_UPC
 AC_OUTPUT
diff --git a/tests/vala-mix.test b/tests/vala-mix.test
index 82d305a..2cd2146 100755
--- a/tests/vala-mix.test
+++ b/tests/vala-mix.test
@@ -19,7 +19,7 @@
 required='valac cc'
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AM_PROG_VALAC
diff --git a/tests/vala-vpath.test b/tests/vala-vpath.test
index c2a3ea8..cef335d 100755
--- a/tests/vala-vpath.test
+++ b/tests/vala-vpath.test
@@ -20,7 +20,7 @@
 required=valac
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_SRCDIR([hello.vala])
 AC_PROG_CC
 AM_PROG_VALAC([0.7])
diff --git a/tests/vala.test b/tests/vala.test
index b68fd78..b4e2d76 100755
--- a/tests/vala.test
+++ b/tests/vala.test
@@ -24,7 +24,7 @@ AC_DEFUN([AC_PROG_LIBTOOL],
          [AC_SUBST([LIBTOOL], [:])])
 END
 
-cat >> 'configure.in' << 'END'
+cat >> 'configure.ac' << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_LIBTOOL
diff --git a/tests/vala1.test b/tests/vala1.test
index e5d31fc..9aca0fb 100755
--- a/tests/vala1.test
+++ b/tests/vala1.test
@@ -20,7 +20,7 @@
 required="libtool"
 . ./defs || Exit 1
 
-cat >> 'configure.in' << 'END'
+cat >> 'configure.ac' << 'END'
 AC_PROG_CC
 AM_PROG_AR
 AC_PROG_LIBTOOL
diff --git a/tests/vala2.test b/tests/vala2.test
index f807934..bd90433 100755
--- a/tests/vala2.test
+++ b/tests/vala2.test
@@ -21,7 +21,7 @@ required="libtool libtoolize pkg-config valac gcc"
 
 mkdir src
 
-cat >> 'configure.in' << 'END'
+cat >> 'configure.ac' << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_LIBTOOL
diff --git a/tests/vala3.test b/tests/vala3.test
index ed81ba4..0ff9e37 100755
--- a/tests/vala3.test
+++ b/tests/vala3.test
@@ -21,7 +21,7 @@ required="libtool libtoolize pkg-config valac gcc"
 
 mkdir src
 
-cat >> 'configure.in' << 'END'
+cat >> 'configure.ac' << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_LIBTOOL
diff --git a/tests/vala4.test b/tests/vala4.test
index f1ce2cc..3fc06bc 100755
--- a/tests/vala4.test
+++ b/tests/vala4.test
@@ -19,7 +19,7 @@
 required=libtoolize
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_LIBTOOL
 AM_PROG_VALAC([0.0.1])
@@ -48,13 +48,13 @@ $AUTOMAKE -a
 $AUTOCONF
 ./configure "VALAC=$cwd/valac" || Exit $?
 
-sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([9999.9])/' < configure.in >t
-mv -f t configure.in
+sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([9999.9])/' < configure.ac >t
+mv -f t configure.ac
 $AUTOCONF --force
 ./configure "VALAC=$cwd/valac" && Exit 1
 
-sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([1.2.3])/' < configure.in >t
-mv -f t configure.in
+sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([1.2.3])/' < configure.ac >t
+mv -f t configure.ac
 $AUTOCONF --force
 ./configure "VALAC=$cwd/valac" || Exit $?
 
diff --git a/tests/vala5.test b/tests/vala5.test
index ebad7bb..e72ee0b 100755
--- a/tests/vala5.test
+++ b/tests/vala5.test
@@ -21,7 +21,7 @@ required="pkg-config valac gcc"
 
 mkdir src
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AM_PROG_VALAC([0.7.0])
diff --git a/tests/vars-assign.test b/tests/vars-assign.test
index 9b91c26..120118f 100755
--- a/tests/vars-assign.test
+++ b/tests/vars-assign.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 unset PREFOO FOO BAR BAZ XFOO XBAZ || :
 
diff --git a/tests/vartypo2.test b/tests/vartypo2.test
index c58a626..9b52df6 100755
--- a/tests/vartypo2.test
+++ b/tests/vartypo2.test
@@ -20,7 +20,7 @@
 required=libtoolize
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AM_PROG_AR
 AC_PROG_LIBTOOL
 AC_OUTPUT
diff --git a/tests/vartypos.test b/tests/vartypos.test
index f356385..e3ea16e 100755
--- a/tests/vartypos.test
+++ b/tests/vartypos.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
 AC_PROG_RANLIB
 AC_OUTPUT
 END
diff --git a/tests/version.test b/tests/version.test
index d7fbc03..98664e2 100755
--- a/tests/version.test
+++ b/tests/version.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE([sh-utils], [1.12o])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/version2.test b/tests/version2.test
index 8a28227..71749f6 100755
--- a/tests/version2.test
+++ b/tests/version2.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
 AC_INIT
 AM_INIT_AUTOMAKE([sh-utils], [1.12o], [no])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/version7.test b/tests/version7.test
index a0699ed..ed5847e 100755
--- a/tests/version7.test
+++ b/tests/version7.test
@@ -15,14 +15,14 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Test for a special setup where the package's version isn't defined
-# in configure.in.  We want GNU Make for this test (part of the test
+# in configure.ac.  We want GNU Make for this test (part of the test
 # is to make sure Makefile.ins get rebuilt when a m4_included file
 # changes -- we don't support this feature on non-GNU Makes).
 
 required='makeinfo tex texi2dvi'
 . ./defs || Exit 1
 
-cat >configure.in <<END
+cat >configure.ac <<END
 m4_include([version.m4])
 AC_INIT([$me], [THE_VERSION])
 AM_INIT_AUTOMAKE
diff --git a/tests/version8.test b/tests/version8.test
index ace527c..1e66280 100755
--- a/tests/version8.test
+++ b/tests/version8.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo 'AM_AUTOMAKE_VERSION([1.9])' >>configure.in
+echo 'AM_AUTOMAKE_VERSION([1.9])' >>configure.ac
 $ACLOCAL 2>stderr && { cat stderr >&2; Exit 0; }
 cat stderr >&2
 $FGREP 'AM_INIT_AUTOMAKE([1.9])' stderr
diff --git a/tests/vpath-rewrite.test b/tests/vpath-rewrite.test
index 0b43236..0d2db6c 100755
--- a/tests/vpath-rewrite.test
+++ b/tests/vpath-rewrite.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
 
 cat > Makefile.am << END
 bsub:
@@ -62,7 +62,7 @@ test-vpath: test-common
        test '\$(call vr,Makefile.in )'           = \$(srcdir)/Makefile.in
        test '\$(call vr,zap/paz.c)'              = \$(srcdir)/zap/paz.c
        test '\$(call vr,configure $tab)'         = \$(srcdir)/configure
-       test '\$(call vr,    configure.in$tab  )' = \$(srcdir)/configure.in
+       test '\$(call vr,    configure.ac$tab  )' = \$(srcdir)/configure.ac
 
 test-intree: test-common
        test '\$(call vr,ssub)'                   = ssub
@@ -71,7 +71,7 @@ test-intree: test-common
        test '\$(call vr,Makefile.in )'           = Makefile.in
        test '\$(call vr,zap/paz.c)'              = zap/paz.c
        test '\$(call vr,configure $tab)'         = configure
-       test '\$(call vr,    configure.in$tab  )' = configure.in
+       test '\$(call vr,    configure.ac$tab  )' = configure.ac
 END
 
 $ACLOCAL
diff --git a/tests/vtexi3.test b/tests/vtexi3.test
index b51e145..679199d 100755
--- a/tests/vtexi3.test
+++ b/tests/vtexi3.test
@@ -30,7 +30,7 @@ distdir=$me-7.45.3a
 TEX=false TEXI2DVI=false MAKEINFO=false
 export TEX TEXI2DVI MAKEINFO
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [7.45.3a])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/vtexi4.test b/tests/vtexi4.test
index ed4c6fe..b422522 100755
--- a/tests/vtexi4.test
+++ b/tests/vtexi4.test
@@ -38,7 +38,7 @@ day=`echo "$day" | sed 's/^0//'`
 (echo 'x' | grep x) \
   || skip_ "grep doesn't work on input that is not pure text"
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [123.456])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/warning-groups-win-over-strictness.test 
b/tests/warning-groups-win-over-strictness.test
index 74ead57..54adbc3 100755
--- a/tests/warning-groups-win-over-strictness.test
+++ b/tests/warning-groups-win-over-strictness.test
@@ -27,7 +27,7 @@ AUTOMAKE=$am_original_AUTOMAKE
 # Files required in gnu and/or gnits strictness.
 touch README INSTALL NEWS AUTHORS ChangeLog COPYING THANKS
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 m4_include([am-init-automake.m4])
 AC_PROG_CC
diff --git a/tests/warnings-override.test b/tests/warnings-override.test
index ccd557c..81903f8 100755
--- a/tests/warnings-override.test
+++ b/tests/warnings-override.test
@@ -15,7 +15,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # The warnings specified in Makefile.am:AUTOMAKE_OPTIONS should override
-# those specified in configure.in:AM_INIT_AUTOMAKE, and both should
+# those specified in configure.ac:AM_INIT_AUTOMAKE, and both should
 # override the warnings specified on the command line.
 # NOTE: the current semantics might not be the best one (even if it has
 # been in place for quite a long time); see also Automake bug #7673.
@@ -60,52 +60,52 @@ touch README INSTALL NEWS AUTHORS ChangeLog COPYING
 
 rm -rf autom4te*.cache
 set_warnings '-Wno-portability' Makefile.am
-set_warnings '' configure.in
+set_warnings '' configure.ac
 
 ok -Wportability
 ok
 
 rm -rf autom4te*.cache
 set_warnings '' Makefile.am
-set_warnings '-Wno-portability' configure.in
+set_warnings '-Wno-portability' configure.ac
 
 ok -Wportability
 ok
 
 rm -rf autom4te*.cache
 set_warnings '-Wno-portability' Makefile.am
-set_warnings '-Wno-portability' configure.in
+set_warnings '-Wno-portability' configure.ac
 
 ok -Wportability
 
 rm -rf autom4te*.cache
 set_warnings '-Wportability' Makefile.am
-set_warnings '' configure.in
+set_warnings '' configure.ac
 
 ko
 ko -Wno-portability
 
 rm -rf autom4te*.cache
 set_warnings '' Makefile.am
-set_warnings '-Wportability' configure.in
+set_warnings '-Wportability' configure.ac
 
 ko
 ko -Wno-portability
 
 rm -rf autom4te*.cache
 set_warnings '-Wportability' Makefile.am
-set_warnings '-Wportability' configure.in
+set_warnings '-Wportability' configure.ac
 ko -Wno-portability
 
 rm -rf autom4te*.cache
 set_warnings '-Wno-portability' Makefile.am
-set_warnings '-Wportability' configure.in
+set_warnings '-Wportability' configure.ac
 ok
 ok -Wportability
 
 rm -rf autom4te*.cache
 set_warnings '-Wportability' Makefile.am
-set_warnings '-Wno-portability' configure.in
+set_warnings '-Wno-portability' configure.ac
 ko
 ko -Wno-portability
 
diff --git a/tests/warnings-precedence.test b/tests/warnings-precedence.test
index 509aa3f..9dc6a35 100755
--- a/tests/warnings-precedence.test
+++ b/tests/warnings-precedence.test
@@ -58,16 +58,16 @@ ok -Wportability -Wno-portability
 ko -Wno-portability -Wportability
 
 set_warnings '' Makefile.am
-set_warnings '-Wportability -Wno-portability' configure.in
+set_warnings '-Wportability -Wno-portability' configure.ac
 rm -rf autom4te*.cache
 $ACLOCAL
 ok
-set_warnings '-Wno-portability -Wportability' configure.in
+set_warnings '-Wno-portability -Wportability' configure.ac
 rm -rf autom4te*.cache
 $ACLOCAL
 ko
 
-set_warnings '' configure.in
+set_warnings '' configure.ac
 rm -rf autom4te*.cache
 $ACLOCAL
 set_warnings '-Wportability -Wno-portability' Makefile.am
diff --git a/tests/warnings-strictness-interactions.test 
b/tests/warnings-strictness-interactions.test
index d9fb3fb..d281475 100755
--- a/tests/warnings-strictness-interactions.test
+++ b/tests/warnings-strictness-interactions.test
@@ -39,7 +39,7 @@ set_am_opts ()
   cat $2
 }
 
-set_am_opts '-Wportability' configure.in
+set_am_opts '-Wportability' configure.ac
 set_am_opts 'foreign' Makefile.am
 
 $ACLOCAL
@@ -50,7 +50,7 @@ rm -rf autom4te*.cache
 # Files required in gnu strictness.
 touch README INSTALL NEWS AUTHORS ChangeLog COPYING
 
-set_am_opts '-Wno-portability' configure.in
+set_am_opts '-Wno-portability' configure.ac
 set_am_opts 'gnu' Makefile.am
 
 AUTOMAKE_fails
diff --git a/tests/warnings-unknown.test b/tests/warnings-unknown.test
index bddbb25..4d64059 100755
--- a/tests/warnings-unknown.test
+++ b/tests/warnings-unknown.test
@@ -21,7 +21,7 @@
 # We want (almost) complete control over automake options.
 AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror"
 
-cat > configure.in <<END
+cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE([-Wno-zardoz])
 AC_CONFIG_FILES([Makefile])
@@ -38,7 +38,7 @@ AUTOMAKE_fails -Wbazquux
 sed "s/^automake:/automake-$APIVERSION:/" stderr > t
 mv -f t stderr
 cat stderr >&2
-grep '^configure\.in:2:.* unknown warning category.*zardoz' stderr
+grep '^configure\.ac:2:.* unknown warning category.*zardoz' stderr
 grep '^Makefile\.am:1:.* unknown warning category.*foobar' stderr
 grep "^automake-$APIVERSION:.* unknown warning category.*bazquux" stderr
 
diff --git a/tests/warnings-win-over-strictness.test 
b/tests/warnings-win-over-strictness.test
index 90497b2..c537ac7 100755
--- a/tests/warnings-win-over-strictness.test
+++ b/tests/warnings-win-over-strictness.test
@@ -64,20 +64,20 @@ ok -Wno-portability --gnu
 set_am_opts '' Makefile.am
 
 rm -rf autom4te*.cache
-set_am_opts 'foreign -Wportability' configure.in
+set_am_opts 'foreign -Wportability' configure.ac
 ko
 rm -rf autom4te*.cache
-set_am_opts '-Wportability foreign' configure.in
+set_am_opts '-Wportability foreign' configure.ac
 ko
 rm -rf autom4te*.cache
-set_am_opts 'gnu -Wno-portability' configure.in
+set_am_opts 'gnu -Wno-portability' configure.ac
 ok
 rm -rf autom4te*.cache
-set_am_opts '-Wno-portability gnu' configure.in
+set_am_opts '-Wno-portability gnu' configure.ac
 ok
 
 rm -rf autom4te*.cache
-set_am_opts '' configure.in
+set_am_opts '' configure.ac
 
 set_am_opts 'foreign -Wportability' Makefile.am
 ko
diff --git a/tests/warnopts.test b/tests/warnopts.test
index 54c27d5..bb9cfb3 100755
--- a/tests/warnopts.test
+++ b/tests/warnopts.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<END
+cat >>configure.ac <<END
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
@@ -55,15 +55,15 @@ grep '^Makefile.am:.*INCLUDES' stderr && Exit 1
 test `grep -v 'warnings are treated as errors' stderr | wc -l` = 3
 
 # On fast machines the autom4te.cache created during the above run of
-# $AUTOMAKE is likely to have the same time stamp as the configure.in
-# created below; thus causing traces for the old configure.in to be
+# $AUTOMAKE is likely to have the same time stamp as the configure.ac
+# created below; thus causing traces for the old configure.ac to be
 # used.  We could do `$sleep', but it's faster to erase the
 # directory.  (Erase autom4te*.cache, not autom4te.cache, because some
 # bogus installations of Autoconf use a versioned cache).
 rm -rf autom4te*.cache
 
 # If we add a global -Wnone, all warnings should disappear.
-cat >configure.in <<END
+cat >configure.ac <<END
 AC_INIT([warnopts], [1.0])
 AM_INIT_AUTOMAKE([-Wnone])
 AC_CONFIG_FILES([Makefile sub/Makefile])
diff --git a/tests/werror2.test b/tests/werror2.test
index 302d26a..67e0e01 100755
--- a/tests/werror2.test
+++ b/tests/werror2.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-echo AC_OUTPUT>>configure.in
+echo AC_OUTPUT>>configure.ac
 
 : > Makefile.am
 
diff --git a/tests/werror3.test b/tests/werror3.test
index 75da976..b5e35e3 100755
--- a/tests/werror3.test
+++ b/tests/werror3.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<\END
+cat >>configure.ac <<\END
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/werror4.test b/tests/werror4.test
index 9dd0672..b2f3f6a 100755
--- a/tests/werror4.test
+++ b/tests/werror4.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >>configure.in <<\END
+cat >>configure.ac <<\END
 AC_CONFIG_FILES([sub/Makefile])
 AC_OUTPUT
 END
diff --git a/tests/whoami.test b/tests/whoami.test
index 175f02b..72153ca 100755
--- a/tests/whoami.test
+++ b/tests/whoami.test
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 WHO_AM_I=17
 END
 
diff --git a/tests/xsource.test b/tests/xsource.test
index 39dbbec..5f89dc9 100755
--- a/tests/xsource.test
+++ b/tests/xsource.test
@@ -24,7 +24,7 @@ bin_PROGRAMS = zardoz
 zardoz_SOURCES = z.c x/z.c
 END
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 END
 
diff --git a/tests/yacc-auxdir.test b/tests/yacc-auxdir.test
index e58d9a4..d268fc5 100755
--- a/tests/yacc-auxdir.test
+++ b/tests/yacc-auxdir.test
@@ -23,7 +23,7 @@ set -e
 
 mkdir aux1 sub
 
-cat > configure.in << END
+cat > configure.ac << END
 AC_INIT([$me], [1.0])
 # 'aux' is not an acceptable file/directory name on Windows systems
 AC_CONFIG_AUX_DIR([aux1])
diff --git a/tests/yacc-basic.test b/tests/yacc-basic.test
index 99e0444..71775f4 100755
--- a/tests/yacc-basic.test
+++ b/tests/yacc-basic.test
@@ -20,7 +20,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-bison-skeleton-cxx.test 
b/tests/yacc-bison-skeleton-cxx.test
index ee5cb88..0442a6f 100755
--- a/tests/yacc-bison-skeleton-cxx.test
+++ b/tests/yacc-bison-skeleton-cxx.test
@@ -22,7 +22,7 @@ required=bison
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-bison-skeleton.test b/tests/yacc-bison-skeleton.test
index 2b36838..9e1a31e 100755
--- a/tests/yacc-bison-skeleton.test
+++ b/tests/yacc-bison-skeleton.test
@@ -22,7 +22,7 @@ required=bison
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-clean-cxx.test b/tests/yacc-clean-cxx.test
index 1abbfba..5fc815e 100755
--- a/tests/yacc-clean-cxx.test
+++ b/tests/yacc-clean-cxx.test
@@ -25,7 +25,7 @@ required=yacc
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_YACC
 AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
diff --git a/tests/yacc-clean.test b/tests/yacc-clean.test
index ba23007..4ecd5b1 100755
--- a/tests/yacc-clean.test
+++ b/tests/yacc-clean.test
@@ -22,7 +22,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
diff --git a/tests/yacc-cxx.test b/tests/yacc-cxx.test
index adc9558..396f736 100755
--- a/tests/yacc-cxx.test
+++ b/tests/yacc-cxx.test
@@ -23,7 +23,7 @@ required=yacc
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-d-basic.test b/tests/yacc-d-basic.test
index 00287da..b3955b7 100755
--- a/tests/yacc-d-basic.test
+++ b/tests/yacc-d-basic.test
@@ -21,7 +21,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_CONFIG_FILES([foo/Makefile bar/Makefile baz/Makefile])
diff --git a/tests/yacc-d-cxx.test b/tests/yacc-d-cxx.test
index b5ac0c2..1a6ddec 100755
--- a/tests/yacc-d-cxx.test
+++ b/tests/yacc-d-cxx.test
@@ -55,7 +55,7 @@ write_main ()
 END
 }
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_YACC
 AC_CONFIG_FILES([foo/Makefile bar/Makefile baz/Makefile qux/Makefile])
diff --git a/tests/yacc-d-vpath.test b/tests/yacc-d-vpath.test
index bbd5c36..dd74877 100755
--- a/tests/yacc-d-vpath.test
+++ b/tests/yacc-d-vpath.test
@@ -25,7 +25,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-deleted-headers.test b/tests/yacc-deleted-headers.test
index 146eafd..ec27518 100755
--- a/tests/yacc-deleted-headers.test
+++ b/tests/yacc-deleted-headers.test
@@ -21,7 +21,7 @@ required=yacc
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-depend.test b/tests/yacc-depend.test
index 5cd4f15..8a3c0ee 100755
--- a/tests/yacc-depend.test
+++ b/tests/yacc-depend.test
@@ -22,7 +22,7 @@ required=yacc
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-depend2.test b/tests/yacc-depend2.test
index b067e69..205c21c 100755
--- a/tests/yacc-depend2.test
+++ b/tests/yacc-depend2.test
@@ -23,7 +23,7 @@ required=yacc
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-dist-nobuild-subdir.test 
b/tests/yacc-dist-nobuild-subdir.test
index fb4f1d7..05f76a9 100755
--- a/tests/yacc-dist-nobuild-subdir.test
+++ b/tests/yacc-dist-nobuild-subdir.test
@@ -21,7 +21,7 @@
 required=yacc
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_YACC
diff --git a/tests/yacc-dist-nobuild.test b/tests/yacc-dist-nobuild.test
index 0d678f1..bdfaca6 100755
--- a/tests/yacc-dist-nobuild.test
+++ b/tests/yacc-dist-nobuild.test
@@ -21,7 +21,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc-line.test b/tests/yacc-line.test
index 4475b08..1959048 100755
--- a/tests/yacc-line.test
+++ b/tests/yacc-line.test
@@ -24,7 +24,7 @@ required=yacc
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_CONFIG_FILES([sub/Makefile])
 AC_PROG_CC
 AM_PROG_CC_C_O
diff --git a/tests/yacc-mix-c-cxx.test b/tests/yacc-mix-c-cxx.test
index 722a01c..62f3260 100755
--- a/tests/yacc-mix-c-cxx.test
+++ b/tests/yacc-mix-c-cxx.test
@@ -22,7 +22,7 @@ required=yacc
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_YACC
diff --git a/tests/yacc-nodist.test b/tests/yacc-nodist.test
index 7bfd886..af2bbd0 100755
--- a/tests/yacc-nodist.test
+++ b/tests/yacc-nodist.test
@@ -23,7 +23,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
diff --git a/tests/yacc-pr204.test b/tests/yacc-pr204.test
index 30fff2a..fa8d464 100755
--- a/tests/yacc-pr204.test
+++ b/tests/yacc-pr204.test
@@ -23,7 +23,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
 AM_MAINTAINER_MODE
 AC_PROG_CC
 AC_PROG_YACC
diff --git a/tests/yacc-subobj-nodep.test b/tests/yacc-subobj-nodep.test
index 81f9c6e..80783a1 100755
--- a/tests/yacc-subobj-nodep.test
+++ b/tests/yacc-subobj-nodep.test
@@ -20,7 +20,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >configure.in <<END
+cat >configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE([no-dependencies subdir-objects])
 AC_CONFIG_FILES([Makefile])
diff --git a/tests/yacc-weirdnames.test b/tests/yacc-weirdnames.test
index 6fa19cc..909b018 100755
--- a/tests/yacc-weirdnames.test
+++ b/tests/yacc-weirdnames.test
@@ -21,7 +21,7 @@
 
 set -e
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_YACC
diff --git a/tests/yacc.test b/tests/yacc.test
index 8829e8b..60b5a4f 100755
--- a/tests/yacc.test
+++ b/tests/yacc.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 END
diff --git a/tests/yacc2.test b/tests/yacc2.test
index a0c671e..9578462 100755
--- a/tests/yacc2.test
+++ b/tests/yacc2.test
@@ -20,13 +20,13 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 END
 
 # Run it here once and for all, since we are not going to modify
-# configure.in anymore.
+# configure.ac anymore.
 $ACLOCAL
 
 cat > Makefile.am <<'END'
diff --git a/tests/yacc4.test b/tests/yacc4.test
index 7c87c53..3f9a204 100755
--- a/tests/yacc4.test
+++ b/tests/yacc4.test
@@ -19,7 +19,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc5.test b/tests/yacc5.test
index 4aa1c80..ab24b56 100755
--- a/tests/yacc5.test
+++ b/tests/yacc5.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_YACC
diff --git a/tests/yacc7.test b/tests/yacc7.test
index 5dc0102..c7cd40e 100755
--- a/tests/yacc7.test
+++ b/tests/yacc7.test
@@ -23,7 +23,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yacc8.test b/tests/yacc8.test
index ad841bc..bab627d 100755
--- a/tests/yacc8.test
+++ b/tests/yacc8.test
@@ -20,7 +20,7 @@ required='cc yacc'
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_YACC
diff --git a/tests/yaccdry.test b/tests/yaccdry.test
index 92f506a..445eb12 100755
--- a/tests/yaccdry.test
+++ b/tests/yaccdry.test
@@ -19,7 +19,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yaccpp.test b/tests/yaccpp.test
index 0f12331..c3a8b25 100755
--- a/tests/yaccpp.test
+++ b/tests/yaccpp.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CXX
 AC_PROG_YACC
 END
diff --git a/tests/yaccvpath.test b/tests/yaccvpath.test
index d11fbaf..3ad8454 100755
--- a/tests/yaccvpath.test
+++ b/tests/yaccvpath.test
@@ -25,7 +25,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yflags-cmdline-override.test 
b/tests/yflags-cmdline-override.test
index b69fc4f..8dd272e 100755
--- a/tests/yflags-cmdline-override.test
+++ b/tests/yflags-cmdline-override.test
@@ -22,7 +22,7 @@ required='cc yacc'
 
 unset YFLAGS || :
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yflags-conditional.test b/tests/yflags-conditional.test
index 40f040f..c0b5a19 100755
--- a/tests/yflags-conditional.test
+++ b/tests/yflags-conditional.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 
 # `YFLAGS' is AC_SUBST'd by AC_PROG_YACC by default, but we
diff --git a/tests/yflags-d-false-positives.test 
b/tests/yflags-d-false-positives.test
index 0f497d0..97b01f5 100755
--- a/tests/yflags-d-false-positives.test
+++ b/tests/yflags-d-false-positives.test
@@ -18,7 +18,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AC_PROG_YACC
 END
diff --git a/tests/yflags-force-conditional.test 
b/tests/yflags-force-conditional.test
index c587537..53038a8 100755
--- a/tests/yflags-force-conditional.test
+++ b/tests/yflags-force-conditional.test
@@ -19,7 +19,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([CC], [false])
 AC_PROG_YACC
 AM_CONDITIONAL([COND], [test x"$cond" = x"yes"])
diff --git a/tests/yflags-force-override.test b/tests/yflags-force-override.test
index e792d02..3f4755e 100755
--- a/tests/yflags-force-override.test
+++ b/tests/yflags-force-override.test
@@ -21,7 +21,7 @@
 required='cc yacc'
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AC_PROG_YACC
 AC_OUTPUT
diff --git a/tests/yflags-var-expand.test b/tests/yflags-var-expand.test
index af7ede8..bf9198e 100755
--- a/tests/yflags-var-expand.test
+++ b/tests/yflags-var-expand.test
@@ -21,7 +21,7 @@
 
 . ./defs || Exit 1
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_PROG_CC
 AC_PROG_YACC
 END
diff --git a/tests/yflags.test b/tests/yflags.test
index 4bed0c9..969ded0 100755
--- a/tests/yflags.test
+++ b/tests/yflags.test
@@ -28,7 +28,7 @@ echo 'extern int dummy;' >> y.tab.c
 END
 chmod a+x fake-yacc
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([CC], [false])
 # Simulate presence of Yacc using our fake-yacc script.
 AC_SUBST([YACC], ['$(abs_top_srcdir)'/fake-yacc])
diff --git a/tests/yflags2.test b/tests/yflags2.test
index 0f76b4c..092b5b8 100755
--- a/tests/yflags2.test
+++ b/tests/yflags2.test
@@ -28,7 +28,7 @@ echo 'extern int dummy;' >> y.tab.c
 END
 chmod a+x fake-yacc
 
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
 AC_SUBST([CXX], [false])
 # Simulate presence of Yacc using our fake-yacc script.
 AC_SUBST([YACC], ['$(abs_top_srcdir)'/fake-yacc])


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]