public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Subject: [PATCH] Fixes combined gcc-binutils builds.
@ 2015-05-24 19:56 Michael Darling
  2015-07-17  0:27 ` Michael Darling
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Darling @ 2015-05-24 19:56 UTC (permalink / raw)
  To: binutils

Completes renaming of configure.in files to configure.ac.  Combined
builds has been broken for about 10 months, because some binutils
configure.in files were renamed to configure.ac, but gcc's references to
them were not updated.  Fixing gcc's references to them is much easier
by renaming the few straggling configure.in files to configure.ac.
gcc's configure.in files were entirely renamed to confiugre.ac some time
ago.  There is a corresponding patch submitted to gcc, which updates all
references to binutils-gdb configure.in files to configure.ac, which is
what ultimately fixes the combined builds.

See PR binutils-gdb/binutils/18450 and gcc/other/66259.

Signed-off by: Michael Darling <darlingm@gmail.com>

---
 ChangeLog                           |   7 +
 bfd/ChangeLog                       |   5 +
 bfd/configure                       |   2 +-
 binutils/ChangeLog                  |   6 +
 binutils/MAINTAINERS                |   2 +-
 binutils/configure                  |   2 +-
 config/ChangeLog                    |   8 +
 config/gettext.m4                   |   4 +-
 config/po.m4                        |   2 +-
 config/stdint.m4                    |   2 +-
 config/tcl.m4                       |   2 +-
 configure                           |   6 +-
 configure.ac                        |   8 +-
 etc/ChangeLog                       |   5 +
 etc/Makefile.in                     |   2 +-
 etc/configure.ac                    |  27 +++
 etc/configure.in                    |  27 ---
 gas/ChangeLog                       |   5 +
 gas/configure                       |   2 +-
 gdb/ChangeLog                       |   7 +
 gdb/acinclude.m4                    |   2 +-
 gdb/config/djgpp/fnchange.lst       |   2 +-
 gdb/configure                       |   2 +-
 gdb/gdbserver/ChangeLog             |   5 +
 gdb/gdbserver/acinclude.m4          |   2 +-
 gdb/testsuite/ChangeLog             |   5 +
 gdb/testsuite/configure             |   2 +-
 gold/ChangeLog                      |   5 +
 gold/configure                      |   4 +-
 gprof/ChangeLog                     |   5 +
 gprof/configure                     |   4 +-
 intl/ChangeLog                      |   5 +
 intl/configure                      |   4 +-
 ld/ChangeLog                        |   5 +
 ld/configure                        |   4 +-
 opcodes/ChangeLog                   |   5 +
 opcodes/configure                   |   4 +-
 readline/ChangeLog.gdb              |   8 +
 readline/INSTALL                    |   6 +-
 readline/MANIFEST                   |   4 +-
 readline/aclocal.m4                 |  12 +-
 readline/configure.ac               | 304 +++++++++++++++++++++++++
 readline/configure.in               | 304 -------------------------
 readline/examples/rlfe/ChangeLog    |   6 +
 readline/examples/rlfe/Makefile.in  |   4 +-
 readline/examples/rlfe/configure.ac | 442 ++++++++++++++++++++++++++++++++++++
 readline/examples/rlfe/configure.in | 442 ------------------------------------
 sim/ChangeLog                       |   6 +
 sim/README-HACKING                  |   4 +-
 sim/common/ChangeLog                |   6 +
 sim/common/acinclude.m4             |   6 +-
 sim/common/sim-config.h             |   2 +-
 sim/configure                       |   2 +-
 sim/mips/ChangeLog                  |   6 +
 sim/mips/configure                  |   8 +-
 sim/mips/configure.ac               |   6 +-
 sim/testsuite/ChangeLog             |   5 +
 sim/testsuite/configure             |   2 +-
 src-release.sh                      |   2 +-
 59 files changed, 949 insertions(+), 834 deletions(-)
 create mode 100644 etc/configure.ac
 delete mode 100644 etc/configure.in
 create mode 100644 readline/configure.ac
 delete mode 100644 readline/configure.in
 create mode 100644 readline/examples/rlfe/configure.ac
 delete mode 100644 readline/examples/rlfe/configure.in

diff --git a/ChangeLog b/ChangeLog
index 583b822..c2aa03b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+ * configure.ac: Reflects renaming of configure.in to configure.ac
+ * src-release.sh: Reflects renaming of configure.in to configure.ac
+
 2015-05-13  John David Anglin  <dave.anglin@bell.net>

  * configure.ac: Disable configuration of GDB for HPUX targets.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 87a0bff..37f9332 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-26  H.J. Lu  <hongjiu.lu@intel.com>

  PR binutils/18437
diff --git a/bfd/configure b/bfd/configure
index eeeb89a..9ce3fc1 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -18338,7 +18338,7 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 6bb1f1a..835250f 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * MAINTAINERS: Reflects renaming of configure.in to configure.ac
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-18  Nick Clifton  <nickc@redhat.com>

  PR binutils/18420
diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS
index 37f4601..74882dd 100644
--- a/binutils/MAINTAINERS
+++ b/binutils/MAINTAINERS
@@ -22,7 +22,7 @@ top level config.guess and config.sub scripts should
be sent to:
   config-patches@gnu.org

 and not to the binutils lists.  Patches to the other top level
-configure files (configure, configure.in, config-ml.in) should
+configure files (configure, configure.ac, config-ml.in) should
 be sent to the binutils lists, and copied to the gcc and gdb
 lists as well (gcc-patches@gcc.gnu.org and
 gdb-patches@sourceware.org).
diff --git a/binutils/configure b/binutils/configure
index 5db82d7..38c4467 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -16908,7 +16908,7 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
diff --git a/config/ChangeLog b/config/ChangeLog
index 6ffb0ed..b64cbf1 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,11 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * gettext.m4: Reflects renaming of configure.in to configure.ac
+ * po.m4: Reflects renaming of configure.in to configure.ac
+ * stdint.m4: Reflects renaming of configure.in to configure.ac
+ * tc1.m4: Reflects renaming of configure.in to configure.ac
+
 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>

  * zlib.m4 (AM_ZLIB): Set zlibdir to -L\$(top_builddir)/../zlib
diff --git a/config/gettext.m4 b/config/gettext.m4
index 16070b4..45fa6b4 100644
--- a/config/gettext.m4
+++ b/config/gettext.m4
@@ -81,7 +81,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
   dnl Ideally we would do this search only after the
   dnl      if test "$USE_NLS" = "yes"; then
   dnl        if test "$gt_cv_func_gnugettext_libc" != "yes"; then
-  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
+  dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
   dnl the configure script would need to contain the same shell code
   dnl again, outside any 'if'. There are two solutions:
   dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
@@ -303,7 +303,7 @@ return (int) gettext ("")]ifelse([$2],
[need-ngettext], [ + (int) ngettext ("",
     AC_SUBST(USE_INCLUDED_LIBINTL)
     AC_SUBST(CATOBJEXT)

-    dnl For backward compatibility. Some configure.ins may be using this.
+    dnl For backward compatibility. Some configure.acs may be using this.
     nls_cv_header_intl=
     nls_cv_header_libgt=

diff --git a/config/po.m4 b/config/po.m4
index 2edd5a7..f0f25e9 100644
--- a/config/po.m4
+++ b/config/po.m4
@@ -117,7 +117,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
diff --git a/config/stdint.m4 b/config/stdint.m4
index 61898a7..59f4359 100644
--- a/config/stdint.m4
+++ b/config/stdint.m4
@@ -39,7 +39,7 @@ dnl If your installed header files require the
stdint-types you will want to
 dnl create an installable file mylib-int.h that all your other installable
 dnl header may include. So, for a library package named "mylib", just use
 dnl      GCC_HEADER_STDINT(mylib-int.h)
-dnl in configure.in and install that header file in Makefile.am along with
+dnl in configure.ac and install that header file in Makefile.am along with
 dnl the other headers (mylib.h).  The mylib-specific headers can simply
 dnl use "#include <mylib-int.h>" to obtain the stdint-types.
 dnl
diff --git a/config/tcl.m4 b/config/tcl.m4
index 59a0c7e..8fa94a2 100644
--- a/config/tcl.m4
+++ b/config/tcl.m4
@@ -2136,7 +2136,7 @@ dnl # preprocessing tests use only CPPFLAGS.
             INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE)
$(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB)
$(LIB_FILE))'
         fi

-dnl        Not at all clear what this was doing in Tcl's configure.in
+dnl        Not at all clear what this was doing in Tcl's configure.ac
 dnl        or why it was needed was needed. In any event, this sort of
 dnl        things needs to be done in the big loop above.
 dnl        REMOVE THIS BLOCK LATER! (mdejong)
diff --git a/configure b/configure
index a2e253a..909bb53 100755
--- a/configure
+++ b/configure
@@ -6164,7 +6164,7 @@ if test -d ${srcdir}/gcc; then
   if test x"${enable_languages+set}" != xset; then
     if test x"${LANGUAGES+set}" = xset; then
       enable_languages="${LANGUAGES}"
-        echo configure.in: warning: setting LANGUAGES is deprecated,
use --enable-languages instead 1>&2
+        echo configure.ac: warning: setting LANGUAGES is deprecated,
use --enable-languages instead 1>&2
     else
       enable_languages=all
     fi
@@ -6172,7 +6172,7 @@ if test -d ${srcdir}/gcc; then
     if test x"${enable_languages}" = x ||
        test x"${enable_languages}" = xyes;
        then
-      echo configure.in: --enable-languages needs at least one
language argument 1>&2
+      echo configure.ac: --enable-languages needs at least one
language argument 1>&2
       exit 1
     fi
   fi
@@ -6182,7 +6182,7 @@ if test -d ${srcdir}/gcc; then
   # and make the substitution.
   case ,${enable_languages}, in
     *,f95,*)
-      echo configure.in: warning: 'f95' as language name is
deprecated, use 'fortran' instead 1>&2
+      echo configure.ac: warning: 'f95' as language name is
deprecated, use 'fortran' instead 1>&2
       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
       ;;
   esac
diff --git a/configure.ac b/configure.ac
index 8132df0..431fe30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1854,7 +1854,7 @@ if test -d ${srcdir}/gcc; then
   if test x"${enable_languages+set}" != xset; then
     if test x"${LANGUAGES+set}" = xset; then
       enable_languages="${LANGUAGES}"
-        echo configure.in: warning: setting LANGUAGES is deprecated,
use --enable-languages instead 1>&2
+        echo configure.ac: warning: setting LANGUAGES is deprecated,
use --enable-languages instead 1>&2
     else
       enable_languages=all
     fi
@@ -1862,7 +1862,7 @@ if test -d ${srcdir}/gcc; then
     if test x"${enable_languages}" = x ||
        test x"${enable_languages}" = xyes;
        then
-      echo configure.in: --enable-languages needs at least one
language argument 1>&2
+      echo configure.ac: --enable-languages needs at least one
language argument 1>&2
       exit 1
     fi
   fi
@@ -1872,7 +1872,7 @@ if test -d ${srcdir}/gcc; then
   # and make the substitution.
   case ,${enable_languages}, in
     *,f95,*)
-      echo configure.in: warning: 'f95' as language name is
deprecated, use 'fortran' instead 1>&2
+      echo configure.ac: warning: 'f95' as language name is
deprecated, use 'fortran' instead 1>&2
       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
       ;;
   esac
@@ -2443,7 +2443,7 @@ fi
 # have requested that this magic not happen.
 #
 # The command line options always override the explicit settings in
-# configure.in, and the settings in configure.in override this magic.
+# configure.ac, and the settings in configure.ac override this magic.
 #
 # If the default for a toolchain is to use GNU as and ld, and you don't
 # want to do that, then you should use the --without-gnu-as and
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 516e6a9..f5ff827 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ * configure.ac: Renamed from configure.in
+ * Makefile.in: Reflects renaming of configure.in to configure.ac
+
 2014-06-27  Ludovic Courtès  <ludo@gnu.org>

  PR external/16327
diff --git a/etc/Makefile.in b/etc/Makefile.in
index 4aa64c1..eabd28c 100644
--- a/etc/Makefile.in
+++ b/etc/Makefile.in
@@ -56,7 +56,7 @@ Makefile: $(srcdir)/Makefile.in
$(host_makefile_frag) $(target_makefile_frag) \
  $(SHELL) ./config.status

 AUTOCONF = autoconf
-configure_deps = $(srcdir)/configure.in
+configure_deps = $(srcdir)/configure.ac

 $(srcdir)/configure: @MAINT@ $(configure_deps)
  cd $(srcdir) && $(AUTOCONF)
diff --git a/etc/configure.ac b/etc/configure.ac
new file mode 100644
index 0000000..6b94aac
--- /dev/null
+++ b/etc/configure.ac
@@ -0,0 +1,27 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.5)
+AC_INIT(Makefile.in)
+
+AC_PROG_INSTALL
+
+# Command-line options.
+# Very limited version of AC_MAINTAINER_MODE.
+AC_ARG_ENABLE([maintainer-mode],
+  [AC_HELP_STRING([--enable-maintainer-mode],
+                 [enable make rules and dependencies not useful (and
+                  sometimes confusing) to the casual installer])],
+  [case ${enable_maintainer_mode} in
+     yes) MAINT='' ;;
+     no) MAINT='#' ;;
+     *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;;
+   esac
+   maintainer_mode=${enableval}],
+  [MAINT='#'])
+AC_SUBST([MAINT])dnl
+
+AC_SUBST(datarootdir)
+AC_SUBST(docdir)
+AC_SUBST(htmldir)
+AC_SUBST(pdfdir)
+
+AC_OUTPUT(Makefile)
diff --git a/etc/configure.in b/etc/configure.in
deleted file mode 100644
index 6b94aac..0000000
--- a/etc/configure.in
+++ /dev/null
@@ -1,27 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.5)
-AC_INIT(Makefile.in)
-
-AC_PROG_INSTALL
-
-# Command-line options.
-# Very limited version of AC_MAINTAINER_MODE.
-AC_ARG_ENABLE([maintainer-mode],
-  [AC_HELP_STRING([--enable-maintainer-mode],
-                 [enable make rules and dependencies not useful (and
-                  sometimes confusing) to the casual installer])],
-  [case ${enable_maintainer_mode} in
-     yes) MAINT='' ;;
-     no) MAINT='#' ;;
-     *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;;
-   esac
-   maintainer_mode=${enableval}],
-  [MAINT='#'])
-AC_SUBST([MAINT])dnl
-
-AC_SUBST(datarootdir)
-AC_SUBST(docdir)
-AC_SUBST(htmldir)
-AC_SUBST(pdfdir)
-
-AC_OUTPUT(Makefile)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f3a30d2..aadd723 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-22  Nick Clifton  <nickc@redhat.com>

  PR gas/18446
diff --git a/gas/configure b/gas/configure
index cb33d03..21faa93 100755
--- a/gas/configure
+++ b/gas/configure
@@ -16811,7 +16811,7 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f55b9c4..58efb1f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * acinclude.m4: Reflects renaming of configure.in to configure.ac
+ * configure: Reflects renaming of configure.in to configure.ac
+ * config/djgpp/fnchange.lst: Reflects renaming of configure.in to configure.ac
+
 2015-05-22  Andrew Burgess  <andrew.burgess@embecosm.com>

  * NEWS: Mention 'tui enable' and 'tui disable'.
diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4
index 845e65f..fee11ff 100644
--- a/gdb/acinclude.m4
+++ b/gdb/acinclude.m4
@@ -12,7 +12,7 @@ sinclude(libmcheck.m4)
 # This gets GDB_AC_TRANSFORM.
 sinclude(transform.m4)

-dnl gdb/configure.in uses BFD_NEED_DECLARATION, so get its definition.
+dnl gdb/configure.ac uses BFD_NEED_DECLARATION, so get its definition.
 sinclude(../bfd/bfd.m4)

 dnl This gets the standard macros.
diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst
index c05eb2c..e7a6a23 100644
--- a/gdb/config/djgpp/fnchange.lst
+++ b/gdb/config/djgpp/fnchange.lst
@@ -470,7 +470,7 @@
 @V@/gdb/testsuite/gdb.gdbtk/c_variable.exp
@V@/gdb/testsuite/gdb.tk/c_variable.exp
 @V@/gdb/testsuite/gdb.gdbtk/c_variable.test
@V@/gdb/testsuite/gdb.tk/c_variable.test
 @V@/gdb/testsuite/gdb.gdbtk/configure @V@/gdb/testsuite/gdb.tk/configure
-@V@/gdb/testsuite/gdb.gdbtk/configure.in @V@/gdb/testsuite/gdb.tk/configure.in
+@V@/gdb/testsuite/gdb.gdbtk/configure.ac @V@/gdb/testsuite/gdb.tk/configure.ac
 @V@/gdb/testsuite/gdb.gdbtk/console.exp @V@/gdb/testsuite/gdb.tk/console.exp
 @V@/gdb/testsuite/gdb.gdbtk/console.test @V@/gdb/testsuite/gdb.tk/console.test
 @V@/gdb/testsuite/gdb.gdbtk/cpp_variable.cc
@V@/gdb/testsuite/gdb.tk/cpp_variable.cc
diff --git a/gdb/configure b/gdb/configure
index 2baf6dd..c3a7cb2 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -17104,7 +17104,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 0f30c66..53a12fb 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * acinclude.m4: Reflects renaming of configure.in to configure.ac
+
 2015-05-15  Pedro Alves  <palves@redhat.com>

  * target.h (target_handle_new_gdb_connection): Rewrite using if
diff --git a/gdb/gdbserver/acinclude.m4 b/gdb/gdbserver/acinclude.m4
index 0b86c04..ca1aebf 100644
--- a/gdb/gdbserver/acinclude.m4
+++ b/gdb/gdbserver/acinclude.m4
@@ -1,4 +1,4 @@
-dnl gdb/gdbserver/configure.in uses BFD_HAVE_SYS_PROCFS_TYPE.
+dnl gdb/gdbserver/configure.ac uses BFD_HAVE_SYS_PROCFS_TYPE.
 sinclude(../../bfd/bfd.m4)

 sinclude(../acx_configure_dir.m4)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b8f514b..ccb7b33 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>

  * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure
index 0853e48..967b009 100755
--- a/gdb/testsuite/configure
+++ b/gdb/testsuite/configure
@@ -4802,7 +4802,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 64ce33f..8b5514c 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-16  Alan Modra  <amodra@gmail.com>

  * reloc.cc (Sized_relobj_file::find_functions): Use function_location.
diff --git a/gold/configure b/gold/configure
index a005a75..eac9669 100755
--- a/gold/configure
+++ b/gold/configure
@@ -9164,14 +9164,14 @@ $as_echo X"$file" |
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 7a2087b..2817f8e 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-04-29  Nick Clifton  <nickc@redhat.com>

  * po/da.po: Update Danish translation.
diff --git a/gprof/configure b/gprof/configure
index 80c9aaf..cdd2e3a 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -14513,14 +14513,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/intl/ChangeLog b/intl/ChangeLog
index ea012cd..08d99d7 100644
--- a/intl/ChangeLog
+++ b/intl/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2010-06-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

  PR bootstrap/44621
diff --git a/intl/configure b/intl/configure
index 34da38b..f58226d 100755
--- a/intl/configure
+++ b/intl/configure
@@ -7851,14 +7851,14 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 433bdd3..f84d1e0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-17  Chung-Lin Tang  <cltang@codesourcery.com>

  * configure.ac (AC_PROG_GREP): Check for grep program.
diff --git a/ld/configure b/ld/configure
index 8b3dd7b..1249852 100755
--- a/ld/configure
+++ b/ld/configure
@@ -19835,14 +19835,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index ef05d2d..f37fca0 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-18  H.J. Lu  <hongjiu.lu@intel.com>

  * i386-opc.tbl: Remove Disp32 from AMD64 direct call/jmp.
diff --git a/opcodes/configure b/opcodes/configure
index e5048e2..3f31ff2 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -15018,14 +15018,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb
index 43abd19..ba8e32b 100644
--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -1,3 +1,11 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * INSTALL: Reflects renaming of configure.in to configure.ac
+ * MANIFEST: Reflects renaming of configure.in to configure.ac
+ * aclocal.m4: Reflects renaming of configure.in to configure.ac
+ * configure.ac: Renamed from configure.in
+
 2014-12-30  Eli Zaretskii  <eliz@gnu.org>

  * complete.c (stat_char) [_WIN32]: Don't use 'access' and X_OK on
diff --git a/readline/INSTALL b/readline/INSTALL
index a0b0976..625e690 100644
--- a/readline/INSTALL
+++ b/readline/INSTALL
@@ -51,10 +51,10 @@ be considered for the next release.  If at some point
 `config.cache' contains results you don't want to keep, you may
 remove or edit it.

-The file `configure.in' is used to create `configure' by a
-program called `autoconf'.  You only need `configure.in' if you
+The file `configure.ac' is used to create `configure' by a
+program called `autoconf'.  You only need `configure.ac' if you
 want to change it or regenerate `configure' using a newer version
-of `autoconf'.  The readline `configure.in' requires autoconf
+of `autoconf'.  The readline `configure.ac' requires autoconf
 version 2.50 or newer.

 Compilers and Options
diff --git a/readline/MANIFEST b/readline/MANIFEST
index 8972bdd..ab3c223 100644
--- a/readline/MANIFEST
+++ b/readline/MANIFEST
@@ -18,7 +18,7 @@ USAGE f
 aclocal.m4 f
 config.h.in f
 configure f
-configure.in f
+configure.ac f
 Makefile.in f
 ansi_stdlib.h f
 chardefs.h f
@@ -126,7 +126,7 @@ examples/rlfe/Makefile.in f
 examples/rlfe/README f
 examples/rlfe/config.h.in f
 examples/rlfe/configure f
-examples/rlfe/configure.in f
+examples/rlfe/configure.ac f
 examples/rlfe/extern.h f
 examples/rlfe/os.h f
 examples/rlfe/pty.c f
diff --git a/readline/aclocal.m4 b/readline/aclocal.m4
index 716a043..6e87227 100644
--- a/readline/aclocal.m4
+++ b/readline/aclocal.m4
@@ -2107,7 +2107,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
   dnl Ideally we would do this search only after the
   dnl      if test "$USE_NLS" = "yes"; then
   dnl        if test "$gt_cv_func_gnugettext_libc" != "yes"; then
-  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
+  dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
   dnl the configure script would need to contain the same shell code
   dnl again, outside any 'if'. There are two solutions:
   dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
@@ -2329,7 +2329,7 @@ return (int) gettext ("")]ifelse([$2],
[need-ngettext], [ + (int) ngettext ("",
     AC_SUBST(USE_INCLUDED_LIBINTL)
     AC_SUBST(CATOBJEXT)

-    dnl For backward compatibility. Some configure.ins may be using this.
+    dnl For backward compatibility. Some configure.acs may be using this.
     nls_cv_header_intl=
     nls_cv_header_libgt=

@@ -2748,8 +2748,8 @@ dnl the same distribution terms as the rest of
that program.
 # because gettext's gettext.m4 (distributed in the automake package)
 # still uses it.  Otherwise, the use in gettext.m4 makes autoheader
 # give these diagnostics:
-#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
-#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
+#   configure.ac:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
+#   configure.ac:556: AC_TRY_RUN was called before AC_ISC_POSIX

 undefine([AC_ISC_POSIX])

@@ -3775,14 +3775,14 @@ AC_DEFUN([AM_PO_SUBDIRS],
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/readline/configure.ac b/readline/configure.ac
new file mode 100644
index 0000000..b395af4
--- /dev/null
+++ b/readline/configure.ac
@@ -0,0 +1,304 @@
+dnl
+dnl Configure script for readline library
+dnl
+dnl report bugs to chet@po.cwru.edu
+dnl
+dnl Process this file with autoconf to produce a configure script.
+
+# Copyright (C) 1987-2009 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 3 of the License, 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/>.
+
+AC_REVISION([for Readline 6.2, version 2.67])
+
+m4_include([../config/override.m4])
+
+AC_INIT(readline, 6.2, bug-readline@gnu.org)
+
+dnl make sure we are using a recent autoconf version
+AC_PREREQ(2.50)
+
+AC_CONFIG_SRCDIR(readline.h)
+dnl GDB LOCAL
+dnl AC_CONFIG_AUX_DIR(./support)
+AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
+AC_CONFIG_HEADERS(config.h)
+
+dnl update the value of RL_READLINE_VERSION in readline.h when this changes
+LIBVERSION=6.2
+
+AC_CANONICAL_HOST
+AC_CANONICAL_BUILD
+
+dnl configure defaults
+opt_curses=no
+opt_purify=no
+
+dnl arguments to configure
+AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses
library instead of the termcap library]), opt_curses=$withval)
+AC_ARG_WITH(purify, AC_HELP_STRING([--with-purify], [configure to
postprocess with purify]), opt_purify=$withval)
+
+if test "$opt_curses" = "yes"; then
+ prefer_curses=yes
+fi
+
+if test "$opt_purify" = yes; then
+ PURIFY="purify"
+else
+ PURIFY=
+fi
+
+dnl option parsing for optional features
+opt_multibyte=yes
+opt_static_libs=yes
+opt_shared_libs=no
+
+AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable
multibyte characters if OS supports them]), opt_multibyte=$enableval)
+dnl AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build
shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
+AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static
libraries [[default=YES]]]), opt_static_libs=$enableval)
+
+if test $opt_multibyte = no; then
+AC_DEFINE(NO_MULTIBYTE_SUPPORT)
+fi
+
+dnl load up the cross-building cache file -- add more cases and cache
+dnl files as necessary
+
+dnl Note that host and target machine are the same, and different than the
+dnl build machine.
+
+CROSS_COMPILE=
+if test "x$cross_compiling" = "xyes"; then
+    case "${host}" in
+    *-cygwin*)
+        cross_cache=${srcdir}/cross-build/cygwin.cache
+        ;;
+    *-mingw*)
+        cross_cache=${srcdir}/cross-build/mingw.cache
+        ;;
+    i[[3456]]86-*-beos*)
+        cross_cache=${srcdir}/cross-build/x86-beos.cache
+        ;;
+    *)  echo "configure: cross-compiling for $host is not supported" >&2
+        ;;
+    esac
+    if test -n "${cross_cache}" && test -r "${cross_cache}"; then
+        echo "loading cross-build cache file ${cross_cache}"
+        . ${cross_cache}
+    fi
+    unset cross_cache
+    CROSS_COMPILE='-DCROSS_COMPILING'
+    AC_SUBST(CROSS_COMPILE)
+fi
+
+echo ""
+echo "Beginning configuration for readline-$LIBVERSION for
${host_cpu}-${host_vendor}-${host_os}"
+echo ""
+
+# We want these before the checks, so the checks can modify their values.
+test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
+
+AC_PROG_MAKE_SET
+AC_PROG_CC
+dnl AC_AIX
+AC_MINIX
+
+# If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
+test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O"
+
+AC_PROG_GCC_TRADITIONAL
+AC_PROG_INSTALL
+AC_CHECK_PROG(AR, ar, , ar)
+dnl Set default for ARFLAGS, since autoconf does not have a macro for it.
+dnl This allows people to set it when running configure or make
+test -n "$ARFLAGS" || ARFLAGS="cr"
+AC_PROG_RANLIB
+
+MAKE_SHELL=/bin/sh
+AC_SUBST(MAKE_SHELL)
+
+AC_C_CONST
+AC_C_PROTOTYPES
+AC_C_CHAR_UNSIGNED
+AC_C_VOLATILE
+
+AC_TYPE_SIGNAL
+
+AC_TYPE_SIZE_T
+AC_CHECK_TYPE(ssize_t, int)
+
+AC_HEADER_STDC
+
+AC_HEADER_STAT
+AC_HEADER_DIRENT
+
+AC_CHECK_FUNCS(fcntl kill lstat)
+AC_CHECK_FUNCS(memmove putenv select setenv setlocale \
+ strcasecmp strpbrk tcgetattr vsnprintf)
+AC_CHECK_FUNCS(isascii isxdigit)
+AC_CHECK_FUNCS(getpwent getpwnam getpwuid)
+
+AC_FUNC_STRCOLL
+
+AC_CHECK_HEADERS(fcntl.h unistd.h stdlib.h varargs.h stdarg.h
string.h strings.h \
+ limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h)
+AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h)
+
+AC_CHECK_HEADERS(sys/ptem.h,,,
+[[
+#if HAVE_SYS_STREAM_H
+#  include <sys/stream.h>
+#endif
+]])
+
+AC_SYS_LARGEFILE
+
+BASH_SYS_SIGNAL_VINTAGE
+BASH_SYS_REINSTALL_SIGHANDLERS
+
+BASH_FUNC_POSIX_SETJMP
+BASH_FUNC_LSTAT
+BASH_FUNC_STRCOLL
+BASH_FUNC_CTYPE_NONASCII
+
+BASH_CHECK_GETPW_FUNCS
+
+AC_HEADER_TIOCGWINSZ
+
+BASH_TYPE_SIG_ATOMIC_T
+BASH_TYPE_SIGHANDLER
+
+BASH_HAVE_TIOCSTAT
+BASH_HAVE_FIONREAD
+BASH_CHECK_SPEED_T
+BASH_STRUCT_WINSIZE
+BASH_STRUCT_DIRENT_D_INO
+BASH_STRUCT_DIRENT_D_FILENO
+
+dnl yuck
+case "$host_os" in
+aix*)   prefer_curses=yes ;;
+esac
+BASH_CHECK_LIB_TERMCAP
+if test "$TERMCAP_LIB" = "./lib/termcap/libtermcap.a"; then
+ if test "$prefer_curses" = yes; then
+ TERMCAP_LIB=-lcurses
+ else
+ TERMCAP_LIB=-ltermcap #default
+ fi
+fi
+
+BASH_CHECK_MULTIBYTE
+
+case "$host_cpu" in
+*cray*) LOCAL_CFLAGS=-DCRAY ;;
+*s390*) LOCAL_CFLAGS=-fsigned-char ;;
+esac
+
+case "$host_os" in
+isc*) LOCAL_CFLAGS=-Disc386 ;;
+esac
+
+# shared library configuration section
+#
+# Shared object configuration section.  These values are generated by
+# ${srcdir}/support/shobj-conf
+#
+if test -f ${srcdir}/support/shobj-conf; then
+        AC_MSG_CHECKING(configuration for building shared libraries)
+        eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh}
${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os}
-v ${host_vendor}`
+
+# case "$SHLIB_LIBS" in
+# *curses*|*termcap*|*termlib*) ;;
+# *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
+# esac
+
+        AC_SUBST(SHOBJ_CC)
+        AC_SUBST(SHOBJ_CFLAGS)
+        AC_SUBST(SHOBJ_LD)
+        AC_SUBST(SHOBJ_LDFLAGS)
+ AC_SUBST(SHOBJ_XLDFLAGS)
+        AC_SUBST(SHOBJ_LIBS)
+        AC_SUBST(SHOBJ_STATUS)
+ AC_SUBST(SHLIB_STATUS)
+ AC_SUBST(SHLIB_XLDFLAGS)
+ AC_SUBST(SHLIB_DOT)
+ AC_SUBST(SHLIB_LIBPREF)
+ AC_SUBST(SHLIB_LIBSUFF)
+ AC_SUBST(SHLIB_LIBVERSION)
+ AC_SUBST(SHLIB_DLLVERSION)
+ AC_SUBST(SHLIB_LIBS)
+        AC_MSG_RESULT($SHLIB_STATUS)
+
+ # SHLIB_STATUS is either `supported' or `unsupported'.  If it's
+ # `unsupported', turn off any default shared library building
+ if test "$SHLIB_STATUS" = 'unsupported'; then
+ opt_shared_libs=no
+ fi
+
+ # shared library versioning
+ # quoted for m4 so I can use character classes
+ SHLIB_MAJOR=[`expr "$LIBVERSION" : '\([0-9]\)\..*'`]
+ SHLIB_MINOR=[`expr "$LIBVERSION" : '[0-9]\.\([0-9]\).*'`]
+ AC_SUBST(SHLIB_MAJOR)
+ AC_SUBST(SHLIB_MINOR)
+fi
+
+if test "$opt_static_libs" = "yes"; then
+ STATIC_TARGET=static
+ STATIC_INSTALL_TARGET=install-static
+fi
+if test "$opt_shared_libs" = "yes"; then
+ SHARED_TARGET=shared
+ SHARED_INSTALL_TARGET=install-shared
+fi
+
+AC_SUBST(STATIC_TARGET)
+AC_SUBST(SHARED_TARGET)
+AC_SUBST(STATIC_INSTALL_TARGET)
+AC_SUBST(SHARED_INSTALL_TARGET)
+
+case "$build_os" in
+msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file
+*) BUILD_DIR=`pwd` ;;
+esac
+
+case "$BUILD_DIR" in
+*\ *) BUILD_DIR=`echo "$BUILD_DIR" | sed 's: :\\\\ :g'` ;;
+*) ;;
+esac
+
+AC_SUBST(PURIFY)
+AC_SUBST(BUILD_DIR)
+
+AC_SUBST(CFLAGS)
+AC_SUBST(LOCAL_CFLAGS)
+AC_SUBST(LOCAL_LDFLAGS)
+AC_SUBST(LOCAL_DEFS)
+
+AC_SUBST(AR)
+AC_SUBST(ARFLAGS)
+
+AC_SUBST(host_cpu)
+AC_SUBST(host_os)
+
+AC_SUBST(LIBVERSION)
+
+AC_SUBST(TERMCAP_LIB)
+
+AC_OUTPUT([Makefile doc/Makefile examples/Makefile shlib/Makefile],
+[
+# Makefile uses this timestamp file to record whether config.h is up to date.
+echo > stamp-h
+])
diff --git a/readline/configure.in b/readline/configure.in
deleted file mode 100644
index b395af4..0000000
--- a/readline/configure.in
+++ /dev/null
@@ -1,304 +0,0 @@
-dnl
-dnl Configure script for readline library
-dnl
-dnl report bugs to chet@po.cwru.edu
-dnl
-dnl Process this file with autoconf to produce a configure script.
-
-# Copyright (C) 1987-2009 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 3 of the License, 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/>.
-
-AC_REVISION([for Readline 6.2, version 2.67])
-
-m4_include([../config/override.m4])
-
-AC_INIT(readline, 6.2, bug-readline@gnu.org)
-
-dnl make sure we are using a recent autoconf version
-AC_PREREQ(2.50)
-
-AC_CONFIG_SRCDIR(readline.h)
-dnl GDB LOCAL
-dnl AC_CONFIG_AUX_DIR(./support)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
-AC_CONFIG_HEADERS(config.h)
-
-dnl update the value of RL_READLINE_VERSION in readline.h when this changes
-LIBVERSION=6.2
-
-AC_CANONICAL_HOST
-AC_CANONICAL_BUILD
-
-dnl configure defaults
-opt_curses=no
-opt_purify=no
-
-dnl arguments to configure
-AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses
library instead of the termcap library]), opt_curses=$withval)
-AC_ARG_WITH(purify, AC_HELP_STRING([--with-purify], [configure to
postprocess with purify]), opt_purify=$withval)
-
-if test "$opt_curses" = "yes"; then
- prefer_curses=yes
-fi
-
-if test "$opt_purify" = yes; then
- PURIFY="purify"
-else
- PURIFY=
-fi
-
-dnl option parsing for optional features
-opt_multibyte=yes
-opt_static_libs=yes
-opt_shared_libs=no
-
-AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable
multibyte characters if OS supports them]), opt_multibyte=$enableval)
-dnl AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build
shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
-AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static
libraries [[default=YES]]]), opt_static_libs=$enableval)
-
-if test $opt_multibyte = no; then
-AC_DEFINE(NO_MULTIBYTE_SUPPORT)
-fi
-
-dnl load up the cross-building cache file -- add more cases and cache
-dnl files as necessary
-
-dnl Note that host and target machine are the same, and different than the
-dnl build machine.
-
-CROSS_COMPILE=
-if test "x$cross_compiling" = "xyes"; then
-    case "${host}" in
-    *-cygwin*)
-        cross_cache=${srcdir}/cross-build/cygwin.cache
-        ;;
-    *-mingw*)
-        cross_cache=${srcdir}/cross-build/mingw.cache
-        ;;
-    i[[3456]]86-*-beos*)
-        cross_cache=${srcdir}/cross-build/x86-beos.cache
-        ;;
-    *)  echo "configure: cross-compiling for $host is not supported" >&2
-        ;;
-    esac
-    if test -n "${cross_cache}" && test -r "${cross_cache}"; then
-        echo "loading cross-build cache file ${cross_cache}"
-        . ${cross_cache}
-    fi
-    unset cross_cache
-    CROSS_COMPILE='-DCROSS_COMPILING'
-    AC_SUBST(CROSS_COMPILE)
-fi
-
-echo ""
-echo "Beginning configuration for readline-$LIBVERSION for
${host_cpu}-${host_vendor}-${host_os}"
-echo ""
-
-# We want these before the checks, so the checks can modify their values.
-test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
-
-AC_PROG_MAKE_SET
-AC_PROG_CC
-dnl AC_AIX
-AC_MINIX
-
-# If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
-test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O"
-
-AC_PROG_GCC_TRADITIONAL
-AC_PROG_INSTALL
-AC_CHECK_PROG(AR, ar, , ar)
-dnl Set default for ARFLAGS, since autoconf does not have a macro for it.
-dnl This allows people to set it when running configure or make
-test -n "$ARFLAGS" || ARFLAGS="cr"
-AC_PROG_RANLIB
-
-MAKE_SHELL=/bin/sh
-AC_SUBST(MAKE_SHELL)
-
-AC_C_CONST
-AC_C_PROTOTYPES
-AC_C_CHAR_UNSIGNED
-AC_C_VOLATILE
-
-AC_TYPE_SIGNAL
-
-AC_TYPE_SIZE_T
-AC_CHECK_TYPE(ssize_t, int)
-
-AC_HEADER_STDC
-
-AC_HEADER_STAT
-AC_HEADER_DIRENT
-
-AC_CHECK_FUNCS(fcntl kill lstat)
-AC_CHECK_FUNCS(memmove putenv select setenv setlocale \
- strcasecmp strpbrk tcgetattr vsnprintf)
-AC_CHECK_FUNCS(isascii isxdigit)
-AC_CHECK_FUNCS(getpwent getpwnam getpwuid)
-
-AC_FUNC_STRCOLL
-
-AC_CHECK_HEADERS(fcntl.h unistd.h stdlib.h varargs.h stdarg.h
string.h strings.h \
- limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h)
-AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h)
-
-AC_CHECK_HEADERS(sys/ptem.h,,,
-[[
-#if HAVE_SYS_STREAM_H
-#  include <sys/stream.h>
-#endif
-]])
-
-AC_SYS_LARGEFILE
-
-BASH_SYS_SIGNAL_VINTAGE
-BASH_SYS_REINSTALL_SIGHANDLERS
-
-BASH_FUNC_POSIX_SETJMP
-BASH_FUNC_LSTAT
-BASH_FUNC_STRCOLL
-BASH_FUNC_CTYPE_NONASCII
-
-BASH_CHECK_GETPW_FUNCS
-
-AC_HEADER_TIOCGWINSZ
-
-BASH_TYPE_SIG_ATOMIC_T
-BASH_TYPE_SIGHANDLER
-
-BASH_HAVE_TIOCSTAT
-BASH_HAVE_FIONREAD
-BASH_CHECK_SPEED_T
-BASH_STRUCT_WINSIZE
-BASH_STRUCT_DIRENT_D_INO
-BASH_STRUCT_DIRENT_D_FILENO
-
-dnl yuck
-case "$host_os" in
-aix*)   prefer_curses=yes ;;
-esac
-BASH_CHECK_LIB_TERMCAP
-if test "$TERMCAP_LIB" = "./lib/termcap/libtermcap.a"; then
- if test "$prefer_curses" = yes; then
- TERMCAP_LIB=-lcurses
- else
- TERMCAP_LIB=-ltermcap #default
- fi
-fi
-
-BASH_CHECK_MULTIBYTE
-
-case "$host_cpu" in
-*cray*) LOCAL_CFLAGS=-DCRAY ;;
-*s390*) LOCAL_CFLAGS=-fsigned-char ;;
-esac
-
-case "$host_os" in
-isc*) LOCAL_CFLAGS=-Disc386 ;;
-esac
-
-# shared library configuration section
-#
-# Shared object configuration section.  These values are generated by
-# ${srcdir}/support/shobj-conf
-#
-if test -f ${srcdir}/support/shobj-conf; then
-        AC_MSG_CHECKING(configuration for building shared libraries)
-        eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh}
${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os}
-v ${host_vendor}`
-
-# case "$SHLIB_LIBS" in
-# *curses*|*termcap*|*termlib*) ;;
-# *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
-# esac
-
-        AC_SUBST(SHOBJ_CC)
-        AC_SUBST(SHOBJ_CFLAGS)
-        AC_SUBST(SHOBJ_LD)
-        AC_SUBST(SHOBJ_LDFLAGS)
- AC_SUBST(SHOBJ_XLDFLAGS)
-        AC_SUBST(SHOBJ_LIBS)
-        AC_SUBST(SHOBJ_STATUS)
- AC_SUBST(SHLIB_STATUS)
- AC_SUBST(SHLIB_XLDFLAGS)
- AC_SUBST(SHLIB_DOT)
- AC_SUBST(SHLIB_LIBPREF)
- AC_SUBST(SHLIB_LIBSUFF)
- AC_SUBST(SHLIB_LIBVERSION)
- AC_SUBST(SHLIB_DLLVERSION)
- AC_SUBST(SHLIB_LIBS)
-        AC_MSG_RESULT($SHLIB_STATUS)
-
- # SHLIB_STATUS is either `supported' or `unsupported'.  If it's
- # `unsupported', turn off any default shared library building
- if test "$SHLIB_STATUS" = 'unsupported'; then
- opt_shared_libs=no
- fi
-
- # shared library versioning
- # quoted for m4 so I can use character classes
- SHLIB_MAJOR=[`expr "$LIBVERSION" : '\([0-9]\)\..*'`]
- SHLIB_MINOR=[`expr "$LIBVERSION" : '[0-9]\.\([0-9]\).*'`]
- AC_SUBST(SHLIB_MAJOR)
- AC_SUBST(SHLIB_MINOR)
-fi
-
-if test "$opt_static_libs" = "yes"; then
- STATIC_TARGET=static
- STATIC_INSTALL_TARGET=install-static
-fi
-if test "$opt_shared_libs" = "yes"; then
- SHARED_TARGET=shared
- SHARED_INSTALL_TARGET=install-shared
-fi
-
-AC_SUBST(STATIC_TARGET)
-AC_SUBST(SHARED_TARGET)
-AC_SUBST(STATIC_INSTALL_TARGET)
-AC_SUBST(SHARED_INSTALL_TARGET)
-
-case "$build_os" in
-msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file
-*) BUILD_DIR=`pwd` ;;
-esac
-
-case "$BUILD_DIR" in
-*\ *) BUILD_DIR=`echo "$BUILD_DIR" | sed 's: :\\\\ :g'` ;;
-*) ;;
-esac
-
-AC_SUBST(PURIFY)
-AC_SUBST(BUILD_DIR)
-
-AC_SUBST(CFLAGS)
-AC_SUBST(LOCAL_CFLAGS)
-AC_SUBST(LOCAL_LDFLAGS)
-AC_SUBST(LOCAL_DEFS)
-
-AC_SUBST(AR)
-AC_SUBST(ARFLAGS)
-
-AC_SUBST(host_cpu)
-AC_SUBST(host_os)
-
-AC_SUBST(LIBVERSION)
-
-AC_SUBST(TERMCAP_LIB)
-
-AC_OUTPUT([Makefile doc/Makefile examples/Makefile shlib/Makefile],
-[
-# Makefile uses this timestamp file to record whether config.h is up to date.
-echo > stamp-h
-])
diff --git a/readline/examples/rlfe/ChangeLog b/readline/examples/rlfe/ChangeLog
index ba41b2b..663dcb9 100644
--- a/readline/examples/rlfe/ChangeLog
+++ b/readline/examples/rlfe/ChangeLog
@@ -1,3 +1,9 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * Makefile.in: Reflects renaming of configure.in to configure.ac
+ * configure.ac: Renamed from configure.in
+
 2004-11-04  Per Bothner  <per@bothner.com>

  * pty.c:  Import from screen-4.0.2.
diff --git a/readline/examples/rlfe/Makefile.in
b/readline/examples/rlfe/Makefile.in
index 7d6fd53..702915c 100644
--- a/readline/examples/rlfe/Makefile.in
+++ b/readline/examples/rlfe/Makefile.in
@@ -43,7 +43,7 @@ SHELL=/bin/sh

 CFILES= rlfe.c pty.c
 HFILES= extern.h os.h screen.h
-EXTRA_DIST=configure.in configure Makefile.in config.h.in ChangeLog README
+EXTRA_DIST=configure.ac configure Makefile.in config.h.in ChangeLog README
 OFILES= rlfe.o pty.o

 all: rlfe
@@ -175,7 +175,7 @@ Makefile makefile: config.status $(srcdir)/Makefile.in
 config.status: $(srcdir)/configure
  $(SHELL) ./config.status --recheck

-$(srcdir)/configure: $(srcdir)/configure.in
+$(srcdir)/configure: $(srcdir)/configure.ac
  cd $(srcdir) && autoconf

 ###############################################################################
diff --git a/readline/examples/rlfe/configure.ac
b/readline/examples/rlfe/configure.ac
new file mode 100644
index 0000000..108cd3f
--- /dev/null
+++ b/readline/examples/rlfe/configure.ac
@@ -0,0 +1,442 @@
+dnl Process this file with autoconf to produce a configure script.
+
+m4_include([../../../config/override.m4])
+
+AC_INIT(rlfe.c)
+AC_CONFIG_HEADER(config.h)
+VERSION=0.4
+AC_SUBST(VERSION)
+
+dnl
+dnl Define some useful macros
+dnl
+AC_DEFUN([AC_PROGRAM_SOURCE],
+[AC_REQUIRE([AC_PROG_CPP])AC_PROVIDE([$0])cat > conftest.c <<EOF
+#include "confdefs.h"
+[$1]
+_CUT_HERE_
+[$2]
+EOF
+eval "$ac_cpp conftest.c 2>&5 | sed -e '1,/_CUT_HERE_/d' -e 's/ //g'
> conftest.out"
+. ./conftest.out
+rm -f conftest*
+])dnl
+dnl
+define(AC_NOTE,
+[echo "$1" 1>&AC_FD_MSG
+])dnl
+
+old_CFLAGS="$CFLAGS"
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_GCC_TRADITIONAL
+AC_ISC_POSIX
+
+AC_TRY_RUN(main(){exit(0);},,[
+if test $CC != cc ; then
+AC_NOTE(Your $CC failed - restarting with CC=cc)
+AC_NOTE()
+CC=cc
+export CC
+exec $0 $configure_args
+fi
+])
+
+AC_TRY_RUN(main(){exit(0);},,
+exec 5>&2
+eval $ac_link
+AC_NOTE(CC=$CC; CFLAGS=$CFLAGS; LIBS=$LIBS;)
+AC_NOTE($ac_compile)
+AC_MSG_ERROR(Can't run the compiler - sorry))
+
+AC_TRY_RUN([
+main()
+{
+  int __something_strange_();
+  __something_strange_(0);
+}
+],AC_MSG_ERROR(Your compiler does not set the exit status - sorry))
+
+AC_PROG_AWK
+
+if test -f etc/toolcheck; then
+AC_CHECKING(for buggy tools)
+sh etc/toolcheck 1>&AC_FD_MSG
+fi
+
+dnl
+dnl    ****  special unix variants  ****
+dnl
+
+AC_CHECKING(for System V)
+AC_TRY_COMPILE(
+[#include <sys/types.h>
+#include <signal.h>
+#include <fcntl.h>], [int x = SIGCHLD | FNDELAY;], , AC_DEFINE(SYSV))
+
+AC_CHECKING(for Solaris 2.x)
+AC_EGREP_CPP(yes,
+[#if defined(SVR4) && defined(sun)
+  yes
+#endif
+], LIBS="$LIBS -lsocket -lnsl -lkstat")
+
+dnl
+dnl    ****  select()  ****
+dnl
+
+AC_CHECKING(select)
+AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],,
+LIBS="$LIBS -lnet -lnsl"
+AC_CHECKING(select with $LIBS)
+AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],,
+AC_MSG_ERROR(!!! no select - no screen))
+)
+dnl
+dnl    ****  check the select implementation ****
+dnl
+
+AC_CHECKING(select return value)
+AC_TRY_RUN([
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+
+char *nam = "/tmp/conftest$$";
+
+#ifdef NAMEDPIPE
+
+#ifndef O_NONBLOCK
+#define O_NONBLOCK O_NDELAY
+#endif
+#ifndef S_IFIFO
+#define S_IFIFO 0010000
+#endif
+
+
+main()
+{
+#ifdef FD_SET
+  fd_set f;
+#else
+  int f;
+#endif
+
+#ifdef __FreeBSD__
+/* From Andrew A. Chernov (ache@astral.msk.su):
+ * opening RDWR fifo fails in BSD 4.4, but select return values are
+ * right.
+ */
+  exit(0);
+#endif
+  (void)alarm(5);
+#ifdef POSIX
+  if (mkfifo(nam, 0777))
+#else
+  if (mknod(nam, S_IFIFO|0777, 0))
+#endif
+    exit(1);
+  close(0);
+  if (open(nam, O_RDWR | O_NONBLOCK))
+    exit(1);
+  if (write(0, "TEST", 4) == -1)
+    exit(1);
+
+#else
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/un.h>
+
+main()
+{
+  int s1, s2, l;
+  struct sockaddr_un a;
+#ifdef FD_SET
+  fd_set f;
+#else
+  int f;
+#endif
+
+  (void)alarm(5);
+  if ((s1 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
+    exit(1);
+  a.sun_family = AF_UNIX;
+  strcpy(a.sun_path, nam);
+  (void) unlink(nam);
+  if (bind(s1, (struct sockaddr *) &a, strlen(nam)+2) == -1)
+    exit(1);
+  if (listen(s1, 2))
+    exit(1);
+  if (fork() == 0)
+    {
+      if ((s2 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
+ kill(getppid(), 3);
+      (void)connect(s2, (struct sockaddr *)&a, strlen(nam) + 2);
+      if (write(s2, "HELLO", 5) == -1)
+ kill(getppid(), 3);
+      exit(0);
+    }
+  l = sizeof(a);
+  close(0);
+  if (accept(s1, (struct sockaddr *)&a, &l))
+    exit(1);
+#endif
+
+
+#ifdef FD_SET
+  FD_SET(0, &f);
+#else
+  f = 1;
+#endif
+  if (select(1, &f, 0, 0, 0) == -1)
+    exit(1);
+  if (select(1, &f, &f, 0, 0) != 2)
+    exit(1);
+  exit(0);
+}
+],AC_NOTE(- select is ok),
+AC_NOTE(- select can't count) AC_DEFINE(SELECT_BROKEN))
+
+dnl
+dnl    ****  termcap or terminfo  ****
+dnl
+AC_CHECKING(for tgetent)
+AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+olibs="$LIBS"
+LIBS="-lcurses $olibs"
+AC_CHECKING(libcurses)
+AC_TRY_LINK(,[
+#ifdef __hpux
+__sorry_hpux_libcurses_is_totally_broken_in_10_10();
+#else
+tgetent((char *)0, (char *)0);
+#endif
+],,
+LIBS="-ltermcap $olibs"
+AC_CHECKING(libtermcap)
+AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+LIBS="-ltermlib $olibs"
+AC_CHECKING(libtermlib)
+AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+LIBS="-lncurses $olibs"
+AC_CHECKING(libncurses)
+AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+AC_MSG_ERROR(!!! no tgetent - no screen))))))
+
+AC_TRY_RUN([
+main()
+{
+ exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
+}], AC_NOTE(- you use the termcap database),
+AC_NOTE(- you use the terminfo database) AC_DEFINE(TERMINFO))
+AC_CHECKING(ospeed)
+AC_TRY_LINK(extern short ospeed;,ospeed=5;,,AC_DEFINE(NEED_OSPEED))
+
+dnl
+dnl    ****  PTY specific things  ****
+dnl
+AC_CHECKING(for /dev/ptc)
+if test -r /dev/ptc; then
+AC_DEFINE(HAVE_DEV_PTC)
+fi
+
+AC_CHECKING(for SVR4 ptys)
+sysvr4ptys=
+if test -c /dev/ptmx ; then
+AC_TRY_LINK([],[ptsname(0);grantpt(0);unlockpt(0);],[AC_DEFINE(HAVE_SVR4_PTYS)
+sysvr4ptys=1])
+fi
+
+AC_CHECK_FUNCS(getpt)
+
+dnl check for openpty()
+if test -z "$sysvr4ptys"; then
+AC_CHECK_FUNCS(openpty,,
+[AC_CHECK_LIB(util,openpty, [AC_DEFINE(HAVE_OPENPTY)] [LIBS="$LIBS -lutil"])])
+fi
+
+AC_CHECKING(for ptyranges)
+if test -d /dev/ptym ; then
+pdir='/dev/ptym'
+else
+pdir='/dev'
+fi
+dnl SCO uses ptyp%d
+AC_EGREP_CPP(yes,
+[#ifdef M_UNIX
+   yes;
+#endif
+], ptys=`echo /dev/ptyp??`, ptys=`echo $pdir/pty??`)
+dnl if test -c /dev/ptyp19; then
+dnl ptys=`echo /dev/ptyp??`
+dnl else
+dnl ptys=`echo $pdir/pty??`
+dnl fi
+if test "$ptys" != "$pdir/pty??" ; then
+p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u
| tr -d '\012'`
+p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g'  | sort -u
| tr -d '\012'`
+AC_DEFINE_UNQUOTED(PTYRANGE0,"$p0")
+AC_DEFINE_UNQUOTED(PTYRANGE1,"$p1")
+fi
+
+dnl    ****  pty mode/group handling ****
+dnl
+dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
+AC_ARG_WITH(pty-mode, [  --with-pty-mode=mode    default mode for
ptys], [ ptymode="${withval}" ])
+AC_ARG_WITH(pty-group, [  --with-pty-group=group  default group for
ptys], [ ptygrp="${withval}" ])
+test -n "$ptymode" || ptymode=0620
+if test -n "$ptygrp" ; then
+AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
+AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
+else
+
+AC_CHECKING(default tty permissions/group)
+rm -f conftest_grp
+AC_TRY_RUN([
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <stdio.h>
+main()
+{
+  struct stat sb;
+  char *x,*ttyname();
+  int om, m;
+  FILE *fp;
+
+  if (!(x = ttyname(0))) exit(1);
+  if (stat(x, &sb)) exit(1);
+  om = sb.st_mode;
+  if (om & 002) exit(0);
+  m = system("mesg y");
+  if (m == -1 || m == 127) exit(1);
+  if (stat(x, &sb)) exit(1);
+  m = sb.st_mode;
+  if (chmod(x, om)) exit(1);
+  if (m & 002) exit(0);
+  if (sb.st_gid == getgid()) exit(1);
+  if (!(fp=fopen("conftest_grp", "w")))
+    exit(1);
+  fprintf(fp, "%d\n", sb.st_gid);
+  fclose(fp);
+  exit(0);
+}
+],[
+    if test -f conftest_grp; then
+ ptygrp=`cat conftest_grp`
+ AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
+ AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
+ AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
+    else
+ AC_NOTE(- ptys are world accessable)
+    fi
+],[
+    WRITEPATH=''
+    XTERMPATH=''
+    AC_PATH_PROG(WRITEPATH, write)
+    AC_PATH_PROG(XTERMPATH, xterm)
+    found=
+    if test -n "$WRITEPATH$XTERMPATH"; then
+      findfollow=
+      lsfollow=
+      found=`find $WRITEPATH $XTERMPATH -follow -print 2>/dev/null`
+      if test -n "$found"; then
+ findfollow=-follow
+ lsfollow=L
+      fi
+      if test -n "$XTERMPATH"; then
+ ptygrpn=`ls -l$lsfollow $XTERMPATH | sed -n -e 1p | $AWK '{print $4}'`
+ if test tty != "$ptygrpn"; then
+  XTERMPATH=
+ fi
+      fi
+    fi
+    if test -n "$WRITEPATH$XTERMPATH"; then
+      found=`find $WRITEPATH $XTERMPATH $findfollow -perm -2000 -print`
+      if test -n "$found"; then
+ ptygrp=`ls -ln$lsfollow $found | sed -n -e 1p | $AWK '{print $4}'`
+ AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
+ AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
+ AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
+      else
+ AC_NOTE(- ptys are world accessable)
+      fi
+    else
+      AC_NOTE(- can't determine - assume ptys are world accessable)
+    fi
+  ]
+)
+rm -f conftest_grp
+fi
+
+dnl
+dnl    ****  signal handling  ****
+dnl
+if test -n "$posix" ; then
+
+dnl POSIX has reliable signals with void return type.
+AC_NOTE(assuming posix signal definition)
+AC_DEFINE(SIGVOID)
+
+else
+
+AC_CHECKING(return type of signal handlers)
+AC_TRY_COMPILE(
+[#include <sys/types.h>
+#include <signal.h>
+#ifdef signal
+#undef signal
+#endif
+extern void (*signal ()) ();], [int i;], AC_DEFINE(SIGVOID))
+AC_CHECKING(sigset)
+AC_TRY_LINK([
+#include <sys/types.h>
+#include <signal.h>
+],[
+#ifdef SIGVOID
+sigset(0, (void (*)())0);
+#else
+sigset(0, (int (*)())0);
+#endif
+], AC_DEFINE(USESIGSET))
+AC_CHECKING(signal implementation)
+AC_TRY_RUN([
+#include <sys/types.h>
+#include <signal.h>
+
+#ifndef SIGCLD
+#define SIGCLD SIGCHLD
+#endif
+#ifdef USESIGSET
+#define signal sigset
+#endif
+
+int got;
+
+#ifdef SIGVOID
+void
+#endif
+hand()
+{
+  got++;
+}
+
+main()
+{
+  /* on hpux we use sigvec to get bsd signals */
+#ifdef __hpux
+  (void)signal(SIGCLD, hand);
+  kill(getpid(), SIGCLD);
+  kill(getpid(), SIGCLD);
+  if (got < 2)
+    exit(1);
+#endif
+  exit(0);
+}
+],,AC_DEFINE(SYSVSIGS))
+
+fi
+
+AC_CHECK_HEADERS(sys/stropts.h sys/wait.h)
+
+AC_OUTPUT(Makefile)
diff --git a/readline/examples/rlfe/configure.in
b/readline/examples/rlfe/configure.in
deleted file mode 100644
index 108cd3f..0000000
--- a/readline/examples/rlfe/configure.in
+++ /dev/null
@@ -1,442 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-m4_include([../../../config/override.m4])
-
-AC_INIT(rlfe.c)
-AC_CONFIG_HEADER(config.h)
-VERSION=0.4
-AC_SUBST(VERSION)
-
-dnl
-dnl Define some useful macros
-dnl
-AC_DEFUN([AC_PROGRAM_SOURCE],
-[AC_REQUIRE([AC_PROG_CPP])AC_PROVIDE([$0])cat > conftest.c <<EOF
-#include "confdefs.h"
-[$1]
-_CUT_HERE_
-[$2]
-EOF
-eval "$ac_cpp conftest.c 2>&5 | sed -e '1,/_CUT_HERE_/d' -e 's/ //g'
> conftest.out"
-. ./conftest.out
-rm -f conftest*
-])dnl
-dnl
-define(AC_NOTE,
-[echo "$1" 1>&AC_FD_MSG
-])dnl
-
-old_CFLAGS="$CFLAGS"
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_GCC_TRADITIONAL
-AC_ISC_POSIX
-
-AC_TRY_RUN(main(){exit(0);},,[
-if test $CC != cc ; then
-AC_NOTE(Your $CC failed - restarting with CC=cc)
-AC_NOTE()
-CC=cc
-export CC
-exec $0 $configure_args
-fi
-])
-
-AC_TRY_RUN(main(){exit(0);},,
-exec 5>&2
-eval $ac_link
-AC_NOTE(CC=$CC; CFLAGS=$CFLAGS; LIBS=$LIBS;)
-AC_NOTE($ac_compile)
-AC_MSG_ERROR(Can't run the compiler - sorry))
-
-AC_TRY_RUN([
-main()
-{
-  int __something_strange_();
-  __something_strange_(0);
-}
-],AC_MSG_ERROR(Your compiler does not set the exit status - sorry))
-
-AC_PROG_AWK
-
-if test -f etc/toolcheck; then
-AC_CHECKING(for buggy tools)
-sh etc/toolcheck 1>&AC_FD_MSG
-fi
-
-dnl
-dnl    ****  special unix variants  ****
-dnl
-
-AC_CHECKING(for System V)
-AC_TRY_COMPILE(
-[#include <sys/types.h>
-#include <signal.h>
-#include <fcntl.h>], [int x = SIGCHLD | FNDELAY;], , AC_DEFINE(SYSV))
-
-AC_CHECKING(for Solaris 2.x)
-AC_EGREP_CPP(yes,
-[#if defined(SVR4) && defined(sun)
-  yes
-#endif
-], LIBS="$LIBS -lsocket -lnsl -lkstat")
-
-dnl
-dnl    ****  select()  ****
-dnl
-
-AC_CHECKING(select)
-AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],,
-LIBS="$LIBS -lnet -lnsl"
-AC_CHECKING(select with $LIBS)
-AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],,
-AC_MSG_ERROR(!!! no select - no screen))
-)
-dnl
-dnl    ****  check the select implementation ****
-dnl
-
-AC_CHECKING(select return value)
-AC_TRY_RUN([
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-
-char *nam = "/tmp/conftest$$";
-
-#ifdef NAMEDPIPE
-
-#ifndef O_NONBLOCK
-#define O_NONBLOCK O_NDELAY
-#endif
-#ifndef S_IFIFO
-#define S_IFIFO 0010000
-#endif
-
-
-main()
-{
-#ifdef FD_SET
-  fd_set f;
-#else
-  int f;
-#endif
-
-#ifdef __FreeBSD__
-/* From Andrew A. Chernov (ache@astral.msk.su):
- * opening RDWR fifo fails in BSD 4.4, but select return values are
- * right.
- */
-  exit(0);
-#endif
-  (void)alarm(5);
-#ifdef POSIX
-  if (mkfifo(nam, 0777))
-#else
-  if (mknod(nam, S_IFIFO|0777, 0))
-#endif
-    exit(1);
-  close(0);
-  if (open(nam, O_RDWR | O_NONBLOCK))
-    exit(1);
-  if (write(0, "TEST", 4) == -1)
-    exit(1);
-
-#else
-
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-
-main()
-{
-  int s1, s2, l;
-  struct sockaddr_un a;
-#ifdef FD_SET
-  fd_set f;
-#else
-  int f;
-#endif
-
-  (void)alarm(5);
-  if ((s1 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
-    exit(1);
-  a.sun_family = AF_UNIX;
-  strcpy(a.sun_path, nam);
-  (void) unlink(nam);
-  if (bind(s1, (struct sockaddr *) &a, strlen(nam)+2) == -1)
-    exit(1);
-  if (listen(s1, 2))
-    exit(1);
-  if (fork() == 0)
-    {
-      if ((s2 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
- kill(getppid(), 3);
-      (void)connect(s2, (struct sockaddr *)&a, strlen(nam) + 2);
-      if (write(s2, "HELLO", 5) == -1)
- kill(getppid(), 3);
-      exit(0);
-    }
-  l = sizeof(a);
-  close(0);
-  if (accept(s1, (struct sockaddr *)&a, &l))
-    exit(1);
-#endif
-
-
-#ifdef FD_SET
-  FD_SET(0, &f);
-#else
-  f = 1;
-#endif
-  if (select(1, &f, 0, 0, 0) == -1)
-    exit(1);
-  if (select(1, &f, &f, 0, 0) != 2)
-    exit(1);
-  exit(0);
-}
-],AC_NOTE(- select is ok),
-AC_NOTE(- select can't count) AC_DEFINE(SELECT_BROKEN))
-
-dnl
-dnl    ****  termcap or terminfo  ****
-dnl
-AC_CHECKING(for tgetent)
-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
-olibs="$LIBS"
-LIBS="-lcurses $olibs"
-AC_CHECKING(libcurses)
-AC_TRY_LINK(,[
-#ifdef __hpux
-__sorry_hpux_libcurses_is_totally_broken_in_10_10();
-#else
-tgetent((char *)0, (char *)0);
-#endif
-],,
-LIBS="-ltermcap $olibs"
-AC_CHECKING(libtermcap)
-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
-LIBS="-ltermlib $olibs"
-AC_CHECKING(libtermlib)
-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
-LIBS="-lncurses $olibs"
-AC_CHECKING(libncurses)
-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
-AC_MSG_ERROR(!!! no tgetent - no screen))))))
-
-AC_TRY_RUN([
-main()
-{
- exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
-}], AC_NOTE(- you use the termcap database),
-AC_NOTE(- you use the terminfo database) AC_DEFINE(TERMINFO))
-AC_CHECKING(ospeed)
-AC_TRY_LINK(extern short ospeed;,ospeed=5;,,AC_DEFINE(NEED_OSPEED))
-
-dnl
-dnl    ****  PTY specific things  ****
-dnl
-AC_CHECKING(for /dev/ptc)
-if test -r /dev/ptc; then
-AC_DEFINE(HAVE_DEV_PTC)
-fi
-
-AC_CHECKING(for SVR4 ptys)
-sysvr4ptys=
-if test -c /dev/ptmx ; then
-AC_TRY_LINK([],[ptsname(0);grantpt(0);unlockpt(0);],[AC_DEFINE(HAVE_SVR4_PTYS)
-sysvr4ptys=1])
-fi
-
-AC_CHECK_FUNCS(getpt)
-
-dnl check for openpty()
-if test -z "$sysvr4ptys"; then
-AC_CHECK_FUNCS(openpty,,
-[AC_CHECK_LIB(util,openpty, [AC_DEFINE(HAVE_OPENPTY)] [LIBS="$LIBS -lutil"])])
-fi
-
-AC_CHECKING(for ptyranges)
-if test -d /dev/ptym ; then
-pdir='/dev/ptym'
-else
-pdir='/dev'
-fi
-dnl SCO uses ptyp%d
-AC_EGREP_CPP(yes,
-[#ifdef M_UNIX
-   yes;
-#endif
-], ptys=`echo /dev/ptyp??`, ptys=`echo $pdir/pty??`)
-dnl if test -c /dev/ptyp19; then
-dnl ptys=`echo /dev/ptyp??`
-dnl else
-dnl ptys=`echo $pdir/pty??`
-dnl fi
-if test "$ptys" != "$pdir/pty??" ; then
-p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u
| tr -d '\012'`
-p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g'  | sort -u
| tr -d '\012'`
-AC_DEFINE_UNQUOTED(PTYRANGE0,"$p0")
-AC_DEFINE_UNQUOTED(PTYRANGE1,"$p1")
-fi
-
-dnl    ****  pty mode/group handling ****
-dnl
-dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
-AC_ARG_WITH(pty-mode, [  --with-pty-mode=mode    default mode for
ptys], [ ptymode="${withval}" ])
-AC_ARG_WITH(pty-group, [  --with-pty-group=group  default group for
ptys], [ ptygrp="${withval}" ])
-test -n "$ptymode" || ptymode=0620
-if test -n "$ptygrp" ; then
-AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
-AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
-else
-
-AC_CHECKING(default tty permissions/group)
-rm -f conftest_grp
-AC_TRY_RUN([
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <stdio.h>
-main()
-{
-  struct stat sb;
-  char *x,*ttyname();
-  int om, m;
-  FILE *fp;
-
-  if (!(x = ttyname(0))) exit(1);
-  if (stat(x, &sb)) exit(1);
-  om = sb.st_mode;
-  if (om & 002) exit(0);
-  m = system("mesg y");
-  if (m == -1 || m == 127) exit(1);
-  if (stat(x, &sb)) exit(1);
-  m = sb.st_mode;
-  if (chmod(x, om)) exit(1);
-  if (m & 002) exit(0);
-  if (sb.st_gid == getgid()) exit(1);
-  if (!(fp=fopen("conftest_grp", "w")))
-    exit(1);
-  fprintf(fp, "%d\n", sb.st_gid);
-  fclose(fp);
-  exit(0);
-}
-],[
-    if test -f conftest_grp; then
- ptygrp=`cat conftest_grp`
- AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
- AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
- AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
-    else
- AC_NOTE(- ptys are world accessable)
-    fi
-],[
-    WRITEPATH=''
-    XTERMPATH=''
-    AC_PATH_PROG(WRITEPATH, write)
-    AC_PATH_PROG(XTERMPATH, xterm)
-    found=
-    if test -n "$WRITEPATH$XTERMPATH"; then
-      findfollow=
-      lsfollow=
-      found=`find $WRITEPATH $XTERMPATH -follow -print 2>/dev/null`
-      if test -n "$found"; then
- findfollow=-follow
- lsfollow=L
-      fi
-      if test -n "$XTERMPATH"; then
- ptygrpn=`ls -l$lsfollow $XTERMPATH | sed -n -e 1p | $AWK '{print $4}'`
- if test tty != "$ptygrpn"; then
-  XTERMPATH=
- fi
-      fi
-    fi
-    if test -n "$WRITEPATH$XTERMPATH"; then
-      found=`find $WRITEPATH $XTERMPATH $findfollow -perm -2000 -print`
-      if test -n "$found"; then
- ptygrp=`ls -ln$lsfollow $found | sed -n -e 1p | $AWK '{print $4}'`
- AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
- AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
- AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
-      else
- AC_NOTE(- ptys are world accessable)
-      fi
-    else
-      AC_NOTE(- can't determine - assume ptys are world accessable)
-    fi
-  ]
-)
-rm -f conftest_grp
-fi
-
-dnl
-dnl    ****  signal handling  ****
-dnl
-if test -n "$posix" ; then
-
-dnl POSIX has reliable signals with void return type.
-AC_NOTE(assuming posix signal definition)
-AC_DEFINE(SIGVOID)
-
-else
-
-AC_CHECKING(return type of signal handlers)
-AC_TRY_COMPILE(
-[#include <sys/types.h>
-#include <signal.h>
-#ifdef signal
-#undef signal
-#endif
-extern void (*signal ()) ();], [int i;], AC_DEFINE(SIGVOID))
-AC_CHECKING(sigset)
-AC_TRY_LINK([
-#include <sys/types.h>
-#include <signal.h>
-],[
-#ifdef SIGVOID
-sigset(0, (void (*)())0);
-#else
-sigset(0, (int (*)())0);
-#endif
-], AC_DEFINE(USESIGSET))
-AC_CHECKING(signal implementation)
-AC_TRY_RUN([
-#include <sys/types.h>
-#include <signal.h>
-
-#ifndef SIGCLD
-#define SIGCLD SIGCHLD
-#endif
-#ifdef USESIGSET
-#define signal sigset
-#endif
-
-int got;
-
-#ifdef SIGVOID
-void
-#endif
-hand()
-{
-  got++;
-}
-
-main()
-{
-  /* on hpux we use sigvec to get bsd signals */
-#ifdef __hpux
-  (void)signal(SIGCLD, hand);
-  kill(getpid(), SIGCLD);
-  kill(getpid(), SIGCLD);
-  if (got < 2)
-    exit(1);
-#endif
-  exit(0);
-}
-],,AC_DEFINE(SYSVSIGS))
-
-fi
-
-AC_CHECK_HEADERS(sys/stropts.h sys/wait.h)
-
-AC_OUTPUT(Makefile)
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 0c0dcd6..6ff0d4b 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,9 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * README-HACKING: Reflects renaming of configure.in to configure.ac
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>

  * arm/configure: Regenerated.
diff --git a/sim/README-HACKING b/sim/README-HACKING
index 0a6bbe2..188ca3c 100644
--- a/sim/README-HACKING
+++ b/sim/README-HACKING
@@ -31,11 +31,11 @@ Common Makefile Support

 A common configuration framework is available for simulators that want
 to use it.  The common framework exists to remove a lot of duplication
-in configure.in and Makefile.in, and it also provides a foundation for
+in configure.ac and Makefile.in, and it also provides a foundation for
 enhancing the simulators uniformly (e.g. the more they share in common
 the easier a feature added to one is added to all).

-The configure.in of a simulator using the common framework should look like:
+The configure.ac of a simulator using the common framework should look like:

 --- snip ---
 dnl Process this file with autoconf to produce a configure script.
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ebf8618..b243689 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,9 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * acinclude.m4: Reflects renaming of configure.in to configure.ac
+ * sim-config.h: Reflects renaming of configure.in to configure.ac
+
 2015-04-29  Nick Clifton  <nickc@redhat.com>

  PR 18273
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index 75ea8ea..5b682c4 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -5,7 +5,7 @@
 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
 # It is intended to be invoked last.
 #
-# The simulator's configure.in should look like:
+# The simulator's configure.ac should look like:
 #
 # dnl Process this file with autoconf to produce a configure script.
 # AC_PREREQ(2.64)dnl
@@ -263,12 +263,12 @@ sim_link_links="${sim_link_links} targ-vals.def"
 dnl Additional SIM options that can (optionally) be configured
 dnl For optional simulator options, a macro SIM_AC_OPTION_* is defined.
 dnl Simulators that wish to use the relevant option specify the macro
-dnl in the simulator specific configure.in file between the SIM_AC_COMMON
+dnl in the simulator specific configure.ac file between the SIM_AC_COMMON
 dnl and SIM_AC_OUTPUT lines.


 dnl Specify the running environment.
-dnl If the simulator invokes this in its configure.in then without this option
+dnl If the simulator invokes this in its configure.ac then without this option
 dnl the default is the user environment and all are runtime selectable.
 dnl If the simulator doesn't invoke this, only the user environment is
 dnl supported.
diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h
index 9391994..bf7428c 100644
--- a/sim/common/sim-config.h
+++ b/sim/common/sim-config.h
@@ -360,7 +360,7 @@ enum sim_environment {
 #endif

 /* If the simulator doesn't specify SIM_AC_OPTION_ENVIRONMENT in its
-   configure.in, the only supported environment is the user environment.  */
+   configure.ac, the only supported environment is the user environment.  */
 #ifndef WITH_ENVIRONMENT
 #define WITH_ENVIRONMENT USER_ENVIRONMENT
 #endif
diff --git a/sim/configure b/sim/configure
index bf0a094..7c5c5a9 100755
--- a/sim/configure
+++ b/sim/configure
@@ -5090,7 +5090,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 1feeb83..7b68f8a 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,9 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+ * configure.ac: Reflects renaming of configure.in to configure.ac
+
 2015-04-18  Mike Frysinger  <vapier@gentoo.org>

  * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete
diff --git a/sim/mips/configure b/sim/mips/configure
index 16367a8..f747569 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -2255,7 +2255,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
 # It is intended to be invoked last.
 #
-# The simulator's configure.in should look like:
+# The simulator's configure.ac should look like:
 #
 # dnl Process this file with autoconf to produce a configure script.
 # AC_PREREQ(2.64)dnl
@@ -13743,7 +13743,7 @@ if test ${sim_gen} = MULTI; then

   # Simple sanity check.
   if test -z "${sim_multi_configs}" || test -z "${sim_multi_default}"; then
-    as_fn_error "Error in configure.in: MULTI simulator not set up
correctly" "$LINENO" 5
+    as_fn_error "Error in configure.ac: MULTI simulator not set up
correctly" "$LINENO" 5
   fi

   # Start in a known state.
@@ -13868,7 +13868,7 @@ __EOF__

   # Check whether we added a 'default:' label.
   if test ${sim_seen_default} = no; then
-    as_fn_error "Error in configure.in: \${sim_multi_configs} doesn't
have an entry for \${sim_multi_default}" "$LINENO" 5
+    as_fn_error "Error in configure.ac: \${sim_multi_configs} doesn't
have an entry for \${sim_multi_default}" "$LINENO" 5
   fi

   cat << __EOF__ >> multi-run.c
@@ -13912,7 +13912,7 @@ else
   sim_multi_src=doesnt-exist.c

   if test x"${sim_mach_default}" = x""; then
-    as_fn_error "Error in configure.in: \${sim_mach_default} not
defined" "$LINENO" 5
+    as_fn_error "Error in configure.ac: \${sim_mach_default} not
defined" "$LINENO" 5
   fi
   SIM_SUBTARGET="$SIM_SUBTARGET
-DMIPS_MACH_DEFAULT=bfd_mach_${sim_mach_default}"
 fi
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index 4dee7d4..d786351 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -221,7 +221,7 @@ if test ${sim_gen} = MULTI; then

   # Simple sanity check.
   if test -z "${sim_multi_configs}" || test -z "${sim_multi_default}"; then
-    AC_MSG_ERROR(Error in configure.in: MULTI simulator not set up correctly)
+    AC_MSG_ERROR(Error in configure.ac: MULTI simulator not set up correctly)
   fi

   # Start in a known state.
@@ -346,7 +346,7 @@ __EOF__

   # Check whether we added a 'default:' label.
   if test ${sim_seen_default} = no; then
-    AC_MSG_ERROR(Error in configure.in: \${sim_multi_configs} doesn't
have an entry for \${sim_multi_default})
+    AC_MSG_ERROR(Error in configure.ac: \${sim_multi_configs} doesn't
have an entry for \${sim_multi_default})
   fi

   cat << __EOF__ >> multi-run.c
@@ -390,7 +390,7 @@ else
   sim_multi_src=doesnt-exist.c

   if test x"${sim_mach_default}" = x""; then
-    AC_MSG_ERROR(Error in configure.in: \${sim_mach_default} not defined)
+    AC_MSG_ERROR(Error in configure.ac: \${sim_mach_default} not defined)
   fi
   SIM_SUBTARGET="$SIM_SUBTARGET
-DMIPS_MACH_DEFAULT=bfd_mach_${sim_mach_default}"
 fi
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
index 20038f1..48bea54 100644
--- a/sim/testsuite/ChangeLog
+++ b/sim/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+ PR binutils/18450
+ * configure: Reflects renaming of configure.in to configure.ac
+
 2015-04-13  Hans-Peter Nilsson  <hp@axis.com>

  * sim-defs.exp (sim_init): Unset target ldscript here.
diff --git a/sim/testsuite/configure b/sim/testsuite/configure
index c5980fe..38967c4 100755
--- a/sim/testsuite/configure
+++ b/sim/testsuite/configure
@@ -3165,7 +3165,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
diff --git a/src-release.sh b/src-release.sh
index 40d0126..9668a1a 100755
--- a/src-release.sh
+++ b/src-release.sh
@@ -48,7 +48,7 @@ DEVO_SUPPORT="README Makefile.in configure configure.ac \
  COPYING3 COPYING3.LIB"

 # Files in devo/etc used in any net release.
-ETC_SUPPORT="Makefile.in configure configure.in standards.texi \
+ETC_SUPPORT="Makefile.in configure configure.ac standards.texi \
  make-stds.texi standards.info* configure.texi configure.info* \
  ChangeLog configbuild.* configdev.* fdl.texi texi2pod.pl gnu-oids.texi"

-- 
2.1.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Subject: [PATCH] Fixes combined gcc-binutils builds.
  2015-05-24 19:56 Subject: [PATCH] Fixes combined gcc-binutils builds Michael Darling
@ 2015-07-17  0:27 ` Michael Darling
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Darling @ 2015-07-17  0:27 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 89018 bytes --]

Ping.  I don't have write access.

**Updated patch attached**, modified so the commits during the past
two months don't cause conflicts.  Minor other updating (i.e. Likewise
rather than repeating in ChangeLogs.)

GCC **updated patch also ATTACHED** from May 24, also modified so its
commits during past two months don't conflict.

On Sun, May 24, 2015 at 3:56 PM, Michael Darling <darlingm@gmail.com> wrote:
> Completes renaming of configure.in files to configure.ac.  Combined
> builds has been broken for about 10 months, because some binutils
> configure.in files were renamed to configure.ac, but gcc's references to
> them were not updated.  Fixing gcc's references to them is much easier
> by renaming the few straggling configure.in files to configure.ac.
> gcc's configure.in files were entirely renamed to confiugre.ac some time
> ago.  There is a corresponding patch submitted to gcc, which updates all
> references to binutils-gdb configure.in files to configure.ac, which is
> what ultimately fixes the combined builds.
>
> See PR binutils-gdb/binutils/18450 and gcc/other/66259.
>
> Signed-off by: Michael Darling <darlingm@gmail.com>
>
> ---
>  ChangeLog                           |   7 +
>  bfd/ChangeLog                       |   5 +
>  bfd/configure                       |   2 +-
>  binutils/ChangeLog                  |   6 +
>  binutils/MAINTAINERS                |   2 +-
>  binutils/configure                  |   2 +-
>  config/ChangeLog                    |   8 +
>  config/gettext.m4                   |   4 +-
>  config/po.m4                        |   2 +-
>  config/stdint.m4                    |   2 +-
>  config/tcl.m4                       |   2 +-
>  configure                           |   6 +-
>  configure.ac                        |   8 +-
>  etc/ChangeLog                       |   5 +
>  etc/Makefile.in                     |   2 +-
>  etc/configure.ac                    |  27 +++
>  etc/configure.in                    |  27 ---
>  gas/ChangeLog                       |   5 +
>  gas/configure                       |   2 +-
>  gdb/ChangeLog                       |   7 +
>  gdb/acinclude.m4                    |   2 +-
>  gdb/config/djgpp/fnchange.lst       |   2 +-
>  gdb/configure                       |   2 +-
>  gdb/gdbserver/ChangeLog             |   5 +
>  gdb/gdbserver/acinclude.m4          |   2 +-
>  gdb/testsuite/ChangeLog             |   5 +
>  gdb/testsuite/configure             |   2 +-
>  gold/ChangeLog                      |   5 +
>  gold/configure                      |   4 +-
>  gprof/ChangeLog                     |   5 +
>  gprof/configure                     |   4 +-
>  intl/ChangeLog                      |   5 +
>  intl/configure                      |   4 +-
>  ld/ChangeLog                        |   5 +
>  ld/configure                        |   4 +-
>  opcodes/ChangeLog                   |   5 +
>  opcodes/configure                   |   4 +-
>  readline/ChangeLog.gdb              |   8 +
>  readline/INSTALL                    |   6 +-
>  readline/MANIFEST                   |   4 +-
>  readline/aclocal.m4                 |  12 +-
>  readline/configure.ac               | 304 +++++++++++++++++++++++++
>  readline/configure.in               | 304 -------------------------
>  readline/examples/rlfe/ChangeLog    |   6 +
>  readline/examples/rlfe/Makefile.in  |   4 +-
>  readline/examples/rlfe/configure.ac | 442 ++++++++++++++++++++++++++++++++++++
>  readline/examples/rlfe/configure.in | 442 ------------------------------------
>  sim/ChangeLog                       |   6 +
>  sim/README-HACKING                  |   4 +-
>  sim/common/ChangeLog                |   6 +
>  sim/common/acinclude.m4             |   6 +-
>  sim/common/sim-config.h             |   2 +-
>  sim/configure                       |   2 +-
>  sim/mips/ChangeLog                  |   6 +
>  sim/mips/configure                  |   8 +-
>  sim/mips/configure.ac               |   6 +-
>  sim/testsuite/ChangeLog             |   5 +
>  sim/testsuite/configure             |   2 +-
>  src-release.sh                      |   2 +-
>  59 files changed, 949 insertions(+), 834 deletions(-)
>  create mode 100644 etc/configure.ac
>  delete mode 100644 etc/configure.in
>  create mode 100644 readline/configure.ac
>  delete mode 100644 readline/configure.in
>  create mode 100644 readline/examples/rlfe/configure.ac
>  delete mode 100644 readline/examples/rlfe/configure.in
>
> diff --git a/ChangeLog b/ChangeLog
> index 583b822..c2aa03b 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,10 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> + * configure.ac: Reflects renaming of configure.in to configure.ac
> + * src-release.sh: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-13  John David Anglin  <dave.anglin@bell.net>
>
>   * configure.ac: Disable configuration of GDB for HPUX targets.
> diff --git a/bfd/ChangeLog b/bfd/ChangeLog
> index 87a0bff..37f9332 100644
> --- a/bfd/ChangeLog
> +++ b/bfd/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-26  H.J. Lu  <hongjiu.lu@intel.com>
>
>   PR binutils/18437
> diff --git a/bfd/configure b/bfd/configure
> index eeeb89a..9ce3fc1 100755
> --- a/bfd/configure
> +++ b/bfd/configure
> @@ -18338,7 +18338,7 @@ _LT_EOF
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
> diff --git a/binutils/ChangeLog b/binutils/ChangeLog
> index 6bb1f1a..835250f 100644
> --- a/binutils/ChangeLog
> +++ b/binutils/ChangeLog
> @@ -1,3 +1,9 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * MAINTAINERS: Reflects renaming of configure.in to configure.ac
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-18  Nick Clifton  <nickc@redhat.com>
>
>   PR binutils/18420
> diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS
> index 37f4601..74882dd 100644
> --- a/binutils/MAINTAINERS
> +++ b/binutils/MAINTAINERS
> @@ -22,7 +22,7 @@ top level config.guess and config.sub scripts should
> be sent to:
>    config-patches@gnu.org
>
>  and not to the binutils lists.  Patches to the other top level
> -configure files (configure, configure.in, config-ml.in) should
> +configure files (configure, configure.ac, config-ml.in) should
>  be sent to the binutils lists, and copied to the gcc and gdb
>  lists as well (gcc-patches@gcc.gnu.org and
>  gdb-patches@sourceware.org).
> diff --git a/binutils/configure b/binutils/configure
> index 5db82d7..38c4467 100755
> --- a/binutils/configure
> +++ b/binutils/configure
> @@ -16908,7 +16908,7 @@ _LT_EOF
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
> diff --git a/config/ChangeLog b/config/ChangeLog
> index 6ffb0ed..b64cbf1 100644
> --- a/config/ChangeLog
> +++ b/config/ChangeLog
> @@ -1,3 +1,11 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * gettext.m4: Reflects renaming of configure.in to configure.ac
> + * po.m4: Reflects renaming of configure.in to configure.ac
> + * stdint.m4: Reflects renaming of configure.in to configure.ac
> + * tc1.m4: Reflects renaming of configure.in to configure.ac
> +
>  2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
>
>   * zlib.m4 (AM_ZLIB): Set zlibdir to -L\$(top_builddir)/../zlib
> diff --git a/config/gettext.m4 b/config/gettext.m4
> index 16070b4..45fa6b4 100644
> --- a/config/gettext.m4
> +++ b/config/gettext.m4
> @@ -81,7 +81,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
>    dnl Ideally we would do this search only after the
>    dnl      if test "$USE_NLS" = "yes"; then
>    dnl        if test "$gt_cv_func_gnugettext_libc" != "yes"; then
> -  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
> +  dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
>    dnl the configure script would need to contain the same shell code
>    dnl again, outside any 'if'. There are two solutions:
>    dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
> @@ -303,7 +303,7 @@ return (int) gettext ("")]ifelse([$2],
> [need-ngettext], [ + (int) ngettext ("",
>      AC_SUBST(USE_INCLUDED_LIBINTL)
>      AC_SUBST(CATOBJEXT)
>
> -    dnl For backward compatibility. Some configure.ins may be using this.
> +    dnl For backward compatibility. Some configure.acs may be using this.
>      nls_cv_header_intl=
>      nls_cv_header_libgt=
>
> diff --git a/config/po.m4 b/config/po.m4
> index 2edd5a7..f0f25e9 100644
> --- a/config/po.m4
> +++ b/config/po.m4
> @@ -117,7 +117,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
> diff --git a/config/stdint.m4 b/config/stdint.m4
> index 61898a7..59f4359 100644
> --- a/config/stdint.m4
> +++ b/config/stdint.m4
> @@ -39,7 +39,7 @@ dnl If your installed header files require the
> stdint-types you will want to
>  dnl create an installable file mylib-int.h that all your other installable
>  dnl header may include. So, for a library package named "mylib", just use
>  dnl      GCC_HEADER_STDINT(mylib-int.h)
> -dnl in configure.in and install that header file in Makefile.am along with
> +dnl in configure.ac and install that header file in Makefile.am along with
>  dnl the other headers (mylib.h).  The mylib-specific headers can simply
>  dnl use "#include <mylib-int.h>" to obtain the stdint-types.
>  dnl
> diff --git a/config/tcl.m4 b/config/tcl.m4
> index 59a0c7e..8fa94a2 100644
> --- a/config/tcl.m4
> +++ b/config/tcl.m4
> @@ -2136,7 +2136,7 @@ dnl # preprocessing tests use only CPPFLAGS.
>              INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE)
> $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB)
> $(LIB_FILE))'
>          fi
>
> -dnl        Not at all clear what this was doing in Tcl's configure.in
> +dnl        Not at all clear what this was doing in Tcl's configure.ac
>  dnl        or why it was needed was needed. In any event, this sort of
>  dnl        things needs to be done in the big loop above.
>  dnl        REMOVE THIS BLOCK LATER! (mdejong)
> diff --git a/configure b/configure
> index a2e253a..909bb53 100755
> --- a/configure
> +++ b/configure
> @@ -6164,7 +6164,7 @@ if test -d ${srcdir}/gcc; then
>    if test x"${enable_languages+set}" != xset; then
>      if test x"${LANGUAGES+set}" = xset; then
>        enable_languages="${LANGUAGES}"
> -        echo configure.in: warning: setting LANGUAGES is deprecated,
> use --enable-languages instead 1>&2
> +        echo configure.ac: warning: setting LANGUAGES is deprecated,
> use --enable-languages instead 1>&2
>      else
>        enable_languages=all
>      fi
> @@ -6172,7 +6172,7 @@ if test -d ${srcdir}/gcc; then
>      if test x"${enable_languages}" = x ||
>         test x"${enable_languages}" = xyes;
>         then
> -      echo configure.in: --enable-languages needs at least one
> language argument 1>&2
> +      echo configure.ac: --enable-languages needs at least one
> language argument 1>&2
>        exit 1
>      fi
>    fi
> @@ -6182,7 +6182,7 @@ if test -d ${srcdir}/gcc; then
>    # and make the substitution.
>    case ,${enable_languages}, in
>      *,f95,*)
> -      echo configure.in: warning: 'f95' as language name is
> deprecated, use 'fortran' instead 1>&2
> +      echo configure.ac: warning: 'f95' as language name is
> deprecated, use 'fortran' instead 1>&2
>        enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
>        ;;
>    esac
> diff --git a/configure.ac b/configure.ac
> index 8132df0..431fe30 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1854,7 +1854,7 @@ if test -d ${srcdir}/gcc; then
>    if test x"${enable_languages+set}" != xset; then
>      if test x"${LANGUAGES+set}" = xset; then
>        enable_languages="${LANGUAGES}"
> -        echo configure.in: warning: setting LANGUAGES is deprecated,
> use --enable-languages instead 1>&2
> +        echo configure.ac: warning: setting LANGUAGES is deprecated,
> use --enable-languages instead 1>&2
>      else
>        enable_languages=all
>      fi
> @@ -1862,7 +1862,7 @@ if test -d ${srcdir}/gcc; then
>      if test x"${enable_languages}" = x ||
>         test x"${enable_languages}" = xyes;
>         then
> -      echo configure.in: --enable-languages needs at least one
> language argument 1>&2
> +      echo configure.ac: --enable-languages needs at least one
> language argument 1>&2
>        exit 1
>      fi
>    fi
> @@ -1872,7 +1872,7 @@ if test -d ${srcdir}/gcc; then
>    # and make the substitution.
>    case ,${enable_languages}, in
>      *,f95,*)
> -      echo configure.in: warning: 'f95' as language name is
> deprecated, use 'fortran' instead 1>&2
> +      echo configure.ac: warning: 'f95' as language name is
> deprecated, use 'fortran' instead 1>&2
>        enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
>        ;;
>    esac
> @@ -2443,7 +2443,7 @@ fi
>  # have requested that this magic not happen.
>  #
>  # The command line options always override the explicit settings in
> -# configure.in, and the settings in configure.in override this magic.
> +# configure.ac, and the settings in configure.ac override this magic.
>  #
>  # If the default for a toolchain is to use GNU as and ld, and you don't
>  # want to do that, then you should use the --without-gnu-as and
> diff --git a/etc/ChangeLog b/etc/ChangeLog
> index 516e6a9..f5ff827 100644
> --- a/etc/ChangeLog
> +++ b/etc/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + * configure.ac: Renamed from configure.in
> + * Makefile.in: Reflects renaming of configure.in to configure.ac
> +
>  2014-06-27  Ludovic Courtès  <ludo@gnu.org>
>
>   PR external/16327
> diff --git a/etc/Makefile.in b/etc/Makefile.in
> index 4aa64c1..eabd28c 100644
> --- a/etc/Makefile.in
> +++ b/etc/Makefile.in
> @@ -56,7 +56,7 @@ Makefile: $(srcdir)/Makefile.in
> $(host_makefile_frag) $(target_makefile_frag) \
>   $(SHELL) ./config.status
>
>  AUTOCONF = autoconf
> -configure_deps = $(srcdir)/configure.in
> +configure_deps = $(srcdir)/configure.ac
>
>  $(srcdir)/configure: @MAINT@ $(configure_deps)
>   cd $(srcdir) && $(AUTOCONF)
> diff --git a/etc/configure.ac b/etc/configure.ac
> new file mode 100644
> index 0000000..6b94aac
> --- /dev/null
> +++ b/etc/configure.ac
> @@ -0,0 +1,27 @@
> +dnl Process this file with autoconf to produce a configure script.
> +AC_PREREQ(2.5)
> +AC_INIT(Makefile.in)
> +
> +AC_PROG_INSTALL
> +
> +# Command-line options.
> +# Very limited version of AC_MAINTAINER_MODE.
> +AC_ARG_ENABLE([maintainer-mode],
> +  [AC_HELP_STRING([--enable-maintainer-mode],
> +                 [enable make rules and dependencies not useful (and
> +                  sometimes confusing) to the casual installer])],
> +  [case ${enable_maintainer_mode} in
> +     yes) MAINT='' ;;
> +     no) MAINT='#' ;;
> +     *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;;
> +   esac
> +   maintainer_mode=${enableval}],
> +  [MAINT='#'])
> +AC_SUBST([MAINT])dnl
> +
> +AC_SUBST(datarootdir)
> +AC_SUBST(docdir)
> +AC_SUBST(htmldir)
> +AC_SUBST(pdfdir)
> +
> +AC_OUTPUT(Makefile)
> diff --git a/etc/configure.in b/etc/configure.in
> deleted file mode 100644
> index 6b94aac..0000000
> --- a/etc/configure.in
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -dnl Process this file with autoconf to produce a configure script.
> -AC_PREREQ(2.5)
> -AC_INIT(Makefile.in)
> -
> -AC_PROG_INSTALL
> -
> -# Command-line options.
> -# Very limited version of AC_MAINTAINER_MODE.
> -AC_ARG_ENABLE([maintainer-mode],
> -  [AC_HELP_STRING([--enable-maintainer-mode],
> -                 [enable make rules and dependencies not useful (and
> -                  sometimes confusing) to the casual installer])],
> -  [case ${enable_maintainer_mode} in
> -     yes) MAINT='' ;;
> -     no) MAINT='#' ;;
> -     *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;;
> -   esac
> -   maintainer_mode=${enableval}],
> -  [MAINT='#'])
> -AC_SUBST([MAINT])dnl
> -
> -AC_SUBST(datarootdir)
> -AC_SUBST(docdir)
> -AC_SUBST(htmldir)
> -AC_SUBST(pdfdir)
> -
> -AC_OUTPUT(Makefile)
> diff --git a/gas/ChangeLog b/gas/ChangeLog
> index f3a30d2..aadd723 100644
> --- a/gas/ChangeLog
> +++ b/gas/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-22  Nick Clifton  <nickc@redhat.com>
>
>   PR gas/18446
> diff --git a/gas/configure b/gas/configure
> index cb33d03..21faa93 100755
> --- a/gas/configure
> +++ b/gas/configure
> @@ -16811,7 +16811,7 @@ _LT_EOF
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
> diff --git a/gdb/ChangeLog b/gdb/ChangeLog
> index f55b9c4..58efb1f 100644
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,3 +1,10 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * acinclude.m4: Reflects renaming of configure.in to configure.ac
> + * configure: Reflects renaming of configure.in to configure.ac
> + * config/djgpp/fnchange.lst: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-22  Andrew Burgess  <andrew.burgess@embecosm.com>
>
>   * NEWS: Mention 'tui enable' and 'tui disable'.
> diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4
> index 845e65f..fee11ff 100644
> --- a/gdb/acinclude.m4
> +++ b/gdb/acinclude.m4
> @@ -12,7 +12,7 @@ sinclude(libmcheck.m4)
>  # This gets GDB_AC_TRANSFORM.
>  sinclude(transform.m4)
>
> -dnl gdb/configure.in uses BFD_NEED_DECLARATION, so get its definition.
> +dnl gdb/configure.ac uses BFD_NEED_DECLARATION, so get its definition.
>  sinclude(../bfd/bfd.m4)
>
>  dnl This gets the standard macros.
> diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst
> index c05eb2c..e7a6a23 100644
> --- a/gdb/config/djgpp/fnchange.lst
> +++ b/gdb/config/djgpp/fnchange.lst
> @@ -470,7 +470,7 @@
>  @V@/gdb/testsuite/gdb.gdbtk/c_variable.exp
> @V@/gdb/testsuite/gdb.tk/c_variable.exp
>  @V@/gdb/testsuite/gdb.gdbtk/c_variable.test
> @V@/gdb/testsuite/gdb.tk/c_variable.test
>  @V@/gdb/testsuite/gdb.gdbtk/configure @V@/gdb/testsuite/gdb.tk/configure
> -@V@/gdb/testsuite/gdb.gdbtk/configure.in @V@/gdb/testsuite/gdb.tk/configure.in
> +@V@/gdb/testsuite/gdb.gdbtk/configure.ac @V@/gdb/testsuite/gdb.tk/configure.ac
>  @V@/gdb/testsuite/gdb.gdbtk/console.exp @V@/gdb/testsuite/gdb.tk/console.exp
>  @V@/gdb/testsuite/gdb.gdbtk/console.test @V@/gdb/testsuite/gdb.tk/console.test
>  @V@/gdb/testsuite/gdb.gdbtk/cpp_variable.cc
> @V@/gdb/testsuite/gdb.tk/cpp_variable.cc
> diff --git a/gdb/configure b/gdb/configure
> index 2baf6dd..c3a7cb2 100755
> --- a/gdb/configure
> +++ b/gdb/configure
> @@ -17104,7 +17104,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
>        ac_sub_configure=$ac_srcdir/configure.gnu
>      elif test -f "$ac_srcdir/configure"; then
>        ac_sub_configure=$ac_srcdir/configure
> -    elif test -f "$ac_srcdir/configure.in"; then
> +    elif test -f "$ac_srcdir/configure.ac"; then
>        # This should be Cygnus configure.
>        ac_sub_configure=$ac_aux_dir/configure
>      else
> diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
> index 0f30c66..53a12fb 100644
> --- a/gdb/gdbserver/ChangeLog
> +++ b/gdb/gdbserver/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * acinclude.m4: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-15  Pedro Alves  <palves@redhat.com>
>
>   * target.h (target_handle_new_gdb_connection): Rewrite using if
> diff --git a/gdb/gdbserver/acinclude.m4 b/gdb/gdbserver/acinclude.m4
> index 0b86c04..ca1aebf 100644
> --- a/gdb/gdbserver/acinclude.m4
> +++ b/gdb/gdbserver/acinclude.m4
> @@ -1,4 +1,4 @@
> -dnl gdb/gdbserver/configure.in uses BFD_HAVE_SYS_PROCFS_TYPE.
> +dnl gdb/gdbserver/configure.ac uses BFD_HAVE_SYS_PROCFS_TYPE.
>  sinclude(../../bfd/bfd.m4)
>
>  sinclude(../acx_configure_dir.m4)
> diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
> index b8f514b..ccb7b33 100644
> --- a/gdb/testsuite/ChangeLog
> +++ b/gdb/testsuite/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
>
>   * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
> diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure
> index 0853e48..967b009 100755
> --- a/gdb/testsuite/configure
> +++ b/gdb/testsuite/configure
> @@ -4802,7 +4802,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
>        ac_sub_configure=$ac_srcdir/configure.gnu
>      elif test -f "$ac_srcdir/configure"; then
>        ac_sub_configure=$ac_srcdir/configure
> -    elif test -f "$ac_srcdir/configure.in"; then
> +    elif test -f "$ac_srcdir/configure.ac"; then
>        # This should be Cygnus configure.
>        ac_sub_configure=$ac_aux_dir/configure
>      else
> diff --git a/gold/ChangeLog b/gold/ChangeLog
> index 64ce33f..8b5514c 100644
> --- a/gold/ChangeLog
> +++ b/gold/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-16  Alan Modra  <amodra@gmail.com>
>
>   * reloc.cc (Sized_relobj_file::find_functions): Use function_location.
> diff --git a/gold/configure b/gold/configure
> index a005a75..eac9669 100755
> --- a/gold/configure
> +++ b/gold/configure
> @@ -9164,14 +9164,14 @@ $as_echo X"$file" |
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
>              eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
>              POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
>            else
> -            # The set of available languages was given in configure.in.
> +            # The set of available languages was given in configure.ac.
>              eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
>            fi
>            case "$ac_given_srcdir" in
> diff --git a/gprof/ChangeLog b/gprof/ChangeLog
> index 7a2087b..2817f8e 100644
> --- a/gprof/ChangeLog
> +++ b/gprof/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-04-29  Nick Clifton  <nickc@redhat.com>
>
>   * po/da.po: Update Danish translation.
> diff --git a/gprof/configure b/gprof/configure
> index 80c9aaf..cdd2e3a 100755
> --- a/gprof/configure
> +++ b/gprof/configure
> @@ -14513,14 +14513,14 @@ _LT_EOF
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
>              eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
>              POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
>            else
> -            # The set of available languages was given in configure.in.
> +            # The set of available languages was given in configure.ac.
>              eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
>            fi
>            case "$ac_given_srcdir" in
> diff --git a/intl/ChangeLog b/intl/ChangeLog
> index ea012cd..08d99d7 100644
> --- a/intl/ChangeLog
> +++ b/intl/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2010-06-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
>
>   PR bootstrap/44621
> diff --git a/intl/configure b/intl/configure
> index 34da38b..f58226d 100755
> --- a/intl/configure
> +++ b/intl/configure
> @@ -7851,14 +7851,14 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
>              eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
>              POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
>            else
> -            # The set of available languages was given in configure.in.
> +            # The set of available languages was given in configure.ac.
>              eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
>            fi
>            case "$ac_given_srcdir" in
> diff --git a/ld/ChangeLog b/ld/ChangeLog
> index 433bdd3..f84d1e0 100644
> --- a/ld/ChangeLog
> +++ b/ld/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-17  Chung-Lin Tang  <cltang@codesourcery.com>
>
>   * configure.ac (AC_PROG_GREP): Check for grep program.
> diff --git a/ld/configure b/ld/configure
> index 8b3dd7b..1249852 100755
> --- a/ld/configure
> +++ b/ld/configure
> @@ -19835,14 +19835,14 @@ _LT_EOF
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
>              eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
>              POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
>            else
> -            # The set of available languages was given in configure.in.
> +            # The set of available languages was given in configure.ac.
>              eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
>            fi
>            case "$ac_given_srcdir" in
> diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
> index ef05d2d..f37fca0 100644
> --- a/opcodes/ChangeLog
> +++ b/opcodes/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-05-18  H.J. Lu  <hongjiu.lu@intel.com>
>
>   * i386-opc.tbl: Remove Disp32 from AMD64 direct call/jmp.
> diff --git a/opcodes/configure b/opcodes/configure
> index e5048e2..3f31ff2 100755
> --- a/opcodes/configure
> +++ b/opcodes/configure
> @@ -15018,14 +15018,14 @@ _LT_EOF
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
>              eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
>              POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
>            else
> -            # The set of available languages was given in configure.in.
> +            # The set of available languages was given in configure.ac.
>              eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
>            fi
>            case "$ac_given_srcdir" in
> diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb
> index 43abd19..ba8e32b 100644
> --- a/readline/ChangeLog.gdb
> +++ b/readline/ChangeLog.gdb
> @@ -1,3 +1,11 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * INSTALL: Reflects renaming of configure.in to configure.ac
> + * MANIFEST: Reflects renaming of configure.in to configure.ac
> + * aclocal.m4: Reflects renaming of configure.in to configure.ac
> + * configure.ac: Renamed from configure.in
> +
>  2014-12-30  Eli Zaretskii  <eliz@gnu.org>
>
>   * complete.c (stat_char) [_WIN32]: Don't use 'access' and X_OK on
> diff --git a/readline/INSTALL b/readline/INSTALL
> index a0b0976..625e690 100644
> --- a/readline/INSTALL
> +++ b/readline/INSTALL
> @@ -51,10 +51,10 @@ be considered for the next release.  If at some point
>  `config.cache' contains results you don't want to keep, you may
>  remove or edit it.
>
> -The file `configure.in' is used to create `configure' by a
> -program called `autoconf'.  You only need `configure.in' if you
> +The file `configure.ac' is used to create `configure' by a
> +program called `autoconf'.  You only need `configure.ac' if you
>  want to change it or regenerate `configure' using a newer version
> -of `autoconf'.  The readline `configure.in' requires autoconf
> +of `autoconf'.  The readline `configure.ac' requires autoconf
>  version 2.50 or newer.
>
>  Compilers and Options
> diff --git a/readline/MANIFEST b/readline/MANIFEST
> index 8972bdd..ab3c223 100644
> --- a/readline/MANIFEST
> +++ b/readline/MANIFEST
> @@ -18,7 +18,7 @@ USAGE f
>  aclocal.m4 f
>  config.h.in f
>  configure f
> -configure.in f
> +configure.ac f
>  Makefile.in f
>  ansi_stdlib.h f
>  chardefs.h f
> @@ -126,7 +126,7 @@ examples/rlfe/Makefile.in f
>  examples/rlfe/README f
>  examples/rlfe/config.h.in f
>  examples/rlfe/configure f
> -examples/rlfe/configure.in f
> +examples/rlfe/configure.ac f
>  examples/rlfe/extern.h f
>  examples/rlfe/os.h f
>  examples/rlfe/pty.c f
> diff --git a/readline/aclocal.m4 b/readline/aclocal.m4
> index 716a043..6e87227 100644
> --- a/readline/aclocal.m4
> +++ b/readline/aclocal.m4
> @@ -2107,7 +2107,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
>    dnl Ideally we would do this search only after the
>    dnl      if test "$USE_NLS" = "yes"; then
>    dnl        if test "$gt_cv_func_gnugettext_libc" != "yes"; then
> -  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
> +  dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
>    dnl the configure script would need to contain the same shell code
>    dnl again, outside any 'if'. There are two solutions:
>    dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
> @@ -2329,7 +2329,7 @@ return (int) gettext ("")]ifelse([$2],
> [need-ngettext], [ + (int) ngettext ("",
>      AC_SUBST(USE_INCLUDED_LIBINTL)
>      AC_SUBST(CATOBJEXT)
>
> -    dnl For backward compatibility. Some configure.ins may be using this.
> +    dnl For backward compatibility. Some configure.acs may be using this.
>      nls_cv_header_intl=
>      nls_cv_header_libgt=
>
> @@ -2748,8 +2748,8 @@ dnl the same distribution terms as the rest of
> that program.
>  # because gettext's gettext.m4 (distributed in the automake package)
>  # still uses it.  Otherwise, the use in gettext.m4 makes autoheader
>  # give these diagnostics:
> -#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
> -#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
> +#   configure.ac:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
> +#   configure.ac:556: AC_TRY_RUN was called before AC_ISC_POSIX
>
>  undefine([AC_ISC_POSIX])
>
> @@ -3775,14 +3775,14 @@ AC_DEFUN([AM_PO_SUBDIRS],
>            if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
>              # The LINGUAS file contains the set of available languages.
>              if test -n "$OBSOLETE_ALL_LINGUAS"; then
> -              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.in is obsolete" || echo "setting ALL_LINGUAS in
> configure.in is obsolete"
> +              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
> in configure.ac is obsolete" || echo "setting ALL_LINGUAS in
> configure.ac is obsolete"
>              fi
>              ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
>              # Hide the ALL_LINGUAS assigment from automake.
>              eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
>              POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
>            else
> -            # The set of available languages was given in configure.in.
> +            # The set of available languages was given in configure.ac.
>              eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
>            fi
>            case "$ac_given_srcdir" in
> diff --git a/readline/configure.ac b/readline/configure.ac
> new file mode 100644
> index 0000000..b395af4
> --- /dev/null
> +++ b/readline/configure.ac
> @@ -0,0 +1,304 @@
> +dnl
> +dnl Configure script for readline library
> +dnl
> +dnl report bugs to chet@po.cwru.edu
> +dnl
> +dnl Process this file with autoconf to produce a configure script.
> +
> +# Copyright (C) 1987-2009 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 3 of the License, 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/>.
> +
> +AC_REVISION([for Readline 6.2, version 2.67])
> +
> +m4_include([../config/override.m4])
> +
> +AC_INIT(readline, 6.2, bug-readline@gnu.org)
> +
> +dnl make sure we are using a recent autoconf version
> +AC_PREREQ(2.50)
> +
> +AC_CONFIG_SRCDIR(readline.h)
> +dnl GDB LOCAL
> +dnl AC_CONFIG_AUX_DIR(./support)
> +AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
> +AC_CONFIG_HEADERS(config.h)
> +
> +dnl update the value of RL_READLINE_VERSION in readline.h when this changes
> +LIBVERSION=6.2
> +
> +AC_CANONICAL_HOST
> +AC_CANONICAL_BUILD
> +
> +dnl configure defaults
> +opt_curses=no
> +opt_purify=no
> +
> +dnl arguments to configure
> +AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses
> library instead of the termcap library]), opt_curses=$withval)
> +AC_ARG_WITH(purify, AC_HELP_STRING([--with-purify], [configure to
> postprocess with purify]), opt_purify=$withval)
> +
> +if test "$opt_curses" = "yes"; then
> + prefer_curses=yes
> +fi
> +
> +if test "$opt_purify" = yes; then
> + PURIFY="purify"
> +else
> + PURIFY=
> +fi
> +
> +dnl option parsing for optional features
> +opt_multibyte=yes
> +opt_static_libs=yes
> +opt_shared_libs=no
> +
> +AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable
> multibyte characters if OS supports them]), opt_multibyte=$enableval)
> +dnl AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build
> shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
> +AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static
> libraries [[default=YES]]]), opt_static_libs=$enableval)
> +
> +if test $opt_multibyte = no; then
> +AC_DEFINE(NO_MULTIBYTE_SUPPORT)
> +fi
> +
> +dnl load up the cross-building cache file -- add more cases and cache
> +dnl files as necessary
> +
> +dnl Note that host and target machine are the same, and different than the
> +dnl build machine.
> +
> +CROSS_COMPILE=
> +if test "x$cross_compiling" = "xyes"; then
> +    case "${host}" in
> +    *-cygwin*)
> +        cross_cache=${srcdir}/cross-build/cygwin.cache
> +        ;;
> +    *-mingw*)
> +        cross_cache=${srcdir}/cross-build/mingw.cache
> +        ;;
> +    i[[3456]]86-*-beos*)
> +        cross_cache=${srcdir}/cross-build/x86-beos.cache
> +        ;;
> +    *)  echo "configure: cross-compiling for $host is not supported" >&2
> +        ;;
> +    esac
> +    if test -n "${cross_cache}" && test -r "${cross_cache}"; then
> +        echo "loading cross-build cache file ${cross_cache}"
> +        . ${cross_cache}
> +    fi
> +    unset cross_cache
> +    CROSS_COMPILE='-DCROSS_COMPILING'
> +    AC_SUBST(CROSS_COMPILE)
> +fi
> +
> +echo ""
> +echo "Beginning configuration for readline-$LIBVERSION for
> ${host_cpu}-${host_vendor}-${host_os}"
> +echo ""
> +
> +# We want these before the checks, so the checks can modify their values.
> +test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
> +
> +AC_PROG_MAKE_SET
> +AC_PROG_CC
> +dnl AC_AIX
> +AC_MINIX
> +
> +# If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
> +test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O"
> +
> +AC_PROG_GCC_TRADITIONAL
> +AC_PROG_INSTALL
> +AC_CHECK_PROG(AR, ar, , ar)
> +dnl Set default for ARFLAGS, since autoconf does not have a macro for it.
> +dnl This allows people to set it when running configure or make
> +test -n "$ARFLAGS" || ARFLAGS="cr"
> +AC_PROG_RANLIB
> +
> +MAKE_SHELL=/bin/sh
> +AC_SUBST(MAKE_SHELL)
> +
> +AC_C_CONST
> +AC_C_PROTOTYPES
> +AC_C_CHAR_UNSIGNED
> +AC_C_VOLATILE
> +
> +AC_TYPE_SIGNAL
> +
> +AC_TYPE_SIZE_T
> +AC_CHECK_TYPE(ssize_t, int)
> +
> +AC_HEADER_STDC
> +
> +AC_HEADER_STAT
> +AC_HEADER_DIRENT
> +
> +AC_CHECK_FUNCS(fcntl kill lstat)
> +AC_CHECK_FUNCS(memmove putenv select setenv setlocale \
> + strcasecmp strpbrk tcgetattr vsnprintf)
> +AC_CHECK_FUNCS(isascii isxdigit)
> +AC_CHECK_FUNCS(getpwent getpwnam getpwuid)
> +
> +AC_FUNC_STRCOLL
> +
> +AC_CHECK_HEADERS(fcntl.h unistd.h stdlib.h varargs.h stdarg.h
> string.h strings.h \
> + limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h)
> +AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h)
> +
> +AC_CHECK_HEADERS(sys/ptem.h,,,
> +[[
> +#if HAVE_SYS_STREAM_H
> +#  include <sys/stream.h>
> +#endif
> +]])
> +
> +AC_SYS_LARGEFILE
> +
> +BASH_SYS_SIGNAL_VINTAGE
> +BASH_SYS_REINSTALL_SIGHANDLERS
> +
> +BASH_FUNC_POSIX_SETJMP
> +BASH_FUNC_LSTAT
> +BASH_FUNC_STRCOLL
> +BASH_FUNC_CTYPE_NONASCII
> +
> +BASH_CHECK_GETPW_FUNCS
> +
> +AC_HEADER_TIOCGWINSZ
> +
> +BASH_TYPE_SIG_ATOMIC_T
> +BASH_TYPE_SIGHANDLER
> +
> +BASH_HAVE_TIOCSTAT
> +BASH_HAVE_FIONREAD
> +BASH_CHECK_SPEED_T
> +BASH_STRUCT_WINSIZE
> +BASH_STRUCT_DIRENT_D_INO
> +BASH_STRUCT_DIRENT_D_FILENO
> +
> +dnl yuck
> +case "$host_os" in
> +aix*)   prefer_curses=yes ;;
> +esac
> +BASH_CHECK_LIB_TERMCAP
> +if test "$TERMCAP_LIB" = "./lib/termcap/libtermcap.a"; then
> + if test "$prefer_curses" = yes; then
> + TERMCAP_LIB=-lcurses
> + else
> + TERMCAP_LIB=-ltermcap #default
> + fi
> +fi
> +
> +BASH_CHECK_MULTIBYTE
> +
> +case "$host_cpu" in
> +*cray*) LOCAL_CFLAGS=-DCRAY ;;
> +*s390*) LOCAL_CFLAGS=-fsigned-char ;;
> +esac
> +
> +case "$host_os" in
> +isc*) LOCAL_CFLAGS=-Disc386 ;;
> +esac
> +
> +# shared library configuration section
> +#
> +# Shared object configuration section.  These values are generated by
> +# ${srcdir}/support/shobj-conf
> +#
> +if test -f ${srcdir}/support/shobj-conf; then
> +        AC_MSG_CHECKING(configuration for building shared libraries)
> +        eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh}
> ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os}
> -v ${host_vendor}`
> +
> +# case "$SHLIB_LIBS" in
> +# *curses*|*termcap*|*termlib*) ;;
> +# *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
> +# esac
> +
> +        AC_SUBST(SHOBJ_CC)
> +        AC_SUBST(SHOBJ_CFLAGS)
> +        AC_SUBST(SHOBJ_LD)
> +        AC_SUBST(SHOBJ_LDFLAGS)
> + AC_SUBST(SHOBJ_XLDFLAGS)
> +        AC_SUBST(SHOBJ_LIBS)
> +        AC_SUBST(SHOBJ_STATUS)
> + AC_SUBST(SHLIB_STATUS)
> + AC_SUBST(SHLIB_XLDFLAGS)
> + AC_SUBST(SHLIB_DOT)
> + AC_SUBST(SHLIB_LIBPREF)
> + AC_SUBST(SHLIB_LIBSUFF)
> + AC_SUBST(SHLIB_LIBVERSION)
> + AC_SUBST(SHLIB_DLLVERSION)
> + AC_SUBST(SHLIB_LIBS)
> +        AC_MSG_RESULT($SHLIB_STATUS)
> +
> + # SHLIB_STATUS is either `supported' or `unsupported'.  If it's
> + # `unsupported', turn off any default shared library building
> + if test "$SHLIB_STATUS" = 'unsupported'; then
> + opt_shared_libs=no
> + fi
> +
> + # shared library versioning
> + # quoted for m4 so I can use character classes
> + SHLIB_MAJOR=[`expr "$LIBVERSION" : '\([0-9]\)\..*'`]
> + SHLIB_MINOR=[`expr "$LIBVERSION" : '[0-9]\.\([0-9]\).*'`]
> + AC_SUBST(SHLIB_MAJOR)
> + AC_SUBST(SHLIB_MINOR)
> +fi
> +
> +if test "$opt_static_libs" = "yes"; then
> + STATIC_TARGET=static
> + STATIC_INSTALL_TARGET=install-static
> +fi
> +if test "$opt_shared_libs" = "yes"; then
> + SHARED_TARGET=shared
> + SHARED_INSTALL_TARGET=install-shared
> +fi
> +
> +AC_SUBST(STATIC_TARGET)
> +AC_SUBST(SHARED_TARGET)
> +AC_SUBST(STATIC_INSTALL_TARGET)
> +AC_SUBST(SHARED_INSTALL_TARGET)
> +
> +case "$build_os" in
> +msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file
> +*) BUILD_DIR=`pwd` ;;
> +esac
> +
> +case "$BUILD_DIR" in
> +*\ *) BUILD_DIR=`echo "$BUILD_DIR" | sed 's: :\\\\ :g'` ;;
> +*) ;;
> +esac
> +
> +AC_SUBST(PURIFY)
> +AC_SUBST(BUILD_DIR)
> +
> +AC_SUBST(CFLAGS)
> +AC_SUBST(LOCAL_CFLAGS)
> +AC_SUBST(LOCAL_LDFLAGS)
> +AC_SUBST(LOCAL_DEFS)
> +
> +AC_SUBST(AR)
> +AC_SUBST(ARFLAGS)
> +
> +AC_SUBST(host_cpu)
> +AC_SUBST(host_os)
> +
> +AC_SUBST(LIBVERSION)
> +
> +AC_SUBST(TERMCAP_LIB)
> +
> +AC_OUTPUT([Makefile doc/Makefile examples/Makefile shlib/Makefile],
> +[
> +# Makefile uses this timestamp file to record whether config.h is up to date.
> +echo > stamp-h
> +])
> diff --git a/readline/configure.in b/readline/configure.in
> deleted file mode 100644
> index b395af4..0000000
> --- a/readline/configure.in
> +++ /dev/null
> @@ -1,304 +0,0 @@
> -dnl
> -dnl Configure script for readline library
> -dnl
> -dnl report bugs to chet@po.cwru.edu
> -dnl
> -dnl Process this file with autoconf to produce a configure script.
> -
> -# Copyright (C) 1987-2009 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 3 of the License, 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/>.
> -
> -AC_REVISION([for Readline 6.2, version 2.67])
> -
> -m4_include([../config/override.m4])
> -
> -AC_INIT(readline, 6.2, bug-readline@gnu.org)
> -
> -dnl make sure we are using a recent autoconf version
> -AC_PREREQ(2.50)
> -
> -AC_CONFIG_SRCDIR(readline.h)
> -dnl GDB LOCAL
> -dnl AC_CONFIG_AUX_DIR(./support)
> -AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
> -AC_CONFIG_HEADERS(config.h)
> -
> -dnl update the value of RL_READLINE_VERSION in readline.h when this changes
> -LIBVERSION=6.2
> -
> -AC_CANONICAL_HOST
> -AC_CANONICAL_BUILD
> -
> -dnl configure defaults
> -opt_curses=no
> -opt_purify=no
> -
> -dnl arguments to configure
> -AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses
> library instead of the termcap library]), opt_curses=$withval)
> -AC_ARG_WITH(purify, AC_HELP_STRING([--with-purify], [configure to
> postprocess with purify]), opt_purify=$withval)
> -
> -if test "$opt_curses" = "yes"; then
> - prefer_curses=yes
> -fi
> -
> -if test "$opt_purify" = yes; then
> - PURIFY="purify"
> -else
> - PURIFY=
> -fi
> -
> -dnl option parsing for optional features
> -opt_multibyte=yes
> -opt_static_libs=yes
> -opt_shared_libs=no
> -
> -AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable
> multibyte characters if OS supports them]), opt_multibyte=$enableval)
> -dnl AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build
> shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
> -AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static
> libraries [[default=YES]]]), opt_static_libs=$enableval)
> -
> -if test $opt_multibyte = no; then
> -AC_DEFINE(NO_MULTIBYTE_SUPPORT)
> -fi
> -
> -dnl load up the cross-building cache file -- add more cases and cache
> -dnl files as necessary
> -
> -dnl Note that host and target machine are the same, and different than the
> -dnl build machine.
> -
> -CROSS_COMPILE=
> -if test "x$cross_compiling" = "xyes"; then
> -    case "${host}" in
> -    *-cygwin*)
> -        cross_cache=${srcdir}/cross-build/cygwin.cache
> -        ;;
> -    *-mingw*)
> -        cross_cache=${srcdir}/cross-build/mingw.cache
> -        ;;
> -    i[[3456]]86-*-beos*)
> -        cross_cache=${srcdir}/cross-build/x86-beos.cache
> -        ;;
> -    *)  echo "configure: cross-compiling for $host is not supported" >&2
> -        ;;
> -    esac
> -    if test -n "${cross_cache}" && test -r "${cross_cache}"; then
> -        echo "loading cross-build cache file ${cross_cache}"
> -        . ${cross_cache}
> -    fi
> -    unset cross_cache
> -    CROSS_COMPILE='-DCROSS_COMPILING'
> -    AC_SUBST(CROSS_COMPILE)
> -fi
> -
> -echo ""
> -echo "Beginning configuration for readline-$LIBVERSION for
> ${host_cpu}-${host_vendor}-${host_os}"
> -echo ""
> -
> -# We want these before the checks, so the checks can modify their values.
> -test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
> -
> -AC_PROG_MAKE_SET
> -AC_PROG_CC
> -dnl AC_AIX
> -AC_MINIX
> -
> -# If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
> -test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O"
> -
> -AC_PROG_GCC_TRADITIONAL
> -AC_PROG_INSTALL
> -AC_CHECK_PROG(AR, ar, , ar)
> -dnl Set default for ARFLAGS, since autoconf does not have a macro for it.
> -dnl This allows people to set it when running configure or make
> -test -n "$ARFLAGS" || ARFLAGS="cr"
> -AC_PROG_RANLIB
> -
> -MAKE_SHELL=/bin/sh
> -AC_SUBST(MAKE_SHELL)
> -
> -AC_C_CONST
> -AC_C_PROTOTYPES
> -AC_C_CHAR_UNSIGNED
> -AC_C_VOLATILE
> -
> -AC_TYPE_SIGNAL
> -
> -AC_TYPE_SIZE_T
> -AC_CHECK_TYPE(ssize_t, int)
> -
> -AC_HEADER_STDC
> -
> -AC_HEADER_STAT
> -AC_HEADER_DIRENT
> -
> -AC_CHECK_FUNCS(fcntl kill lstat)
> -AC_CHECK_FUNCS(memmove putenv select setenv setlocale \
> - strcasecmp strpbrk tcgetattr vsnprintf)
> -AC_CHECK_FUNCS(isascii isxdigit)
> -AC_CHECK_FUNCS(getpwent getpwnam getpwuid)
> -
> -AC_FUNC_STRCOLL
> -
> -AC_CHECK_HEADERS(fcntl.h unistd.h stdlib.h varargs.h stdarg.h
> string.h strings.h \
> - limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h)
> -AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h)
> -
> -AC_CHECK_HEADERS(sys/ptem.h,,,
> -[[
> -#if HAVE_SYS_STREAM_H
> -#  include <sys/stream.h>
> -#endif
> -]])
> -
> -AC_SYS_LARGEFILE
> -
> -BASH_SYS_SIGNAL_VINTAGE
> -BASH_SYS_REINSTALL_SIGHANDLERS
> -
> -BASH_FUNC_POSIX_SETJMP
> -BASH_FUNC_LSTAT
> -BASH_FUNC_STRCOLL
> -BASH_FUNC_CTYPE_NONASCII
> -
> -BASH_CHECK_GETPW_FUNCS
> -
> -AC_HEADER_TIOCGWINSZ
> -
> -BASH_TYPE_SIG_ATOMIC_T
> -BASH_TYPE_SIGHANDLER
> -
> -BASH_HAVE_TIOCSTAT
> -BASH_HAVE_FIONREAD
> -BASH_CHECK_SPEED_T
> -BASH_STRUCT_WINSIZE
> -BASH_STRUCT_DIRENT_D_INO
> -BASH_STRUCT_DIRENT_D_FILENO
> -
> -dnl yuck
> -case "$host_os" in
> -aix*)   prefer_curses=yes ;;
> -esac
> -BASH_CHECK_LIB_TERMCAP
> -if test "$TERMCAP_LIB" = "./lib/termcap/libtermcap.a"; then
> - if test "$prefer_curses" = yes; then
> - TERMCAP_LIB=-lcurses
> - else
> - TERMCAP_LIB=-ltermcap #default
> - fi
> -fi
> -
> -BASH_CHECK_MULTIBYTE
> -
> -case "$host_cpu" in
> -*cray*) LOCAL_CFLAGS=-DCRAY ;;
> -*s390*) LOCAL_CFLAGS=-fsigned-char ;;
> -esac
> -
> -case "$host_os" in
> -isc*) LOCAL_CFLAGS=-Disc386 ;;
> -esac
> -
> -# shared library configuration section
> -#
> -# Shared object configuration section.  These values are generated by
> -# ${srcdir}/support/shobj-conf
> -#
> -if test -f ${srcdir}/support/shobj-conf; then
> -        AC_MSG_CHECKING(configuration for building shared libraries)
> -        eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh}
> ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os}
> -v ${host_vendor}`
> -
> -# case "$SHLIB_LIBS" in
> -# *curses*|*termcap*|*termlib*) ;;
> -# *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
> -# esac
> -
> -        AC_SUBST(SHOBJ_CC)
> -        AC_SUBST(SHOBJ_CFLAGS)
> -        AC_SUBST(SHOBJ_LD)
> -        AC_SUBST(SHOBJ_LDFLAGS)
> - AC_SUBST(SHOBJ_XLDFLAGS)
> -        AC_SUBST(SHOBJ_LIBS)
> -        AC_SUBST(SHOBJ_STATUS)
> - AC_SUBST(SHLIB_STATUS)
> - AC_SUBST(SHLIB_XLDFLAGS)
> - AC_SUBST(SHLIB_DOT)
> - AC_SUBST(SHLIB_LIBPREF)
> - AC_SUBST(SHLIB_LIBSUFF)
> - AC_SUBST(SHLIB_LIBVERSION)
> - AC_SUBST(SHLIB_DLLVERSION)
> - AC_SUBST(SHLIB_LIBS)
> -        AC_MSG_RESULT($SHLIB_STATUS)
> -
> - # SHLIB_STATUS is either `supported' or `unsupported'.  If it's
> - # `unsupported', turn off any default shared library building
> - if test "$SHLIB_STATUS" = 'unsupported'; then
> - opt_shared_libs=no
> - fi
> -
> - # shared library versioning
> - # quoted for m4 so I can use character classes
> - SHLIB_MAJOR=[`expr "$LIBVERSION" : '\([0-9]\)\..*'`]
> - SHLIB_MINOR=[`expr "$LIBVERSION" : '[0-9]\.\([0-9]\).*'`]
> - AC_SUBST(SHLIB_MAJOR)
> - AC_SUBST(SHLIB_MINOR)
> -fi
> -
> -if test "$opt_static_libs" = "yes"; then
> - STATIC_TARGET=static
> - STATIC_INSTALL_TARGET=install-static
> -fi
> -if test "$opt_shared_libs" = "yes"; then
> - SHARED_TARGET=shared
> - SHARED_INSTALL_TARGET=install-shared
> -fi
> -
> -AC_SUBST(STATIC_TARGET)
> -AC_SUBST(SHARED_TARGET)
> -AC_SUBST(STATIC_INSTALL_TARGET)
> -AC_SUBST(SHARED_INSTALL_TARGET)
> -
> -case "$build_os" in
> -msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file
> -*) BUILD_DIR=`pwd` ;;
> -esac
> -
> -case "$BUILD_DIR" in
> -*\ *) BUILD_DIR=`echo "$BUILD_DIR" | sed 's: :\\\\ :g'` ;;
> -*) ;;
> -esac
> -
> -AC_SUBST(PURIFY)
> -AC_SUBST(BUILD_DIR)
> -
> -AC_SUBST(CFLAGS)
> -AC_SUBST(LOCAL_CFLAGS)
> -AC_SUBST(LOCAL_LDFLAGS)
> -AC_SUBST(LOCAL_DEFS)
> -
> -AC_SUBST(AR)
> -AC_SUBST(ARFLAGS)
> -
> -AC_SUBST(host_cpu)
> -AC_SUBST(host_os)
> -
> -AC_SUBST(LIBVERSION)
> -
> -AC_SUBST(TERMCAP_LIB)
> -
> -AC_OUTPUT([Makefile doc/Makefile examples/Makefile shlib/Makefile],
> -[
> -# Makefile uses this timestamp file to record whether config.h is up to date.
> -echo > stamp-h
> -])
> diff --git a/readline/examples/rlfe/ChangeLog b/readline/examples/rlfe/ChangeLog
> index ba41b2b..663dcb9 100644
> --- a/readline/examples/rlfe/ChangeLog
> +++ b/readline/examples/rlfe/ChangeLog
> @@ -1,3 +1,9 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * Makefile.in: Reflects renaming of configure.in to configure.ac
> + * configure.ac: Renamed from configure.in
> +
>  2004-11-04  Per Bothner  <per@bothner.com>
>
>   * pty.c:  Import from screen-4.0.2.
> diff --git a/readline/examples/rlfe/Makefile.in
> b/readline/examples/rlfe/Makefile.in
> index 7d6fd53..702915c 100644
> --- a/readline/examples/rlfe/Makefile.in
> +++ b/readline/examples/rlfe/Makefile.in
> @@ -43,7 +43,7 @@ SHELL=/bin/sh
>
>  CFILES= rlfe.c pty.c
>  HFILES= extern.h os.h screen.h
> -EXTRA_DIST=configure.in configure Makefile.in config.h.in ChangeLog README
> +EXTRA_DIST=configure.ac configure Makefile.in config.h.in ChangeLog README
>  OFILES= rlfe.o pty.o
>
>  all: rlfe
> @@ -175,7 +175,7 @@ Makefile makefile: config.status $(srcdir)/Makefile.in
>  config.status: $(srcdir)/configure
>   $(SHELL) ./config.status --recheck
>
> -$(srcdir)/configure: $(srcdir)/configure.in
> +$(srcdir)/configure: $(srcdir)/configure.ac
>   cd $(srcdir) && autoconf
>
>  ###############################################################################
> diff --git a/readline/examples/rlfe/configure.ac
> b/readline/examples/rlfe/configure.ac
> new file mode 100644
> index 0000000..108cd3f
> --- /dev/null
> +++ b/readline/examples/rlfe/configure.ac
> @@ -0,0 +1,442 @@
> +dnl Process this file with autoconf to produce a configure script.
> +
> +m4_include([../../../config/override.m4])
> +
> +AC_INIT(rlfe.c)
> +AC_CONFIG_HEADER(config.h)
> +VERSION=0.4
> +AC_SUBST(VERSION)
> +
> +dnl
> +dnl Define some useful macros
> +dnl
> +AC_DEFUN([AC_PROGRAM_SOURCE],
> +[AC_REQUIRE([AC_PROG_CPP])AC_PROVIDE([$0])cat > conftest.c <<EOF
> +#include "confdefs.h"
> +[$1]
> +_CUT_HERE_
> +[$2]
> +EOF
> +eval "$ac_cpp conftest.c 2>&5 | sed -e '1,/_CUT_HERE_/d' -e 's/ //g'
>> conftest.out"
> +. ./conftest.out
> +rm -f conftest*
> +])dnl
> +dnl
> +define(AC_NOTE,
> +[echo "$1" 1>&AC_FD_MSG
> +])dnl
> +
> +old_CFLAGS="$CFLAGS"
> +AC_PROG_CC
> +AC_PROG_CPP
> +AC_PROG_GCC_TRADITIONAL
> +AC_ISC_POSIX
> +
> +AC_TRY_RUN(main(){exit(0);},,[
> +if test $CC != cc ; then
> +AC_NOTE(Your $CC failed - restarting with CC=cc)
> +AC_NOTE()
> +CC=cc
> +export CC
> +exec $0 $configure_args
> +fi
> +])
> +
> +AC_TRY_RUN(main(){exit(0);},,
> +exec 5>&2
> +eval $ac_link
> +AC_NOTE(CC=$CC; CFLAGS=$CFLAGS; LIBS=$LIBS;)
> +AC_NOTE($ac_compile)
> +AC_MSG_ERROR(Can't run the compiler - sorry))
> +
> +AC_TRY_RUN([
> +main()
> +{
> +  int __something_strange_();
> +  __something_strange_(0);
> +}
> +],AC_MSG_ERROR(Your compiler does not set the exit status - sorry))
> +
> +AC_PROG_AWK
> +
> +if test -f etc/toolcheck; then
> +AC_CHECKING(for buggy tools)
> +sh etc/toolcheck 1>&AC_FD_MSG
> +fi
> +
> +dnl
> +dnl    ****  special unix variants  ****
> +dnl
> +
> +AC_CHECKING(for System V)
> +AC_TRY_COMPILE(
> +[#include <sys/types.h>
> +#include <signal.h>
> +#include <fcntl.h>], [int x = SIGCHLD | FNDELAY;], , AC_DEFINE(SYSV))
> +
> +AC_CHECKING(for Solaris 2.x)
> +AC_EGREP_CPP(yes,
> +[#if defined(SVR4) && defined(sun)
> +  yes
> +#endif
> +], LIBS="$LIBS -lsocket -lnsl -lkstat")
> +
> +dnl
> +dnl    ****  select()  ****
> +dnl
> +
> +AC_CHECKING(select)
> +AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],,
> +LIBS="$LIBS -lnet -lnsl"
> +AC_CHECKING(select with $LIBS)
> +AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],,
> +AC_MSG_ERROR(!!! no select - no screen))
> +)
> +dnl
> +dnl    ****  check the select implementation ****
> +dnl
> +
> +AC_CHECKING(select return value)
> +AC_TRY_RUN([
> +#include <sys/types.h>
> +#include <sys/stat.h>
> +#include <fcntl.h>
> +
> +char *nam = "/tmp/conftest$$";
> +
> +#ifdef NAMEDPIPE
> +
> +#ifndef O_NONBLOCK
> +#define O_NONBLOCK O_NDELAY
> +#endif
> +#ifndef S_IFIFO
> +#define S_IFIFO 0010000
> +#endif
> +
> +
> +main()
> +{
> +#ifdef FD_SET
> +  fd_set f;
> +#else
> +  int f;
> +#endif
> +
> +#ifdef __FreeBSD__
> +/* From Andrew A. Chernov (ache@astral.msk.su):
> + * opening RDWR fifo fails in BSD 4.4, but select return values are
> + * right.
> + */
> +  exit(0);
> +#endif
> +  (void)alarm(5);
> +#ifdef POSIX
> +  if (mkfifo(nam, 0777))
> +#else
> +  if (mknod(nam, S_IFIFO|0777, 0))
> +#endif
> +    exit(1);
> +  close(0);
> +  if (open(nam, O_RDWR | O_NONBLOCK))
> +    exit(1);
> +  if (write(0, "TEST", 4) == -1)
> +    exit(1);
> +
> +#else
> +
> +#include <sys/types.h>
> +#include <sys/socket.h>
> +#include <sys/un.h>
> +
> +main()
> +{
> +  int s1, s2, l;
> +  struct sockaddr_un a;
> +#ifdef FD_SET
> +  fd_set f;
> +#else
> +  int f;
> +#endif
> +
> +  (void)alarm(5);
> +  if ((s1 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
> +    exit(1);
> +  a.sun_family = AF_UNIX;
> +  strcpy(a.sun_path, nam);
> +  (void) unlink(nam);
> +  if (bind(s1, (struct sockaddr *) &a, strlen(nam)+2) == -1)
> +    exit(1);
> +  if (listen(s1, 2))
> +    exit(1);
> +  if (fork() == 0)
> +    {
> +      if ((s2 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
> + kill(getppid(), 3);
> +      (void)connect(s2, (struct sockaddr *)&a, strlen(nam) + 2);
> +      if (write(s2, "HELLO", 5) == -1)
> + kill(getppid(), 3);
> +      exit(0);
> +    }
> +  l = sizeof(a);
> +  close(0);
> +  if (accept(s1, (struct sockaddr *)&a, &l))
> +    exit(1);
> +#endif
> +
> +
> +#ifdef FD_SET
> +  FD_SET(0, &f);
> +#else
> +  f = 1;
> +#endif
> +  if (select(1, &f, 0, 0, 0) == -1)
> +    exit(1);
> +  if (select(1, &f, &f, 0, 0) != 2)
> +    exit(1);
> +  exit(0);
> +}
> +],AC_NOTE(- select is ok),
> +AC_NOTE(- select can't count) AC_DEFINE(SELECT_BROKEN))
> +
> +dnl
> +dnl    ****  termcap or terminfo  ****
> +dnl
> +AC_CHECKING(for tgetent)
> +AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
> +olibs="$LIBS"
> +LIBS="-lcurses $olibs"
> +AC_CHECKING(libcurses)
> +AC_TRY_LINK(,[
> +#ifdef __hpux
> +__sorry_hpux_libcurses_is_totally_broken_in_10_10();
> +#else
> +tgetent((char *)0, (char *)0);
> +#endif
> +],,
> +LIBS="-ltermcap $olibs"
> +AC_CHECKING(libtermcap)
> +AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
> +LIBS="-ltermlib $olibs"
> +AC_CHECKING(libtermlib)
> +AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
> +LIBS="-lncurses $olibs"
> +AC_CHECKING(libncurses)
> +AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
> +AC_MSG_ERROR(!!! no tgetent - no screen))))))
> +
> +AC_TRY_RUN([
> +main()
> +{
> + exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
> +}], AC_NOTE(- you use the termcap database),
> +AC_NOTE(- you use the terminfo database) AC_DEFINE(TERMINFO))
> +AC_CHECKING(ospeed)
> +AC_TRY_LINK(extern short ospeed;,ospeed=5;,,AC_DEFINE(NEED_OSPEED))
> +
> +dnl
> +dnl    ****  PTY specific things  ****
> +dnl
> +AC_CHECKING(for /dev/ptc)
> +if test -r /dev/ptc; then
> +AC_DEFINE(HAVE_DEV_PTC)
> +fi
> +
> +AC_CHECKING(for SVR4 ptys)
> +sysvr4ptys=
> +if test -c /dev/ptmx ; then
> +AC_TRY_LINK([],[ptsname(0);grantpt(0);unlockpt(0);],[AC_DEFINE(HAVE_SVR4_PTYS)
> +sysvr4ptys=1])
> +fi
> +
> +AC_CHECK_FUNCS(getpt)
> +
> +dnl check for openpty()
> +if test -z "$sysvr4ptys"; then
> +AC_CHECK_FUNCS(openpty,,
> +[AC_CHECK_LIB(util,openpty, [AC_DEFINE(HAVE_OPENPTY)] [LIBS="$LIBS -lutil"])])
> +fi
> +
> +AC_CHECKING(for ptyranges)
> +if test -d /dev/ptym ; then
> +pdir='/dev/ptym'
> +else
> +pdir='/dev'
> +fi
> +dnl SCO uses ptyp%d
> +AC_EGREP_CPP(yes,
> +[#ifdef M_UNIX
> +   yes;
> +#endif
> +], ptys=`echo /dev/ptyp??`, ptys=`echo $pdir/pty??`)
> +dnl if test -c /dev/ptyp19; then
> +dnl ptys=`echo /dev/ptyp??`
> +dnl else
> +dnl ptys=`echo $pdir/pty??`
> +dnl fi
> +if test "$ptys" != "$pdir/pty??" ; then
> +p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u
> | tr -d '\012'`
> +p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g'  | sort -u
> | tr -d '\012'`
> +AC_DEFINE_UNQUOTED(PTYRANGE0,"$p0")
> +AC_DEFINE_UNQUOTED(PTYRANGE1,"$p1")
> +fi
> +
> +dnl    ****  pty mode/group handling ****
> +dnl
> +dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
> +AC_ARG_WITH(pty-mode, [  --with-pty-mode=mode    default mode for
> ptys], [ ptymode="${withval}" ])
> +AC_ARG_WITH(pty-group, [  --with-pty-group=group  default group for
> ptys], [ ptygrp="${withval}" ])
> +test -n "$ptymode" || ptymode=0620
> +if test -n "$ptygrp" ; then
> +AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
> +AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
> +else
> +
> +AC_CHECKING(default tty permissions/group)
> +rm -f conftest_grp
> +AC_TRY_RUN([
> +#include <sys/types.h>
> +#include <sys/stat.h>
> +#include <stdio.h>
> +main()
> +{
> +  struct stat sb;
> +  char *x,*ttyname();
> +  int om, m;
> +  FILE *fp;
> +
> +  if (!(x = ttyname(0))) exit(1);
> +  if (stat(x, &sb)) exit(1);
> +  om = sb.st_mode;
> +  if (om & 002) exit(0);
> +  m = system("mesg y");
> +  if (m == -1 || m == 127) exit(1);
> +  if (stat(x, &sb)) exit(1);
> +  m = sb.st_mode;
> +  if (chmod(x, om)) exit(1);
> +  if (m & 002) exit(0);
> +  if (sb.st_gid == getgid()) exit(1);
> +  if (!(fp=fopen("conftest_grp", "w")))
> +    exit(1);
> +  fprintf(fp, "%d\n", sb.st_gid);
> +  fclose(fp);
> +  exit(0);
> +}
> +],[
> +    if test -f conftest_grp; then
> + ptygrp=`cat conftest_grp`
> + AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
> + AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
> + AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
> +    else
> + AC_NOTE(- ptys are world accessable)
> +    fi
> +],[
> +    WRITEPATH=''
> +    XTERMPATH=''
> +    AC_PATH_PROG(WRITEPATH, write)
> +    AC_PATH_PROG(XTERMPATH, xterm)
> +    found=
> +    if test -n "$WRITEPATH$XTERMPATH"; then
> +      findfollow=
> +      lsfollow=
> +      found=`find $WRITEPATH $XTERMPATH -follow -print 2>/dev/null`
> +      if test -n "$found"; then
> + findfollow=-follow
> + lsfollow=L
> +      fi
> +      if test -n "$XTERMPATH"; then
> + ptygrpn=`ls -l$lsfollow $XTERMPATH | sed -n -e 1p | $AWK '{print $4}'`
> + if test tty != "$ptygrpn"; then
> +  XTERMPATH=
> + fi
> +      fi
> +    fi
> +    if test -n "$WRITEPATH$XTERMPATH"; then
> +      found=`find $WRITEPATH $XTERMPATH $findfollow -perm -2000 -print`
> +      if test -n "$found"; then
> + ptygrp=`ls -ln$lsfollow $found | sed -n -e 1p | $AWK '{print $4}'`
> + AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
> + AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
> + AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
> +      else
> + AC_NOTE(- ptys are world accessable)
> +      fi
> +    else
> +      AC_NOTE(- can't determine - assume ptys are world accessable)
> +    fi
> +  ]
> +)
> +rm -f conftest_grp
> +fi
> +
> +dnl
> +dnl    ****  signal handling  ****
> +dnl
> +if test -n "$posix" ; then
> +
> +dnl POSIX has reliable signals with void return type.
> +AC_NOTE(assuming posix signal definition)
> +AC_DEFINE(SIGVOID)
> +
> +else
> +
> +AC_CHECKING(return type of signal handlers)
> +AC_TRY_COMPILE(
> +[#include <sys/types.h>
> +#include <signal.h>
> +#ifdef signal
> +#undef signal
> +#endif
> +extern void (*signal ()) ();], [int i;], AC_DEFINE(SIGVOID))
> +AC_CHECKING(sigset)
> +AC_TRY_LINK([
> +#include <sys/types.h>
> +#include <signal.h>
> +],[
> +#ifdef SIGVOID
> +sigset(0, (void (*)())0);
> +#else
> +sigset(0, (int (*)())0);
> +#endif
> +], AC_DEFINE(USESIGSET))
> +AC_CHECKING(signal implementation)
> +AC_TRY_RUN([
> +#include <sys/types.h>
> +#include <signal.h>
> +
> +#ifndef SIGCLD
> +#define SIGCLD SIGCHLD
> +#endif
> +#ifdef USESIGSET
> +#define signal sigset
> +#endif
> +
> +int got;
> +
> +#ifdef SIGVOID
> +void
> +#endif
> +hand()
> +{
> +  got++;
> +}
> +
> +main()
> +{
> +  /* on hpux we use sigvec to get bsd signals */
> +#ifdef __hpux
> +  (void)signal(SIGCLD, hand);
> +  kill(getpid(), SIGCLD);
> +  kill(getpid(), SIGCLD);
> +  if (got < 2)
> +    exit(1);
> +#endif
> +  exit(0);
> +}
> +],,AC_DEFINE(SYSVSIGS))
> +
> +fi
> +
> +AC_CHECK_HEADERS(sys/stropts.h sys/wait.h)
> +
> +AC_OUTPUT(Makefile)
> diff --git a/readline/examples/rlfe/configure.in
> b/readline/examples/rlfe/configure.in
> deleted file mode 100644
> index 108cd3f..0000000
> --- a/readline/examples/rlfe/configure.in
> +++ /dev/null
> @@ -1,442 +0,0 @@
> -dnl Process this file with autoconf to produce a configure script.
> -
> -m4_include([../../../config/override.m4])
> -
> -AC_INIT(rlfe.c)
> -AC_CONFIG_HEADER(config.h)
> -VERSION=0.4
> -AC_SUBST(VERSION)
> -
> -dnl
> -dnl Define some useful macros
> -dnl
> -AC_DEFUN([AC_PROGRAM_SOURCE],
> -[AC_REQUIRE([AC_PROG_CPP])AC_PROVIDE([$0])cat > conftest.c <<EOF
> -#include "confdefs.h"
> -[$1]
> -_CUT_HERE_
> -[$2]
> -EOF
> -eval "$ac_cpp conftest.c 2>&5 | sed -e '1,/_CUT_HERE_/d' -e 's/ //g'
>> conftest.out"
> -. ./conftest.out
> -rm -f conftest*
> -])dnl
> -dnl
> -define(AC_NOTE,
> -[echo "$1" 1>&AC_FD_MSG
> -])dnl
> -
> -old_CFLAGS="$CFLAGS"
> -AC_PROG_CC
> -AC_PROG_CPP
> -AC_PROG_GCC_TRADITIONAL
> -AC_ISC_POSIX
> -
> -AC_TRY_RUN(main(){exit(0);},,[
> -if test $CC != cc ; then
> -AC_NOTE(Your $CC failed - restarting with CC=cc)
> -AC_NOTE()
> -CC=cc
> -export CC
> -exec $0 $configure_args
> -fi
> -])
> -
> -AC_TRY_RUN(main(){exit(0);},,
> -exec 5>&2
> -eval $ac_link
> -AC_NOTE(CC=$CC; CFLAGS=$CFLAGS; LIBS=$LIBS;)
> -AC_NOTE($ac_compile)
> -AC_MSG_ERROR(Can't run the compiler - sorry))
> -
> -AC_TRY_RUN([
> -main()
> -{
> -  int __something_strange_();
> -  __something_strange_(0);
> -}
> -],AC_MSG_ERROR(Your compiler does not set the exit status - sorry))
> -
> -AC_PROG_AWK
> -
> -if test -f etc/toolcheck; then
> -AC_CHECKING(for buggy tools)
> -sh etc/toolcheck 1>&AC_FD_MSG
> -fi
> -
> -dnl
> -dnl    ****  special unix variants  ****
> -dnl
> -
> -AC_CHECKING(for System V)
> -AC_TRY_COMPILE(
> -[#include <sys/types.h>
> -#include <signal.h>
> -#include <fcntl.h>], [int x = SIGCHLD | FNDELAY;], , AC_DEFINE(SYSV))
> -
> -AC_CHECKING(for Solaris 2.x)
> -AC_EGREP_CPP(yes,
> -[#if defined(SVR4) && defined(sun)
> -  yes
> -#endif
> -], LIBS="$LIBS -lsocket -lnsl -lkstat")
> -
> -dnl
> -dnl    ****  select()  ****
> -dnl
> -
> -AC_CHECKING(select)
> -AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],,
> -LIBS="$LIBS -lnet -lnsl"
> -AC_CHECKING(select with $LIBS)
> -AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],,
> -AC_MSG_ERROR(!!! no select - no screen))
> -)
> -dnl
> -dnl    ****  check the select implementation ****
> -dnl
> -
> -AC_CHECKING(select return value)
> -AC_TRY_RUN([
> -#include <sys/types.h>
> -#include <sys/stat.h>
> -#include <fcntl.h>
> -
> -char *nam = "/tmp/conftest$$";
> -
> -#ifdef NAMEDPIPE
> -
> -#ifndef O_NONBLOCK
> -#define O_NONBLOCK O_NDELAY
> -#endif
> -#ifndef S_IFIFO
> -#define S_IFIFO 0010000
> -#endif
> -
> -
> -main()
> -{
> -#ifdef FD_SET
> -  fd_set f;
> -#else
> -  int f;
> -#endif
> -
> -#ifdef __FreeBSD__
> -/* From Andrew A. Chernov (ache@astral.msk.su):
> - * opening RDWR fifo fails in BSD 4.4, but select return values are
> - * right.
> - */
> -  exit(0);
> -#endif
> -  (void)alarm(5);
> -#ifdef POSIX
> -  if (mkfifo(nam, 0777))
> -#else
> -  if (mknod(nam, S_IFIFO|0777, 0))
> -#endif
> -    exit(1);
> -  close(0);
> -  if (open(nam, O_RDWR | O_NONBLOCK))
> -    exit(1);
> -  if (write(0, "TEST", 4) == -1)
> -    exit(1);
> -
> -#else
> -
> -#include <sys/types.h>
> -#include <sys/socket.h>
> -#include <sys/un.h>
> -
> -main()
> -{
> -  int s1, s2, l;
> -  struct sockaddr_un a;
> -#ifdef FD_SET
> -  fd_set f;
> -#else
> -  int f;
> -#endif
> -
> -  (void)alarm(5);
> -  if ((s1 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
> -    exit(1);
> -  a.sun_family = AF_UNIX;
> -  strcpy(a.sun_path, nam);
> -  (void) unlink(nam);
> -  if (bind(s1, (struct sockaddr *) &a, strlen(nam)+2) == -1)
> -    exit(1);
> -  if (listen(s1, 2))
> -    exit(1);
> -  if (fork() == 0)
> -    {
> -      if ((s2 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
> - kill(getppid(), 3);
> -      (void)connect(s2, (struct sockaddr *)&a, strlen(nam) + 2);
> -      if (write(s2, "HELLO", 5) == -1)
> - kill(getppid(), 3);
> -      exit(0);
> -    }
> -  l = sizeof(a);
> -  close(0);
> -  if (accept(s1, (struct sockaddr *)&a, &l))
> -    exit(1);
> -#endif
> -
> -
> -#ifdef FD_SET
> -  FD_SET(0, &f);
> -#else
> -  f = 1;
> -#endif
> -  if (select(1, &f, 0, 0, 0) == -1)
> -    exit(1);
> -  if (select(1, &f, &f, 0, 0) != 2)
> -    exit(1);
> -  exit(0);
> -}
> -],AC_NOTE(- select is ok),
> -AC_NOTE(- select can't count) AC_DEFINE(SELECT_BROKEN))
> -
> -dnl
> -dnl    ****  termcap or terminfo  ****
> -dnl
> -AC_CHECKING(for tgetent)
> -AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
> -olibs="$LIBS"
> -LIBS="-lcurses $olibs"
> -AC_CHECKING(libcurses)
> -AC_TRY_LINK(,[
> -#ifdef __hpux
> -__sorry_hpux_libcurses_is_totally_broken_in_10_10();
> -#else
> -tgetent((char *)0, (char *)0);
> -#endif
> -],,
> -LIBS="-ltermcap $olibs"
> -AC_CHECKING(libtermcap)
> -AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
> -LIBS="-ltermlib $olibs"
> -AC_CHECKING(libtermlib)
> -AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
> -LIBS="-lncurses $olibs"
> -AC_CHECKING(libncurses)
> -AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
> -AC_MSG_ERROR(!!! no tgetent - no screen))))))
> -
> -AC_TRY_RUN([
> -main()
> -{
> - exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
> -}], AC_NOTE(- you use the termcap database),
> -AC_NOTE(- you use the terminfo database) AC_DEFINE(TERMINFO))
> -AC_CHECKING(ospeed)
> -AC_TRY_LINK(extern short ospeed;,ospeed=5;,,AC_DEFINE(NEED_OSPEED))
> -
> -dnl
> -dnl    ****  PTY specific things  ****
> -dnl
> -AC_CHECKING(for /dev/ptc)
> -if test -r /dev/ptc; then
> -AC_DEFINE(HAVE_DEV_PTC)
> -fi
> -
> -AC_CHECKING(for SVR4 ptys)
> -sysvr4ptys=
> -if test -c /dev/ptmx ; then
> -AC_TRY_LINK([],[ptsname(0);grantpt(0);unlockpt(0);],[AC_DEFINE(HAVE_SVR4_PTYS)
> -sysvr4ptys=1])
> -fi
> -
> -AC_CHECK_FUNCS(getpt)
> -
> -dnl check for openpty()
> -if test -z "$sysvr4ptys"; then
> -AC_CHECK_FUNCS(openpty,,
> -[AC_CHECK_LIB(util,openpty, [AC_DEFINE(HAVE_OPENPTY)] [LIBS="$LIBS -lutil"])])
> -fi
> -
> -AC_CHECKING(for ptyranges)
> -if test -d /dev/ptym ; then
> -pdir='/dev/ptym'
> -else
> -pdir='/dev'
> -fi
> -dnl SCO uses ptyp%d
> -AC_EGREP_CPP(yes,
> -[#ifdef M_UNIX
> -   yes;
> -#endif
> -], ptys=`echo /dev/ptyp??`, ptys=`echo $pdir/pty??`)
> -dnl if test -c /dev/ptyp19; then
> -dnl ptys=`echo /dev/ptyp??`
> -dnl else
> -dnl ptys=`echo $pdir/pty??`
> -dnl fi
> -if test "$ptys" != "$pdir/pty??" ; then
> -p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u
> | tr -d '\012'`
> -p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g'  | sort -u
> | tr -d '\012'`
> -AC_DEFINE_UNQUOTED(PTYRANGE0,"$p0")
> -AC_DEFINE_UNQUOTED(PTYRANGE1,"$p1")
> -fi
> -
> -dnl    ****  pty mode/group handling ****
> -dnl
> -dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
> -AC_ARG_WITH(pty-mode, [  --with-pty-mode=mode    default mode for
> ptys], [ ptymode="${withval}" ])
> -AC_ARG_WITH(pty-group, [  --with-pty-group=group  default group for
> ptys], [ ptygrp="${withval}" ])
> -test -n "$ptymode" || ptymode=0620
> -if test -n "$ptygrp" ; then
> -AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
> -AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
> -else
> -
> -AC_CHECKING(default tty permissions/group)
> -rm -f conftest_grp
> -AC_TRY_RUN([
> -#include <sys/types.h>
> -#include <sys/stat.h>
> -#include <stdio.h>
> -main()
> -{
> -  struct stat sb;
> -  char *x,*ttyname();
> -  int om, m;
> -  FILE *fp;
> -
> -  if (!(x = ttyname(0))) exit(1);
> -  if (stat(x, &sb)) exit(1);
> -  om = sb.st_mode;
> -  if (om & 002) exit(0);
> -  m = system("mesg y");
> -  if (m == -1 || m == 127) exit(1);
> -  if (stat(x, &sb)) exit(1);
> -  m = sb.st_mode;
> -  if (chmod(x, om)) exit(1);
> -  if (m & 002) exit(0);
> -  if (sb.st_gid == getgid()) exit(1);
> -  if (!(fp=fopen("conftest_grp", "w")))
> -    exit(1);
> -  fprintf(fp, "%d\n", sb.st_gid);
> -  fclose(fp);
> -  exit(0);
> -}
> -],[
> -    if test -f conftest_grp; then
> - ptygrp=`cat conftest_grp`
> - AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
> - AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
> - AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
> -    else
> - AC_NOTE(- ptys are world accessable)
> -    fi
> -],[
> -    WRITEPATH=''
> -    XTERMPATH=''
> -    AC_PATH_PROG(WRITEPATH, write)
> -    AC_PATH_PROG(XTERMPATH, xterm)
> -    found=
> -    if test -n "$WRITEPATH$XTERMPATH"; then
> -      findfollow=
> -      lsfollow=
> -      found=`find $WRITEPATH $XTERMPATH -follow -print 2>/dev/null`
> -      if test -n "$found"; then
> - findfollow=-follow
> - lsfollow=L
> -      fi
> -      if test -n "$XTERMPATH"; then
> - ptygrpn=`ls -l$lsfollow $XTERMPATH | sed -n -e 1p | $AWK '{print $4}'`
> - if test tty != "$ptygrpn"; then
> -  XTERMPATH=
> - fi
> -      fi
> -    fi
> -    if test -n "$WRITEPATH$XTERMPATH"; then
> -      found=`find $WRITEPATH $XTERMPATH $findfollow -perm -2000 -print`
> -      if test -n "$found"; then
> - ptygrp=`ls -ln$lsfollow $found | sed -n -e 1p | $AWK '{print $4}'`
> - AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
> - AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
> - AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
> -      else
> - AC_NOTE(- ptys are world accessable)
> -      fi
> -    else
> -      AC_NOTE(- can't determine - assume ptys are world accessable)
> -    fi
> -  ]
> -)
> -rm -f conftest_grp
> -fi
> -
> -dnl
> -dnl    ****  signal handling  ****
> -dnl
> -if test -n "$posix" ; then
> -
> -dnl POSIX has reliable signals with void return type.
> -AC_NOTE(assuming posix signal definition)
> -AC_DEFINE(SIGVOID)
> -
> -else
> -
> -AC_CHECKING(return type of signal handlers)
> -AC_TRY_COMPILE(
> -[#include <sys/types.h>
> -#include <signal.h>
> -#ifdef signal
> -#undef signal
> -#endif
> -extern void (*signal ()) ();], [int i;], AC_DEFINE(SIGVOID))
> -AC_CHECKING(sigset)
> -AC_TRY_LINK([
> -#include <sys/types.h>
> -#include <signal.h>
> -],[
> -#ifdef SIGVOID
> -sigset(0, (void (*)())0);
> -#else
> -sigset(0, (int (*)())0);
> -#endif
> -], AC_DEFINE(USESIGSET))
> -AC_CHECKING(signal implementation)
> -AC_TRY_RUN([
> -#include <sys/types.h>
> -#include <signal.h>
> -
> -#ifndef SIGCLD
> -#define SIGCLD SIGCHLD
> -#endif
> -#ifdef USESIGSET
> -#define signal sigset
> -#endif
> -
> -int got;
> -
> -#ifdef SIGVOID
> -void
> -#endif
> -hand()
> -{
> -  got++;
> -}
> -
> -main()
> -{
> -  /* on hpux we use sigvec to get bsd signals */
> -#ifdef __hpux
> -  (void)signal(SIGCLD, hand);
> -  kill(getpid(), SIGCLD);
> -  kill(getpid(), SIGCLD);
> -  if (got < 2)
> -    exit(1);
> -#endif
> -  exit(0);
> -}
> -],,AC_DEFINE(SYSVSIGS))
> -
> -fi
> -
> -AC_CHECK_HEADERS(sys/stropts.h sys/wait.h)
> -
> -AC_OUTPUT(Makefile)
> diff --git a/sim/ChangeLog b/sim/ChangeLog
> index 0c0dcd6..6ff0d4b 100644
> --- a/sim/ChangeLog
> +++ b/sim/ChangeLog
> @@ -1,3 +1,9 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * README-HACKING: Reflects renaming of configure.in to configure.ac
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
>
>   * arm/configure: Regenerated.
> diff --git a/sim/README-HACKING b/sim/README-HACKING
> index 0a6bbe2..188ca3c 100644
> --- a/sim/README-HACKING
> +++ b/sim/README-HACKING
> @@ -31,11 +31,11 @@ Common Makefile Support
>
>  A common configuration framework is available for simulators that want
>  to use it.  The common framework exists to remove a lot of duplication
> -in configure.in and Makefile.in, and it also provides a foundation for
> +in configure.ac and Makefile.in, and it also provides a foundation for
>  enhancing the simulators uniformly (e.g. the more they share in common
>  the easier a feature added to one is added to all).
>
> -The configure.in of a simulator using the common framework should look like:
> +The configure.ac of a simulator using the common framework should look like:
>
>  --- snip ---
>  dnl Process this file with autoconf to produce a configure script.
> diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
> index ebf8618..b243689 100644
> --- a/sim/common/ChangeLog
> +++ b/sim/common/ChangeLog
> @@ -1,3 +1,9 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * acinclude.m4: Reflects renaming of configure.in to configure.ac
> + * sim-config.h: Reflects renaming of configure.in to configure.ac
> +
>  2015-04-29  Nick Clifton  <nickc@redhat.com>
>
>   PR 18273
> diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
> index 75ea8ea..5b682c4 100644
> --- a/sim/common/acinclude.m4
> +++ b/sim/common/acinclude.m4
> @@ -5,7 +5,7 @@
>  # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
>  # It is intended to be invoked last.
>  #
> -# The simulator's configure.in should look like:
> +# The simulator's configure.ac should look like:
>  #
>  # dnl Process this file with autoconf to produce a configure script.
>  # AC_PREREQ(2.64)dnl
> @@ -263,12 +263,12 @@ sim_link_links="${sim_link_links} targ-vals.def"
>  dnl Additional SIM options that can (optionally) be configured
>  dnl For optional simulator options, a macro SIM_AC_OPTION_* is defined.
>  dnl Simulators that wish to use the relevant option specify the macro
> -dnl in the simulator specific configure.in file between the SIM_AC_COMMON
> +dnl in the simulator specific configure.ac file between the SIM_AC_COMMON
>  dnl and SIM_AC_OUTPUT lines.
>
>
>  dnl Specify the running environment.
> -dnl If the simulator invokes this in its configure.in then without this option
> +dnl If the simulator invokes this in its configure.ac then without this option
>  dnl the default is the user environment and all are runtime selectable.
>  dnl If the simulator doesn't invoke this, only the user environment is
>  dnl supported.
> diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h
> index 9391994..bf7428c 100644
> --- a/sim/common/sim-config.h
> +++ b/sim/common/sim-config.h
> @@ -360,7 +360,7 @@ enum sim_environment {
>  #endif
>
>  /* If the simulator doesn't specify SIM_AC_OPTION_ENVIRONMENT in its
> -   configure.in, the only supported environment is the user environment.  */
> +   configure.ac, the only supported environment is the user environment.  */
>  #ifndef WITH_ENVIRONMENT
>  #define WITH_ENVIRONMENT USER_ENVIRONMENT
>  #endif
> diff --git a/sim/configure b/sim/configure
> index bf0a094..7c5c5a9 100755
> --- a/sim/configure
> +++ b/sim/configure
> @@ -5090,7 +5090,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
>        ac_sub_configure=$ac_srcdir/configure.gnu
>      elif test -f "$ac_srcdir/configure"; then
>        ac_sub_configure=$ac_srcdir/configure
> -    elif test -f "$ac_srcdir/configure.in"; then
> +    elif test -f "$ac_srcdir/configure.ac"; then
>        # This should be Cygnus configure.
>        ac_sub_configure=$ac_aux_dir/configure
>      else
> diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
> index 1feeb83..7b68f8a 100644
> --- a/sim/mips/ChangeLog
> +++ b/sim/mips/ChangeLog
> @@ -1,3 +1,9 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> + * configure.ac: Reflects renaming of configure.in to configure.ac
> +
>  2015-04-18  Mike Frysinger  <vapier@gentoo.org>
>
>   * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete
> diff --git a/sim/mips/configure b/sim/mips/configure
> index 16367a8..f747569 100755
> --- a/sim/mips/configure
> +++ b/sim/mips/configure
> @@ -2255,7 +2255,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
>  # SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate the Makefile.
>  # It is intended to be invoked last.
>  #
> -# The simulator's configure.in should look like:
> +# The simulator's configure.ac should look like:
>  #
>  # dnl Process this file with autoconf to produce a configure script.
>  # AC_PREREQ(2.64)dnl
> @@ -13743,7 +13743,7 @@ if test ${sim_gen} = MULTI; then
>
>    # Simple sanity check.
>    if test -z "${sim_multi_configs}" || test -z "${sim_multi_default}"; then
> -    as_fn_error "Error in configure.in: MULTI simulator not set up
> correctly" "$LINENO" 5
> +    as_fn_error "Error in configure.ac: MULTI simulator not set up
> correctly" "$LINENO" 5
>    fi
>
>    # Start in a known state.
> @@ -13868,7 +13868,7 @@ __EOF__
>
>    # Check whether we added a 'default:' label.
>    if test ${sim_seen_default} = no; then
> -    as_fn_error "Error in configure.in: \${sim_multi_configs} doesn't
> have an entry for \${sim_multi_default}" "$LINENO" 5
> +    as_fn_error "Error in configure.ac: \${sim_multi_configs} doesn't
> have an entry for \${sim_multi_default}" "$LINENO" 5
>    fi
>
>    cat << __EOF__ >> multi-run.c
> @@ -13912,7 +13912,7 @@ else
>    sim_multi_src=doesnt-exist.c
>
>    if test x"${sim_mach_default}" = x""; then
> -    as_fn_error "Error in configure.in: \${sim_mach_default} not
> defined" "$LINENO" 5
> +    as_fn_error "Error in configure.ac: \${sim_mach_default} not
> defined" "$LINENO" 5
>    fi
>    SIM_SUBTARGET="$SIM_SUBTARGET
> -DMIPS_MACH_DEFAULT=bfd_mach_${sim_mach_default}"
>  fi
> diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
> index 4dee7d4..d786351 100644
> --- a/sim/mips/configure.ac
> +++ b/sim/mips/configure.ac
> @@ -221,7 +221,7 @@ if test ${sim_gen} = MULTI; then
>
>    # Simple sanity check.
>    if test -z "${sim_multi_configs}" || test -z "${sim_multi_default}"; then
> -    AC_MSG_ERROR(Error in configure.in: MULTI simulator not set up correctly)
> +    AC_MSG_ERROR(Error in configure.ac: MULTI simulator not set up correctly)
>    fi
>
>    # Start in a known state.
> @@ -346,7 +346,7 @@ __EOF__
>
>    # Check whether we added a 'default:' label.
>    if test ${sim_seen_default} = no; then
> -    AC_MSG_ERROR(Error in configure.in: \${sim_multi_configs} doesn't
> have an entry for \${sim_multi_default})
> +    AC_MSG_ERROR(Error in configure.ac: \${sim_multi_configs} doesn't
> have an entry for \${sim_multi_default})
>    fi
>
>    cat << __EOF__ >> multi-run.c
> @@ -390,7 +390,7 @@ else
>    sim_multi_src=doesnt-exist.c
>
>    if test x"${sim_mach_default}" = x""; then
> -    AC_MSG_ERROR(Error in configure.in: \${sim_mach_default} not defined)
> +    AC_MSG_ERROR(Error in configure.ac: \${sim_mach_default} not defined)
>    fi
>    SIM_SUBTARGET="$SIM_SUBTARGET
> -DMIPS_MACH_DEFAULT=bfd_mach_${sim_mach_default}"
>  fi
> diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
> index 20038f1..48bea54 100644
> --- a/sim/testsuite/ChangeLog
> +++ b/sim/testsuite/ChangeLog
> @@ -1,3 +1,8 @@
> +2015-05-24  Michael Darling  <darlingm@gmail.com>
> +
> + PR binutils/18450
> + * configure: Reflects renaming of configure.in to configure.ac
> +
>  2015-04-13  Hans-Peter Nilsson  <hp@axis.com>
>
>   * sim-defs.exp (sim_init): Unset target ldscript here.
> diff --git a/sim/testsuite/configure b/sim/testsuite/configure
> index c5980fe..38967c4 100755
> --- a/sim/testsuite/configure
> +++ b/sim/testsuite/configure
> @@ -3165,7 +3165,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
>        ac_sub_configure=$ac_srcdir/configure.gnu
>      elif test -f "$ac_srcdir/configure"; then
>        ac_sub_configure=$ac_srcdir/configure
> -    elif test -f "$ac_srcdir/configure.in"; then
> +    elif test -f "$ac_srcdir/configure.ac"; then
>        # This should be Cygnus configure.
>        ac_sub_configure=$ac_aux_dir/configure
>      else
> diff --git a/src-release.sh b/src-release.sh
> index 40d0126..9668a1a 100755
> --- a/src-release.sh
> +++ b/src-release.sh
> @@ -48,7 +48,7 @@ DEVO_SUPPORT="README Makefile.in configure configure.ac \
>   COPYING3 COPYING3.LIB"
>
>  # Files in devo/etc used in any net release.
> -ETC_SUPPORT="Makefile.in configure configure.in standards.texi \
> +ETC_SUPPORT="Makefile.in configure configure.ac standards.texi \
>   make-stds.texi standards.info* configure.texi configure.info* \
>   ChangeLog configbuild.* configdev.* fdl.texi texi2pod.pl gnu-oids.texi"
>
> --
> 2.1.0

[-- Attachment #2: binutils-gdb.combined.build.patch.updated --]
[-- Type: application/octet-stream, Size: 81125 bytes --]

From 0daf62e7d135242d84c0423b11f2e451e36c943d Mon Sep 17 00:00:00 2001
From: "darlingm@gmail.com" <darlingm@gmail.com>
Date: Thu, 16 Jul 2015 18:43:01 -0400
Subject: [PATCH] Completes renaming of configure.in files to configure.ac. 
 Combined builds has been broken for about 10 months, because some binutils
 configure.in files were renamed to configure.ac, but gcc's references to them
 were not updated.  Fixing gcc's references to them is much easier by renaming
 the few straggling configure.in files to configure.ac. gcc's configure.in
 files were entirely renamed to confiugre.ac some time ago.  There is a
 corresponding patch submitted to gcc, which updates all references to
 binutils-gdb configure.in files to configure.ac, which is what ultimately
 fixes the combined builds.

See PR binutils-gdb/binutils/18450 and gcc/other/66259.

Signed-off by: Michael Darling <darlingm@gmail.com>
---
 ChangeLog                           |   8 +
 bfd/ChangeLog                       |   6 +
 bfd/configure                       |   4 +-
 bfd/configure.com                   |   6 +-
 binutils/ChangeLog                  |   6 +
 binutils/MAINTAINERS                |   2 +-
 binutils/configure                  |   4 +-
 config-ml.in                        |   6 +-
 config/ChangeLog                    |   8 +
 config/gettext.m4                   |   4 +-
 config/po.m4                        |   4 +-
 config/stdint.m4                    |   2 +-
 config/tcl.m4                       |   4 +-
 configure                           |   8 +-
 configure.ac                        |   8 +-
 etc/ChangeLog                       |   6 +
 etc/Makefile.in                     |   2 +-
 etc/configure.ac                    |  27 +++
 etc/configure.in                    |  27 ---
 gas/ChangeLog                       |   5 +
 gas/configure                       |   4 +-
 gdb/ChangeLog                       |   7 +
 gdb/acinclude.m4                    |   2 +-
 gdb/config/djgpp/fnchange.lst       |   2 +-
 gdb/configure                       |   2 +-
 gdb/gdbserver/ChangeLog             |   5 +
 gdb/gdbserver/acinclude.m4          |   2 +-
 gdb/testsuite/ChangeLog             |   5 +
 gdb/testsuite/configure             |   2 +-
 gold/ChangeLog                      |   5 +
 gold/configure                      |   4 +-
 gprof/ChangeLog                     |   5 +
 gprof/configure                     |   4 +-
 intl/ChangeLog                      |   5 +
 intl/configure                      |   4 +-
 ld/ChangeLog                        |   5 +
 ld/configure                        |   4 +-
 opcodes/ChangeLog                   |   5 +
 opcodes/configure                   |   4 +-
 readline/ChangeLog.gdb              |  10 +
 readline/INSTALL                    |   6 +-
 readline/MANIFEST                   |   4 +-
 readline/Makefile.in                |   2 +-
 readline/aclocal.m4                 |  12 +-
 readline/configure                  |   2 +-
 readline/configure.ac               | 304 +++++++++++++++++++++++++
 readline/configure.in               | 304 -------------------------
 readline/doc/ChangeLog.gdb          |   5 +
 readline/doc/texi2html              |   2 +-
 readline/examples/rlfe/ChangeLog    |   6 +
 readline/examples/rlfe/Makefile.in  |   4 +-
 readline/examples/rlfe/configure.ac | 442 ++++++++++++++++++++++++++++++++++++
 readline/examples/rlfe/configure.in | 442 ------------------------------------
 sim/ChangeLog                       |   5 +
 sim/configure                       |   2 +-
 sim/testsuite/ChangeLog             |   6 +
 sim/testsuite/Makefile.in           |   2 +-
 sim/testsuite/configure             |   2 +-
 src-release.sh                      |   2 +-
 59 files changed, 950 insertions(+), 837 deletions(-)
 create mode 100644 etc/configure.ac
 delete mode 100644 etc/configure.in
 create mode 100644 readline/configure.ac
 delete mode 100644 readline/configure.in
 create mode 100644 readline/examples/rlfe/configure.ac
 delete mode 100644 readline/examples/rlfe/configure.in

diff --git a/ChangeLog b/ChangeLog
index 6ba2675..56b38c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-05-24  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+	* configure.ac: Likewise
+	* config-ml.in: Likewise
+	* src-release.sh: Likewise
+
 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* Makefile.in: Regenerated.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0d99205..29b265b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+	* configure.com: Likewise
+
 2015-07-16  Jiong Wang  <jiong.wang@arm.com>
 
 	* elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
diff --git a/bfd/configure b/bfd/configure
index eeeb89a..1ea612b 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -18338,14 +18338,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/bfd/configure.com b/bfd/configure.com
index 7f7411d..d0e4e02 100644
--- a/bfd/configure.com
+++ b/bfd/configure.com
@@ -184,7 +184,7 @@ $
 $!
 $! create bfdver.h
 $!
-$ write sys$output "Generate `bfdver.h' from 'version.h' and `configure.in'."
+$ write sys$output "Generate `bfdver.h' from 'version.h' and `configure.ac'."
 $ edit/tpu/nojournal/nosection/nodisplay/command=sys$input -
         []version.h /output=[]bfdver.h
 $DECK
@@ -193,7 +193,7 @@ $DECK
 !
 !
    set (success,off);
-   vfile := CREATE_BUFFER("vfile", "configure.in");
+   vfile := CREATE_BUFFER("vfile", "configure.ac");
    rang := CREATE_RANGE(BEGINNING_OF(vfile), END_OF(vfile));
    match_pos := SEARCH_QUIETLY('AC_INIT([bfd], [', FORWARD, EXACT, rang);
    IF match_pos <> 0 THEN;
@@ -265,7 +265,7 @@ $!
 $ write sys$output "Generate `config.h'"
 $ create []config.h
 /* config.h-vms.  Generated by hand by Klaus Kämpf, kkaempf@didymus.rmi.de.  */
-/* config.in.  Generated automatically from configure.in by autoheader.  */
+/* config.in.  Generated automatically from configure.ac by autoheader.  */
 /* Whether malloc must be declared even if <stdlib.h> is included.  */
 /* #undef NEED_DECLARATION_MALLOC */
 /* Whether free must be declared even if <stdlib.h> is included.  */
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a68a8ea..8ef0d5d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* MAINTAINERS: Reflects renaming of configure.in to configure.ac
+	* configure: Likewise
+
 2015-07-16  Alan Modra  <amodra@gmail.com>
 
 	PR binutils/18672
diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS
index 37f4601..74882dd 100644
--- a/binutils/MAINTAINERS
+++ b/binutils/MAINTAINERS
@@ -22,7 +22,7 @@ top level config.guess and config.sub scripts should be sent to:
   config-patches@gnu.org
 
 and not to the binutils lists.  Patches to the other top level
-configure files (configure, configure.in, config-ml.in) should
+configure files (configure, configure.ac, config-ml.in) should
 be sent to the binutils lists, and copied to the gcc and gdb
 lists as well (gcc-patches@gcc.gnu.org and
 gdb-patches@sourceware.org).
diff --git a/binutils/configure b/binutils/configure
index 5db82d7..c47d0f8 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -16908,14 +16908,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/config-ml.in b/config-ml.in
index 927bad6..5e51994 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -31,7 +31,7 @@
 # user select which libraries s/he really wants.
 #
 # Subdirectories wishing to use multilib should put the following lines
-# in the "post-target" section of configure.in.
+# in the "post-target" section of configure.ac.
 #
 # if [ "${srcdir}" = "." ] ; then
 #   if [ "${with_target_subdir}" != "." ] ; then
@@ -182,8 +182,8 @@ if [ "${enable_multilib}" = yes ]; then
 # ${with_multisubdir} tells us we're in the right branch, but we could be
 # in a subdir of that.
 # ??? The previous version could void this test by separating the process into
-# two files: one that only the library's toplevel configure.in ran (to
-# configure the multilib subdirs), and another that all configure.in's ran to
+# two files: one that only the library's toplevel configure.ac ran (to
+# configure the multilib subdirs), and another that all configure.ac's ran to
 # update the Makefile.  It seemed reasonable to collapse all multilib support
 # into one file, but it does leave us with having to perform this test.
 ml_toplevel_p=no
diff --git a/config/ChangeLog b/config/ChangeLog
index 5e36bee..c8f1ffd 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,11 @@
+2015-07-16  Micahel Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* gettext.m4: Reflects renaming of configure.in to configure.ac
+	* po.m4: Likewise
+	* stdint.m4: Likewise
+	* tcl.m4: Likewise
+
 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	Sync with GCC
diff --git a/config/gettext.m4 b/config/gettext.m4
index 16070b4..45fa6b4 100644
--- a/config/gettext.m4
+++ b/config/gettext.m4
@@ -81,7 +81,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
   dnl Ideally we would do this search only after the
   dnl      if test "$USE_NLS" = "yes"; then
   dnl        if test "$gt_cv_func_gnugettext_libc" != "yes"; then
-  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
+  dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
   dnl the configure script would need to contain the same shell code
   dnl again, outside any 'if'. There are two solutions:
   dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
@@ -303,7 +303,7 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
     AC_SUBST(USE_INCLUDED_LIBINTL)
     AC_SUBST(CATOBJEXT)
 
-    dnl For backward compatibility. Some configure.ins may be using this.
+    dnl For backward compatibility. Some configure.acs may be using this.
     nls_cv_header_intl=
     nls_cv_header_libgt=
 
diff --git a/config/po.m4 b/config/po.m4
index 2edd5a7..6ceef42 100644
--- a/config/po.m4
+++ b/config/po.m4
@@ -117,14 +117,14 @@ AC_DEFUN([AM_PO_SUBDIRS],
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/config/stdint.m4 b/config/stdint.m4
index 61898a7..59f4359 100644
--- a/config/stdint.m4
+++ b/config/stdint.m4
@@ -39,7 +39,7 @@ dnl If your installed header files require the stdint-types you will want to
 dnl create an installable file mylib-int.h that all your other installable
 dnl header may include. So, for a library package named "mylib", just use
 dnl      GCC_HEADER_STDINT(mylib-int.h)
-dnl in configure.in and install that header file in Makefile.am along with
+dnl in configure.ac and install that header file in Makefile.am along with
 dnl the other headers (mylib.h).  The mylib-specific headers can simply
 dnl use "#include <mylib-int.h>" to obtain the stdint-types.
 dnl
diff --git a/config/tcl.m4 b/config/tcl.m4
index 59a0c7e..4542a4b 100644
--- a/config/tcl.m4
+++ b/config/tcl.m4
@@ -2136,7 +2136,7 @@ dnl # preprocessing tests use only CPPFLAGS.
             INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))'
         fi
 
-dnl        Not at all clear what this was doing in Tcl's configure.in
+dnl        Not at all clear what this was doing in Tcl's configure.ac
 dnl        or why it was needed was needed. In any event, this sort of
 dnl        things needs to be done in the big loop above.
 dnl        REMOVE THIS BLOCK LATER! (mdejong)
@@ -3235,7 +3235,7 @@ AC_DEFUN([SC_TCL_GETGRNAM_R], [AC_CHECK_FUNC(getgrnam_r, [
 #		created. Accumulates.
 #
 #	Requires presence of SC_OUTPUT_COMMANDS_PRE at the end
-#	of configure.in (right before AC_OUTPUT).
+#	of configure.ac (right before AC_OUTPUT).
 #
 #--------------------------------------------------------------------
 
diff --git a/configure b/configure
index 5ba9489..6d7152e 100755
--- a/configure
+++ b/configure
@@ -6176,7 +6176,7 @@ if test -d ${srcdir}/gcc; then
   if test x"${enable_languages+set}" != xset; then
     if test x"${LANGUAGES+set}" = xset; then
       enable_languages="${LANGUAGES}"
-        echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
+        echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
     else
       enable_languages=all
     fi
@@ -6184,7 +6184,7 @@ if test -d ${srcdir}/gcc; then
     if test x"${enable_languages}" = x ||
        test x"${enable_languages}" = xyes;
        then
-      echo configure.in: --enable-languages needs at least one language argument 1>&2
+      echo configure.ac: --enable-languages needs at least one language argument 1>&2
       exit 1
     fi
   fi
@@ -6194,7 +6194,7 @@ if test -d ${srcdir}/gcc; then
   # and make the substitution.
   case ,${enable_languages}, in
     *,f95,*)
-      echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
+      echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
       ;;
   esac
@@ -6816,7 +6816,7 @@ fi
 # have requested that this magic not happen.
 #
 # The command line options always override the explicit settings in
-# configure.in, and the settings in configure.in override this magic.
+# configure.ac, and the settings in configure.ac override this magic.
 #
 # If the default for a toolchain is to use GNU as and ld, and you don't
 # want to do that, then you should use the --without-gnu-as and
diff --git a/configure.ac b/configure.ac
index 2ff9be0..fbc49ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1866,7 +1866,7 @@ if test -d ${srcdir}/gcc; then
   if test x"${enable_languages+set}" != xset; then
     if test x"${LANGUAGES+set}" = xset; then
       enable_languages="${LANGUAGES}"
-        echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
+        echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
     else
       enable_languages=all
     fi
@@ -1874,7 +1874,7 @@ if test -d ${srcdir}/gcc; then
     if test x"${enable_languages}" = x ||
        test x"${enable_languages}" = xyes;
        then
-      echo configure.in: --enable-languages needs at least one language argument 1>&2
+      echo configure.ac: --enable-languages needs at least one language argument 1>&2
       exit 1
     fi
   fi
@@ -1884,7 +1884,7 @@ if test -d ${srcdir}/gcc; then
   # and make the substitution.
   case ,${enable_languages}, in
     *,f95,*)
-      echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
+      echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
       ;;
   esac
@@ -2455,7 +2455,7 @@ fi
 # have requested that this magic not happen.
 # 
 # The command line options always override the explicit settings in 
-# configure.in, and the settings in configure.in override this magic.
+# configure.ac, and the settings in configure.ac override this magic.
 #
 # If the default for a toolchain is to use GNU as and ld, and you don't 
 # want to do that, then you should use the --without-gnu-as and
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 516e6a9..11ffe91 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure.ac: Renamed from configure.in
+	* Makefile.in: Reflects renaming of configure.in to configure.ac
+
 2014-06-27  Ludovic Courtès  <ludo@gnu.org>
 
 	PR external/16327
diff --git a/etc/Makefile.in b/etc/Makefile.in
index 4aa64c1..eabd28c 100644
--- a/etc/Makefile.in
+++ b/etc/Makefile.in
@@ -56,7 +56,7 @@ Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) \
 	$(SHELL) ./config.status
 
 AUTOCONF = autoconf
-configure_deps = $(srcdir)/configure.in
+configure_deps = $(srcdir)/configure.ac
 
 $(srcdir)/configure: @MAINT@ $(configure_deps)
 	cd $(srcdir) && $(AUTOCONF)
diff --git a/etc/configure.ac b/etc/configure.ac
new file mode 100644
index 0000000..6b94aac
--- /dev/null
+++ b/etc/configure.ac
@@ -0,0 +1,27 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.5)
+AC_INIT(Makefile.in)
+
+AC_PROG_INSTALL
+
+# Command-line options.
+# Very limited version of AC_MAINTAINER_MODE.
+AC_ARG_ENABLE([maintainer-mode],
+  [AC_HELP_STRING([--enable-maintainer-mode],
+                 [enable make rules and dependencies not useful (and
+                  sometimes confusing) to the casual installer])],
+  [case ${enable_maintainer_mode} in
+     yes) MAINT='' ;;
+     no) MAINT='#' ;;
+     *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;;
+   esac
+   maintainer_mode=${enableval}],
+  [MAINT='#'])
+AC_SUBST([MAINT])dnl
+
+AC_SUBST(datarootdir)
+AC_SUBST(docdir)
+AC_SUBST(htmldir)
+AC_SUBST(pdfdir)
+
+AC_OUTPUT(Makefile)
diff --git a/etc/configure.in b/etc/configure.in
deleted file mode 100644
index 6b94aac..0000000
--- a/etc/configure.in
+++ /dev/null
@@ -1,27 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.5)
-AC_INIT(Makefile.in)
-
-AC_PROG_INSTALL
-
-# Command-line options.
-# Very limited version of AC_MAINTAINER_MODE.
-AC_ARG_ENABLE([maintainer-mode],
-  [AC_HELP_STRING([--enable-maintainer-mode],
-                 [enable make rules and dependencies not useful (and
-                  sometimes confusing) to the casual installer])],
-  [case ${enable_maintainer_mode} in
-     yes) MAINT='' ;;
-     no) MAINT='#' ;;
-     *) AC_MSG_ERROR([--enable-maintainer-mode must be yes or no]) ;;
-   esac
-   maintainer_mode=${enableval}],
-  [MAINT='#'])
-AC_SUBST([MAINT])dnl
-
-AC_SUBST(datarootdir)
-AC_SUBST(docdir)
-AC_SUBST(htmldir)
-AC_SUBST(pdfdir)
-
-AC_OUTPUT(Makefile)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d024f40..469d1b1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-07-16  Jiong Wang  <jiong.wang@arm.com>
 
 	* config/tc-aarch64.c (reloc_table): New relocation modifiers.
diff --git a/gas/configure b/gas/configure
index cb33d03..143b940 100755
--- a/gas/configure
+++ b/gas/configure
@@ -16811,14 +16811,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f4857e3..2454c43 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* acinclude.m4: Reflects renaming of configure.in to configure.ac
+	* configure: Likewise
+	* config/djgpp/fnchange.lst: Likewise
+
 2015-07-16  Pierre Langlois  <pierre.langlois@arm.com>
 
 	* aarch64-tdep.c (aarch64_pseudo_read_value): Mark S register as
diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4
index 845e65f..fee11ff 100644
--- a/gdb/acinclude.m4
+++ b/gdb/acinclude.m4
@@ -12,7 +12,7 @@ sinclude(libmcheck.m4)
 # This gets GDB_AC_TRANSFORM.
 sinclude(transform.m4)
 
-dnl gdb/configure.in uses BFD_NEED_DECLARATION, so get its definition.
+dnl gdb/configure.ac uses BFD_NEED_DECLARATION, so get its definition.
 sinclude(../bfd/bfd.m4)
 
 dnl This gets the standard macros.
diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst
index c05eb2c..e7a6a23 100644
--- a/gdb/config/djgpp/fnchange.lst
+++ b/gdb/config/djgpp/fnchange.lst
@@ -470,7 +470,7 @@
 @V@/gdb/testsuite/gdb.gdbtk/c_variable.exp @V@/gdb/testsuite/gdb.tk/c_variable.exp
 @V@/gdb/testsuite/gdb.gdbtk/c_variable.test @V@/gdb/testsuite/gdb.tk/c_variable.test
 @V@/gdb/testsuite/gdb.gdbtk/configure @V@/gdb/testsuite/gdb.tk/configure
-@V@/gdb/testsuite/gdb.gdbtk/configure.in @V@/gdb/testsuite/gdb.tk/configure.in
+@V@/gdb/testsuite/gdb.gdbtk/configure.ac @V@/gdb/testsuite/gdb.tk/configure.ac
 @V@/gdb/testsuite/gdb.gdbtk/console.exp @V@/gdb/testsuite/gdb.tk/console.exp
 @V@/gdb/testsuite/gdb.gdbtk/console.test @V@/gdb/testsuite/gdb.tk/console.test
 @V@/gdb/testsuite/gdb.gdbtk/cpp_variable.cc @V@/gdb/testsuite/gdb.tk/cpp_variable.cc
diff --git a/gdb/configure b/gdb/configure
index e8979f0..99e1248 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -17602,7 +17602,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 73cb392..39bee65 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* acinclude.m4: Reflects renaming of configure.in to configure.ac
+
 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	Revert the previous 3 commits:
diff --git a/gdb/gdbserver/acinclude.m4 b/gdb/gdbserver/acinclude.m4
index 0b86c04..ca1aebf 100644
--- a/gdb/gdbserver/acinclude.m4
+++ b/gdb/gdbserver/acinclude.m4
@@ -1,4 +1,4 @@
-dnl gdb/gdbserver/configure.in uses BFD_HAVE_SYS_PROCFS_TYPE.
+dnl gdb/gdbserver/configure.ac uses BFD_HAVE_SYS_PROCFS_TYPE.
 sinclude(../../bfd/bfd.m4)
 
 sinclude(../acx_configure_dir.m4)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 520f606..46125ab 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* gdb.arch/i386-biarch-core.exp: Replace istarget
diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure
index 0853e48..967b009 100755
--- a/gdb/testsuite/configure
+++ b/gdb/testsuite/configure
@@ -4802,7 +4802,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 309b4753..1c518f2 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* compressed_output.cc (Output_compressed_section::set_final_data_size):
diff --git a/gold/configure b/gold/configure
index a005a75..eac9669 100755
--- a/gold/configure
+++ b/gold/configure
@@ -9164,14 +9164,14 @@ $as_echo X"$file" |
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 7a2087b..9c047f0 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Micahel Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-04-29  Nick Clifton  <nickc@redhat.com>
 
 	* po/da.po: Update Danish translation.
diff --git a/gprof/configure b/gprof/configure
index 80c9aaf..cdd2e3a 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -14513,14 +14513,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/intl/ChangeLog b/intl/ChangeLog
index ea012cd..580379d 100644
--- a/intl/ChangeLog
+++ b/intl/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2010-06-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	PR bootstrap/44621
diff --git a/intl/configure b/intl/configure
index 34da38b..f58226d 100755
--- a/intl/configure
+++ b/intl/configure
@@ -7851,14 +7851,14 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3dd0a6f..c166a83 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make
diff --git a/ld/configure b/ld/configure
index 8b3dd7b..1249852 100755
--- a/ld/configure
+++ b/ld/configure
@@ -19835,14 +19835,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index bcccdb3..c3c393a 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-07-16  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
 
 	* arm-dis.c (print_insn_coprocessor): Added support for quarter
diff --git a/opcodes/configure b/opcodes/configure
index 2870879..86412c5 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -15030,14 +15030,14 @@ _LT_EOF
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb
index 43abd19..48a3b9c 100644
--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -1,3 +1,13 @@
+2015-07-16  Micahel Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* INSTALL: Reflects renaming of configure.in to configure.ac
+	* MANIFEST: Likewise
+	* Makefile.in: Likewise
+	* aclocal.m4: Likewise
+	* configure: Likewise
+	* configure.ac: Renamed from configure.in
+
 2014-12-30  Eli Zaretskii  <eliz@gnu.org>
 
 	* complete.c (stat_char) [_WIN32]: Don't use 'access' and X_OK on
diff --git a/readline/INSTALL b/readline/INSTALL
index a0b0976..625e690 100644
--- a/readline/INSTALL
+++ b/readline/INSTALL
@@ -51,10 +51,10 @@ be considered for the next release.  If at some point
 `config.cache' contains results you don't want to keep, you may
 remove or edit it. 
 
-The file `configure.in' is used to create `configure' by a
-program called `autoconf'.  You only need `configure.in' if you
+The file `configure.ac' is used to create `configure' by a
+program called `autoconf'.  You only need `configure.ac' if you
 want to change it or regenerate `configure' using a newer version
-of `autoconf'.  The readline `configure.in' requires autoconf
+of `autoconf'.  The readline `configure.ac' requires autoconf
 version 2.50 or newer. 
 
 Compilers and Options
diff --git a/readline/MANIFEST b/readline/MANIFEST
index 8972bdd..ab3c223 100644
--- a/readline/MANIFEST
+++ b/readline/MANIFEST
@@ -18,7 +18,7 @@ USAGE		f
 aclocal.m4	f
 config.h.in	f
 configure	f
-configure.in	f
+configure.ac	f
 Makefile.in	f
 ansi_stdlib.h	f
 chardefs.h	f
@@ -126,7 +126,7 @@ examples/rlfe/Makefile.in	f
 examples/rlfe/README		f
 examples/rlfe/config.h.in	f
 examples/rlfe/configure		f
-examples/rlfe/configure.in	f
+examples/rlfe/configure.ac	f
 examples/rlfe/extern.h		f
 examples/rlfe/os.h		f
 examples/rlfe/pty.c		f
diff --git a/readline/Makefile.in b/readline/Makefile.in
index f4ed811..1436664 100644
--- a/readline/Makefile.in
+++ b/readline/Makefile.in
@@ -193,7 +193,7 @@ stamp-h: config.status $(srcdir)/config.h.in
 	CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status
 	echo > $@
 
-#$(srcdir)/configure: $(srcdir)/configure.in	## Comment-me-out in distribution
+#$(srcdir)/configure: $(srcdir)/configure.ac	## Comment-me-out in distribution
 #	cd $(srcdir) && autoconf	## Comment-me-out in distribution
 
 
diff --git a/readline/aclocal.m4 b/readline/aclocal.m4
index 716a043..6e87227 100644
--- a/readline/aclocal.m4
+++ b/readline/aclocal.m4
@@ -2107,7 +2107,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
   dnl Ideally we would do this search only after the
   dnl      if test "$USE_NLS" = "yes"; then
   dnl        if test "$gt_cv_func_gnugettext_libc" != "yes"; then
-  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
+  dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
   dnl the configure script would need to contain the same shell code
   dnl again, outside any 'if'. There are two solutions:
   dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
@@ -2329,7 +2329,7 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
     AC_SUBST(USE_INCLUDED_LIBINTL)
     AC_SUBST(CATOBJEXT)
 
-    dnl For backward compatibility. Some configure.ins may be using this.
+    dnl For backward compatibility. Some configure.acs may be using this.
     nls_cv_header_intl=
     nls_cv_header_libgt=
 
@@ -2748,8 +2748,8 @@ dnl the same distribution terms as the rest of that program.
 # because gettext's gettext.m4 (distributed in the automake package)
 # still uses it.  Otherwise, the use in gettext.m4 makes autoheader
 # give these diagnostics:
-#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
-#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
+#   configure.ac:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
+#   configure.ac:556: AC_TRY_RUN was called before AC_ISC_POSIX
 
 undefine([AC_ISC_POSIX])
 
@@ -3775,14 +3775,14 @@ AC_DEFUN([AM_PO_SUBDIRS],
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
diff --git a/readline/configure b/readline/configure
index 09de45d..ef83595 100755
--- a/readline/configure
+++ b/readline/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in for Readline 6.2, version 2.67.
+# From configure.ac for Readline 6.2, version 2.67.
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.64 for readline 6.2.
 #
diff --git a/readline/configure.ac b/readline/configure.ac
new file mode 100644
index 0000000..b395af4
--- /dev/null
+++ b/readline/configure.ac
@@ -0,0 +1,304 @@
+dnl
+dnl Configure script for readline library
+dnl
+dnl report bugs to chet@po.cwru.edu
+dnl
+dnl Process this file with autoconf to produce a configure script.
+
+# Copyright (C) 1987-2009 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 3 of the License, 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/>.
+
+AC_REVISION([for Readline 6.2, version 2.67])
+
+m4_include([../config/override.m4])
+
+AC_INIT(readline, 6.2, bug-readline@gnu.org)
+
+dnl make sure we are using a recent autoconf version
+AC_PREREQ(2.50)
+
+AC_CONFIG_SRCDIR(readline.h)
+dnl GDB LOCAL
+dnl AC_CONFIG_AUX_DIR(./support)
+AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
+AC_CONFIG_HEADERS(config.h)
+
+dnl update the value of RL_READLINE_VERSION in readline.h when this changes
+LIBVERSION=6.2
+
+AC_CANONICAL_HOST
+AC_CANONICAL_BUILD
+
+dnl configure defaults
+opt_curses=no
+opt_purify=no
+
+dnl arguments to configure
+AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses library instead of the termcap library]), opt_curses=$withval)
+AC_ARG_WITH(purify, AC_HELP_STRING([--with-purify], [configure to postprocess with purify]), opt_purify=$withval)
+
+if test "$opt_curses" = "yes"; then
+	prefer_curses=yes
+fi
+
+if test "$opt_purify" = yes; then
+	PURIFY="purify"
+else
+	PURIFY=
+fi
+
+dnl option parsing for optional features
+opt_multibyte=yes
+opt_static_libs=yes
+opt_shared_libs=no
+
+AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable multibyte characters if OS supports them]), opt_multibyte=$enableval)
+dnl AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
+AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static libraries [[default=YES]]]), opt_static_libs=$enableval)
+
+if test $opt_multibyte = no; then
+AC_DEFINE(NO_MULTIBYTE_SUPPORT)
+fi
+
+dnl load up the cross-building cache file -- add more cases and cache
+dnl files as necessary
+
+dnl Note that host and target machine are the same, and different than the
+dnl build machine.
+
+CROSS_COMPILE=
+if test "x$cross_compiling" = "xyes"; then
+    case "${host}" in
+    *-cygwin*)
+        cross_cache=${srcdir}/cross-build/cygwin.cache
+        ;;
+    *-mingw*)
+        cross_cache=${srcdir}/cross-build/mingw.cache
+        ;;
+    i[[3456]]86-*-beos*)
+        cross_cache=${srcdir}/cross-build/x86-beos.cache
+        ;;
+    *)  echo "configure: cross-compiling for $host is not supported" >&2
+        ;;
+    esac
+    if test -n "${cross_cache}" && test -r "${cross_cache}"; then
+        echo "loading cross-build cache file ${cross_cache}"
+        . ${cross_cache}
+    fi
+    unset cross_cache
+    CROSS_COMPILE='-DCROSS_COMPILING'
+    AC_SUBST(CROSS_COMPILE)
+fi
+
+echo ""
+echo "Beginning configuration for readline-$LIBVERSION for ${host_cpu}-${host_vendor}-${host_os}"
+echo ""
+
+# We want these before the checks, so the checks can modify their values.
+test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
+
+AC_PROG_MAKE_SET
+AC_PROG_CC
+dnl AC_AIX
+AC_MINIX
+
+# If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
+test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O"
+
+AC_PROG_GCC_TRADITIONAL
+AC_PROG_INSTALL
+AC_CHECK_PROG(AR, ar, , ar)
+dnl Set default for ARFLAGS, since autoconf does not have a macro for it.
+dnl This allows people to set it when running configure or make
+test -n "$ARFLAGS" || ARFLAGS="cr"
+AC_PROG_RANLIB
+
+MAKE_SHELL=/bin/sh
+AC_SUBST(MAKE_SHELL)
+
+AC_C_CONST
+AC_C_PROTOTYPES
+AC_C_CHAR_UNSIGNED
+AC_C_VOLATILE
+
+AC_TYPE_SIGNAL
+
+AC_TYPE_SIZE_T
+AC_CHECK_TYPE(ssize_t, int)
+
+AC_HEADER_STDC
+
+AC_HEADER_STAT
+AC_HEADER_DIRENT
+
+AC_CHECK_FUNCS(fcntl kill lstat)
+AC_CHECK_FUNCS(memmove putenv select setenv setlocale \
+		strcasecmp strpbrk tcgetattr vsnprintf)
+AC_CHECK_FUNCS(isascii isxdigit)
+AC_CHECK_FUNCS(getpwent getpwnam getpwuid)
+
+AC_FUNC_STRCOLL
+
+AC_CHECK_HEADERS(fcntl.h unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \
+		limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h)
+AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h)
+
+AC_CHECK_HEADERS(sys/ptem.h,,,
+[[
+#if HAVE_SYS_STREAM_H
+#  include <sys/stream.h>
+#endif
+]])
+
+AC_SYS_LARGEFILE
+
+BASH_SYS_SIGNAL_VINTAGE
+BASH_SYS_REINSTALL_SIGHANDLERS
+
+BASH_FUNC_POSIX_SETJMP
+BASH_FUNC_LSTAT
+BASH_FUNC_STRCOLL
+BASH_FUNC_CTYPE_NONASCII
+
+BASH_CHECK_GETPW_FUNCS
+
+AC_HEADER_TIOCGWINSZ
+
+BASH_TYPE_SIG_ATOMIC_T
+BASH_TYPE_SIGHANDLER
+
+BASH_HAVE_TIOCSTAT
+BASH_HAVE_FIONREAD
+BASH_CHECK_SPEED_T
+BASH_STRUCT_WINSIZE
+BASH_STRUCT_DIRENT_D_INO
+BASH_STRUCT_DIRENT_D_FILENO
+
+dnl yuck
+case "$host_os" in
+aix*)   prefer_curses=yes ;;
+esac
+BASH_CHECK_LIB_TERMCAP
+if test "$TERMCAP_LIB" = "./lib/termcap/libtermcap.a"; then
+	if test "$prefer_curses" = yes; then
+		TERMCAP_LIB=-lcurses
+	else
+		TERMCAP_LIB=-ltermcap	#default
+	fi
+fi
+
+BASH_CHECK_MULTIBYTE
+
+case "$host_cpu" in
+*cray*)	LOCAL_CFLAGS=-DCRAY ;;
+*s390*) LOCAL_CFLAGS=-fsigned-char ;;
+esac
+
+case "$host_os" in
+isc*)	LOCAL_CFLAGS=-Disc386 ;;
+esac
+
+# shared library configuration section
+#
+# Shared object configuration section.  These values are generated by
+# ${srcdir}/support/shobj-conf
+#
+if test -f ${srcdir}/support/shobj-conf; then
+        AC_MSG_CHECKING(configuration for building shared libraries)
+        eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}`
+
+#	case "$SHLIB_LIBS" in
+#	*curses*|*termcap*|*termlib*)	;;
+#	*)			SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
+#	esac
+	
+        AC_SUBST(SHOBJ_CC)
+        AC_SUBST(SHOBJ_CFLAGS)
+        AC_SUBST(SHOBJ_LD)
+        AC_SUBST(SHOBJ_LDFLAGS)
+	AC_SUBST(SHOBJ_XLDFLAGS)
+        AC_SUBST(SHOBJ_LIBS)
+        AC_SUBST(SHOBJ_STATUS)
+	AC_SUBST(SHLIB_STATUS)
+	AC_SUBST(SHLIB_XLDFLAGS)
+	AC_SUBST(SHLIB_DOT)
+	AC_SUBST(SHLIB_LIBPREF)
+	AC_SUBST(SHLIB_LIBSUFF)
+	AC_SUBST(SHLIB_LIBVERSION)
+	AC_SUBST(SHLIB_DLLVERSION)
+	AC_SUBST(SHLIB_LIBS)
+        AC_MSG_RESULT($SHLIB_STATUS)
+
+	# SHLIB_STATUS is either `supported' or `unsupported'.  If it's
+	# `unsupported', turn off any default shared library building
+	if test "$SHLIB_STATUS" = 'unsupported'; then
+		opt_shared_libs=no
+	fi
+
+	# shared library versioning
+	# quoted for m4 so I can use character classes
+	SHLIB_MAJOR=[`expr "$LIBVERSION" : '\([0-9]\)\..*'`]
+	SHLIB_MINOR=[`expr "$LIBVERSION" : '[0-9]\.\([0-9]\).*'`]
+	AC_SUBST(SHLIB_MAJOR)
+	AC_SUBST(SHLIB_MINOR)
+fi
+
+if test "$opt_static_libs" = "yes"; then
+	STATIC_TARGET=static
+	STATIC_INSTALL_TARGET=install-static
+fi
+if test "$opt_shared_libs" = "yes"; then
+	SHARED_TARGET=shared
+	SHARED_INSTALL_TARGET=install-shared
+fi
+
+AC_SUBST(STATIC_TARGET)
+AC_SUBST(SHARED_TARGET)
+AC_SUBST(STATIC_INSTALL_TARGET)
+AC_SUBST(SHARED_INSTALL_TARGET)
+
+case "$build_os" in
+msdosdjgpp*)	BUILD_DIR=`pwd.exe` ;;	# to prevent //d/path/file
+*)		BUILD_DIR=`pwd` ;;
+esac
+
+case "$BUILD_DIR" in
+*\ *)	BUILD_DIR=`echo "$BUILD_DIR" | sed 's: :\\\\ :g'` ;;
+*)	;;
+esac
+
+AC_SUBST(PURIFY)
+AC_SUBST(BUILD_DIR)
+
+AC_SUBST(CFLAGS)
+AC_SUBST(LOCAL_CFLAGS)
+AC_SUBST(LOCAL_LDFLAGS)
+AC_SUBST(LOCAL_DEFS)
+
+AC_SUBST(AR)
+AC_SUBST(ARFLAGS)
+
+AC_SUBST(host_cpu)
+AC_SUBST(host_os)
+
+AC_SUBST(LIBVERSION)
+
+AC_SUBST(TERMCAP_LIB)
+
+AC_OUTPUT([Makefile doc/Makefile examples/Makefile shlib/Makefile],
+[
+# Makefile uses this timestamp file to record whether config.h is up to date.
+echo > stamp-h
+])
diff --git a/readline/configure.in b/readline/configure.in
deleted file mode 100644
index b395af4..0000000
--- a/readline/configure.in
+++ /dev/null
@@ -1,304 +0,0 @@
-dnl
-dnl Configure script for readline library
-dnl
-dnl report bugs to chet@po.cwru.edu
-dnl
-dnl Process this file with autoconf to produce a configure script.
-
-# Copyright (C) 1987-2009 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 3 of the License, 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/>.
-
-AC_REVISION([for Readline 6.2, version 2.67])
-
-m4_include([../config/override.m4])
-
-AC_INIT(readline, 6.2, bug-readline@gnu.org)
-
-dnl make sure we are using a recent autoconf version
-AC_PREREQ(2.50)
-
-AC_CONFIG_SRCDIR(readline.h)
-dnl GDB LOCAL
-dnl AC_CONFIG_AUX_DIR(./support)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
-AC_CONFIG_HEADERS(config.h)
-
-dnl update the value of RL_READLINE_VERSION in readline.h when this changes
-LIBVERSION=6.2
-
-AC_CANONICAL_HOST
-AC_CANONICAL_BUILD
-
-dnl configure defaults
-opt_curses=no
-opt_purify=no
-
-dnl arguments to configure
-AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses library instead of the termcap library]), opt_curses=$withval)
-AC_ARG_WITH(purify, AC_HELP_STRING([--with-purify], [configure to postprocess with purify]), opt_purify=$withval)
-
-if test "$opt_curses" = "yes"; then
-	prefer_curses=yes
-fi
-
-if test "$opt_purify" = yes; then
-	PURIFY="purify"
-else
-	PURIFY=
-fi
-
-dnl option parsing for optional features
-opt_multibyte=yes
-opt_static_libs=yes
-opt_shared_libs=no
-
-AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable multibyte characters if OS supports them]), opt_multibyte=$enableval)
-dnl AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
-AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static libraries [[default=YES]]]), opt_static_libs=$enableval)
-
-if test $opt_multibyte = no; then
-AC_DEFINE(NO_MULTIBYTE_SUPPORT)
-fi
-
-dnl load up the cross-building cache file -- add more cases and cache
-dnl files as necessary
-
-dnl Note that host and target machine are the same, and different than the
-dnl build machine.
-
-CROSS_COMPILE=
-if test "x$cross_compiling" = "xyes"; then
-    case "${host}" in
-    *-cygwin*)
-        cross_cache=${srcdir}/cross-build/cygwin.cache
-        ;;
-    *-mingw*)
-        cross_cache=${srcdir}/cross-build/mingw.cache
-        ;;
-    i[[3456]]86-*-beos*)
-        cross_cache=${srcdir}/cross-build/x86-beos.cache
-        ;;
-    *)  echo "configure: cross-compiling for $host is not supported" >&2
-        ;;
-    esac
-    if test -n "${cross_cache}" && test -r "${cross_cache}"; then
-        echo "loading cross-build cache file ${cross_cache}"
-        . ${cross_cache}
-    fi
-    unset cross_cache
-    CROSS_COMPILE='-DCROSS_COMPILING'
-    AC_SUBST(CROSS_COMPILE)
-fi
-
-echo ""
-echo "Beginning configuration for readline-$LIBVERSION for ${host_cpu}-${host_vendor}-${host_os}"
-echo ""
-
-# We want these before the checks, so the checks can modify their values.
-test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
-
-AC_PROG_MAKE_SET
-AC_PROG_CC
-dnl AC_AIX
-AC_MINIX
-
-# If we're using gcc and the user hasn't specified CFLAGS, add -O to CFLAGS.
-test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O"
-
-AC_PROG_GCC_TRADITIONAL
-AC_PROG_INSTALL
-AC_CHECK_PROG(AR, ar, , ar)
-dnl Set default for ARFLAGS, since autoconf does not have a macro for it.
-dnl This allows people to set it when running configure or make
-test -n "$ARFLAGS" || ARFLAGS="cr"
-AC_PROG_RANLIB
-
-MAKE_SHELL=/bin/sh
-AC_SUBST(MAKE_SHELL)
-
-AC_C_CONST
-AC_C_PROTOTYPES
-AC_C_CHAR_UNSIGNED
-AC_C_VOLATILE
-
-AC_TYPE_SIGNAL
-
-AC_TYPE_SIZE_T
-AC_CHECK_TYPE(ssize_t, int)
-
-AC_HEADER_STDC
-
-AC_HEADER_STAT
-AC_HEADER_DIRENT
-
-AC_CHECK_FUNCS(fcntl kill lstat)
-AC_CHECK_FUNCS(memmove putenv select setenv setlocale \
-		strcasecmp strpbrk tcgetattr vsnprintf)
-AC_CHECK_FUNCS(isascii isxdigit)
-AC_CHECK_FUNCS(getpwent getpwnam getpwuid)
-
-AC_FUNC_STRCOLL
-
-AC_CHECK_HEADERS(fcntl.h unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \
-		limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h)
-AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h)
-
-AC_CHECK_HEADERS(sys/ptem.h,,,
-[[
-#if HAVE_SYS_STREAM_H
-#  include <sys/stream.h>
-#endif
-]])
-
-AC_SYS_LARGEFILE
-
-BASH_SYS_SIGNAL_VINTAGE
-BASH_SYS_REINSTALL_SIGHANDLERS
-
-BASH_FUNC_POSIX_SETJMP
-BASH_FUNC_LSTAT
-BASH_FUNC_STRCOLL
-BASH_FUNC_CTYPE_NONASCII
-
-BASH_CHECK_GETPW_FUNCS
-
-AC_HEADER_TIOCGWINSZ
-
-BASH_TYPE_SIG_ATOMIC_T
-BASH_TYPE_SIGHANDLER
-
-BASH_HAVE_TIOCSTAT
-BASH_HAVE_FIONREAD
-BASH_CHECK_SPEED_T
-BASH_STRUCT_WINSIZE
-BASH_STRUCT_DIRENT_D_INO
-BASH_STRUCT_DIRENT_D_FILENO
-
-dnl yuck
-case "$host_os" in
-aix*)   prefer_curses=yes ;;
-esac
-BASH_CHECK_LIB_TERMCAP
-if test "$TERMCAP_LIB" = "./lib/termcap/libtermcap.a"; then
-	if test "$prefer_curses" = yes; then
-		TERMCAP_LIB=-lcurses
-	else
-		TERMCAP_LIB=-ltermcap	#default
-	fi
-fi
-
-BASH_CHECK_MULTIBYTE
-
-case "$host_cpu" in
-*cray*)	LOCAL_CFLAGS=-DCRAY ;;
-*s390*) LOCAL_CFLAGS=-fsigned-char ;;
-esac
-
-case "$host_os" in
-isc*)	LOCAL_CFLAGS=-Disc386 ;;
-esac
-
-# shared library configuration section
-#
-# Shared object configuration section.  These values are generated by
-# ${srcdir}/support/shobj-conf
-#
-if test -f ${srcdir}/support/shobj-conf; then
-        AC_MSG_CHECKING(configuration for building shared libraries)
-        eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}`
-
-#	case "$SHLIB_LIBS" in
-#	*curses*|*termcap*|*termlib*)	;;
-#	*)			SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
-#	esac
-	
-        AC_SUBST(SHOBJ_CC)
-        AC_SUBST(SHOBJ_CFLAGS)
-        AC_SUBST(SHOBJ_LD)
-        AC_SUBST(SHOBJ_LDFLAGS)
-	AC_SUBST(SHOBJ_XLDFLAGS)
-        AC_SUBST(SHOBJ_LIBS)
-        AC_SUBST(SHOBJ_STATUS)
-	AC_SUBST(SHLIB_STATUS)
-	AC_SUBST(SHLIB_XLDFLAGS)
-	AC_SUBST(SHLIB_DOT)
-	AC_SUBST(SHLIB_LIBPREF)
-	AC_SUBST(SHLIB_LIBSUFF)
-	AC_SUBST(SHLIB_LIBVERSION)
-	AC_SUBST(SHLIB_DLLVERSION)
-	AC_SUBST(SHLIB_LIBS)
-        AC_MSG_RESULT($SHLIB_STATUS)
-
-	# SHLIB_STATUS is either `supported' or `unsupported'.  If it's
-	# `unsupported', turn off any default shared library building
-	if test "$SHLIB_STATUS" = 'unsupported'; then
-		opt_shared_libs=no
-	fi
-
-	# shared library versioning
-	# quoted for m4 so I can use character classes
-	SHLIB_MAJOR=[`expr "$LIBVERSION" : '\([0-9]\)\..*'`]
-	SHLIB_MINOR=[`expr "$LIBVERSION" : '[0-9]\.\([0-9]\).*'`]
-	AC_SUBST(SHLIB_MAJOR)
-	AC_SUBST(SHLIB_MINOR)
-fi
-
-if test "$opt_static_libs" = "yes"; then
-	STATIC_TARGET=static
-	STATIC_INSTALL_TARGET=install-static
-fi
-if test "$opt_shared_libs" = "yes"; then
-	SHARED_TARGET=shared
-	SHARED_INSTALL_TARGET=install-shared
-fi
-
-AC_SUBST(STATIC_TARGET)
-AC_SUBST(SHARED_TARGET)
-AC_SUBST(STATIC_INSTALL_TARGET)
-AC_SUBST(SHARED_INSTALL_TARGET)
-
-case "$build_os" in
-msdosdjgpp*)	BUILD_DIR=`pwd.exe` ;;	# to prevent //d/path/file
-*)		BUILD_DIR=`pwd` ;;
-esac
-
-case "$BUILD_DIR" in
-*\ *)	BUILD_DIR=`echo "$BUILD_DIR" | sed 's: :\\\\ :g'` ;;
-*)	;;
-esac
-
-AC_SUBST(PURIFY)
-AC_SUBST(BUILD_DIR)
-
-AC_SUBST(CFLAGS)
-AC_SUBST(LOCAL_CFLAGS)
-AC_SUBST(LOCAL_LDFLAGS)
-AC_SUBST(LOCAL_DEFS)
-
-AC_SUBST(AR)
-AC_SUBST(ARFLAGS)
-
-AC_SUBST(host_cpu)
-AC_SUBST(host_os)
-
-AC_SUBST(LIBVERSION)
-
-AC_SUBST(TERMCAP_LIB)
-
-AC_OUTPUT([Makefile doc/Makefile examples/Makefile shlib/Makefile],
-[
-# Makefile uses this timestamp file to record whether config.h is up to date.
-echo > stamp-h
-])
diff --git a/readline/doc/ChangeLog.gdb b/readline/doc/ChangeLog.gdb
index 5830e1b..f24e780 100644
--- a/readline/doc/ChangeLog.gdb
+++ b/readline/doc/ChangeLog.gdb
@@ -1,3 +1,8 @@
+2015-07-16  Micahel Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* texi2html: Reflects renaming of configure.in to configure.ac
+
 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* hsuser.texi (Using History Interactively): Disable !BashFeatures
diff --git a/readline/doc/texi2html b/readline/doc/texi2html
index 9f9c2eb..636d817 100755
--- a/readline/doc/texi2html
+++ b/readline/doc/texi2html
@@ -52,7 +52,7 @@ Maintained by: Olaf Bachmann <obachman\@mathematik.uni-kl.de>
 Send bugs and suggestions to <texi2html\@mathematik.uni-kl.de>
 EOT
 
-# Version: set in configure.in
+# Version: set in configure.ac
 $THISVERSION = '1.64';
 $THISPROG = "texi2html $THISVERSION";	# program name and version
   
diff --git a/readline/examples/rlfe/ChangeLog b/readline/examples/rlfe/ChangeLog
index ba41b2b..e1ce036 100644
--- a/readline/examples/rlfe/ChangeLog
+++ b/readline/examples/rlfe/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* Makefile.in: Reflects renaming of configure.in to configure.ac
+	* configure.ac: Renamed from configure.in
+
 2004-11-04  Per Bothner  <per@bothner.com>
 
 	* pty.c:  Import from screen-4.0.2.
diff --git a/readline/examples/rlfe/Makefile.in b/readline/examples/rlfe/Makefile.in
index 7d6fd53..702915c 100644
--- a/readline/examples/rlfe/Makefile.in
+++ b/readline/examples/rlfe/Makefile.in
@@ -43,7 +43,7 @@ SHELL=/bin/sh
 
 CFILES=	rlfe.c pty.c
 HFILES= extern.h os.h screen.h
-EXTRA_DIST=configure.in configure Makefile.in config.h.in ChangeLog README
+EXTRA_DIST=configure.ac configure Makefile.in config.h.in ChangeLog README
 OFILES=	rlfe.o pty.o
 
 all:	rlfe
@@ -175,7 +175,7 @@ Makefile makefile:	config.status $(srcdir)/Makefile.in
 config.status:	$(srcdir)/configure
 	$(SHELL) ./config.status --recheck
 
-$(srcdir)/configure:	$(srcdir)/configure.in
+$(srcdir)/configure:	$(srcdir)/configure.ac
 	cd $(srcdir) && autoconf
 
 ###############################################################################
diff --git a/readline/examples/rlfe/configure.ac b/readline/examples/rlfe/configure.ac
new file mode 100644
index 0000000..108cd3f
--- /dev/null
+++ b/readline/examples/rlfe/configure.ac
@@ -0,0 +1,442 @@
+dnl Process this file with autoconf to produce a configure script.
+
+m4_include([../../../config/override.m4])
+
+AC_INIT(rlfe.c)
+AC_CONFIG_HEADER(config.h)
+VERSION=0.4
+AC_SUBST(VERSION)
+
+dnl
+dnl Define some useful macros
+dnl
+AC_DEFUN([AC_PROGRAM_SOURCE],
+[AC_REQUIRE([AC_PROG_CPP])AC_PROVIDE([$0])cat > conftest.c <<EOF
+#include "confdefs.h"
+[$1]
+_CUT_HERE_
+[$2]
+EOF
+eval "$ac_cpp conftest.c 2>&5 | sed -e '1,/_CUT_HERE_/d' -e 's/ //g' > conftest.out"
+. ./conftest.out
+rm -f conftest*
+])dnl
+dnl
+define(AC_NOTE,
+[echo "$1" 1>&AC_FD_MSG
+])dnl
+
+old_CFLAGS="$CFLAGS"
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_GCC_TRADITIONAL
+AC_ISC_POSIX
+
+AC_TRY_RUN(main(){exit(0);},,[
+if test $CC != cc ; then
+AC_NOTE(Your $CC failed - restarting with CC=cc)
+AC_NOTE()
+CC=cc
+export CC
+exec $0 $configure_args
+fi
+])
+
+AC_TRY_RUN(main(){exit(0);},,
+exec 5>&2
+eval $ac_link
+AC_NOTE(CC=$CC; CFLAGS=$CFLAGS; LIBS=$LIBS;)
+AC_NOTE($ac_compile)
+AC_MSG_ERROR(Can't run the compiler - sorry))
+
+AC_TRY_RUN([
+main()
+{
+  int __something_strange_();
+  __something_strange_(0);
+}
+],AC_MSG_ERROR(Your compiler does not set the exit status - sorry))
+
+AC_PROG_AWK
+
+if test -f etc/toolcheck; then
+AC_CHECKING(for buggy tools)
+sh etc/toolcheck 1>&AC_FD_MSG
+fi
+
+dnl
+dnl    ****  special unix variants  ****
+dnl
+
+AC_CHECKING(for System V)
+AC_TRY_COMPILE(
+[#include <sys/types.h>
+#include <signal.h>
+#include <fcntl.h>], [int x = SIGCHLD | FNDELAY;], , AC_DEFINE(SYSV))
+
+AC_CHECKING(for Solaris 2.x)
+AC_EGREP_CPP(yes,
+[#if defined(SVR4) && defined(sun)
+  yes
+#endif
+], LIBS="$LIBS -lsocket -lnsl -lkstat")
+
+dnl
+dnl    ****  select()  ****
+dnl
+
+AC_CHECKING(select)
+AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],, 
+LIBS="$LIBS -lnet -lnsl"
+AC_CHECKING(select with $LIBS)
+AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],, 
+AC_MSG_ERROR(!!! no select - no screen))
+)
+dnl
+dnl    ****  check the select implementation ****
+dnl
+
+AC_CHECKING(select return value)
+AC_TRY_RUN([
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+
+char *nam = "/tmp/conftest$$";
+
+#ifdef NAMEDPIPE
+
+#ifndef O_NONBLOCK
+#define O_NONBLOCK O_NDELAY
+#endif
+#ifndef S_IFIFO
+#define S_IFIFO 0010000
+#endif
+
+
+main()
+{
+#ifdef FD_SET
+  fd_set f;
+#else
+  int f;
+#endif
+
+#ifdef __FreeBSD__
+/* From Andrew A. Chernov (ache@astral.msk.su):
+ * opening RDWR fifo fails in BSD 4.4, but select return values are
+ * right.
+ */
+  exit(0);
+#endif
+  (void)alarm(5);
+#ifdef POSIX
+  if (mkfifo(nam, 0777))
+#else
+  if (mknod(nam, S_IFIFO|0777, 0))
+#endif
+    exit(1);
+  close(0);
+  if (open(nam, O_RDWR | O_NONBLOCK))
+    exit(1);
+  if (write(0, "TEST", 4) == -1)
+    exit(1);
+
+#else
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/un.h>
+
+main()
+{
+  int s1, s2, l;
+  struct sockaddr_un a;
+#ifdef FD_SET
+  fd_set f;
+#else
+  int f;
+#endif
+
+  (void)alarm(5);
+  if ((s1 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
+    exit(1);
+  a.sun_family = AF_UNIX;
+  strcpy(a.sun_path, nam);
+  (void) unlink(nam);
+  if (bind(s1, (struct sockaddr *) &a, strlen(nam)+2) == -1)
+    exit(1);
+  if (listen(s1, 2))
+    exit(1);
+  if (fork() == 0)
+    {
+      if ((s2 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
+	kill(getppid(), 3);
+      (void)connect(s2, (struct sockaddr *)&a, strlen(nam) + 2);
+      if (write(s2, "HELLO", 5) == -1)
+	kill(getppid(), 3);
+      exit(0);
+    }
+  l = sizeof(a);
+  close(0);
+  if (accept(s1, (struct sockaddr *)&a, &l))
+    exit(1);
+#endif
+
+
+#ifdef FD_SET
+  FD_SET(0, &f);
+#else
+  f = 1;
+#endif
+  if (select(1, &f, 0, 0, 0) == -1)
+    exit(1);
+  if (select(1, &f, &f, 0, 0) != 2)
+    exit(1);
+  exit(0);
+}
+],AC_NOTE(- select is ok),
+AC_NOTE(- select can't count) AC_DEFINE(SELECT_BROKEN))
+
+dnl
+dnl    ****  termcap or terminfo  ****
+dnl
+AC_CHECKING(for tgetent)
+AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+olibs="$LIBS"
+LIBS="-lcurses $olibs"
+AC_CHECKING(libcurses)
+AC_TRY_LINK(,[
+#ifdef __hpux
+__sorry_hpux_libcurses_is_totally_broken_in_10_10();
+#else
+tgetent((char *)0, (char *)0);
+#endif
+],,
+LIBS="-ltermcap $olibs"
+AC_CHECKING(libtermcap)
+AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+LIBS="-ltermlib $olibs"
+AC_CHECKING(libtermlib)
+AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+LIBS="-lncurses $olibs"
+AC_CHECKING(libncurses)
+AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+AC_MSG_ERROR(!!! no tgetent - no screen))))))
+
+AC_TRY_RUN([
+main()
+{
+ exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
+}], AC_NOTE(- you use the termcap database),
+AC_NOTE(- you use the terminfo database) AC_DEFINE(TERMINFO))
+AC_CHECKING(ospeed)
+AC_TRY_LINK(extern short ospeed;,ospeed=5;,,AC_DEFINE(NEED_OSPEED))
+
+dnl
+dnl    ****  PTY specific things  ****
+dnl
+AC_CHECKING(for /dev/ptc)
+if test -r /dev/ptc; then
+AC_DEFINE(HAVE_DEV_PTC)
+fi
+
+AC_CHECKING(for SVR4 ptys)
+sysvr4ptys=
+if test -c /dev/ptmx ; then
+AC_TRY_LINK([],[ptsname(0);grantpt(0);unlockpt(0);],[AC_DEFINE(HAVE_SVR4_PTYS)
+sysvr4ptys=1])
+fi
+
+AC_CHECK_FUNCS(getpt)
+
+dnl check for openpty()
+if test -z "$sysvr4ptys"; then
+AC_CHECK_FUNCS(openpty,,
+[AC_CHECK_LIB(util,openpty, [AC_DEFINE(HAVE_OPENPTY)] [LIBS="$LIBS -lutil"])])
+fi
+
+AC_CHECKING(for ptyranges)
+if test -d /dev/ptym ; then
+pdir='/dev/ptym'
+else
+pdir='/dev'
+fi
+dnl SCO uses ptyp%d
+AC_EGREP_CPP(yes,
+[#ifdef M_UNIX
+   yes;
+#endif
+], ptys=`echo /dev/ptyp??`, ptys=`echo $pdir/pty??`)
+dnl if test -c /dev/ptyp19; then
+dnl ptys=`echo /dev/ptyp??`
+dnl else
+dnl ptys=`echo $pdir/pty??`
+dnl fi
+if test "$ptys" != "$pdir/pty??" ; then
+p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
+p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g'  | sort -u | tr -d '\012'`
+AC_DEFINE_UNQUOTED(PTYRANGE0,"$p0")
+AC_DEFINE_UNQUOTED(PTYRANGE1,"$p1")
+fi
+
+dnl    ****  pty mode/group handling ****
+dnl
+dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
+AC_ARG_WITH(pty-mode, [  --with-pty-mode=mode    default mode for ptys], [ ptymode="${withval}" ])
+AC_ARG_WITH(pty-group, [  --with-pty-group=group  default group for ptys], [ ptygrp="${withval}" ])
+test -n "$ptymode" || ptymode=0620
+if test -n "$ptygrp" ; then
+AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
+AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
+else
+
+AC_CHECKING(default tty permissions/group)
+rm -f conftest_grp
+AC_TRY_RUN([
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <stdio.h>
+main()
+{
+  struct stat sb;
+  char *x,*ttyname();
+  int om, m;
+  FILE *fp;
+
+  if (!(x = ttyname(0))) exit(1);
+  if (stat(x, &sb)) exit(1);
+  om = sb.st_mode;
+  if (om & 002) exit(0);
+  m = system("mesg y");
+  if (m == -1 || m == 127) exit(1);
+  if (stat(x, &sb)) exit(1);
+  m = sb.st_mode;
+  if (chmod(x, om)) exit(1);
+  if (m & 002) exit(0);
+  if (sb.st_gid == getgid()) exit(1);
+  if (!(fp=fopen("conftest_grp", "w")))
+    exit(1);
+  fprintf(fp, "%d\n", sb.st_gid);
+  fclose(fp);
+  exit(0);
+}
+],[
+    if test -f conftest_grp; then
+	ptygrp=`cat conftest_grp`
+	AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
+	AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
+	AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
+    else
+	AC_NOTE(- ptys are world accessable)
+    fi
+],[
+    WRITEPATH=''
+    XTERMPATH=''
+    AC_PATH_PROG(WRITEPATH, write)
+    AC_PATH_PROG(XTERMPATH, xterm)
+    found=
+    if test -n "$WRITEPATH$XTERMPATH"; then
+      findfollow=
+      lsfollow=
+      found=`find $WRITEPATH $XTERMPATH -follow -print 2>/dev/null`
+      if test -n "$found"; then
+	findfollow=-follow
+	lsfollow=L
+      fi
+      if test -n "$XTERMPATH"; then
+	ptygrpn=`ls -l$lsfollow $XTERMPATH | sed -n -e 1p | $AWK '{print $4}'`
+	if test tty != "$ptygrpn"; then
+	  XTERMPATH=
+	fi
+      fi
+    fi
+    if test -n "$WRITEPATH$XTERMPATH"; then
+      found=`find $WRITEPATH $XTERMPATH $findfollow -perm -2000 -print` 
+      if test -n "$found"; then
+	ptygrp=`ls -ln$lsfollow $found | sed -n -e 1p | $AWK '{print $4}'`
+	AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
+	AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
+	AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
+      else
+	AC_NOTE(- ptys are world accessable)
+      fi
+    else
+      AC_NOTE(- can't determine - assume ptys are world accessable)
+    fi
+  ]
+)
+rm -f conftest_grp
+fi
+
+dnl
+dnl    ****  signal handling  ****
+dnl
+if test -n "$posix" ; then
+
+dnl POSIX has reliable signals with void return type.
+AC_NOTE(assuming posix signal definition)
+AC_DEFINE(SIGVOID)
+
+else
+
+AC_CHECKING(return type of signal handlers)
+AC_TRY_COMPILE(
+[#include <sys/types.h>
+#include <signal.h>
+#ifdef signal
+#undef signal
+#endif
+extern void (*signal ()) ();], [int i;], AC_DEFINE(SIGVOID))
+AC_CHECKING(sigset)
+AC_TRY_LINK([
+#include <sys/types.h>
+#include <signal.h>
+],[
+#ifdef SIGVOID
+sigset(0, (void (*)())0);
+#else
+sigset(0, (int (*)())0);
+#endif
+], AC_DEFINE(USESIGSET))
+AC_CHECKING(signal implementation)
+AC_TRY_RUN([
+#include <sys/types.h>
+#include <signal.h>
+
+#ifndef SIGCLD
+#define SIGCLD SIGCHLD
+#endif
+#ifdef USESIGSET
+#define signal sigset
+#endif
+
+int got;
+
+#ifdef SIGVOID
+void
+#endif
+hand()
+{
+  got++;
+}
+
+main()
+{
+  /* on hpux we use sigvec to get bsd signals */
+#ifdef __hpux
+  (void)signal(SIGCLD, hand);
+  kill(getpid(), SIGCLD);
+  kill(getpid(), SIGCLD);
+  if (got < 2)
+    exit(1);
+#endif
+  exit(0);
+}
+],,AC_DEFINE(SYSVSIGS))
+
+fi
+
+AC_CHECK_HEADERS(sys/stropts.h sys/wait.h)
+
+AC_OUTPUT(Makefile)
diff --git a/readline/examples/rlfe/configure.in b/readline/examples/rlfe/configure.in
deleted file mode 100644
index 108cd3f..0000000
--- a/readline/examples/rlfe/configure.in
+++ /dev/null
@@ -1,442 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-m4_include([../../../config/override.m4])
-
-AC_INIT(rlfe.c)
-AC_CONFIG_HEADER(config.h)
-VERSION=0.4
-AC_SUBST(VERSION)
-
-dnl
-dnl Define some useful macros
-dnl
-AC_DEFUN([AC_PROGRAM_SOURCE],
-[AC_REQUIRE([AC_PROG_CPP])AC_PROVIDE([$0])cat > conftest.c <<EOF
-#include "confdefs.h"
-[$1]
-_CUT_HERE_
-[$2]
-EOF
-eval "$ac_cpp conftest.c 2>&5 | sed -e '1,/_CUT_HERE_/d' -e 's/ //g' > conftest.out"
-. ./conftest.out
-rm -f conftest*
-])dnl
-dnl
-define(AC_NOTE,
-[echo "$1" 1>&AC_FD_MSG
-])dnl
-
-old_CFLAGS="$CFLAGS"
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_GCC_TRADITIONAL
-AC_ISC_POSIX
-
-AC_TRY_RUN(main(){exit(0);},,[
-if test $CC != cc ; then
-AC_NOTE(Your $CC failed - restarting with CC=cc)
-AC_NOTE()
-CC=cc
-export CC
-exec $0 $configure_args
-fi
-])
-
-AC_TRY_RUN(main(){exit(0);},,
-exec 5>&2
-eval $ac_link
-AC_NOTE(CC=$CC; CFLAGS=$CFLAGS; LIBS=$LIBS;)
-AC_NOTE($ac_compile)
-AC_MSG_ERROR(Can't run the compiler - sorry))
-
-AC_TRY_RUN([
-main()
-{
-  int __something_strange_();
-  __something_strange_(0);
-}
-],AC_MSG_ERROR(Your compiler does not set the exit status - sorry))
-
-AC_PROG_AWK
-
-if test -f etc/toolcheck; then
-AC_CHECKING(for buggy tools)
-sh etc/toolcheck 1>&AC_FD_MSG
-fi
-
-dnl
-dnl    ****  special unix variants  ****
-dnl
-
-AC_CHECKING(for System V)
-AC_TRY_COMPILE(
-[#include <sys/types.h>
-#include <signal.h>
-#include <fcntl.h>], [int x = SIGCHLD | FNDELAY;], , AC_DEFINE(SYSV))
-
-AC_CHECKING(for Solaris 2.x)
-AC_EGREP_CPP(yes,
-[#if defined(SVR4) && defined(sun)
-  yes
-#endif
-], LIBS="$LIBS -lsocket -lnsl -lkstat")
-
-dnl
-dnl    ****  select()  ****
-dnl
-
-AC_CHECKING(select)
-AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],, 
-LIBS="$LIBS -lnet -lnsl"
-AC_CHECKING(select with $LIBS)
-AC_TRY_LINK(,[select(0, 0, 0, 0, 0);],, 
-AC_MSG_ERROR(!!! no select - no screen))
-)
-dnl
-dnl    ****  check the select implementation ****
-dnl
-
-AC_CHECKING(select return value)
-AC_TRY_RUN([
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-
-char *nam = "/tmp/conftest$$";
-
-#ifdef NAMEDPIPE
-
-#ifndef O_NONBLOCK
-#define O_NONBLOCK O_NDELAY
-#endif
-#ifndef S_IFIFO
-#define S_IFIFO 0010000
-#endif
-
-
-main()
-{
-#ifdef FD_SET
-  fd_set f;
-#else
-  int f;
-#endif
-
-#ifdef __FreeBSD__
-/* From Andrew A. Chernov (ache@astral.msk.su):
- * opening RDWR fifo fails in BSD 4.4, but select return values are
- * right.
- */
-  exit(0);
-#endif
-  (void)alarm(5);
-#ifdef POSIX
-  if (mkfifo(nam, 0777))
-#else
-  if (mknod(nam, S_IFIFO|0777, 0))
-#endif
-    exit(1);
-  close(0);
-  if (open(nam, O_RDWR | O_NONBLOCK))
-    exit(1);
-  if (write(0, "TEST", 4) == -1)
-    exit(1);
-
-#else
-
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-
-main()
-{
-  int s1, s2, l;
-  struct sockaddr_un a;
-#ifdef FD_SET
-  fd_set f;
-#else
-  int f;
-#endif
-
-  (void)alarm(5);
-  if ((s1 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
-    exit(1);
-  a.sun_family = AF_UNIX;
-  strcpy(a.sun_path, nam);
-  (void) unlink(nam);
-  if (bind(s1, (struct sockaddr *) &a, strlen(nam)+2) == -1)
-    exit(1);
-  if (listen(s1, 2))
-    exit(1);
-  if (fork() == 0)
-    {
-      if ((s2 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
-	kill(getppid(), 3);
-      (void)connect(s2, (struct sockaddr *)&a, strlen(nam) + 2);
-      if (write(s2, "HELLO", 5) == -1)
-	kill(getppid(), 3);
-      exit(0);
-    }
-  l = sizeof(a);
-  close(0);
-  if (accept(s1, (struct sockaddr *)&a, &l))
-    exit(1);
-#endif
-
-
-#ifdef FD_SET
-  FD_SET(0, &f);
-#else
-  f = 1;
-#endif
-  if (select(1, &f, 0, 0, 0) == -1)
-    exit(1);
-  if (select(1, &f, &f, 0, 0) != 2)
-    exit(1);
-  exit(0);
-}
-],AC_NOTE(- select is ok),
-AC_NOTE(- select can't count) AC_DEFINE(SELECT_BROKEN))
-
-dnl
-dnl    ****  termcap or terminfo  ****
-dnl
-AC_CHECKING(for tgetent)
-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
-olibs="$LIBS"
-LIBS="-lcurses $olibs"
-AC_CHECKING(libcurses)
-AC_TRY_LINK(,[
-#ifdef __hpux
-__sorry_hpux_libcurses_is_totally_broken_in_10_10();
-#else
-tgetent((char *)0, (char *)0);
-#endif
-],,
-LIBS="-ltermcap $olibs"
-AC_CHECKING(libtermcap)
-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
-LIBS="-ltermlib $olibs"
-AC_CHECKING(libtermlib)
-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
-LIBS="-lncurses $olibs"
-AC_CHECKING(libncurses)
-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
-AC_MSG_ERROR(!!! no tgetent - no screen))))))
-
-AC_TRY_RUN([
-main()
-{
- exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
-}], AC_NOTE(- you use the termcap database),
-AC_NOTE(- you use the terminfo database) AC_DEFINE(TERMINFO))
-AC_CHECKING(ospeed)
-AC_TRY_LINK(extern short ospeed;,ospeed=5;,,AC_DEFINE(NEED_OSPEED))
-
-dnl
-dnl    ****  PTY specific things  ****
-dnl
-AC_CHECKING(for /dev/ptc)
-if test -r /dev/ptc; then
-AC_DEFINE(HAVE_DEV_PTC)
-fi
-
-AC_CHECKING(for SVR4 ptys)
-sysvr4ptys=
-if test -c /dev/ptmx ; then
-AC_TRY_LINK([],[ptsname(0);grantpt(0);unlockpt(0);],[AC_DEFINE(HAVE_SVR4_PTYS)
-sysvr4ptys=1])
-fi
-
-AC_CHECK_FUNCS(getpt)
-
-dnl check for openpty()
-if test -z "$sysvr4ptys"; then
-AC_CHECK_FUNCS(openpty,,
-[AC_CHECK_LIB(util,openpty, [AC_DEFINE(HAVE_OPENPTY)] [LIBS="$LIBS -lutil"])])
-fi
-
-AC_CHECKING(for ptyranges)
-if test -d /dev/ptym ; then
-pdir='/dev/ptym'
-else
-pdir='/dev'
-fi
-dnl SCO uses ptyp%d
-AC_EGREP_CPP(yes,
-[#ifdef M_UNIX
-   yes;
-#endif
-], ptys=`echo /dev/ptyp??`, ptys=`echo $pdir/pty??`)
-dnl if test -c /dev/ptyp19; then
-dnl ptys=`echo /dev/ptyp??`
-dnl else
-dnl ptys=`echo $pdir/pty??`
-dnl fi
-if test "$ptys" != "$pdir/pty??" ; then
-p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
-p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g'  | sort -u | tr -d '\012'`
-AC_DEFINE_UNQUOTED(PTYRANGE0,"$p0")
-AC_DEFINE_UNQUOTED(PTYRANGE1,"$p1")
-fi
-
-dnl    ****  pty mode/group handling ****
-dnl
-dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
-AC_ARG_WITH(pty-mode, [  --with-pty-mode=mode    default mode for ptys], [ ptymode="${withval}" ])
-AC_ARG_WITH(pty-group, [  --with-pty-group=group  default group for ptys], [ ptygrp="${withval}" ])
-test -n "$ptymode" || ptymode=0620
-if test -n "$ptygrp" ; then
-AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
-AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
-else
-
-AC_CHECKING(default tty permissions/group)
-rm -f conftest_grp
-AC_TRY_RUN([
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <stdio.h>
-main()
-{
-  struct stat sb;
-  char *x,*ttyname();
-  int om, m;
-  FILE *fp;
-
-  if (!(x = ttyname(0))) exit(1);
-  if (stat(x, &sb)) exit(1);
-  om = sb.st_mode;
-  if (om & 002) exit(0);
-  m = system("mesg y");
-  if (m == -1 || m == 127) exit(1);
-  if (stat(x, &sb)) exit(1);
-  m = sb.st_mode;
-  if (chmod(x, om)) exit(1);
-  if (m & 002) exit(0);
-  if (sb.st_gid == getgid()) exit(1);
-  if (!(fp=fopen("conftest_grp", "w")))
-    exit(1);
-  fprintf(fp, "%d\n", sb.st_gid);
-  fclose(fp);
-  exit(0);
-}
-],[
-    if test -f conftest_grp; then
-	ptygrp=`cat conftest_grp`
-	AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
-	AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
-	AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
-    else
-	AC_NOTE(- ptys are world accessable)
-    fi
-],[
-    WRITEPATH=''
-    XTERMPATH=''
-    AC_PATH_PROG(WRITEPATH, write)
-    AC_PATH_PROG(XTERMPATH, xterm)
-    found=
-    if test -n "$WRITEPATH$XTERMPATH"; then
-      findfollow=
-      lsfollow=
-      found=`find $WRITEPATH $XTERMPATH -follow -print 2>/dev/null`
-      if test -n "$found"; then
-	findfollow=-follow
-	lsfollow=L
-      fi
-      if test -n "$XTERMPATH"; then
-	ptygrpn=`ls -l$lsfollow $XTERMPATH | sed -n -e 1p | $AWK '{print $4}'`
-	if test tty != "$ptygrpn"; then
-	  XTERMPATH=
-	fi
-      fi
-    fi
-    if test -n "$WRITEPATH$XTERMPATH"; then
-      found=`find $WRITEPATH $XTERMPATH $findfollow -perm -2000 -print` 
-      if test -n "$found"; then
-	ptygrp=`ls -ln$lsfollow $found | sed -n -e 1p | $AWK '{print $4}'`
-	AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
-	AC_DEFINE_UNQUOTED(PTYMODE, $ptymode)
-	AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
-      else
-	AC_NOTE(- ptys are world accessable)
-      fi
-    else
-      AC_NOTE(- can't determine - assume ptys are world accessable)
-    fi
-  ]
-)
-rm -f conftest_grp
-fi
-
-dnl
-dnl    ****  signal handling  ****
-dnl
-if test -n "$posix" ; then
-
-dnl POSIX has reliable signals with void return type.
-AC_NOTE(assuming posix signal definition)
-AC_DEFINE(SIGVOID)
-
-else
-
-AC_CHECKING(return type of signal handlers)
-AC_TRY_COMPILE(
-[#include <sys/types.h>
-#include <signal.h>
-#ifdef signal
-#undef signal
-#endif
-extern void (*signal ()) ();], [int i;], AC_DEFINE(SIGVOID))
-AC_CHECKING(sigset)
-AC_TRY_LINK([
-#include <sys/types.h>
-#include <signal.h>
-],[
-#ifdef SIGVOID
-sigset(0, (void (*)())0);
-#else
-sigset(0, (int (*)())0);
-#endif
-], AC_DEFINE(USESIGSET))
-AC_CHECKING(signal implementation)
-AC_TRY_RUN([
-#include <sys/types.h>
-#include <signal.h>
-
-#ifndef SIGCLD
-#define SIGCLD SIGCHLD
-#endif
-#ifdef USESIGSET
-#define signal sigset
-#endif
-
-int got;
-
-#ifdef SIGVOID
-void
-#endif
-hand()
-{
-  got++;
-}
-
-main()
-{
-  /* on hpux we use sigvec to get bsd signals */
-#ifdef __hpux
-  (void)signal(SIGCLD, hand);
-  kill(getpid(), SIGCLD);
-  kill(getpid(), SIGCLD);
-  if (got < 2)
-    exit(1);
-#endif
-  exit(0);
-}
-],,AC_DEFINE(SYSVSIGS))
-
-fi
-
-AC_CHECK_HEADERS(sys/stropts.h sys/wait.h)
-
-AC_OUTPUT(Makefile)
diff --git a/sim/ChangeLog b/sim/ChangeLog
index d237972..4798405 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-06-23  Mike Frysinger  <vapier@gentoo.org>
 
 	* configure.ac (AC_ARG_ENABLE(sim)): Call AS_HELP_STRING.
diff --git a/sim/configure b/sim/configure
index a90d352..911747a 100755
--- a/sim/configure
+++ b/sim/configure
@@ -5090,7 +5090,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
index 20038f1..3147c0b 100644
--- a/sim/testsuite/ChangeLog
+++ b/sim/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR binutils/18450
+	* Makefile.in: Reflects renaming of configure.in to configure.ac
+	* configure: Likewise
+
 2015-04-13  Hans-Peter Nilsson  <hp@axis.com>
 
 	* sim-defs.exp (sim_init): Unset target ldscript here.
diff --git a/sim/testsuite/Makefile.in b/sim/testsuite/Makefile.in
index dd56225..f3bb6c3 100644
--- a/sim/testsuite/Makefile.in
+++ b/sim/testsuite/Makefile.in
@@ -177,5 +177,5 @@ config.status: $(srcdir)/configure
 	$(SHELL) ./config.status --recheck
 # FIXME: Requires --enable-maintainer-mode, which one could add, but
 # it's provided by automake.  Maybe switch to automake someday.
-#$(srcdir)/configure: @MAINT@ $(srcdir)/configure.in
+#$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac
 #	cd $(srcdir) && autoconf
diff --git a/sim/testsuite/configure b/sim/testsuite/configure
index c5980fe..38967c4 100755
--- a/sim/testsuite/configure
+++ b/sim/testsuite/configure
@@ -3165,7 +3165,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
diff --git a/src-release.sh b/src-release.sh
index 40d0126..9668a1a 100755
--- a/src-release.sh
+++ b/src-release.sh
@@ -48,7 +48,7 @@ DEVO_SUPPORT="README Makefile.in configure configure.ac \
 	COPYING3 COPYING3.LIB"
 
 # Files in devo/etc used in any net release.
-ETC_SUPPORT="Makefile.in configure configure.in standards.texi \
+ETC_SUPPORT="Makefile.in configure configure.ac standards.texi \
 	make-stds.texi standards.info* configure.texi configure.info* \
 	ChangeLog configbuild.* configdev.* fdl.texi texi2pod.pl gnu-oids.texi"
 
-- 
2.4.4


[-- Attachment #3: gcc.combined.build.patch.updated --]
[-- Type: application/octet-stream, Size: 35472 bytes --]

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 225907)
+++ ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* config-ml.in: Reflects renaming of configure.in to configure.ac
+	* configure: Likewise
+	* configure.ac: Likewise
+
 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	Sync with binutils-gdb:
Index: boehm-gc/ChangeLog
===================================================================
--- boehm-gc/ChangeLog	(revision 225907)
+++ boehm-gc/ChangeLog	(working copy)
@@ -1,3 +1,11 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* Makefile.direct: Reflects renaming of configure.in to configure.ac
+	* Makefile.dist: Likewise
+	* version.h: Likewise
+	* doc/README: Likewise
+
 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
 
 	* Makefile.in: Regenerated with automake-1.11.6.
Index: boehm-gc/Makefile.direct
===================================================================
--- boehm-gc/Makefile.direct	(revision 225907)
+++ boehm-gc/Makefile.direct	(working copy)
@@ -331,7 +331,7 @@
 TESTS= tests/test.c tests/test_cpp.cc tests/trace_test.c \
 	tests/leak_test.c tests/thread_leak_test.c tests/middle.c
 
-GNU_BUILD_FILES= configure.in Makefile.am configure acinclude.m4 \
+GNU_BUILD_FILES= configure.ac Makefile.am configure acinclude.m4 \
 		 libtool.m4 install-sh configure.host Makefile.in \
 		 aclocal.m4 config.sub config.guess \
 		 include/Makefile.am include/Makefile.in \
Index: boehm-gc/Makefile.dist
===================================================================
--- boehm-gc/Makefile.dist	(revision 225907)
+++ boehm-gc/Makefile.dist	(working copy)
@@ -326,7 +326,7 @@
 TESTS= tests/test.c tests/test_cpp.cc tests/trace_test.c \
 	tests/leak_test.c tests/thread_leak_test.c tests/middle.c
 
-GNU_BUILD_FILES= configure.in Makefile.am configure acinclude.m4 \
+GNU_BUILD_FILES= configure.ac Makefile.am configure acinclude.m4 \
 		 libtool.m4 install-sh configure.host Makefile.in \
 		 aclocal.m4 config.sub config.guess \
 		 include/Makefile.am include/Makefile.in \
Index: boehm-gc/doc/README
===================================================================
--- boehm-gc/doc/README	(revision 225907)
+++ boehm-gc/doc/README	(working copy)
@@ -6,7 +6,7 @@
 The file linux_threads.c is also
 Copyright (c) 1998 by Fergus Henderson.  All rights reserved.
 
-The files Makefile.am, and configure.in are
+The files Makefile.am, and configure.ac are
 Copyright (c) 2001 by Red Hat Inc. All rights reserved.
 
 Several files supporting GNU-style builds are copyrighted by the Free
Index: boehm-gc/version.h
===================================================================
--- boehm-gc/version.h	(revision 225907)
+++ boehm-gc/version.h	(working copy)
@@ -1,4 +1,4 @@
-/* The version here should match that in configure/configure.in	*/
+/* The version here should match that in configure/configure.ac	*/
 /* Eventually this one may become unnecessary.  For now we need	*/
 /* it to keep the old-style build process working.		*/
 #define GC_TMP_VERSION_MAJOR 6
@@ -14,7 +14,7 @@
      GC_TMP_VERSION_MINOR != GC_VERSION_MINOR || \
      defined(GC_ALPHA_VERSION) != (GC_TMP_ALPHA_VERSION != GC_NOT_ALPHA) || \
      defined(GC_ALPHA_VERSION) && GC_TMP_ALPHA_VERSION != GC_ALPHA_VERSION
-#   error Inconsistent version info.  Check README, version.h, and configure.in.
+#   error Inconsistent version info.  Check README, version.h, and configure.ac.
 # endif
 #else
 # define GC_VERSION_MAJOR GC_TMP_VERSION_MAJOR
Index: config/ChangeLog
===================================================================
--- config/ChangeLog	(revision 225907)
+++ config/ChangeLog	(working copy)
@@ -1,3 +1,11 @@
+2015-07-16  Micahel Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* gettext.m4: Reflects renaming of configure.in to configure.ac
+	* po.m4: Likewise
+	* stdint.m4: Likewise
+	* tcl.m4: Likewise
+
 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* zlib.m4: Sync with binutils-gdb.
Index: config/gettext.m4
===================================================================
--- config/gettext.m4	(revision 225907)
+++ config/gettext.m4	(working copy)
@@ -81,7 +81,7 @@
   dnl Ideally we would do this search only after the
   dnl      if test "$USE_NLS" = "yes"; then
   dnl        if test "$gt_cv_func_gnugettext_libc" != "yes"; then
-  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
+  dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
   dnl the configure script would need to contain the same shell code
   dnl again, outside any 'if'. There are two solutions:
   dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
@@ -303,7 +303,7 @@
     AC_SUBST(USE_INCLUDED_LIBINTL)
     AC_SUBST(CATOBJEXT)
 
-    dnl For backward compatibility. Some configure.ins may be using this.
+    dnl For backward compatibility. Some configure.acs may be using this.
     nls_cv_header_intl=
     nls_cv_header_libgt=
 
Index: config/po.m4
===================================================================
--- config/po.m4	(revision 225907)
+++ config/po.m4	(working copy)
@@ -117,7 +117,7 @@
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
@@ -124,7 +124,7 @@
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
Index: config/stdint.m4
===================================================================
--- config/stdint.m4	(revision 225907)
+++ config/stdint.m4	(working copy)
@@ -39,7 +39,7 @@
 dnl create an installable file mylib-int.h that all your other installable
 dnl header may include. So, for a library package named "mylib", just use
 dnl      GCC_HEADER_STDINT(mylib-int.h)
-dnl in configure.in and install that header file in Makefile.am along with
+dnl in configure.ac and install that header file in Makefile.am along with
 dnl the other headers (mylib.h).  The mylib-specific headers can simply
 dnl use "#include <mylib-int.h>" to obtain the stdint-types.
 dnl
Index: config/tcl.m4
===================================================================
--- config/tcl.m4	(revision 225907)
+++ config/tcl.m4	(working copy)
@@ -2136,7 +2136,7 @@
             INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))'
         fi
 
-dnl        Not at all clear what this was doing in Tcl's configure.in
+dnl        Not at all clear what this was doing in Tcl's configure.ac
 dnl        or why it was needed was needed. In any event, this sort of
 dnl        things needs to be done in the big loop above.
 dnl        REMOVE THIS BLOCK LATER! (mdejong)
@@ -3235,7 +3235,7 @@
 #		created. Accumulates.
 #
 #	Requires presence of SC_OUTPUT_COMMANDS_PRE at the end
-#	of configure.in (right before AC_OUTPUT).
+#	of configure.ac (right before AC_OUTPUT).
 #
 #--------------------------------------------------------------------
 
Index: config-ml.in
===================================================================
--- config-ml.in	(revision 225907)
+++ config-ml.in	(working copy)
@@ -31,7 +31,7 @@
 # user select which libraries s/he really wants.
 #
 # Subdirectories wishing to use multilib should put the following lines
-# in the "post-target" section of configure.in.
+# in the "post-target" section of configure.ac.
 #
 # if [ "${srcdir}" = "." ] ; then
 #   if [ "${with_target_subdir}" != "." ] ; then
@@ -182,8 +182,8 @@
 # ${with_multisubdir} tells us we're in the right branch, but we could be
 # in a subdir of that.
 # ??? The previous version could void this test by separating the process into
-# two files: one that only the library's toplevel configure.in ran (to
-# configure the multilib subdirs), and another that all configure.in's ran to
+# two files: one that only the library's toplevel configure.ac ran (to
+# configure the multilib subdirs), and another that all configure.ac's ran to
 # update the Makefile.  It seemed reasonable to collapse all multilib support
 # into one file, but it does leave us with having to perform this test.
 ml_toplevel_p=no
Index: configure
===================================================================
--- configure	(revision 225907)
+++ configure	(working copy)
@@ -6176,7 +6176,7 @@
   if test x"${enable_languages+set}" != xset; then
     if test x"${LANGUAGES+set}" = xset; then
       enable_languages="${LANGUAGES}"
-        echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
+        echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
     else
       enable_languages=all
     fi
@@ -6184,7 +6184,7 @@
     if test x"${enable_languages}" = x ||
        test x"${enable_languages}" = xyes;
        then
-      echo configure.in: --enable-languages needs at least one language argument 1>&2
+      echo configure.ac: --enable-languages needs at least one language argument 1>&2
       exit 1
     fi
   fi
@@ -6194,7 +6194,7 @@
   # and make the substitution.
   case ,${enable_languages}, in
     *,f95,*)
-      echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
+      echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
       ;;
   esac
@@ -6816,7 +6816,7 @@
 # have requested that this magic not happen.
 #
 # The command line options always override the explicit settings in
-# configure.in, and the settings in configure.in override this magic.
+# configure.ac, and the settings in configure.ac override this magic.
 #
 # If the default for a toolchain is to use GNU as and ld, and you don't
 # want to do that, then you should use the --without-gnu-as and
Index: configure.ac
===================================================================
--- configure.ac	(revision 225907)
+++ configure.ac	(working copy)
@@ -1866,7 +1866,7 @@
   if test x"${enable_languages+set}" != xset; then
     if test x"${LANGUAGES+set}" = xset; then
       enable_languages="${LANGUAGES}"
-        echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
+        echo configure.ac: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
     else
       enable_languages=all
     fi
@@ -1874,7 +1874,7 @@
     if test x"${enable_languages}" = x ||
        test x"${enable_languages}" = xyes;
        then
-      echo configure.in: --enable-languages needs at least one language argument 1>&2
+      echo configure.ac: --enable-languages needs at least one language argument 1>&2
       exit 1
     fi
   fi
@@ -1884,7 +1884,7 @@
   # and make the substitution.
   case ,${enable_languages}, in
     *,f95,*)
-      echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
+      echo configure.ac: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
       enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
       ;;
   esac
@@ -2455,7 +2455,7 @@
 # have requested that this magic not happen.
 # 
 # The command line options always override the explicit settings in 
-# configure.in, and the settings in configure.in override this magic.
+# configure.ac, and the settings in configure.ac override this magic.
 #
 # If the default for a toolchain is to use GNU as and ld, and you don't 
 # want to do that, then you should use the --without-gnu-as and
Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog	(revision 225907)
+++ gcc/ChangeLog	(working copy)
@@ -1,3 +1,13 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* acinclude.m4: Reflects renaming of configure.in to configure.ac
+	* configure: Likewise
+	* configure.ac: Likewise
+	* doc/install.texi: Likewise
+	* doc/tm.texi: Likewise
+	* doc/tm.texi.in: Likewise
+
 2015-07-16  Nathan Sidwell  <nathan@codesourcery.com>
 
 	* config/nvptx/mkoffload.c (process): Constify mapping variables.
Index: gcc/acinclude.m4
===================================================================
--- gcc/acinclude.m4	(revision 225907)
+++ gcc/acinclude.m4	(working copy)
@@ -390,7 +390,7 @@
 [gcc_cv_as_bfd_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/bfd
 for f in $gcc_cv_as_bfd_srcdir/configure \
          $gcc_cv_as_gas_srcdir/configure \
-         $gcc_cv_as_gas_srcdir/configure.in \
+         $gcc_cv_as_gas_srcdir/configure.ac \
          $gcc_cv_as_gas_srcdir/Makefile.in ; do
   gcc_cv_gas_version=`sed -n -e 's/^[[ 	]]*VERSION=[[^0-9A-Za-z_]]*\([[0-9]]*\.[[0-9]]*.*\)/VERSION=\1/p' < $f`
   if test x$gcc_cv_gas_version != x; then
Index: gcc/ada/ChangeLog
===================================================================
--- gcc/ada/ChangeLog	(revision 225907)
+++ gcc/ada/ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2015-07-16  Micahel Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* prj-nmsc.adb: Reflects renaming of configure.in to configure.ac
+	* gcc-interface/Makefile.in: Likewise
+
 2015-07-12  Aldy Hernandez  <aldyh@redhat.com>
 
 	* gcc-interface/utils.c: Fix double word typos.
Index: gcc/ada/gcc-interface/Makefile.in
===================================================================
--- gcc/ada/gcc-interface/Makefile.in	(revision 225907)
+++ gcc/ada/gcc-interface/Makefile.in	(working copy)
@@ -148,7 +148,7 @@
 
 # We don't use cross-make.  Instead we use the tools from the build tree,
 # if they are available.
-# program_transform_name and objdir are set by configure.in.
+# program_transform_name and objdir are set by configure.ac.
 program_transform_name =
 objdir = .
 
Index: gcc/ada/prj-nmsc.adb
===================================================================
--- gcc/ada/prj-nmsc.adb	(revision 225907)
+++ gcc/ada/prj-nmsc.adb	(working copy)
@@ -580,7 +580,7 @@
          Canonical_Case_File_Name (Suf);
 
          --  The file name must end with the suffix (which is not an extension)
-         --  For instance a suffix "configure.in" must match a file with the
+         --  For instance a suffix "configure.ac" must match a file with the
          --  same name. To avoid dummy cases, though, a suffix starting with
          --  '.' requires a file that is at least one character longer ('.cpp'
          --  should not match a file with the same name).
Index: gcc/configure
===================================================================
--- gcc/configure	(revision 225907)
+++ gcc/configure	(working copy)
@@ -21675,7 +21675,7 @@
 
 if test -x "$DEFAULT_ASSEMBLER"; then
 	gcc_cv_as="$DEFAULT_ASSEMBLER"
-elif test -f $gcc_cv_as_gas_srcdir/configure.in \
+elif test -f $gcc_cv_as_gas_srcdir/configure.ac \
      && test -f ../gas/Makefile \
      && test x$build = x$host; then
 	gcc_cv_as=../gas/as-new$build_exeext
@@ -21748,7 +21748,7 @@
   gcc_cv_as_bfd_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/bfd
 for f in $gcc_cv_as_bfd_srcdir/configure \
          $gcc_cv_as_gas_srcdir/configure \
-         $gcc_cv_as_gas_srcdir/configure.in \
+         $gcc_cv_as_gas_srcdir/configure.ac \
          $gcc_cv_as_gas_srcdir/Makefile.in ; do
   gcc_cv_gas_version=`sed -n -e 's/^[ 	]*VERSION=[^0-9A-Za-z_]*\([0-9]*\.[0-9]*.*\)/VERSION=\1/p' < $f`
   if test x$gcc_cv_gas_version != x; then
@@ -21838,7 +21838,7 @@
      && test -f ../gold/Makefile \
      && test x$build = x$host; then
 	gcc_cv_ld=../gold/ld-new$build_exeext
-elif test -f $gcc_cv_ld_gld_srcdir/configure.in \
+elif test -f $gcc_cv_ld_gld_srcdir/configure.ac \
      && test -f ../ld/Makefile \
      && test x$build = x$host; then
 	gcc_cv_ld=../ld/ld-new$build_exeext
@@ -21954,7 +21954,7 @@
 	elif test "$ld_is_gold" = yes; then
 	  in_tree_ld_is_elf=yes
 	fi
-	for f in $gcc_cv_ld_bfd_srcdir/configure $gcc_cv_ld_gld_srcdir/configure $gcc_cv_ld_gld_srcdir/configure.in $gcc_cv_ld_gld_srcdir/Makefile.in
+	for f in $gcc_cv_ld_bfd_srcdir/configure $gcc_cv_ld_gld_srcdir/configure $gcc_cv_ld_gld_srcdir/configure.ac $gcc_cv_ld_gld_srcdir/Makefile.in
 	do
 		gcc_cv_gld_version=`sed -n -e 's/^[ 	]*VERSION=[^0-9A-Za-z_]*\([0-9]*\.[0-9]*.*\)/VERSION=\1/p' < $f`
 		if test x$gcc_cv_gld_version != x; then
@@ -21987,7 +21987,7 @@
 
 else
 
-if test -f $gcc_cv_binutils_srcdir/configure.in \
+if test -f $gcc_cv_binutils_srcdir/configure.ac \
      && test -f ../binutils/Makefile \
      && test x$build = x$host; then
 	gcc_cv_nm=../binutils/nm-new$build_exeext
@@ -22066,7 +22066,7 @@
 
 else
 
-if test -f $gcc_cv_binutils_srcdir/configure.in \
+if test -f $gcc_cv_binutils_srcdir/configure.ac \
      && test -f ../binutils/Makefile \
      && test x$build = x$host; then
 	# Single tree build which includes binutils.
@@ -22138,7 +22138,7 @@
 
 else
 
-if test -f $gcc_cv_binutils_srcdir/configure.in \
+if test -f $gcc_cv_binutils_srcdir/configure.ac \
      && test -f ../binutils/Makefile \
      && test x$build = x$host; then
 	# Single tree build which includes binutils.
Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 225907)
+++ gcc/configure.ac	(working copy)
@@ -2085,7 +2085,7 @@
 AS_VAR_SET_IF(gcc_cv_as,, [
 if test -x "$DEFAULT_ASSEMBLER"; then
 	gcc_cv_as="$DEFAULT_ASSEMBLER"
-elif test -f $gcc_cv_as_gas_srcdir/configure.in \
+elif test -f $gcc_cv_as_gas_srcdir/configure.ac \
      && test -f ../gas/Makefile \
      && test x$build = x$host; then
 	gcc_cv_as=../gas/as-new$build_exeext
@@ -2174,7 +2174,7 @@
      && test -f ../gold/Makefile \
      && test x$build = x$host; then
 	gcc_cv_ld=../gold/ld-new$build_exeext
-elif test -f $gcc_cv_ld_gld_srcdir/configure.in \
+elif test -f $gcc_cv_ld_gld_srcdir/configure.ac \
      && test -f ../ld/Makefile \
      && test x$build = x$host; then
 	gcc_cv_ld=../ld/ld-new$build_exeext
@@ -2238,7 +2238,7 @@
 	elif test "$ld_is_gold" = yes; then
 	  in_tree_ld_is_elf=yes
 	fi
-	for f in $gcc_cv_ld_bfd_srcdir/configure $gcc_cv_ld_gld_srcdir/configure $gcc_cv_ld_gld_srcdir/configure.in $gcc_cv_ld_gld_srcdir/Makefile.in
+	for f in $gcc_cv_ld_bfd_srcdir/configure $gcc_cv_ld_gld_srcdir/configure $gcc_cv_ld_gld_srcdir/configure.ac $gcc_cv_ld_gld_srcdir/Makefile.in
 	do
 changequote(,)dnl
 		gcc_cv_gld_version=`sed -n -e 's/^[ 	]*VERSION=[^0-9A-Za-z_]*\([0-9]*\.[0-9]*.*\)/VERSION=\1/p' < $f`
@@ -2271,7 +2271,7 @@
 # Figure out what nm we will be using.
 gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils
 AS_VAR_SET_IF(gcc_cv_nm,, [
-if test -f $gcc_cv_binutils_srcdir/configure.in \
+if test -f $gcc_cv_binutils_srcdir/configure.ac \
      && test -f ../binutils/Makefile \
      && test x$build = x$host; then
 	gcc_cv_nm=../binutils/nm-new$build_exeext
@@ -2303,7 +2303,7 @@
 
 # Figure out what objdump we will be using.
 AS_VAR_SET_IF(gcc_cv_objdump,, [
-if test -f $gcc_cv_binutils_srcdir/configure.in \
+if test -f $gcc_cv_binutils_srcdir/configure.ac \
      && test -f ../binutils/Makefile \
      && test x$build = x$host; then
 	# Single tree build which includes binutils.
@@ -2328,7 +2328,7 @@
 
 # Figure out what readelf we will be using.
 AS_VAR_SET_IF(gcc_cv_readelf,, [
-if test -f $gcc_cv_binutils_srcdir/configure.in \
+if test -f $gcc_cv_binutils_srcdir/configure.ac \
      && test -f ../binutils/Makefile \
      && test x$build = x$host; then
 	# Single tree build which includes binutils.
Index: gcc/doc/install.texi
===================================================================
--- gcc/doc/install.texi	(revision 225907)
+++ gcc/doc/install.texi	(working copy)
@@ -2108,7 +2108,7 @@
 libraries will be enabled too, unless they're known to not work on
 the target platform.  If GCJ is enabled but @samp{libgcj} isn't built, you
 may need to port it; in this case, before modifying the top-level
-@file{configure.in} so that @samp{libgcj} is enabled by default on this platform,
+@file{configure.ac} so that @samp{libgcj} is enabled by default on this platform,
 you may use @option{--enable-libgcj} to override the default.
 
 @end table
Index: gcc/doc/tm.texi
===================================================================
--- gcc/doc/tm.texi	(revision 225907)
+++ gcc/doc/tm.texi	(working copy)
@@ -412,7 +412,7 @@
 @code{STANDARD_EXEC_PREFIX}.  @code{MD_EXEC_PREFIX} is not searched
 when the compiler is built as a cross
 compiler.  If you define @code{MD_EXEC_PREFIX}, then be sure to add it
-to the list of directories used to find the assembler in @file{configure.in}.
+to the list of directories used to find the assembler in @file{configure.ac}.
 @end defmac
 
 @defmac STANDARD_STARTFILE_PREFIX
Index: gcc/doc/tm.texi.in
===================================================================
--- gcc/doc/tm.texi.in	(revision 225907)
+++ gcc/doc/tm.texi.in	(working copy)
@@ -410,7 +410,7 @@
 @code{STANDARD_EXEC_PREFIX}.  @code{MD_EXEC_PREFIX} is not searched
 when the compiler is built as a cross
 compiler.  If you define @code{MD_EXEC_PREFIX}, then be sure to add it
-to the list of directories used to find the assembler in @file{configure.in}.
+to the list of directories used to find the assembler in @file{configure.ac}.
 @end defmac
 
 @defmac STANDARD_STARTFILE_PREFIX
Index: intl/ChangeLog
===================================================================
--- intl/ChangeLog	(revision 225907)
+++ intl/ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2015-07-16  Micahel Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
 
 	* aclocal.m4: Regenerated with automake-1.11.6.
Index: intl/configure
===================================================================
--- intl/configure	(revision 225907)
+++ intl/configure	(working copy)
@@ -7851,7 +7851,7 @@
           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
             # The LINGUAS file contains the set of available languages.
             if test -n "$OBSOLETE_ALL_LINGUAS"; then
-              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
             fi
             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
             # Hide the ALL_LINGUAS assigment from automake.
@@ -7858,7 +7858,7 @@
             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
           else
-            # The set of available languages was given in configure.in.
+            # The set of available languages was given in configure.ac.
             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
           fi
           case "$ac_given_srcdir" in
Index: libjava/ChangeLog
===================================================================
--- libjava/ChangeLog	(revision 225907)
+++ libjava/ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-05-28  Andreas Tobler  <andreast@gcc.gnu.org>
 
 	* configure.host: Add bits for FreeBSD amd64 and i386.
Index: libjava/classpath/ChangeLog
===================================================================
--- libjava/classpath/ChangeLog	(revision 225907)
+++ libjava/classpath/ChangeLog	(working copy)
@@ -1,3 +1,13 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* INSTALL: Reflects renaming of configure.in to configure.ac
+	* ltconfig: Likewise
+	* missing: Likewise
+	* m4/ac_prog_javac.m4: Likewise
+	* m4/ac_prog/javac_works.m4: Likewise
+	* resource/META-INF/mimetypes.default: Likewise
+
 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
 
 	 * Makefile.in: Regenerated with automake-1.11.6.
Index: libjava/classpath/INSTALL
===================================================================
--- libjava/classpath/INSTALL	(revision 225907)
+++ libjava/classpath/INSTALL	(working copy)
@@ -43,10 +43,9 @@
 some point `config.cache' contains results you don't want to keep, you
 may remove or edit it.
 
-   The file `configure.ac' (or `configure.in') is used to create
-`configure' by a program called `autoconf'.  You need `configure.ac' if
-you want to change it or regenerate `configure' using a newer version
-of `autoconf'.
+   The file `configure.ac' is used to create `configure' by a program
+called `autoconf'.  You need `configure.ac' if you want to change it or
+regenerate `configure' using a newer version of `autoconf'.
 
    The simplest way to compile this package is:
 
Index: libjava/classpath/ltconfig
===================================================================
--- libjava/classpath/ltconfig	(revision 225907)
+++ libjava/classpath/ltconfig	(working copy)
@@ -1588,7 +1588,7 @@
 echo "checking if libtool supports shared libraries... $can_build_shared" 1>&6
 
 # Only try to build win32 dlls if AC_LIBTOOL_WIN32_DLL was used in
-# configure.in, otherwise build static only libraries.
+# configure.ac, otherwise build static only libraries.
 case $host_os in
 cygwin* | mingw* | pw32* | os2*)
   if test x$can_build_shared = xyes; then
Index: libjava/classpath/m4/ac_prog_javac.m4
===================================================================
--- libjava/classpath/m4/ac_prog_javac.m4	(revision 225907)
+++ libjava/classpath/m4/ac_prog_javac.m4	(working copy)
@@ -7,7 +7,7 @@
 dnl
 dnl If you want to force a specific compiler:
 dnl
-dnl - at the configure.in level, set JAVAC=yourcompiler before calling
+dnl - at the configure.ac level, set JAVAC=yourcompiler before calling
 dnl AC_PROG_JAVAC
 dnl
 dnl - at the configure level, setenv JAVAC
@@ -25,7 +25,7 @@
 dnl some macros depend on other. Unfortunately, the autoconf archive
 dnl does not support the concept of set of macros, so I had to break it
 dnl for submission. The general documentation, as well as the sample
-dnl configure.in, is included in the AC_PROG_JAVA macro.
+dnl configure.ac, is included in the AC_PROG_JAVA macro.
 dnl
 dnl @category Java
 dnl @author Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
Index: libjava/classpath/m4/ac_prog_javac_works.m4
===================================================================
--- libjava/classpath/m4/ac_prog_javac_works.m4	(revision 225907)
+++ libjava/classpath/m4/ac_prog_javac_works.m4	(working copy)
@@ -7,7 +7,7 @@
 dnl some macros depend on other. Unfortunately, the autoconf archive
 dnl does not support the concept of set of macros, so I had to break it
 dnl for submission. The general documentation, as well as the sample
-dnl configure.in, is included in the AC_PROG_JAVA macro.
+dnl configure.ac, is included in the AC_PROG_JAVA macro.
 dnl
 dnl @category Java
 dnl @author Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
Index: libjava/classpath/missing
===================================================================
--- libjava/classpath/missing	(revision 225907)
+++ libjava/classpath/missing	(working copy)
@@ -36,11 +36,6 @@
 
 # In the cases where this matters, `missing' is being run in the
 # srcdir already.
-if test -f configure.ac; then
-  configure_ac=configure.ac
-else
-  configure_ac=configure.in
-fi
 
 msg="missing on your system"
 
@@ -150,7 +145,7 @@
   aclocal*)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
+         you modified \`acinclude.m4' or \`configure.ac'.  You might want
          to install the \`Automake' and \`Perl' packages.  Grab them from
          any GNU archive site."
     touch aclocal.m4
@@ -159,7 +154,7 @@
   autoconf*)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`${configure_ac}'.  You might want to install the
+         you modified \`configure.ac'.  You might want to install the
          \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
          archive site."
     touch configure
@@ -168,10 +163,10 @@
   autoheader*)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
+         you modified \`acconfig.h' or \`configure.ac'.  You might want
          to install the \`Autoconf' and \`GNU m4' packages.  Grab them
          from any GNU archive site."
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
+    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.ac`
     test -z "$files" && files="config.h"
     touch_files=
     for f in $files; do
@@ -187,7 +182,7 @@
   automake*)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
+         you modified \`Makefile.am', \`acinclude.m4' or \`configure.ac'.
          You might want to install the \`Automake' and \`Perl' packages.
          Grab them from any GNU archive site."
     find . -type f -name Makefile.am -print |
Index: libjava/classpath/resource/META-INF/mimetypes.default
===================================================================
--- libjava/classpath/resource/META-INF/mimetypes.default	(revision 225907)
+++ libjava/classpath/resource/META-INF/mimetypes.default	(working copy)
@@ -2,7 +2,7 @@
 # A simple, old format, mime.types file
 # 
 #
-# It would be cool to have this auto-generated by configure.in
+# It would be cool to have this auto-generated by configure.ac
 # depending on some dependancy somehow
 #
 text/html		html htm
Index: libjava/configure
===================================================================
--- libjava/configure	(revision 225907)
+++ libjava/configure	(working copy)
@@ -28275,7 +28275,7 @@
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else
Index: libjava/libltdl/ChangeLog
===================================================================
--- libjava/libltdl/ChangeLog	(revision 225907)
+++ libjava/libltdl/ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2015-07-16  Michael Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* THREADS: Reflects renaming of configure.in to configure.ac
+
 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
 
 	* Makefile.in: Regenerated with automake-1.11.6.
Index: libjava/libltdl/missing
===================================================================
--- libjava/libltdl/missing	(revision 225907)
+++ libjava/libltdl/missing	(working copy)
@@ -36,11 +36,6 @@
 
 # In the cases where this matters, `missing' is being run in the
 # srcdir already.
-if test -f configure.ac; then
-  configure_ac=configure.ac
-else
-  configure_ac=configure.in
-fi
 
 msg="missing on your system"
 
@@ -139,7 +134,7 @@
   aclocal*)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
+         you modified \`acinclude.m4' or \`configure.ac'.  You might want
          to install the \`Automake' and \`Perl' packages.  Grab them from
          any GNU archive site."
     touch aclocal.m4
@@ -148,7 +143,7 @@
   autoconf)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`${configure_ac}'.  You might want to install the
+         you modified \`configure.ac'.  You might want to install the
          \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
          archive site."
     touch configure
@@ -157,10 +152,10 @@
   autoheader)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
+         you modified \`acconfig.h' or \`configure.ac'.  You might want
          to install the \`Autoconf' and \`GNU m4' packages.  Grab them
          from any GNU archive site."
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
+    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.ac`
     test -z "$files" && files="config.h"
     touch_files=
     for f in $files; do
@@ -176,7 +171,7 @@
   automake*)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
-         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
+         you modified \`Makefile.am', \`acinclude.m4' or \`configure.ac'.
          You might want to install the \`Automake' and \`Perl' packages.
          Grab them from any GNU archive site."
     find . -type f -name Makefile.am -print |
Index: libobjc/THREADS
===================================================================
--- libobjc/THREADS	(revision 225907)
+++ libobjc/THREADS	(working copy)
@@ -108,7 +108,7 @@
 mode if the threading library is not linked in.
 
 If you want to compile libobjc standalone, then you would need to modify
-the configure.in and makefiles for it and you need to import the
+the configure.ac and makefiles for it and you need to import the
 gthread code from GCC.
 
 ******************************************************************************
Index: liboffloadmic/ChangeLog
===================================================================
--- liboffloadmic/ChangeLog	(revision 225907)
+++ liboffloadmic/ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2015-07-16  Micahel Darling  <darlingm@gmail.com>
+
+	PR other/66259
+	* configure: Reflects renaming of configure.in to configure.ac
+
 2015-07-08  Thomas Schwinge  <thomas@codesourcery.com>
 
 	* plugin/Makefile.am (main_target_image.h): Change type of data
Index: liboffloadmic/configure
===================================================================
--- liboffloadmic/configure	(revision 225907)
+++ liboffloadmic/configure	(working copy)
@@ -17076,7 +17076,7 @@
       ac_sub_configure=$ac_srcdir/configure.gnu
     elif test -f "$ac_srcdir/configure"; then
       ac_sub_configure=$ac_srcdir/configure
-    elif test -f "$ac_srcdir/configure.in"; then
+    elif test -f "$ac_srcdir/configure.ac"; then
       # This should be Cygnus configure.
       ac_sub_configure=$ac_aux_dir/configure
     else

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-17  0:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-24 19:56 Subject: [PATCH] Fixes combined gcc-binutils builds Michael Darling
2015-07-17  0:27 ` Michael Darling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).