This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/sim] switch autoconf 2.59


Same as for gdb, built on ppc (native, sim/ppc built) and amd64. This patch includes some AC_CONFIG_SUBDIRS changes to sim/configure as they turn out to be incompatible with autoconf 2.13.

committed,
Andrew
Index: arm/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Replace configure.in.  Requires autoconf 2.59 and
	correctly calls AC_CONFIG_SUBDIRS.
	* configure: Re-generate.

Index: common/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: d10v/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: erc32/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: frv/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: h8300/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: igen/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: m32r/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: m68hc11/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: mcore/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: mips/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: mn10300/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: ppc/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: sh/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: testsuite/d10v-elf/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: testsuite/frv-elf/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: testsuite/m32r-elf/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: testsuite/mips64el-elf/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: testsuite/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

Index: v850/ChangeLog
2005-01-07  Andrew Cagney  <cagney@gnu.org>

	* configure.ac: Rename configure.in, require autoconf 2.59.
	* configure: Re-generate.

--- -	2005-01-07 22:30:23.812637000 -0500
+++ arm/configure.ac	2005-01-07 16:58:56.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:30:24.914564000 -0500
+++ common/configure.ac	2005-01-07 16:59:24.000000000 -0500
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 # This is intended for use by the target specific directories, and by us.
--- -	2005-01-07 22:30:26.174572000 -0500
+++ configure.ac	2005-01-07 21:49:08.000000000 -0500
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.13)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 AC_PROG_CC
@@ -34,160 +34,85 @@
 *)	AC_MSG_ERROR(bad value ${enableval} given for --enable-sim option) ;;
 esac])
 
-# Assume simulator can be built with cc.
-# If the user passes --enable-sim built it regardless of $(CC).
-only_if_gcc=no
-only_if_enabled=no
-extra_subdirs=common
-
 # WHEN ADDING ENTRIES TO THIS MATRIX:
-#  Make sure that the left side always has two dashes.  Otherwise you
-#  can get spurious matches.  Even for unambiguous cases, do this as a
-#  convention, else the table becomes a real mess to understand and maintain.
-
-case "${target}" in
-  arm*-*-* | thumb*-*-*)
-	sim_target=arm
-	extra_subdirs="${extra_subdirs} testsuite"
-	;;
-  strongarm*-*-*)
-  	sim_target=arm
-	extra_subdirs="${extra_subdirs} testsuite"
-	;;
-  xscale-*-*)
-  	sim_target=arm
-	extra_subdirs="${extra_subdirs} testsuite"
-	;;
-  d10v-*-*)		sim_target=d10v ;;
-# OBSOLETE   d30v-*-*)
-# OBSOLETE 	sim_target=d30v
-# OBSOLETE 	only_if_gcc=yes
-# OBSOLETE 	extra_subdirs="${extra_subdirs} igen"
-# OBSOLETE 	;;
-# OBSOLETE   fr30-*-*)		sim_target=fr30 ;;
-  frv-*-*)		sim_target=frv
-	extra_subdirs="${extra_subdirs} testsuite"
-	;;
-  h8300*-*-*)		
-	sim_target=h8300 
-	extra_subdirs="${extra_subdirs} testsuite"
-	;;
-  h8500-*-*)		sim_target=h8500 ;;
-  i960-*-*)		sim_target=i960 ;;
-  m32r-*-*)		sim_target=m32r ;;
-  m68hc11-*-*|m6811-*-*) sim_target=m68hc11 ;;
-  mcore-*-*)		sim_target=mcore ;;
-  mips*-*-*)
-	# The MIPS simulator can only be compiled by gcc.
-	sim_target=mips
-	only_if_gcc=yes
-	extra_subdirs="${extra_subdirs} igen testsuite"
-	;;
-  mn10300*-*-*)
-	# The mn10300 simulator can only be compiled by gcc.
-	sim_target=mn10300
-	only_if_gcc=yes
-	extra_subdirs="${extra_subdirs} igen"
-	;;
-  mn10200*-*-*)
-	sim_target=mn10200
-	;;
-  sh*-*-*)
-	sim_target=sh 
-	extra_subdirs="${extra_subdirs} testsuite"
-	;;
-  powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | \
-  powerpc*-*-elf* | powerpc*-*-linux* | powerpc*-*-netbsd* )
-	# The PowerPC simulator uses the GCC extension long long as well as
-	# ANSI prototypes, so don't enable it for random host compilers
-	# unless asked to.
-	sim_target=ppc
-	only_if_gcc=yes
-	#extra_subdirs="${extra_subdirs}"
-	;;
-  tic80-*-*)
-	sim_target=tic80
-	only_if_gcc=yes
-	extra_subdirs="${extra_subdirs} igen"
-	;;
-  v850-*-*)
-	# The V850 simulator can only be compiled by gcc.
-	sim_target=v850
-	extra_subdirs="${extra_subdirs} igen"
-	only_if_gcc=yes
-	;;
-  v850e-*-*)
-	# The V850 simulator can only be compiled by gcc.
-	sim_target=v850
-	extra_subdirs="${extra_subdirs} igen"
-	only_if_gcc=yes
-	;;
-  v850ea-*-*)
-	# The V850 simulator can only be compiled by gcc.
-	sim_target=v850
-	extra_subdirs="${extra_subdirs} igen"
-	only_if_gcc=yes
-	;;
-  w65-*-*)
-	sim_target=w65
-	# The w65 is suffering from gradual decay.
-	only_if_enabled=yes
-	;;
-  z8k*-*-*)		sim_target=z8k ;;
-  sparc64-*-*)
-	only_if_gcc=yes
-	sim_target=none # Don't build erc32 if sparc64.
-	;;
-  sparclite*-*-* | sparc86x*-*-*)
-	# The SPARC simulator can only be compiled by gcc.
-	only_if_gcc=yes
-	sim_target=erc32
-	;;
-  sparc*-*-*)
-	# The SPARC simulator can only be compiled by gcc.
-	only_if_gcc=yes
-	# Unfortunately erc32 won't build on many hosts, so only enable
-	# it if the user really really wants it.
-	only_if_enabled=yes
-	sim_target=erc32
-	;;
-  *)			sim_target=none ;;
-esac
-
-
-# Is there a testsuite directory for the target?
-testdir=`echo ${target} | sed -e 's/-.*-/-/'`
-if test -r ${srcdir}/testsuite/${testdir}/configure ; then
-  extra_subdirs="${extra_subdirs} testsuite"
-fi
-
 
-case "${enable_sim}" in
-no)	sim_target=none ;;
-yes)
-	if test ${only_if_gcc} = yes ; then
-		if test "${GCC}" != yes ; then
-			echo "Can't enable simulator since not compiling with GCC."
-			sim_target=none
-		fi
-	fi
-	;;
-*)
-	if test ${only_if_enabled} = yes ; then
-		sim_target=none
-	else
-		if test ${only_if_gcc} = yes ; then
-			if test "${GCC}" != yes ; then
-				sim_target=none
-			fi
-		fi
-	fi
-	;;
-esac
-
-if test x"${sim_target}" != xnone ; then
-	configdirs="${extra_subdirs} ${sim_target}"
-	AC_CONFIG_SUBDIRS($configdirs)
+# Make sure that the left side always has two dashes.  Otherwise you
+# can get spurious matches.  Even for unambiguous cases, do this as a
+# convention, else the table becomes a real mess to understand and
+# maintain.
+
+if test "${enable_sim}" != no; then
+   testsuite=no
+   common=no
+   igen=no
+   case "${target}" in
+       arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
+           AC_CONFIG_SUBDIRS(arm)
+	   testsuite=yes
+	   common=yes
+	   ;;
+       d10v-*-*)
+           AC_CONFIG_SUBDIRS(d10v)
+	   ;;
+       frv-*-*)
+           AC_CONFIG_SUBDIRS(frv)
+	   testsuite=yes
+	   common=yes
+	   ;;
+       h8300*-*-*)
+           AC_CONFIG_SUBDIRS(h8300)
+	   testsuite=yes
+	   common=yes
+	   ;;
+       m32r-*-*)
+           AC_CONFIG_SUBDIRS(m32r)
+	   testsuite=yes
+	   common=yes
+	   ;;
+       m68hc11-*-*|m6811-*-*)
+           AC_CONFIG_SUBDIRS(m68hc11)
+	   testsuite=yes
+	   common=yes
+	   ;;
+       mcore-*-*)
+           AC_CONFIG_SUBDIRS(mcore)
+	   testsuite=yes
+	   common=yes
+	   ;;
+       mips*-*-*)
+           AC_CONFIG_SUBDIRS(mips)
+	   testsuite=yes
+	   igen=yes
+	   ;;
+       mn10300*-*-*)
+           AC_CONFIG_SUBDIRS(mn10300)
+	   igen=yes
+	   ;;
+       sh*-*-*)
+           AC_CONFIG_SUBDIRS(sh)
+	   testsuite=yes
+	   common=yes
+	   ;;
+       powerpc*-*-* )
+           AC_CONFIG_SUBDIRS(ppc)
+	   ;;
+       v850*-*-* )
+           AC_CONFIG_SUBDIRS(v850)
+	   common=yes
+	   ;;
+       sparc*-*-*)
+           AC_CONFIG_SUBDIRS(erc32)
+	   ;;
+   esac
+   if test "$testsuite" = yes; then
+      AC_CONFIG_SUBDIRS(testsuite)
+   fi
+   if test "$common" = yes; then
+      AC_CONFIG_SUBDIRS(common)
+   fi
+   if test "$igen" = yes; then
+      AC_CONFIG_SUBDIRS(igen)
+   fi
 fi
 
 AC_OUTPUT(Makefile)
--- -	2005-01-07 22:30:37.909917000 -0500
+++ d10v/configure.ac	2005-01-07 16:59:54.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:30:45.153153000 -0500
+++ erc32/configure.ac	2005-01-07 17:00:10.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:30:51.224799000 -0500
+++ frv/configure.ac	2005-01-07 17:00:27.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:30:57.945903000 -0500
+++ h8300/configure.ac	2005-01-07 17:00:53.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:31:13.959750000 -0500
+++ igen/configure.ac	2005-01-07 17:01:07.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(table.h)
 
 AC_PROG_INSTALL
--- -	2005-01-07 22:31:15.218697000 -0500
+++ m32r/configure.ac	2005-01-07 17:01:24.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:31:16.694734000 -0500
+++ m68hc11/configure.ac	2005-01-07 17:01:44.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.12.1)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:31:18.037595000 -0500
+++ mcore/configure.ac	2005-01-07 17:02:12.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:31:22.327464000 -0500
+++ mips/configure.ac	2005-01-07 17:02:33.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:31:28.717088000 -0500
+++ mn10300/configure.ac	2005-01-07 17:02:51.000000000 -0500
@@ -1,7 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-dnl 2.12 botches SHELL substitution
-AC_PREREQ(2.12.1)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:31:30.222055000 -0500
+++ ppc/configure.ac	2005-01-07 17:03:06.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 AC_PROG_INSTALL
--- -	2005-01-07 22:31:31.918686000 -0500
+++ sh/configure.ac	2005-01-07 17:03:20.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON
--- -	2005-01-07 22:31:38.713683000 -0500
+++ testsuite/d10v-elf/configure.ac	2005-01-07 17:03:43.000000000 -0500
@@ -4,7 +4,7 @@
 dnl script appropriate for this directory.  For more information, check
 dnl any existing configure script.
 
-AC_PREREQ(2.5)
+AC_PREREQ(2.59)
 dnl FIXME - think of a truly uniq file to this directory
 AC_INIT(Makefile.in)
 
--- -	2005-01-07 22:31:41.978390000 -0500
+++ testsuite/frv-elf/configure.ac	2005-01-07 17:04:31.000000000 -0500
@@ -4,7 +4,7 @@
 dnl script appropriate for this directory.  For more information, check
 dnl any existing configure script.
 
-AC_PREREQ(2.5)
+AC_PREREQ(2.59)
 dnl FIXME - think of a truly uniq file to this directory
 AC_INIT(Makefile.in)
 
--- -	2005-01-07 22:31:43.017006000 -0500
+++ testsuite/m32r-elf/configure.ac	2005-01-07 17:04:46.000000000 -0500
@@ -4,7 +4,7 @@
 dnl script appropriate for this directory.  For more information, check
 dnl any existing configure script.
 
-AC_PREREQ(2.5)
+AC_PREREQ(2.59)
 dnl FIXME - think of a truly uniq file to this directory
 AC_INIT(Makefile.in)
 
--- -	2005-01-07 22:31:48.381417000 -0500
+++ testsuite/mips64el-elf/configure.ac	2005-01-07 17:05:12.000000000 -0500
@@ -4,7 +4,7 @@
 dnl script appropriate for this directory.  For more information, check
 dnl any existing configure script.
 
-AC_PREREQ(2.5)
+AC_PREREQ(2.59)
 dnl FIXME - think of a truly uniq file to this directory
 AC_INIT(Makefile.in)
 
--- -	2005-01-07 22:31:58.788454000 -0500
+++ testsuite/configure.ac	2005-01-07 20:29:09.000000000 -0500
@@ -4,7 +4,7 @@
 dnl script appropriate for this directory.  For more information, check
 dnl any existing configure script.
 
-AC_PREREQ(2.5)
+AC_PREREQ(2.59)
 AC_INIT(common/bits-tst.c)
 
 CC=${CC-cc}
--- -	2005-01-07 22:32:01.374373000 -0500
+++ v850/configure.ac	2005-01-07 17:05:38.000000000 -0500
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 sinclude(../common/aclocal.m4)
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 
 SIM_AC_COMMON

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]