diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/boehm-gc/configure gcc-4.0.1/boehm-gc/configure
--- /usr1/rtems/work-tools/original/gcc-4.0.1/boehm-gc/configure	Thu Jul  7 15:44:40 2005
+++ gcc-4.0.1/boehm-gc/configure	Wed Aug 10 12:08:46 2005
@@ -5450,6 +5450,13 @@
 	;;
     esac
     ;;
+ rtems)
+    cat >>confdefs.h <<\_ACEOF
+#define GC_RTEMS_THREADS 1
+_ACEOF
+
+    THREADLIBS=
+    ;;
  win32)
     cat >>confdefs.h <<\_ACEOF
 #define GC_WIN32_THREADS 1
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/boehm-gc/configure.ac gcc-4.0.1/boehm-gc/configure.ac
--- /usr1/rtems/work-tools/original/gcc-4.0.1/boehm-gc/configure.ac	Tue Feb 15 22:10:41 2005
+++ gcc-4.0.1/boehm-gc/configure.ac	Wed Aug 10 12:08:46 2005
@@ -186,6 +186,10 @@
 	;;
     esac
     ;;
+ rtems)
+    AC_DEFINE(GC_RTEMS_THREADS,1)
+    THREADLIBS=
+    ;;
  win32)
     AC_DEFINE(GC_WIN32_THREADS,1)
     dnl Old wine getenv may not return NULL for missing entry.
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/configure.in gcc-4.0.1/configure.in
--- /usr1/rtems/work-tools/original/gcc-4.0.1/configure.in	Wed Jun 22 15:41:56 2005
+++ gcc-4.0.1/configure.in	Wed Aug 10 12:08:46 2005
@@ -418,7 +418,7 @@
     noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
     ;;
   *-*-rtems*)
-    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+    noconfigdirs="$noconfigdirs target-libgloss target-libiberty ${libgcj}"
     ;;
   *-*-uclinux*)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/ada/gnat_ugn.texi gcc-4.0.1/gcc/ada/gnat_ugn.texi
--- /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/ada/gnat_ugn.texi	Thu Feb 10 07:57:20 2005
+++ gcc-4.0.1/gcc/ada/gnat_ugn.texi	Wed Aug 10 12:08:46 2005
@@ -101,7 +101,7 @@
 @settitle @value{EDITION} User's Guide @value{PLATFORM}
 @dircategory GNU Ada tools
 @direntry
-* @value{EDITION} User's Guide (@value{FILE}) @value{PLATFORM}
+* @value{EDITION} User's Guide: (@value{FILE}). @value{PLATFORM}
 @end direntry
 
 @include gcc-common.texi
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/c4x/rtems.h gcc-4.0.1/gcc/config/c4x/rtems.h
--- /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/c4x/rtems.h	Wed Mar 12 22:06:51 2003
+++ gcc-4.0.1/gcc/config/c4x/rtems.h	Wed Aug 10 12:08:46 2005
@@ -24,6 +24,5 @@
 #define TARGET_OS_CPP_BUILTINS()		\
     do {					\
 	builtin_define ("__rtems__");		\
-	builtin_define ("__USE_INIT_FINI__");	\
 	builtin_assert ("system=rtems");	\
     } while (0)
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/m68k/m68k-protos.h gcc-4.0.1/gcc/config/m68k/m68k-protos.h
--- /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/m68k/m68k-protos.h	Fri Oct 22 07:47:24 2004
+++ gcc-4.0.1/gcc/config/m68k/m68k-protos.h	Wed Aug 10 12:08:46 2005
@@ -53,6 +53,7 @@
 
 #endif /* RTX_CODE */
 
+extern bool m68k_regno_mode_ok (int, enum machine_mode);
 extern int flags_in_68881 (void);
 extern bool use_return_insn (void);
 extern void override_options (void);
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/m68k/m68k.c gcc-4.0.1/gcc/config/m68k/m68k.c
--- /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/m68k/m68k.c	Wed Feb 23 19:50:33 2005
+++ gcc-4.0.1/gcc/config/m68k/m68k.c	Wed Aug 10 12:08:46 2005
@@ -3449,3 +3449,36 @@
 
   return 1;
 }
+
+/* Value is true if hard register REGNO can hold a value of machine-mode MODE.
+   On the 68000, the cpu registers can hold any mode except bytes in address
+   registers, but the 68881 registers can hold only SFmode or DFmode.  */
+bool
+m68k_regno_mode_ok (int regno, enum machine_mode mode)
+{
+  if (regno < 8)
+    {
+	/* Data Registers, can hold aggregate if fits in.  */
+	if (regno + GET_MODE_SIZE (mode) / 4 <= 8)
+	  return true;
+    }
+  else if (regno < 16)
+    {
+	/* Address Registers, can't hold bytes, can hold aggregate if
+	   fits in.  */
+	if (GET_MODE_SIZE (mode) == 1)
+	  return false;
+	if (regno + GET_MODE_SIZE (mode) / 4 <= 16)
+	  return true;
+    }
+  else if (regno < 24)
+    {
+      /* FPU registers, hold float or complex float of long double or
+	   smaller.  */
+	if ((GET_MODE_CLASS (mode) == MODE_FLOAT
+	     || GET_MODE_CLASS (mode) == MODE_COMPLEX_FLOAT)
+	    && GET_MODE_UNIT_SIZE (mode) <= 12)
+	  return true;
+    }
+  return false;
+}
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/m68k/m68k.h gcc-4.0.1/gcc/config/m68k/m68k.h
--- /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/m68k/m68k.h	Wed Dec 29 21:07:52 2004
+++ gcc-4.0.1/gcc/config/m68k/m68k.h	Wed Aug 10 12:08:46 2005
@@ -486,15 +486,12 @@
 #define HARD_REGNO_RENAME_OK(OLD_REG, NEW_REG) \
   m68k_hard_regno_rename_ok (OLD_REG, NEW_REG)
 
-/* On the m68k, the cpu registers can hold any mode but the 68881 registers
-   can hold only SFmode or DFmode.  */
+/* Value is 1 if hard register REGNO can hold a value of machine-mode MODE.
+   On the 68000, the cpu registers can hold any mode except bytes in
+   address registers, the 68881 registers can hold only SFmode or DFmode.  */
+
 #define HARD_REGNO_MODE_OK(REGNO, MODE) \
-  (((REGNO) < 16					\
-    && !((REGNO) < 8 && (REGNO) + GET_MODE_SIZE (MODE) / 4 > 8))	\
-   || ((REGNO) >= 16 && (REGNO) < 24				        \
-       && (GET_MODE_CLASS (MODE) == MODE_FLOAT		\
-	   || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)		\
-       && GET_MODE_UNIT_SIZE (MODE) <= 12))
+  m68k_regno_mode_ok ((REGNO), (MODE))
 
 #define MODES_TIEABLE_P(MODE1, MODE2)			\
   (! TARGET_68881					\
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/m68k/m68k.md gcc-4.0.1/gcc/config/m68k/m68k.md
--- /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/m68k/m68k.md	Fri Aug  6 02:14:56 2004
+++ gcc-4.0.1/gcc/config/m68k/m68k.md	Wed Aug 10 12:08:46 2005
@@ -1850,7 +1850,7 @@
 (define_insn "*addsi3_5200"
   [(set (match_operand:SI 0 "nonimmediate_operand" "=m,?a,?a,r")
 	(plus:SI (match_operand:SI 1 "general_operand" "%0,a,rJK,0")
-		 (match_operand:SI 2 "general_src_operand" "d,rJK,a,mrIKLs")))]
+		 (match_operand:SI 2 "general_src_operand" "d,rJK,a,mrIKLi")))]
   "TARGET_COLDFIRE"
   "* return output_addsi3 (operands);")
 
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/rtems.h gcc-4.0.1/gcc/config/rtems.h
--- /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/config/rtems.h	Mon Jul  5 14:49:14 2004
+++ gcc-4.0.1/gcc/config/rtems.h	Wed Aug 10 12:08:46 2005
@@ -19,6 +19,7 @@
 Boston, MA 02111-1307, USA.  */
 
 /* The system headers under RTEMS are C++-aware.  */
+#undef NO_IMPLICIT_EXTERN_C
 #define NO_IMPLICIT_EXTERN_C
 
 /*
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/fortran/Make-lang.in gcc-4.0.1/gcc/fortran/Make-lang.in
--- /usr1/rtems/work-tools/original/gcc-4.0.1/gcc/fortran/Make-lang.in	Sat Nov 13 01:35:54 2004
+++ gcc-4.0.1/gcc/fortran/Make-lang.in	Wed Aug 10 12:08:46 2005
@@ -44,7 +44,7 @@
 GFORTRAN_INSTALL_NAME := $(shell echo gfortran|sed '$(program_transform_name)')
 
 # Actual name to use when installing a cross-compiler.
-GFORTRAN_CROSS_NAME := $(shell echo gfortran|sed '$(program_transform_cross_name)')
+GFORTRAN_TARGET_INSTALL_NAME := $(shell echo gfortran|sed '$(program_transform_name)')
 
 #^L
 
@@ -187,9 +187,9 @@
 f95.install-common: installdirs
 	-if [ -f f951$(exeext) ] ; then \
 	  if [ -f gfortran-cross$(exeext) ] ; then \
-	    rm -f $(DESTDIR)$(bindir)/$(GFORTRAN_CROSS_NAME)$(exeext); \
-	    $(INSTALL_PROGRAM) gfortran-cross$(exeext) $(DESTDIR)$(bindir)/$(GFORTRAN_CROSS_NAME)$(exeext); \
-	    chmod a+x $(DESTDIR)$(bindir)/$(GFORTRAN_CROSS_NAME)$(exeext); \
+	    rm -f $(DESTDIR)$(bindir)/$(GFORTRAN_TARGET_INSTALL_NAME)$(exeext); \
+	    $(INSTALL_PROGRAM) gfortran-cross$(exeext) $(DESTDIR)$(bindir)/$(GFORTRAN_TARGET_INSTALL_NAME)$(exeext); \
+	    chmod a+x $(DESTDIR)$(bindir)/$(GFORTRAN_TARGET_INSTALL_NAME)$(exeext); \
 	    if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \
 	      rm -f $(DESTDIR)$(gcc_tooldir)/bin/gfortran$(exeext); \
 	      $(INSTALL_PROGRAM) gfortran-cross$(exeext) $(DESTDIR)$(gcc_tooldir)/bin/gfortran$(exeext); \
@@ -220,7 +220,7 @@
 	else : ; fi; \
 	rm -rf $(DESTDIR)$(bindir)/$(GFORTRAN_INSTALL_NAME)$(exeext); \
 	rm -rf $(DESTDIR)$(man1dir)/$(GFORTRAN_INSTALL_NAME)$(man1ext); \
-	rm -rf $(DESTDIR)$(bindir)/$(GFORTRAN_CROSS_NAME)$(exeext); \
+	rm -rf $(DESTDIR)$(bindir)/$(GFORTRAN_TARGET_INSTALL_NAME)$(exeext); \
 	rm -rf $(DESTDIR)$(infodir)/gfortran.info*
 
 #
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libffi/configure gcc-4.0.1/libffi/configure
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libffi/configure	Thu Dec  2 05:04:21 2004
+++ gcc-4.0.1/libffi/configure	Wed Aug 10 12:08:46 2005
@@ -5320,6 +5320,7 @@
 i*86-*-beos*) TARGET=X86; TARGETDIR=x86;;
 i*86-*-freebsd* | i*86-*-kfreebsd*-gnu) TARGET=X86; TARGETDIR=x86;;
 i*86-*-netbsdelf* | i*86-*-knetbsd*-gnu) TARGET=X86; TARGETDIR=x86;;
+i*86-*-rtems*) TARGET=X86; TARGETDIR=x86;;
 i*86-*-win32*) TARGET=X86_WIN32; TARGETDIR=x86;;
 i*86-*-cygwin*) TARGET=X86_WIN32; TARGETDIR=x86;;
 i*86-*-mingw*) TARGET=X86_WIN32; TARGETDIR=x86;;
@@ -5327,11 +5328,13 @@
 sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;;
 sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;;
 sparc-*-linux* | sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
+sparc*-*-rtems*) TARGET=SPARC; TARGETDIR=sparc;;
 sparc64-*-linux* | sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
 alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) TARGET=ALPHA; TARGETDIR=alpha;;
 ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;;
 m32r*-*-linux* ) TARGET=M32R; TARGETDIR=m32r;;
 m68k-*-linux*) TARGET=M68K; TARGETDIR=m68k;;
+m68k-*-rtems*) TARGET=M68K; TARGETDIR=m68k;;
 mips64*-*);;
 mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS_IRIX; TARGETDIR=mips;;
 mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;;
@@ -5339,13 +5342,16 @@
 powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;;
 powerpc-*-darwin*) TARGET=POWERPC_DARWIN; TARGETDIR=powerpc;;
 powerpc-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;;
+powerpc*-*-rtems*) TARGET=POWERPC; TARGETDIR=powerpc;;
 rs6000-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;;
 arm*-*-linux-*) TARGET=ARM; TARGETDIR=arm;;
 arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu) TARGET=ARM; TARGETDIR=arm;;
+arm*-*-rtems*) TARGET=ARM; TARGETDIR=arm;;
 s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
 s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;;
 x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;;
 sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
+sh-*-rtems*) TARGET=SH; TARGETDIR=sh;;
 sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;;
 hppa-*-linux* | parisc-*-linux*) TARGET=PA; TARGETDIR=pa;;
 esac
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libffi/configure.ac gcc-4.0.1/libffi/configure.ac
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libffi/configure.ac	Thu Dec  2 05:04:21 2004
+++ gcc-4.0.1/libffi/configure.ac	Wed Aug 10 12:08:46 2005
@@ -46,6 +46,7 @@
 i*86-*-beos*) TARGET=X86; TARGETDIR=x86;;
 i*86-*-freebsd* | i*86-*-kfreebsd*-gnu) TARGET=X86; TARGETDIR=x86;;
 i*86-*-netbsdelf* | i*86-*-knetbsd*-gnu) TARGET=X86; TARGETDIR=x86;;
+i*86-*-rtems*) TARGET=X86; TARGETDIR=x86;;
 i*86-*-win32*) TARGET=X86_WIN32; TARGETDIR=x86;;
 i*86-*-cygwin*) TARGET=X86_WIN32; TARGETDIR=x86;;
 i*86-*-mingw*) TARGET=X86_WIN32; TARGETDIR=x86;;
@@ -53,11 +54,13 @@
 sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;;
 sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;;
 sparc-*-linux* | sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
+sparc*-*-rtems*) TARGET=SPARC; TARGETDIR=sparc;;
 sparc64-*-linux* | sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
 alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) TARGET=ALPHA; TARGETDIR=alpha;;
 ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;;
 m32r*-*-linux* ) TARGET=M32R; TARGETDIR=m32r;;
 m68k-*-linux*) TARGET=M68K; TARGETDIR=m68k;;
+m68k-*-rtems*) TARGET=M68K; TARGETDIR=m68k;;
 mips64*-*);;
 mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS_IRIX; TARGETDIR=mips;;
 mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;;
@@ -65,13 +68,16 @@
 powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;;
 powerpc-*-darwin*) TARGET=POWERPC_DARWIN; TARGETDIR=powerpc;;
 powerpc-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;;
+powerpc*-*-rtems*) TARGET=POWERPC; TARGETDIR=powerpc;;
 rs6000-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;;
 arm*-*-linux-*) TARGET=ARM; TARGETDIR=arm;;
 arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu) TARGET=ARM; TARGETDIR=arm;;
+arm*-*-rtems*) TARGET=ARM; TARGETDIR=arm;;
 s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
 s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;;
 x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;;
 sh-*-linux* | sh[[34]]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
+sh-*-rtems*) TARGET=SH; TARGETDIR=sh;;
 sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;;
 hppa-*-linux* | parisc-*-linux*) TARGET=PA; TARGETDIR=pa;;
 esac
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/Makefile.am gcc-4.0.1/libgfortran/Makefile.am
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/Makefile.am	Wed Jun  1 18:02:14 2005
+++ gcc-4.0.1/libgfortran/Makefile.am	Wed Aug 10 12:08:46 2005
@@ -3,6 +3,7 @@
 
 ACLOCAL_AMFLAGS = -I ../config
 
+if LIBGFORTRAN
 toolexeclib_LTLIBRARIES = libgfortran.la libgfortranbegin.la
 
 libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran)
@@ -527,3 +528,5 @@
 endif
 
 EXTRA_DIST = $(m4_files)
+
+endif
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/Makefile.in gcc-4.0.1/libgfortran/Makefile.in
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/Makefile.in	Thu Jul  7 15:44:40 2005
+++ gcc-4.0.1/libgfortran/Makefile.in	Wed Aug 10 12:08:46 2005
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.9.2 from Makefile.am.
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004  Free Software Foundation, Inc.
+# 2003, 2004, 2005  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -14,8 +14,6 @@
 
 @SET_MAKE@
 
-SOURCES = $(libgfortran_la_SOURCES) $(EXTRA_libgfortran_la_SOURCES) $(libgfortranbegin_la_SOURCES)
-
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -39,6 +37,7 @@
 build_triplet = @build@
 host_triplet = @host@
 target_triplet = @target@
+@LIBGFORTRAN_FALSE@libgfortran_la_DEPENDENCIES =
 DIST_COMMON = $(am__configure_deps) $(srcdir)/../config.guess \
 	$(srcdir)/../config.sub $(srcdir)/../install-sh \
 	$(srcdir)/../ltmain.sh $(srcdir)/../missing \
@@ -47,8 +46,10 @@
 	$(top_srcdir)/configure ChangeLog
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
-	$(top_srcdir)/../libtool.m4 $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/../config/gcc-version.m4 \
+	$(top_srcdir)/../config/no-executables.m4 \
+	$(top_srcdir)/acinclude.m4 $(top_srcdir)/../libtool.m4 \
+	$(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -65,102 +66,256 @@
 am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
 toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
-am__objects_1 = environ.lo error.lo main.lo memory.lo pause.lo stop.lo \
-	string.lo select.lo
-am__objects_2 = all_l4.lo all_l8.lo
-am__objects_3 = any_l4.lo any_l8.lo
-am__objects_4 = count_4_l4.lo count_8_l4.lo count_4_l8.lo \
-	count_8_l8.lo
-am__objects_5 = maxloc0_4_i4.lo maxloc0_8_i4.lo maxloc0_4_i8.lo \
-	maxloc0_8_i8.lo maxloc0_4_r4.lo maxloc0_8_r4.lo \
-	maxloc0_4_r8.lo maxloc0_8_r8.lo
-am__objects_6 = maxloc1_4_i4.lo maxloc1_8_i4.lo maxloc1_4_i8.lo \
-	maxloc1_8_i8.lo maxloc1_4_r4.lo maxloc1_8_r4.lo \
-	maxloc1_4_r8.lo maxloc1_8_r8.lo
-am__objects_7 = maxval_i4.lo maxval_i8.lo maxval_r4.lo maxval_r8.lo
-am__objects_8 = minloc0_4_i4.lo minloc0_8_i4.lo minloc0_4_i8.lo \
-	minloc0_8_i8.lo minloc0_4_r4.lo minloc0_8_r4.lo \
-	minloc0_4_r8.lo minloc0_8_r8.lo
-am__objects_9 = minloc1_4_i4.lo minloc1_8_i4.lo minloc1_4_i8.lo \
-	minloc1_8_i8.lo minloc1_4_r4.lo minloc1_8_r4.lo \
-	minloc1_4_r8.lo minloc1_8_r8.lo
-am__objects_10 = minval_i4.lo minval_i8.lo minval_r4.lo minval_r8.lo
-am__objects_11 = product_i4.lo product_i8.lo product_r4.lo \
-	product_r8.lo product_c4.lo product_c8.lo
-am__objects_12 = sum_i4.lo sum_i8.lo sum_r4.lo sum_r8.lo sum_c4.lo \
-	sum_c8.lo
-am__objects_13 = dotprod_i4.lo dotprod_i8.lo dotprod_r4.lo \
-	dotprod_r8.lo
-am__objects_14 = dotprod_l4.lo dotprod_l8.lo
-am__objects_15 = dotprod_c4.lo dotprod_c8.lo
-am__objects_16 = matmul_i4.lo matmul_i8.lo matmul_r4.lo matmul_r8.lo \
-	matmul_c4.lo matmul_c8.lo
-am__objects_17 = matmul_l4.lo matmul_l8.lo
-am__objects_18 = transpose_i4.lo transpose_i8.lo transpose_c4.lo \
-	transpose_c8.lo
-am__objects_19 = shape_i4.lo shape_i8.lo
-am__objects_20 = eoshift1_4.lo eoshift1_8.lo
-am__objects_21 = eoshift3_4.lo eoshift3_8.lo
-am__objects_22 = cshift1_4.lo cshift1_8.lo
-am__objects_23 = reshape_i4.lo reshape_i8.lo reshape_c4.lo \
-	reshape_c8.lo
-am__objects_24 = in_pack_i4.lo in_pack_i8.lo
-am__objects_25 = in_unpack_i4.lo in_unpack_i8.lo
-am__objects_26 = exponent_r4.lo exponent_r8.lo
-am__objects_27 = fraction_r4.lo fraction_r8.lo
-am__objects_28 = nearest_r4.lo nearest_r8.lo
-am__objects_29 = set_exponent_r4.lo set_exponent_r8.lo
-am__objects_30 = pow_i4_i4.lo pow_i8_i4.lo pow_r4_i4.lo pow_r8_i4.lo \
-	pow_c4_i4.lo pow_c8_i4.lo pow_i4_i8.lo pow_i8_i8.lo \
-	pow_r4_i8.lo pow_r8_i8.lo pow_c4_i8.lo pow_c8_i8.lo
-am__objects_31 = $(am__objects_2) $(am__objects_3) $(am__objects_4) \
-	$(am__objects_5) $(am__objects_6) $(am__objects_7) \
-	$(am__objects_8) $(am__objects_9) $(am__objects_10) \
-	$(am__objects_11) $(am__objects_12) $(am__objects_13) \
-	$(am__objects_14) $(am__objects_15) $(am__objects_16) \
-	$(am__objects_17) $(am__objects_18) $(am__objects_19) \
-	$(am__objects_20) $(am__objects_21) $(am__objects_22) \
-	$(am__objects_23) $(am__objects_24) $(am__objects_25) \
-	$(am__objects_26) $(am__objects_27) $(am__objects_28) \
-	$(am__objects_29) $(am__objects_30)
-am__objects_32 = backspace.lo close.lo endfile.lo format.lo inquire.lo \
-	list_read.lo lock.lo open.lo read.lo rewind.lo transfer.lo \
-	unit.lo unix.lo write.lo
-am__objects_33 = associated.lo abort.lo args.lo bessel.lo \
-	c99_functions.lo chdir.lo cpu_time.lo cshift0.lo \
-	date_and_time.lo env.lo erf.lo eoshift0.lo eoshift2.lo \
-	etime.lo exit.lo flush.lo fnum.lo gerror.lo getcwd.lo \
-	getlog.lo getXid.lo hostnm.lo kill.lo ierrno.lo ishftc.lo \
-	link.lo mvbits.lo pack_generic.lo perror.lo size.lo sleep.lo \
-	spread_generic.lo string_intrinsics.lo system.lo rand.lo \
-	random.lo rename.lo reshape_generic.lo reshape_packed.lo \
-	selected_int_kind.lo selected_real_kind.lo stat.lo symlnk.lo \
-	system_clock.lo time.lo transpose_generic.lo umask.lo \
-	unlink.lo unpack_generic.lo in_pack_generic.lo \
-	in_unpack_generic.lo normalize.lo
+am__libgfortran_la_SOURCES_DIST = runtime/environ.c runtime/error.c \
+	runtime/main.c runtime/memory.c runtime/pause.c runtime/stop.c \
+	runtime/string.c runtime/select.c gfortypes.h libgfortran.h \
+	generated/all_l4.c generated/all_l8.c generated/any_l4.c \
+	generated/any_l8.c generated/count_4_l4.c \
+	generated/count_8_l4.c generated/count_4_l8.c \
+	generated/count_8_l8.c generated/maxloc0_4_i4.c \
+	generated/maxloc0_8_i4.c generated/maxloc0_4_i8.c \
+	generated/maxloc0_8_i8.c generated/maxloc0_4_r4.c \
+	generated/maxloc0_8_r4.c generated/maxloc0_4_r8.c \
+	generated/maxloc0_8_r8.c generated/maxloc1_4_i4.c \
+	generated/maxloc1_8_i4.c generated/maxloc1_4_i8.c \
+	generated/maxloc1_8_i8.c generated/maxloc1_4_r4.c \
+	generated/maxloc1_8_r4.c generated/maxloc1_4_r8.c \
+	generated/maxloc1_8_r8.c generated/maxval_i4.c \
+	generated/maxval_i8.c generated/maxval_r4.c \
+	generated/maxval_r8.c generated/minloc0_4_i4.c \
+	generated/minloc0_8_i4.c generated/minloc0_4_i8.c \
+	generated/minloc0_8_i8.c generated/minloc0_4_r4.c \
+	generated/minloc0_8_r4.c generated/minloc0_4_r8.c \
+	generated/minloc0_8_r8.c generated/minloc1_4_i4.c \
+	generated/minloc1_8_i4.c generated/minloc1_4_i8.c \
+	generated/minloc1_8_i8.c generated/minloc1_4_r4.c \
+	generated/minloc1_8_r4.c generated/minloc1_4_r8.c \
+	generated/minloc1_8_r8.c generated/minval_i4.c \
+	generated/minval_i8.c generated/minval_r4.c \
+	generated/minval_r8.c generated/product_i4.c \
+	generated/product_i8.c generated/product_r4.c \
+	generated/product_r8.c generated/product_c4.c \
+	generated/product_c8.c generated/sum_i4.c generated/sum_i8.c \
+	generated/sum_r4.c generated/sum_r8.c generated/sum_c4.c \
+	generated/sum_c8.c generated/dotprod_i4.c \
+	generated/dotprod_i8.c generated/dotprod_r4.c \
+	generated/dotprod_r8.c generated/dotprod_l4.c \
+	generated/dotprod_l8.c generated/dotprod_c4.c \
+	generated/dotprod_c8.c generated/matmul_i4.c \
+	generated/matmul_i8.c generated/matmul_r4.c \
+	generated/matmul_r8.c generated/matmul_c4.c \
+	generated/matmul_c8.c generated/matmul_l4.c \
+	generated/matmul_l8.c generated/transpose_i4.c \
+	generated/transpose_i8.c generated/transpose_c4.c \
+	generated/transpose_c8.c generated/shape_i4.c \
+	generated/shape_i8.c generated/eoshift1_4.c \
+	generated/eoshift1_8.c generated/eoshift3_4.c \
+	generated/eoshift3_8.c generated/cshift1_4.c \
+	generated/cshift1_8.c generated/reshape_i4.c \
+	generated/reshape_i8.c generated/reshape_c4.c \
+	generated/reshape_c8.c generated/in_pack_i4.c \
+	generated/in_pack_i8.c generated/in_unpack_i4.c \
+	generated/in_unpack_i8.c generated/exponent_r4.c \
+	generated/exponent_r8.c generated/fraction_r4.c \
+	generated/fraction_r8.c generated/nearest_r4.c \
+	generated/nearest_r8.c generated/set_exponent_r4.c \
+	generated/set_exponent_r8.c generated/pow_i4_i4.c \
+	generated/pow_i8_i4.c generated/pow_r4_i4.c \
+	generated/pow_r8_i4.c generated/pow_c4_i4.c \
+	generated/pow_c8_i4.c generated/pow_i4_i8.c \
+	generated/pow_i8_i8.c generated/pow_r4_i8.c \
+	generated/pow_r8_i8.c generated/pow_c4_i8.c \
+	generated/pow_c8_i8.c selected_int_kind.inc \
+	selected_real_kind.inc io/backspace.c io/close.c io/endfile.c \
+	io/format.c io/inquire.c io/list_read.c io/lock.c io/open.c \
+	io/read.c io/rewind.c io/transfer.c io/unit.c io/unix.c \
+	io/write.c intrinsics/associated.c intrinsics/abort.c \
+	intrinsics/args.c intrinsics/bessel.c \
+	intrinsics/c99_functions.c intrinsics/chdir.c \
+	intrinsics/cpu_time.c intrinsics/cshift0.c \
+	intrinsics/date_and_time.c intrinsics/env.c intrinsics/erf.c \
+	intrinsics/eoshift0.c intrinsics/eoshift2.c intrinsics/etime.c \
+	intrinsics/exit.c intrinsics/flush.c intrinsics/fnum.c \
+	intrinsics/gerror.c intrinsics/getcwd.c intrinsics/getlog.c \
+	intrinsics/getXid.c intrinsics/hostnm.c intrinsics/kill.c \
+	intrinsics/ierrno.c intrinsics/ishftc.c intrinsics/link.c \
+	intrinsics/mvbits.c intrinsics/pack_generic.c \
+	intrinsics/perror.c intrinsics/size.c intrinsics/sleep.c \
+	intrinsics/spread_generic.c intrinsics/string_intrinsics.c \
+	intrinsics/system.c intrinsics/rand.c intrinsics/random.c \
+	intrinsics/rename.c intrinsics/reshape_generic.c \
+	intrinsics/reshape_packed.c intrinsics/selected_int_kind.f90 \
+	intrinsics/selected_real_kind.f90 intrinsics/stat.c \
+	intrinsics/symlnk.c intrinsics/system_clock.c \
+	intrinsics/time.c intrinsics/transpose_generic.c \
+	intrinsics/umask.c intrinsics/unlink.c \
+	intrinsics/unpack_generic.c runtime/in_pack_generic.c \
+	runtime/in_unpack_generic.c runtime/normalize.c io/io.h \
+	generated/_abs_c4.f90 generated/_abs_c8.f90 \
+	generated/_abs_i4.f90 generated/_abs_i8.f90 \
+	generated/_abs_r4.f90 generated/_abs_r8.f90 \
+	generated/_exp_r4.f90 generated/_exp_r8.f90 \
+	generated/_exp_c4.f90 generated/_exp_c8.f90 \
+	generated/_log_r4.f90 generated/_log_r8.f90 \
+	generated/_log_c4.f90 generated/_log_c8.f90 \
+	generated/_log10_r4.f90 generated/_log10_r8.f90 \
+	generated/_sqrt_r4.f90 generated/_sqrt_r8.f90 \
+	generated/_sqrt_c4.f90 generated/_sqrt_c8.f90 \
+	generated/_asin_r4.f90 generated/_asin_r8.f90 \
+	generated/_acos_r4.f90 generated/_acos_r8.f90 \
+	generated/_atan_r4.f90 generated/_atan_r8.f90 \
+	generated/_sin_r4.f90 generated/_sin_r8.f90 \
+	generated/_sin_c4.f90 generated/_sin_c8.f90 \
+	generated/_cos_r4.f90 generated/_cos_r8.f90 \
+	generated/_cos_c4.f90 generated/_cos_c8.f90 \
+	generated/_tan_r4.f90 generated/_tan_r8.f90 \
+	generated/_sinh_r4.f90 generated/_sinh_r8.f90 \
+	generated/_cosh_r4.f90 generated/_cosh_r8.f90 \
+	generated/_tanh_r4.f90 generated/_tanh_r8.f90 \
+	generated/_conjg_c4.f90 generated/_conjg_c8.f90 \
+	generated/_aint_r4.f90 generated/_aint_r8.f90 \
+	generated/_anint_r4.f90 generated/_anint_r8.f90 \
+	generated/_sign_i4.f90 generated/_sign_i8.f90 \
+	generated/_sign_r4.f90 generated/_sign_r8.f90 \
+	generated/_dim_i4.f90 generated/_dim_i8.f90 \
+	generated/_dim_r4.f90 generated/_dim_r8.f90 \
+	generated/_atan2_r4.f90 generated/_atan2_r8.f90 \
+	generated/_mod_i4.f90 generated/_mod_i8.f90 \
+	generated/_mod_r4.f90 generated/_mod_r8.f90 \
+	intrinsics/dprod_r8.f90 intrinsics/f2c_specifics.F90
+@LIBGFORTRAN_TRUE@am__objects_1 = environ.lo error.lo main.lo \
+@LIBGFORTRAN_TRUE@	memory.lo pause.lo stop.lo string.lo \
+@LIBGFORTRAN_TRUE@	select.lo
+@LIBGFORTRAN_TRUE@am__objects_2 = all_l4.lo all_l8.lo
+@LIBGFORTRAN_TRUE@am__objects_3 = any_l4.lo any_l8.lo
+@LIBGFORTRAN_TRUE@am__objects_4 = count_4_l4.lo count_8_l4.lo \
+@LIBGFORTRAN_TRUE@	count_4_l8.lo count_8_l8.lo
+@LIBGFORTRAN_TRUE@am__objects_5 = maxloc0_4_i4.lo maxloc0_8_i4.lo \
+@LIBGFORTRAN_TRUE@	maxloc0_4_i8.lo maxloc0_8_i8.lo \
+@LIBGFORTRAN_TRUE@	maxloc0_4_r4.lo maxloc0_8_r4.lo \
+@LIBGFORTRAN_TRUE@	maxloc0_4_r8.lo maxloc0_8_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_6 = maxloc1_4_i4.lo maxloc1_8_i4.lo \
+@LIBGFORTRAN_TRUE@	maxloc1_4_i8.lo maxloc1_8_i8.lo \
+@LIBGFORTRAN_TRUE@	maxloc1_4_r4.lo maxloc1_8_r4.lo \
+@LIBGFORTRAN_TRUE@	maxloc1_4_r8.lo maxloc1_8_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_7 = maxval_i4.lo maxval_i8.lo \
+@LIBGFORTRAN_TRUE@	maxval_r4.lo maxval_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_8 = minloc0_4_i4.lo minloc0_8_i4.lo \
+@LIBGFORTRAN_TRUE@	minloc0_4_i8.lo minloc0_8_i8.lo \
+@LIBGFORTRAN_TRUE@	minloc0_4_r4.lo minloc0_8_r4.lo \
+@LIBGFORTRAN_TRUE@	minloc0_4_r8.lo minloc0_8_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_9 = minloc1_4_i4.lo minloc1_8_i4.lo \
+@LIBGFORTRAN_TRUE@	minloc1_4_i8.lo minloc1_8_i8.lo \
+@LIBGFORTRAN_TRUE@	minloc1_4_r4.lo minloc1_8_r4.lo \
+@LIBGFORTRAN_TRUE@	minloc1_4_r8.lo minloc1_8_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_10 = minval_i4.lo minval_i8.lo \
+@LIBGFORTRAN_TRUE@	minval_r4.lo minval_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_11 = product_i4.lo product_i8.lo \
+@LIBGFORTRAN_TRUE@	product_r4.lo product_r8.lo product_c4.lo \
+@LIBGFORTRAN_TRUE@	product_c8.lo
+@LIBGFORTRAN_TRUE@am__objects_12 = sum_i4.lo sum_i8.lo sum_r4.lo \
+@LIBGFORTRAN_TRUE@	sum_r8.lo sum_c4.lo sum_c8.lo
+@LIBGFORTRAN_TRUE@am__objects_13 = dotprod_i4.lo dotprod_i8.lo \
+@LIBGFORTRAN_TRUE@	dotprod_r4.lo dotprod_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_14 = dotprod_l4.lo dotprod_l8.lo
+@LIBGFORTRAN_TRUE@am__objects_15 = dotprod_c4.lo dotprod_c8.lo
+@LIBGFORTRAN_TRUE@am__objects_16 = matmul_i4.lo matmul_i8.lo \
+@LIBGFORTRAN_TRUE@	matmul_r4.lo matmul_r8.lo matmul_c4.lo \
+@LIBGFORTRAN_TRUE@	matmul_c8.lo
+@LIBGFORTRAN_TRUE@am__objects_17 = matmul_l4.lo matmul_l8.lo
+@LIBGFORTRAN_TRUE@am__objects_18 = transpose_i4.lo transpose_i8.lo \
+@LIBGFORTRAN_TRUE@	transpose_c4.lo transpose_c8.lo
+@LIBGFORTRAN_TRUE@am__objects_19 = shape_i4.lo shape_i8.lo
+@LIBGFORTRAN_TRUE@am__objects_20 = eoshift1_4.lo eoshift1_8.lo
+@LIBGFORTRAN_TRUE@am__objects_21 = eoshift3_4.lo eoshift3_8.lo
+@LIBGFORTRAN_TRUE@am__objects_22 = cshift1_4.lo cshift1_8.lo
+@LIBGFORTRAN_TRUE@am__objects_23 = reshape_i4.lo reshape_i8.lo \
+@LIBGFORTRAN_TRUE@	reshape_c4.lo reshape_c8.lo
+@LIBGFORTRAN_TRUE@am__objects_24 = in_pack_i4.lo in_pack_i8.lo
+@LIBGFORTRAN_TRUE@am__objects_25 = in_unpack_i4.lo in_unpack_i8.lo
+@LIBGFORTRAN_TRUE@am__objects_26 = exponent_r4.lo exponent_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_27 = fraction_r4.lo fraction_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_28 = nearest_r4.lo nearest_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_29 = set_exponent_r4.lo \
+@LIBGFORTRAN_TRUE@	set_exponent_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_30 = pow_i4_i4.lo pow_i8_i4.lo \
+@LIBGFORTRAN_TRUE@	pow_r4_i4.lo pow_r8_i4.lo pow_c4_i4.lo \
+@LIBGFORTRAN_TRUE@	pow_c8_i4.lo pow_i4_i8.lo pow_i8_i8.lo \
+@LIBGFORTRAN_TRUE@	pow_r4_i8.lo pow_r8_i8.lo pow_c4_i8.lo \
+@LIBGFORTRAN_TRUE@	pow_c8_i8.lo
+@LIBGFORTRAN_TRUE@am__objects_31 = $(am__objects_2) $(am__objects_3) \
+@LIBGFORTRAN_TRUE@	$(am__objects_4) $(am__objects_5) \
+@LIBGFORTRAN_TRUE@	$(am__objects_6) $(am__objects_7) \
+@LIBGFORTRAN_TRUE@	$(am__objects_8) $(am__objects_9) \
+@LIBGFORTRAN_TRUE@	$(am__objects_10) $(am__objects_11) \
+@LIBGFORTRAN_TRUE@	$(am__objects_12) $(am__objects_13) \
+@LIBGFORTRAN_TRUE@	$(am__objects_14) $(am__objects_15) \
+@LIBGFORTRAN_TRUE@	$(am__objects_16) $(am__objects_17) \
+@LIBGFORTRAN_TRUE@	$(am__objects_18) $(am__objects_19) \
+@LIBGFORTRAN_TRUE@	$(am__objects_20) $(am__objects_21) \
+@LIBGFORTRAN_TRUE@	$(am__objects_22) $(am__objects_23) \
+@LIBGFORTRAN_TRUE@	$(am__objects_24) $(am__objects_25) \
+@LIBGFORTRAN_TRUE@	$(am__objects_26) $(am__objects_27) \
+@LIBGFORTRAN_TRUE@	$(am__objects_28) $(am__objects_29) \
+@LIBGFORTRAN_TRUE@	$(am__objects_30)
+@LIBGFORTRAN_TRUE@am__objects_32 = backspace.lo close.lo endfile.lo \
+@LIBGFORTRAN_TRUE@	format.lo inquire.lo list_read.lo lock.lo \
+@LIBGFORTRAN_TRUE@	open.lo read.lo rewind.lo transfer.lo \
+@LIBGFORTRAN_TRUE@	unit.lo unix.lo write.lo
+@LIBGFORTRAN_TRUE@am__objects_33 = associated.lo abort.lo args.lo \
+@LIBGFORTRAN_TRUE@	bessel.lo c99_functions.lo chdir.lo \
+@LIBGFORTRAN_TRUE@	cpu_time.lo cshift0.lo date_and_time.lo \
+@LIBGFORTRAN_TRUE@	env.lo erf.lo eoshift0.lo eoshift2.lo \
+@LIBGFORTRAN_TRUE@	etime.lo exit.lo flush.lo fnum.lo gerror.lo \
+@LIBGFORTRAN_TRUE@	getcwd.lo getlog.lo getXid.lo hostnm.lo \
+@LIBGFORTRAN_TRUE@	kill.lo ierrno.lo ishftc.lo link.lo \
+@LIBGFORTRAN_TRUE@	mvbits.lo pack_generic.lo perror.lo size.lo \
+@LIBGFORTRAN_TRUE@	sleep.lo spread_generic.lo \
+@LIBGFORTRAN_TRUE@	string_intrinsics.lo system.lo rand.lo \
+@LIBGFORTRAN_TRUE@	random.lo rename.lo reshape_generic.lo \
+@LIBGFORTRAN_TRUE@	reshape_packed.lo selected_int_kind.lo \
+@LIBGFORTRAN_TRUE@	selected_real_kind.lo stat.lo symlnk.lo \
+@LIBGFORTRAN_TRUE@	system_clock.lo time.lo transpose_generic.lo \
+@LIBGFORTRAN_TRUE@	umask.lo unlink.lo unpack_generic.lo \
+@LIBGFORTRAN_TRUE@	in_pack_generic.lo in_unpack_generic.lo \
+@LIBGFORTRAN_TRUE@	normalize.lo
 am__objects_34 =
-am__objects_35 = _abs_c4.lo _abs_c8.lo _abs_i4.lo _abs_i8.lo \
-	_abs_r4.lo _abs_r8.lo _exp_r4.lo _exp_r8.lo _exp_c4.lo \
-	_exp_c8.lo _log_r4.lo _log_r8.lo _log_c4.lo _log_c8.lo \
-	_log10_r4.lo _log10_r8.lo _sqrt_r4.lo _sqrt_r8.lo _sqrt_c4.lo \
-	_sqrt_c8.lo _asin_r4.lo _asin_r8.lo _acos_r4.lo _acos_r8.lo \
-	_atan_r4.lo _atan_r8.lo _sin_r4.lo _sin_r8.lo _sin_c4.lo \
-	_sin_c8.lo _cos_r4.lo _cos_r8.lo _cos_c4.lo _cos_c8.lo \
-	_tan_r4.lo _tan_r8.lo _sinh_r4.lo _sinh_r8.lo _cosh_r4.lo \
-	_cosh_r8.lo _tanh_r4.lo _tanh_r8.lo _conjg_c4.lo _conjg_c8.lo \
-	_aint_r4.lo _aint_r8.lo _anint_r4.lo _anint_r8.lo
-am__objects_36 = _sign_i4.lo _sign_i8.lo _sign_r4.lo _sign_r8.lo \
-	_dim_i4.lo _dim_i8.lo _dim_r4.lo _dim_r8.lo _atan2_r4.lo \
-	_atan2_r8.lo _mod_i4.lo _mod_i8.lo _mod_r4.lo _mod_r8.lo
-am__objects_37 = $(am__objects_35) $(am__objects_36) dprod_r8.lo \
-	f2c_specifics.lo
-am_libgfortran_la_OBJECTS = $(am__objects_1) $(am__objects_31) \
-	$(am__objects_32) $(am__objects_33) $(am__objects_34) \
-	$(am__objects_37)
+@LIBGFORTRAN_TRUE@am__objects_35 = _abs_c4.lo _abs_c8.lo _abs_i4.lo \
+@LIBGFORTRAN_TRUE@	_abs_i8.lo _abs_r4.lo _abs_r8.lo _exp_r4.lo \
+@LIBGFORTRAN_TRUE@	_exp_r8.lo _exp_c4.lo _exp_c8.lo _log_r4.lo \
+@LIBGFORTRAN_TRUE@	_log_r8.lo _log_c4.lo _log_c8.lo \
+@LIBGFORTRAN_TRUE@	_log10_r4.lo _log10_r8.lo _sqrt_r4.lo \
+@LIBGFORTRAN_TRUE@	_sqrt_r8.lo _sqrt_c4.lo _sqrt_c8.lo \
+@LIBGFORTRAN_TRUE@	_asin_r4.lo _asin_r8.lo _acos_r4.lo \
+@LIBGFORTRAN_TRUE@	_acos_r8.lo _atan_r4.lo _atan_r8.lo \
+@LIBGFORTRAN_TRUE@	_sin_r4.lo _sin_r8.lo _sin_c4.lo _sin_c8.lo \
+@LIBGFORTRAN_TRUE@	_cos_r4.lo _cos_r8.lo _cos_c4.lo _cos_c8.lo \
+@LIBGFORTRAN_TRUE@	_tan_r4.lo _tan_r8.lo _sinh_r4.lo \
+@LIBGFORTRAN_TRUE@	_sinh_r8.lo _cosh_r4.lo _cosh_r8.lo \
+@LIBGFORTRAN_TRUE@	_tanh_r4.lo _tanh_r8.lo _conjg_c4.lo \
+@LIBGFORTRAN_TRUE@	_conjg_c8.lo _aint_r4.lo _aint_r8.lo \
+@LIBGFORTRAN_TRUE@	_anint_r4.lo _anint_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_36 = _sign_i4.lo _sign_i8.lo _sign_r4.lo \
+@LIBGFORTRAN_TRUE@	_sign_r8.lo _dim_i4.lo _dim_i8.lo _dim_r4.lo \
+@LIBGFORTRAN_TRUE@	_dim_r8.lo _atan2_r4.lo _atan2_r8.lo \
+@LIBGFORTRAN_TRUE@	_mod_i4.lo _mod_i8.lo _mod_r4.lo _mod_r8.lo
+@LIBGFORTRAN_TRUE@am__objects_37 = $(am__objects_35) $(am__objects_36) \
+@LIBGFORTRAN_TRUE@	dprod_r8.lo f2c_specifics.lo
+@LIBGFORTRAN_TRUE@am_libgfortran_la_OBJECTS = $(am__objects_1) \
+@LIBGFORTRAN_TRUE@	$(am__objects_31) $(am__objects_32) \
+@LIBGFORTRAN_TRUE@	$(am__objects_33) $(am__objects_34) \
+@LIBGFORTRAN_TRUE@	$(am__objects_37)
+am__EXTRA_libgfortran_la_SOURCES_DIST = generated/trig_c4.c \
+	generated/trig_c8.c generated/exp_c4.c generated/exp_c8.c \
+	generated/hyp_c4.c generated/hyp_c8.c
 libgfortran_la_OBJECTS = $(am_libgfortran_la_OBJECTS)
+@LIBGFORTRAN_TRUE@am_libgfortran_la_rpath = -rpath $(toolexeclibdir)
 libgfortranbegin_la_LIBADD =
-am_libgfortranbegin_la_OBJECTS = fmain.lo
+am__libgfortranbegin_la_SOURCES_DIST = fmain.c
+@LIBGFORTRAN_TRUE@am_libgfortranbegin_la_OBJECTS = fmain.lo
 libgfortranbegin_la_OBJECTS = $(am_libgfortranbegin_la_OBJECTS)
+@LIBGFORTRAN_TRUE@am_libgfortranbegin_la_rpath = -rpath \
+@LIBGFORTRAN_TRUE@	$(toolexeclibdir)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
 depcomp =
 am__depfiles_maybe =
@@ -170,7 +325,7 @@
 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
 	$(AM_FCFLAGS) $(FCFLAGS)
 FCLD = $(FC)
-FCLINK = $(LIBTOOL) --mode=link $(FCLD) $(AM_FFLAGS) $(FCFLAGS) \
+FCLINK = $(LIBTOOL) --mode=link $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -184,8 +339,9 @@
 LTFCCOMPILE = $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS)
 SOURCES = $(libgfortran_la_SOURCES) $(EXTRA_libgfortran_la_SOURCES) \
 	$(libgfortranbegin_la_SOURCES)
-DIST_SOURCES = $(libgfortran_la_SOURCES) \
-	$(EXTRA_libgfortran_la_SOURCES) $(libgfortranbegin_la_SOURCES)
+DIST_SOURCES = $(am__libgfortran_la_SOURCES_DIST) \
+	$(am__EXTRA_libgfortran_la_SOURCES_DIST) \
+	$(am__libgfortranbegin_la_SOURCES_DIST)
 MULTISRCTOP = 
 MULTIBUILDTOP = 
 MULTIDIRS = 
@@ -232,6 +388,8 @@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 LDFLAGS = @LDFLAGS@
+LIBGFORTRAN_FALSE = @LIBGFORTRAN_FALSE@
+LIBGFORTRAN_TRUE = @LIBGFORTRAN_TRUE@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LIBTOOL = @LIBTOOL@
@@ -275,6 +433,9 @@
 enable_static = @enable_static@
 exec_prefix = @exec_prefix@
 extra_ldflags_libgfortran = @extra_ldflags_libgfortran@
+gcc_version = @gcc_version@
+gcc_version_full = @gcc_version_full@
+gcc_version_trigger = @gcc_version_trigger@
 host = @host@
 host_alias = @host_alias@
 host_cpu = @host_cpu@
@@ -303,411 +464,411 @@
 toolexecdir = @toolexecdir@
 toolexeclibdir = @toolexeclibdir@
 ACLOCAL_AMFLAGS = -I ../config
-toolexeclib_LTLIBRARIES = libgfortran.la libgfortranbegin.la
-libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran)
-libgfortranbegin_la_SOURCES = fmain.c
-libgfortranbegin_la_LDFLAGS = -static
-AM_CPPFLAGS = -iquote$(srcdir)/io
-libgfortranincludedir = $(includedir)/gforio
-gfor_io_src = \
-io/backspace.c \
-io/close.c \
-io/endfile.c \
-io/format.c \
-io/inquire.c \
-io/list_read.c \
-io/lock.c \
-io/open.c \
-io/read.c \
-io/rewind.c \
-io/transfer.c \
-io/unit.c \
-io/unix.c \
-io/write.c
-
-gfor_io_headers = \
-io/io.h
-
-gfor_helper_src = \
-intrinsics/associated.c \
-intrinsics/abort.c \
-intrinsics/args.c \
-intrinsics/bessel.c \
-intrinsics/c99_functions.c \
-intrinsics/chdir.c \
-intrinsics/cpu_time.c \
-intrinsics/cshift0.c \
-intrinsics/date_and_time.c \
-intrinsics/env.c \
-intrinsics/erf.c \
-intrinsics/eoshift0.c \
-intrinsics/eoshift2.c \
-intrinsics/etime.c \
-intrinsics/exit.c \
-intrinsics/flush.c \
-intrinsics/fnum.c \
-intrinsics/gerror.c \
-intrinsics/getcwd.c \
-intrinsics/getlog.c \
-intrinsics/getXid.c \
-intrinsics/hostnm.c \
-intrinsics/kill.c \
-intrinsics/ierrno.c \
-intrinsics/ishftc.c \
-intrinsics/link.c \
-intrinsics/mvbits.c \
-intrinsics/pack_generic.c \
-intrinsics/perror.c \
-intrinsics/size.c \
-intrinsics/sleep.c \
-intrinsics/spread_generic.c \
-intrinsics/string_intrinsics.c \
-intrinsics/system.c \
-intrinsics/rand.c \
-intrinsics/random.c \
-intrinsics/rename.c \
-intrinsics/reshape_generic.c \
-intrinsics/reshape_packed.c \
-intrinsics/selected_int_kind.f90 \
-intrinsics/selected_real_kind.f90 \
-intrinsics/stat.c \
-intrinsics/symlnk.c \
-intrinsics/system_clock.c \
-intrinsics/time.c \
-intrinsics/transpose_generic.c \
-intrinsics/umask.c \
-intrinsics/unlink.c \
-intrinsics/unpack_generic.c \
-runtime/in_pack_generic.c \
-runtime/in_unpack_generic.c \
-runtime/normalize.c
-
-gfor_src = \
-runtime/environ.c \
-runtime/error.c \
-runtime/main.c \
-runtime/memory.c \
-runtime/pause.c \
-runtime/stop.c \
-runtime/string.c \
-runtime/select.c \
-gfortypes.h \
-libgfortran.h
-
-i_all_c = \
-generated/all_l4.c \
-generated/all_l8.c
-
-i_any_c = \
-generated/any_l4.c \
-generated/any_l8.c
-
-i_count_c = \
-generated/count_4_l4.c \
-generated/count_8_l4.c \
-generated/count_4_l8.c \
-generated/count_8_l8.c
-
-i_maxloc0_c = \
-generated/maxloc0_4_i4.c \
-generated/maxloc0_8_i4.c \
-generated/maxloc0_4_i8.c \
-generated/maxloc0_8_i8.c \
-generated/maxloc0_4_r4.c \
-generated/maxloc0_8_r4.c \
-generated/maxloc0_4_r8.c \
-generated/maxloc0_8_r8.c
-
-i_maxloc1_c = \
-generated/maxloc1_4_i4.c \
-generated/maxloc1_8_i4.c \
-generated/maxloc1_4_i8.c \
-generated/maxloc1_8_i8.c \
-generated/maxloc1_4_r4.c \
-generated/maxloc1_8_r4.c \
-generated/maxloc1_4_r8.c \
-generated/maxloc1_8_r8.c
-
-i_maxval_c = \
-generated/maxval_i4.c \
-generated/maxval_i8.c \
-generated/maxval_r4.c \
-generated/maxval_r8.c
-
-i_minloc0_c = \
-generated/minloc0_4_i4.c \
-generated/minloc0_8_i4.c \
-generated/minloc0_4_i8.c \
-generated/minloc0_8_i8.c \
-generated/minloc0_4_r4.c \
-generated/minloc0_8_r4.c \
-generated/minloc0_4_r8.c \
-generated/minloc0_8_r8.c
-
-i_minloc1_c = \
-generated/minloc1_4_i4.c \
-generated/minloc1_8_i4.c \
-generated/minloc1_4_i8.c \
-generated/minloc1_8_i8.c \
-generated/minloc1_4_r4.c \
-generated/minloc1_8_r4.c \
-generated/minloc1_4_r8.c \
-generated/minloc1_8_r8.c
-
-i_minval_c = \
-generated/minval_i4.c \
-generated/minval_i8.c \
-generated/minval_r4.c \
-generated/minval_r8.c
-
-i_sum_c = \
-generated/sum_i4.c \
-generated/sum_i8.c \
-generated/sum_r4.c \
-generated/sum_r8.c \
-generated/sum_c4.c \
-generated/sum_c8.c
-
-i_product_c = \
-generated/product_i4.c \
-generated/product_i8.c \
-generated/product_r4.c \
-generated/product_r8.c \
-generated/product_c4.c \
-generated/product_c8.c
-
-i_dotprod_c = \
-generated/dotprod_i4.c \
-generated/dotprod_i8.c \
-generated/dotprod_r4.c \
-generated/dotprod_r8.c
-
-i_dotprodl_c = \
-generated/dotprod_l4.c \
-generated/dotprod_l8.c
-
-i_dotprodc_c = \
-generated/dotprod_c4.c \
-generated/dotprod_c8.c
-
-i_matmul_c = \
-generated/matmul_i4.c \
-generated/matmul_i8.c \
-generated/matmul_r4.c \
-generated/matmul_r8.c \
-generated/matmul_c4.c \
-generated/matmul_c8.c
-
-i_matmull_c = \
-generated/matmul_l4.c \
-generated/matmul_l8.c
-
-i_transpose_c = \
-generated/transpose_i4.c \
-generated/transpose_i8.c \
-generated/transpose_c4.c \
-generated/transpose_c8.c
-
-i_shape_c = \
-generated/shape_i4.c \
-generated/shape_i8.c
-
-i_reshape_c = \
-generated/reshape_i4.c \
-generated/reshape_i8.c \
-generated/reshape_c4.c \
-generated/reshape_c8.c
-
-i_eoshift1_c = \
-generated/eoshift1_4.c \
-generated/eoshift1_8.c
-
-i_eoshift3_c = \
-generated/eoshift3_4.c \
-generated/eoshift3_8.c
-
-i_cshift1_c = \
-generated/cshift1_4.c \
-generated/cshift1_8.c
-
-in_pack_c = \
-generated/in_pack_i4.c \
-generated/in_pack_i8.c
-
-in_unpack_c = \
-generated/in_unpack_i4.c \
-generated/in_unpack_i8.c
-
-i_exponent_c = \
-generated/exponent_r4.c \
-generated/exponent_r8.c
-
-i_fraction_c = \
-generated/fraction_r4.c \
-generated/fraction_r8.c
-
-i_nearest_c = \
-generated/nearest_r4.c \
-generated/nearest_r8.c
-
-i_set_exponent_c = \
-generated/set_exponent_r4.c \
-generated/set_exponent_r8.c
-
-i_pow_c = \
-generated/pow_i4_i4.c \
-generated/pow_i8_i4.c \
-generated/pow_r4_i4.c \
-generated/pow_r8_i4.c \
-generated/pow_c4_i4.c \
-generated/pow_c8_i4.c \
-generated/pow_i4_i8.c \
-generated/pow_i8_i8.c \
-generated/pow_r4_i8.c \
-generated/pow_r8_i8.c \
-generated/pow_c4_i8.c \
-generated/pow_c8_i8.c
-
-m4_files = m4/iparm.m4 m4/ifunction.m4 m4/iforeach.m4 m4/all.m4 \
-    m4/any.m4 m4/count.m4 m4/maxloc0.m4 m4/maxloc1.m4 m4/maxval.m4 \
-    m4/minloc0.m4 m4/minloc1.m4 m4/minval.m4 m4/product.m4 m4/sum.m4 \
-    m4/dotprod.m4 m4/dotprodl.m4 m4/dotprodc.m4 m4/matmul.m4 m4/matmull.m4 \
-    m4/ctrig.m4 m4/cexp.m4 m4/chyp.m4 m4/mtype.m4 \
-    m4/specific.m4 m4/specific2.m4 m4/head.m4 m4/shape.m4 m4/reshape.m4 \
-    m4/transpose.m4 m4/eoshift1.m4 m4/eoshift3.m4 m4/exponent.m4 \
-    m4/fraction.m4 m4/nearest.m4 m4/set_exponent.m4 m4/pow.m4
-
-gfor_built_src = $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \
-    $(i_maxloc1_c) $(i_maxval_c) $(i_minloc0_c) $(i_minloc1_c) $(i_minval_c) \
-    $(i_product_c) $(i_sum_c) $(i_dotprod_c) $(i_dotprodl_c) $(i_dotprodc_c) \
-    $(i_matmul_c) $(i_matmull_c) $(i_transpose_c) $(i_shape_c) $(i_eoshift1_c) \
-    $(i_eoshift3_c) $(i_cshift1_c) $(i_reshape_c) $(in_pack_c) $(in_unpack_c) \
-    $(i_exponent_c) $(i_fraction_c) $(i_nearest_c) $(i_set_exponent_c) \
-    $(i_pow_c) \
-    selected_int_kind.inc selected_real_kind.inc
+@LIBGFORTRAN_TRUE@toolexeclib_LTLIBRARIES = libgfortran.la libgfortranbegin.la
+@LIBGFORTRAN_TRUE@libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran)
+@LIBGFORTRAN_TRUE@libgfortranbegin_la_SOURCES = fmain.c
+@LIBGFORTRAN_TRUE@libgfortranbegin_la_LDFLAGS = -static
+@LIBGFORTRAN_TRUE@AM_CPPFLAGS = -iquote$(srcdir)/io
+@LIBGFORTRAN_TRUE@libgfortranincludedir = $(includedir)/gforio
+@LIBGFORTRAN_TRUE@gfor_io_src = \
+@LIBGFORTRAN_TRUE@io/backspace.c \
+@LIBGFORTRAN_TRUE@io/close.c \
+@LIBGFORTRAN_TRUE@io/endfile.c \
+@LIBGFORTRAN_TRUE@io/format.c \
+@LIBGFORTRAN_TRUE@io/inquire.c \
+@LIBGFORTRAN_TRUE@io/list_read.c \
+@LIBGFORTRAN_TRUE@io/lock.c \
+@LIBGFORTRAN_TRUE@io/open.c \
+@LIBGFORTRAN_TRUE@io/read.c \
+@LIBGFORTRAN_TRUE@io/rewind.c \
+@LIBGFORTRAN_TRUE@io/transfer.c \
+@LIBGFORTRAN_TRUE@io/unit.c \
+@LIBGFORTRAN_TRUE@io/unix.c \
+@LIBGFORTRAN_TRUE@io/write.c
+
+@LIBGFORTRAN_TRUE@gfor_io_headers = \
+@LIBGFORTRAN_TRUE@io/io.h
+
+@LIBGFORTRAN_TRUE@gfor_helper_src = \
+@LIBGFORTRAN_TRUE@intrinsics/associated.c \
+@LIBGFORTRAN_TRUE@intrinsics/abort.c \
+@LIBGFORTRAN_TRUE@intrinsics/args.c \
+@LIBGFORTRAN_TRUE@intrinsics/bessel.c \
+@LIBGFORTRAN_TRUE@intrinsics/c99_functions.c \
+@LIBGFORTRAN_TRUE@intrinsics/chdir.c \
+@LIBGFORTRAN_TRUE@intrinsics/cpu_time.c \
+@LIBGFORTRAN_TRUE@intrinsics/cshift0.c \
+@LIBGFORTRAN_TRUE@intrinsics/date_and_time.c \
+@LIBGFORTRAN_TRUE@intrinsics/env.c \
+@LIBGFORTRAN_TRUE@intrinsics/erf.c \
+@LIBGFORTRAN_TRUE@intrinsics/eoshift0.c \
+@LIBGFORTRAN_TRUE@intrinsics/eoshift2.c \
+@LIBGFORTRAN_TRUE@intrinsics/etime.c \
+@LIBGFORTRAN_TRUE@intrinsics/exit.c \
+@LIBGFORTRAN_TRUE@intrinsics/flush.c \
+@LIBGFORTRAN_TRUE@intrinsics/fnum.c \
+@LIBGFORTRAN_TRUE@intrinsics/gerror.c \
+@LIBGFORTRAN_TRUE@intrinsics/getcwd.c \
+@LIBGFORTRAN_TRUE@intrinsics/getlog.c \
+@LIBGFORTRAN_TRUE@intrinsics/getXid.c \
+@LIBGFORTRAN_TRUE@intrinsics/hostnm.c \
+@LIBGFORTRAN_TRUE@intrinsics/kill.c \
+@LIBGFORTRAN_TRUE@intrinsics/ierrno.c \
+@LIBGFORTRAN_TRUE@intrinsics/ishftc.c \
+@LIBGFORTRAN_TRUE@intrinsics/link.c \
+@LIBGFORTRAN_TRUE@intrinsics/mvbits.c \
+@LIBGFORTRAN_TRUE@intrinsics/pack_generic.c \
+@LIBGFORTRAN_TRUE@intrinsics/perror.c \
+@LIBGFORTRAN_TRUE@intrinsics/size.c \
+@LIBGFORTRAN_TRUE@intrinsics/sleep.c \
+@LIBGFORTRAN_TRUE@intrinsics/spread_generic.c \
+@LIBGFORTRAN_TRUE@intrinsics/string_intrinsics.c \
+@LIBGFORTRAN_TRUE@intrinsics/system.c \
+@LIBGFORTRAN_TRUE@intrinsics/rand.c \
+@LIBGFORTRAN_TRUE@intrinsics/random.c \
+@LIBGFORTRAN_TRUE@intrinsics/rename.c \
+@LIBGFORTRAN_TRUE@intrinsics/reshape_generic.c \
+@LIBGFORTRAN_TRUE@intrinsics/reshape_packed.c \
+@LIBGFORTRAN_TRUE@intrinsics/selected_int_kind.f90 \
+@LIBGFORTRAN_TRUE@intrinsics/selected_real_kind.f90 \
+@LIBGFORTRAN_TRUE@intrinsics/stat.c \
+@LIBGFORTRAN_TRUE@intrinsics/symlnk.c \
+@LIBGFORTRAN_TRUE@intrinsics/system_clock.c \
+@LIBGFORTRAN_TRUE@intrinsics/time.c \
+@LIBGFORTRAN_TRUE@intrinsics/transpose_generic.c \
+@LIBGFORTRAN_TRUE@intrinsics/umask.c \
+@LIBGFORTRAN_TRUE@intrinsics/unlink.c \
+@LIBGFORTRAN_TRUE@intrinsics/unpack_generic.c \
+@LIBGFORTRAN_TRUE@runtime/in_pack_generic.c \
+@LIBGFORTRAN_TRUE@runtime/in_unpack_generic.c \
+@LIBGFORTRAN_TRUE@runtime/normalize.c
+
+@LIBGFORTRAN_TRUE@gfor_src = \
+@LIBGFORTRAN_TRUE@runtime/environ.c \
+@LIBGFORTRAN_TRUE@runtime/error.c \
+@LIBGFORTRAN_TRUE@runtime/main.c \
+@LIBGFORTRAN_TRUE@runtime/memory.c \
+@LIBGFORTRAN_TRUE@runtime/pause.c \
+@LIBGFORTRAN_TRUE@runtime/stop.c \
+@LIBGFORTRAN_TRUE@runtime/string.c \
+@LIBGFORTRAN_TRUE@runtime/select.c \
+@LIBGFORTRAN_TRUE@gfortypes.h \
+@LIBGFORTRAN_TRUE@libgfortran.h
+
+@LIBGFORTRAN_TRUE@i_all_c = \
+@LIBGFORTRAN_TRUE@generated/all_l4.c \
+@LIBGFORTRAN_TRUE@generated/all_l8.c
+
+@LIBGFORTRAN_TRUE@i_any_c = \
+@LIBGFORTRAN_TRUE@generated/any_l4.c \
+@LIBGFORTRAN_TRUE@generated/any_l8.c
+
+@LIBGFORTRAN_TRUE@i_count_c = \
+@LIBGFORTRAN_TRUE@generated/count_4_l4.c \
+@LIBGFORTRAN_TRUE@generated/count_8_l4.c \
+@LIBGFORTRAN_TRUE@generated/count_4_l8.c \
+@LIBGFORTRAN_TRUE@generated/count_8_l8.c
+
+@LIBGFORTRAN_TRUE@i_maxloc0_c = \
+@LIBGFORTRAN_TRUE@generated/maxloc0_4_i4.c \
+@LIBGFORTRAN_TRUE@generated/maxloc0_8_i4.c \
+@LIBGFORTRAN_TRUE@generated/maxloc0_4_i8.c \
+@LIBGFORTRAN_TRUE@generated/maxloc0_8_i8.c \
+@LIBGFORTRAN_TRUE@generated/maxloc0_4_r4.c \
+@LIBGFORTRAN_TRUE@generated/maxloc0_8_r4.c \
+@LIBGFORTRAN_TRUE@generated/maxloc0_4_r8.c \
+@LIBGFORTRAN_TRUE@generated/maxloc0_8_r8.c
+
+@LIBGFORTRAN_TRUE@i_maxloc1_c = \
+@LIBGFORTRAN_TRUE@generated/maxloc1_4_i4.c \
+@LIBGFORTRAN_TRUE@generated/maxloc1_8_i4.c \
+@LIBGFORTRAN_TRUE@generated/maxloc1_4_i8.c \
+@LIBGFORTRAN_TRUE@generated/maxloc1_8_i8.c \
+@LIBGFORTRAN_TRUE@generated/maxloc1_4_r4.c \
+@LIBGFORTRAN_TRUE@generated/maxloc1_8_r4.c \
+@LIBGFORTRAN_TRUE@generated/maxloc1_4_r8.c \
+@LIBGFORTRAN_TRUE@generated/maxloc1_8_r8.c
+
+@LIBGFORTRAN_TRUE@i_maxval_c = \
+@LIBGFORTRAN_TRUE@generated/maxval_i4.c \
+@LIBGFORTRAN_TRUE@generated/maxval_i8.c \
+@LIBGFORTRAN_TRUE@generated/maxval_r4.c \
+@LIBGFORTRAN_TRUE@generated/maxval_r8.c
+
+@LIBGFORTRAN_TRUE@i_minloc0_c = \
+@LIBGFORTRAN_TRUE@generated/minloc0_4_i4.c \
+@LIBGFORTRAN_TRUE@generated/minloc0_8_i4.c \
+@LIBGFORTRAN_TRUE@generated/minloc0_4_i8.c \
+@LIBGFORTRAN_TRUE@generated/minloc0_8_i8.c \
+@LIBGFORTRAN_TRUE@generated/minloc0_4_r4.c \
+@LIBGFORTRAN_TRUE@generated/minloc0_8_r4.c \
+@LIBGFORTRAN_TRUE@generated/minloc0_4_r8.c \
+@LIBGFORTRAN_TRUE@generated/minloc0_8_r8.c
+
+@LIBGFORTRAN_TRUE@i_minloc1_c = \
+@LIBGFORTRAN_TRUE@generated/minloc1_4_i4.c \
+@LIBGFORTRAN_TRUE@generated/minloc1_8_i4.c \
+@LIBGFORTRAN_TRUE@generated/minloc1_4_i8.c \
+@LIBGFORTRAN_TRUE@generated/minloc1_8_i8.c \
+@LIBGFORTRAN_TRUE@generated/minloc1_4_r4.c \
+@LIBGFORTRAN_TRUE@generated/minloc1_8_r4.c \
+@LIBGFORTRAN_TRUE@generated/minloc1_4_r8.c \
+@LIBGFORTRAN_TRUE@generated/minloc1_8_r8.c
+
+@LIBGFORTRAN_TRUE@i_minval_c = \
+@LIBGFORTRAN_TRUE@generated/minval_i4.c \
+@LIBGFORTRAN_TRUE@generated/minval_i8.c \
+@LIBGFORTRAN_TRUE@generated/minval_r4.c \
+@LIBGFORTRAN_TRUE@generated/minval_r8.c
+
+@LIBGFORTRAN_TRUE@i_sum_c = \
+@LIBGFORTRAN_TRUE@generated/sum_i4.c \
+@LIBGFORTRAN_TRUE@generated/sum_i8.c \
+@LIBGFORTRAN_TRUE@generated/sum_r4.c \
+@LIBGFORTRAN_TRUE@generated/sum_r8.c \
+@LIBGFORTRAN_TRUE@generated/sum_c4.c \
+@LIBGFORTRAN_TRUE@generated/sum_c8.c
+
+@LIBGFORTRAN_TRUE@i_product_c = \
+@LIBGFORTRAN_TRUE@generated/product_i4.c \
+@LIBGFORTRAN_TRUE@generated/product_i8.c \
+@LIBGFORTRAN_TRUE@generated/product_r4.c \
+@LIBGFORTRAN_TRUE@generated/product_r8.c \
+@LIBGFORTRAN_TRUE@generated/product_c4.c \
+@LIBGFORTRAN_TRUE@generated/product_c8.c
+
+@LIBGFORTRAN_TRUE@i_dotprod_c = \
+@LIBGFORTRAN_TRUE@generated/dotprod_i4.c \
+@LIBGFORTRAN_TRUE@generated/dotprod_i8.c \
+@LIBGFORTRAN_TRUE@generated/dotprod_r4.c \
+@LIBGFORTRAN_TRUE@generated/dotprod_r8.c
+
+@LIBGFORTRAN_TRUE@i_dotprodl_c = \
+@LIBGFORTRAN_TRUE@generated/dotprod_l4.c \
+@LIBGFORTRAN_TRUE@generated/dotprod_l8.c
+
+@LIBGFORTRAN_TRUE@i_dotprodc_c = \
+@LIBGFORTRAN_TRUE@generated/dotprod_c4.c \
+@LIBGFORTRAN_TRUE@generated/dotprod_c8.c
+
+@LIBGFORTRAN_TRUE@i_matmul_c = \
+@LIBGFORTRAN_TRUE@generated/matmul_i4.c \
+@LIBGFORTRAN_TRUE@generated/matmul_i8.c \
+@LIBGFORTRAN_TRUE@generated/matmul_r4.c \
+@LIBGFORTRAN_TRUE@generated/matmul_r8.c \
+@LIBGFORTRAN_TRUE@generated/matmul_c4.c \
+@LIBGFORTRAN_TRUE@generated/matmul_c8.c
+
+@LIBGFORTRAN_TRUE@i_matmull_c = \
+@LIBGFORTRAN_TRUE@generated/matmul_l4.c \
+@LIBGFORTRAN_TRUE@generated/matmul_l8.c
+
+@LIBGFORTRAN_TRUE@i_transpose_c = \
+@LIBGFORTRAN_TRUE@generated/transpose_i4.c \
+@LIBGFORTRAN_TRUE@generated/transpose_i8.c \
+@LIBGFORTRAN_TRUE@generated/transpose_c4.c \
+@LIBGFORTRAN_TRUE@generated/transpose_c8.c
+
+@LIBGFORTRAN_TRUE@i_shape_c = \
+@LIBGFORTRAN_TRUE@generated/shape_i4.c \
+@LIBGFORTRAN_TRUE@generated/shape_i8.c
+
+@LIBGFORTRAN_TRUE@i_reshape_c = \
+@LIBGFORTRAN_TRUE@generated/reshape_i4.c \
+@LIBGFORTRAN_TRUE@generated/reshape_i8.c \
+@LIBGFORTRAN_TRUE@generated/reshape_c4.c \
+@LIBGFORTRAN_TRUE@generated/reshape_c8.c
+
+@LIBGFORTRAN_TRUE@i_eoshift1_c = \
+@LIBGFORTRAN_TRUE@generated/eoshift1_4.c \
+@LIBGFORTRAN_TRUE@generated/eoshift1_8.c
+
+@LIBGFORTRAN_TRUE@i_eoshift3_c = \
+@LIBGFORTRAN_TRUE@generated/eoshift3_4.c \
+@LIBGFORTRAN_TRUE@generated/eoshift3_8.c
+
+@LIBGFORTRAN_TRUE@i_cshift1_c = \
+@LIBGFORTRAN_TRUE@generated/cshift1_4.c \
+@LIBGFORTRAN_TRUE@generated/cshift1_8.c
+
+@LIBGFORTRAN_TRUE@in_pack_c = \
+@LIBGFORTRAN_TRUE@generated/in_pack_i4.c \
+@LIBGFORTRAN_TRUE@generated/in_pack_i8.c
+
+@LIBGFORTRAN_TRUE@in_unpack_c = \
+@LIBGFORTRAN_TRUE@generated/in_unpack_i4.c \
+@LIBGFORTRAN_TRUE@generated/in_unpack_i8.c
+
+@LIBGFORTRAN_TRUE@i_exponent_c = \
+@LIBGFORTRAN_TRUE@generated/exponent_r4.c \
+@LIBGFORTRAN_TRUE@generated/exponent_r8.c
+
+@LIBGFORTRAN_TRUE@i_fraction_c = \
+@LIBGFORTRAN_TRUE@generated/fraction_r4.c \
+@LIBGFORTRAN_TRUE@generated/fraction_r8.c
+
+@LIBGFORTRAN_TRUE@i_nearest_c = \
+@LIBGFORTRAN_TRUE@generated/nearest_r4.c \
+@LIBGFORTRAN_TRUE@generated/nearest_r8.c
+
+@LIBGFORTRAN_TRUE@i_set_exponent_c = \
+@LIBGFORTRAN_TRUE@generated/set_exponent_r4.c \
+@LIBGFORTRAN_TRUE@generated/set_exponent_r8.c
+
+@LIBGFORTRAN_TRUE@i_pow_c = \
+@LIBGFORTRAN_TRUE@generated/pow_i4_i4.c \
+@LIBGFORTRAN_TRUE@generated/pow_i8_i4.c \
+@LIBGFORTRAN_TRUE@generated/pow_r4_i4.c \
+@LIBGFORTRAN_TRUE@generated/pow_r8_i4.c \
+@LIBGFORTRAN_TRUE@generated/pow_c4_i4.c \
+@LIBGFORTRAN_TRUE@generated/pow_c8_i4.c \
+@LIBGFORTRAN_TRUE@generated/pow_i4_i8.c \
+@LIBGFORTRAN_TRUE@generated/pow_i8_i8.c \
+@LIBGFORTRAN_TRUE@generated/pow_r4_i8.c \
+@LIBGFORTRAN_TRUE@generated/pow_r8_i8.c \
+@LIBGFORTRAN_TRUE@generated/pow_c4_i8.c \
+@LIBGFORTRAN_TRUE@generated/pow_c8_i8.c
+
+@LIBGFORTRAN_TRUE@m4_files = m4/iparm.m4 m4/ifunction.m4 m4/iforeach.m4 m4/all.m4 \
+@LIBGFORTRAN_TRUE@    m4/any.m4 m4/count.m4 m4/maxloc0.m4 m4/maxloc1.m4 m4/maxval.m4 \
+@LIBGFORTRAN_TRUE@    m4/minloc0.m4 m4/minloc1.m4 m4/minval.m4 m4/product.m4 m4/sum.m4 \
+@LIBGFORTRAN_TRUE@    m4/dotprod.m4 m4/dotprodl.m4 m4/dotprodc.m4 m4/matmul.m4 m4/matmull.m4 \
+@LIBGFORTRAN_TRUE@    m4/ctrig.m4 m4/cexp.m4 m4/chyp.m4 m4/mtype.m4 \
+@LIBGFORTRAN_TRUE@    m4/specific.m4 m4/specific2.m4 m4/head.m4 m4/shape.m4 m4/reshape.m4 \
+@LIBGFORTRAN_TRUE@    m4/transpose.m4 m4/eoshift1.m4 m4/eoshift3.m4 m4/exponent.m4 \
+@LIBGFORTRAN_TRUE@    m4/fraction.m4 m4/nearest.m4 m4/set_exponent.m4 m4/pow.m4
+
+@LIBGFORTRAN_TRUE@gfor_built_src = $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \
+@LIBGFORTRAN_TRUE@    $(i_maxloc1_c) $(i_maxval_c) $(i_minloc0_c) $(i_minloc1_c) $(i_minval_c) \
+@LIBGFORTRAN_TRUE@    $(i_product_c) $(i_sum_c) $(i_dotprod_c) $(i_dotprodl_c) $(i_dotprodc_c) \
+@LIBGFORTRAN_TRUE@    $(i_matmul_c) $(i_matmull_c) $(i_transpose_c) $(i_shape_c) $(i_eoshift1_c) \
+@LIBGFORTRAN_TRUE@    $(i_eoshift3_c) $(i_cshift1_c) $(i_reshape_c) $(in_pack_c) $(in_unpack_c) \
+@LIBGFORTRAN_TRUE@    $(i_exponent_c) $(i_fraction_c) $(i_nearest_c) $(i_set_exponent_c) \
+@LIBGFORTRAN_TRUE@    $(i_pow_c) \
+@LIBGFORTRAN_TRUE@    selected_int_kind.inc selected_real_kind.inc
 
 
 # We only use these if libm doesn't contain complex math functions.
-gfor_math_trig_c = \
-generated/trig_c4.c \
-generated/trig_c8.c
-
-gfor_math_exp_c = \
-generated/exp_c4.c \
-generated/exp_c8.c
-
-gfor_math_hyp_c = \
-generated/hyp_c4.c \
-generated/hyp_c8.c
-
-gfor_math_trig_obj = \
-trig_c4.lo \
-trig_c8.lo
-
-gfor_math_exp_obj = \
-exp_c4.lo \
-exp_c8.lo
-
-gfor_math_hyp_obj = \
-hyp_c4.lo \
-hyp_c8.lo
+@LIBGFORTRAN_TRUE@gfor_math_trig_c = \
+@LIBGFORTRAN_TRUE@generated/trig_c4.c \
+@LIBGFORTRAN_TRUE@generated/trig_c8.c
+
+@LIBGFORTRAN_TRUE@gfor_math_exp_c = \
+@LIBGFORTRAN_TRUE@generated/exp_c4.c \
+@LIBGFORTRAN_TRUE@generated/exp_c8.c
+
+@LIBGFORTRAN_TRUE@gfor_math_hyp_c = \
+@LIBGFORTRAN_TRUE@generated/hyp_c4.c \
+@LIBGFORTRAN_TRUE@generated/hyp_c8.c
+
+@LIBGFORTRAN_TRUE@gfor_math_trig_obj = \
+@LIBGFORTRAN_TRUE@trig_c4.lo \
+@LIBGFORTRAN_TRUE@trig_c8.lo
+
+@LIBGFORTRAN_TRUE@gfor_math_exp_obj = \
+@LIBGFORTRAN_TRUE@exp_c4.lo \
+@LIBGFORTRAN_TRUE@exp_c8.lo
+
+@LIBGFORTRAN_TRUE@gfor_math_hyp_obj = \
+@LIBGFORTRAN_TRUE@hyp_c4.lo \
+@LIBGFORTRAN_TRUE@hyp_c8.lo
 
 
 # Machine generated specifics
-gfor_built_specific_src = \
-generated/_abs_c4.f90 \
-generated/_abs_c8.f90 \
-generated/_abs_i4.f90 \
-generated/_abs_i8.f90 \
-generated/_abs_r4.f90 \
-generated/_abs_r8.f90 \
-generated/_exp_r4.f90 \
-generated/_exp_r8.f90 \
-generated/_exp_c4.f90 \
-generated/_exp_c8.f90 \
-generated/_log_r4.f90 \
-generated/_log_r8.f90 \
-generated/_log_c4.f90 \
-generated/_log_c8.f90 \
-generated/_log10_r4.f90 \
-generated/_log10_r8.f90 \
-generated/_sqrt_r4.f90 \
-generated/_sqrt_r8.f90 \
-generated/_sqrt_c4.f90 \
-generated/_sqrt_c8.f90 \
-generated/_asin_r4.f90 \
-generated/_asin_r8.f90 \
-generated/_acos_r4.f90 \
-generated/_acos_r8.f90 \
-generated/_atan_r4.f90 \
-generated/_atan_r8.f90 \
-generated/_sin_r4.f90 \
-generated/_sin_r8.f90 \
-generated/_sin_c4.f90 \
-generated/_sin_c8.f90 \
-generated/_cos_r4.f90 \
-generated/_cos_r8.f90 \
-generated/_cos_c4.f90 \
-generated/_cos_c8.f90 \
-generated/_tan_r4.f90 \
-generated/_tan_r8.f90 \
-generated/_sinh_r4.f90 \
-generated/_sinh_r8.f90 \
-generated/_cosh_r4.f90 \
-generated/_cosh_r8.f90 \
-generated/_tanh_r4.f90 \
-generated/_tanh_r8.f90 \
-generated/_conjg_c4.f90 \
-generated/_conjg_c8.f90 \
-generated/_aint_r4.f90 \
-generated/_aint_r8.f90 \
-generated/_anint_r4.f90 \
-generated/_anint_r8.f90
-
-gfor_built_specific2_src = \
-generated/_sign_i4.f90 \
-generated/_sign_i8.f90 \
-generated/_sign_r4.f90 \
-generated/_sign_r8.f90 \
-generated/_dim_i4.f90 \
-generated/_dim_i8.f90 \
-generated/_dim_r4.f90 \
-generated/_dim_r8.f90 \
-generated/_atan2_r4.f90 \
-generated/_atan2_r8.f90 \
-generated/_mod_i4.f90 \
-generated/_mod_i8.f90 \
-generated/_mod_r4.f90 \
-generated/_mod_r8.f90
+@LIBGFORTRAN_TRUE@gfor_built_specific_src = \
+@LIBGFORTRAN_TRUE@generated/_abs_c4.f90 \
+@LIBGFORTRAN_TRUE@generated/_abs_c8.f90 \
+@LIBGFORTRAN_TRUE@generated/_abs_i4.f90 \
+@LIBGFORTRAN_TRUE@generated/_abs_i8.f90 \
+@LIBGFORTRAN_TRUE@generated/_abs_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_abs_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_exp_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_exp_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_exp_c4.f90 \
+@LIBGFORTRAN_TRUE@generated/_exp_c8.f90 \
+@LIBGFORTRAN_TRUE@generated/_log_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_log_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_log_c4.f90 \
+@LIBGFORTRAN_TRUE@generated/_log_c8.f90 \
+@LIBGFORTRAN_TRUE@generated/_log10_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_log10_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_sqrt_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_sqrt_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_sqrt_c4.f90 \
+@LIBGFORTRAN_TRUE@generated/_sqrt_c8.f90 \
+@LIBGFORTRAN_TRUE@generated/_asin_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_asin_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_acos_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_acos_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_atan_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_atan_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_sin_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_sin_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_sin_c4.f90 \
+@LIBGFORTRAN_TRUE@generated/_sin_c8.f90 \
+@LIBGFORTRAN_TRUE@generated/_cos_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_cos_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_cos_c4.f90 \
+@LIBGFORTRAN_TRUE@generated/_cos_c8.f90 \
+@LIBGFORTRAN_TRUE@generated/_tan_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_tan_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_sinh_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_sinh_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_cosh_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_cosh_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_tanh_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_tanh_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_conjg_c4.f90 \
+@LIBGFORTRAN_TRUE@generated/_conjg_c8.f90 \
+@LIBGFORTRAN_TRUE@generated/_aint_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_aint_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_anint_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_anint_r8.f90
+
+@LIBGFORTRAN_TRUE@gfor_built_specific2_src = \
+@LIBGFORTRAN_TRUE@generated/_sign_i4.f90 \
+@LIBGFORTRAN_TRUE@generated/_sign_i8.f90 \
+@LIBGFORTRAN_TRUE@generated/_sign_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_sign_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_dim_i4.f90 \
+@LIBGFORTRAN_TRUE@generated/_dim_i8.f90 \
+@LIBGFORTRAN_TRUE@generated/_dim_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_dim_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_atan2_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_atan2_r8.f90 \
+@LIBGFORTRAN_TRUE@generated/_mod_i4.f90 \
+@LIBGFORTRAN_TRUE@generated/_mod_i8.f90 \
+@LIBGFORTRAN_TRUE@generated/_mod_r4.f90 \
+@LIBGFORTRAN_TRUE@generated/_mod_r8.f90
 
 #specific intrinsics requiring manal code
 #gfor_specific_c= \
 #intrinsics/_aimag.c \
 #intrinsics/_cabs.c \
 #foo
-gfor_specific_src = \
-$(gfor_built_specific_src) \
-$(gfor_built_specific2_src) \
-intrinsics/dprod_r8.f90 \
-intrinsics/f2c_specifics.F90
-
-gfor_cmath_src = $(gfor_math_trig_c) $(gfor_math_exp_c) $(gfor_math_hyp_c)
-gfor_cmath_obj = $(gfor_math_trig_obj) $(gfor_math_exp_obj) \
-    $(gfor_math_hyp_obj)
-
-BUILT_SOURCES = $(gfor_built_src) $(gfor_cmath_src) $(gfor_built_specific_src) \
-    $(gfor_built_specific2_src)
-
-libgfortran_la_SOURCES = $(gfor_src) $(gfor_built_src) $(gfor_io_src) \
-    $(gfor_helper_src) $(gfor_io_headers) $(gfor_specific_src)
-
-EXTRA_libgfortran_la_SOURCES = $(gfor_cmath_src)
-libgfortran_la_LIBADD = @MATH_OBJ@
-libgfortran_la_DEPENDENCIES = @MATH_OBJ@
-I_M4_DEPS = m4/iparm.m4
-I_M4_DEPS0 = $(I_M4_DEPS) m4/iforeach.m4
-I_M4_DEPS1 = $(I_M4_DEPS) m4/ifunction.m4
-EXTRA_DIST = $(m4_files)
+@LIBGFORTRAN_TRUE@gfor_specific_src = \
+@LIBGFORTRAN_TRUE@$(gfor_built_specific_src) \
+@LIBGFORTRAN_TRUE@$(gfor_built_specific2_src) \
+@LIBGFORTRAN_TRUE@intrinsics/dprod_r8.f90 \
+@LIBGFORTRAN_TRUE@intrinsics/f2c_specifics.F90
+
+@LIBGFORTRAN_TRUE@gfor_cmath_src = $(gfor_math_trig_c) $(gfor_math_exp_c) $(gfor_math_hyp_c)
+@LIBGFORTRAN_TRUE@gfor_cmath_obj = $(gfor_math_trig_obj) $(gfor_math_exp_obj) \
+@LIBGFORTRAN_TRUE@    $(gfor_math_hyp_obj)
+
+@LIBGFORTRAN_TRUE@BUILT_SOURCES = $(gfor_built_src) $(gfor_cmath_src) $(gfor_built_specific_src) \
+@LIBGFORTRAN_TRUE@    $(gfor_built_specific2_src)
+
+@LIBGFORTRAN_TRUE@libgfortran_la_SOURCES = $(gfor_src) $(gfor_built_src) $(gfor_io_src) \
+@LIBGFORTRAN_TRUE@    $(gfor_helper_src) $(gfor_io_headers) $(gfor_specific_src)
+
+@LIBGFORTRAN_TRUE@EXTRA_libgfortran_la_SOURCES = $(gfor_cmath_src)
+@LIBGFORTRAN_TRUE@libgfortran_la_LIBADD = @MATH_OBJ@
+@LIBGFORTRAN_TRUE@libgfortran_la_DEPENDENCIES = @MATH_OBJ@
+@LIBGFORTRAN_TRUE@I_M4_DEPS = m4/iparm.m4
+@LIBGFORTRAN_TRUE@I_M4_DEPS0 = $(I_M4_DEPS) m4/iforeach.m4
+@LIBGFORTRAN_TRUE@I_M4_DEPS1 = $(I_M4_DEPS) m4/ifunction.m4
+@LIBGFORTRAN_TRUE@EXTRA_DIST = $(m4_files)
 all: $(BUILT_SOURCES) config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-am
 
@@ -791,9 +952,9 @@
 	  rm -f "$${dir}/so_locations"; \
 	done
 libgfortran.la: $(libgfortran_la_OBJECTS) $(libgfortran_la_DEPENDENCIES) 
-	$(FCLINK) -rpath $(toolexeclibdir) $(libgfortran_la_LDFLAGS) $(libgfortran_la_OBJECTS) $(libgfortran_la_LIBADD) $(LIBS)
+	$(FCLINK) $(am_libgfortran_la_rpath) $(libgfortran_la_LDFLAGS) $(libgfortran_la_OBJECTS) $(libgfortran_la_LIBADD) $(LIBS)
 libgfortranbegin.la: $(libgfortranbegin_la_OBJECTS) $(libgfortranbegin_la_DEPENDENCIES) 
-	$(LINK) -rpath $(toolexeclibdir) $(libgfortranbegin_la_LDFLAGS) $(libgfortranbegin_la_OBJECTS) $(libgfortranbegin_la_LIBADD) $(LIBS)
+	$(LINK) $(am_libgfortranbegin_la_rpath) $(libgfortranbegin_la_LDFLAGS) $(libgfortranbegin_la_OBJECTS) $(libgfortranbegin_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
 	-rm -f *.$(OBJEXT)
@@ -1686,7 +1847,7 @@
 distdir: $(DISTFILES)
 	$(am__remove_distdir)
 	mkdir $(distdir)
-	$(mkdir_p) $(distdir)/.. $(distdir)/m4
+	$(mkdir_p) $(distdir)/.. $(distdir)/../config $(distdir)/m4
 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 	list='$(DISTFILES)'; for file in $$list; do \
@@ -1914,113 +2075,113 @@
 	uninstall-toolexeclibLTLIBRARIES
 
 
-selected_int_kind.inc: $(srcdir)/mk-sik-inc.sh
-	$(SHELL) $(srcdir)/mk-sik-inc.sh '$(FCCOMPILE)' > $@
+@LIBGFORTRAN_TRUE@selected_int_kind.inc: $(srcdir)/mk-sik-inc.sh
+@LIBGFORTRAN_TRUE@	$(SHELL) $(srcdir)/mk-sik-inc.sh '$(FCCOMPILE)' > $@
 
-selected_real_kind.inc: $(srcdir)/mk-srk-inc.sh
-	$(SHELL) $(srcdir)/mk-srk-inc.sh '$(FCCOMPILE)' > $@
+@LIBGFORTRAN_TRUE@selected_real_kind.inc: $(srcdir)/mk-srk-inc.sh
+@LIBGFORTRAN_TRUE@	$(SHELL) $(srcdir)/mk-srk-inc.sh '$(FCCOMPILE)' > $@
 
-@MAINTAINER_MODE_TRUE@$(i_all_c): m4/all.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 all.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_all_c): m4/all.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 all.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_any_c): m4/any.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 any.m4> $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_any_c): m4/any.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 any.m4> $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_count_c): m4/count.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 count.m4> $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_count_c): m4/count.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 count.m4> $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_maxloc0_c): m4/maxloc0.m4 $(I_M4_DEPS0)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 maxloc0.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_maxloc0_c): m4/maxloc0.m4 $(I_M4_DEPS0)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 maxloc0.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_maxloc1_c): m4/maxloc1.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 maxloc1.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_maxloc1_c): m4/maxloc1.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 maxloc1.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_maxval_c): m4/maxval.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 maxval.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_maxval_c): m4/maxval.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 maxval.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_minloc0_c): m4/minloc0.m4 $(I_M4_DEPS0)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 minloc0.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_minloc0_c): m4/minloc0.m4 $(I_M4_DEPS0)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 minloc0.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_minloc1_c): m4/minloc1.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 minloc1.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_minloc1_c): m4/minloc1.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 minloc1.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_minval_c): m4/minval.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 minval.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_minval_c): m4/minval.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 minval.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_product_c): m4/product.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 product.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_product_c): m4/product.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 product.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_sum_c): m4/sum.m4 $(I_M4_DEPS1)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 sum.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_sum_c): m4/sum.m4 $(I_M4_DEPS1)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 sum.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_dotprod_c): m4/dotprod.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 dotprod.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_dotprod_c): m4/dotprod.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 dotprod.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_dotprodl_c): m4/dotprodl.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 dotprodl.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_dotprodl_c): m4/dotprodl.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 dotprodl.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_dotprodc_c): m4/dotprodc.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 dotprodc.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_dotprodc_c): m4/dotprodc.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 dotprodc.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_matmul_c): m4/matmul.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 matmul.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_matmul_c): m4/matmul.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 matmul.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_matmull_c): m4/matmull.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 matmull.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_matmull_c): m4/matmull.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 matmull.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_transpose_c): m4/transpose.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 transpose.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_transpose_c): m4/transpose.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 transpose.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_shape_c): m4/shape.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 shape.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_shape_c): m4/shape.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 shape.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_reshape_c): m4/reshape.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 reshape.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_reshape_c): m4/reshape.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 reshape.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_eoshift1_c): m4/eoshift1.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 eoshift1.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_eoshift1_c): m4/eoshift1.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 eoshift1.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_eoshift3_c): m4/eoshift3.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 eoshift3.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_eoshift3_c): m4/eoshift3.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 eoshift3.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_cshift1_c): m4/cshift1.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 cshift1.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_cshift1_c): m4/cshift1.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 cshift1.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(in_pack_c): m4/in_pack.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 in_pack.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(in_pack_c): m4/in_pack.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 in_pack.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(in_unpack_c): m4/in_unpack.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 in_unpack.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(in_unpack_c): m4/in_unpack.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 in_unpack.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_exponent_c): m4/exponent.m4 m4/mtype.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 exponent.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_exponent_c): m4/exponent.m4 m4/mtype.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 exponent.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_fraction_c): m4/fraction.m4 m4/mtype.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 fraction.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_fraction_c): m4/fraction.m4 m4/mtype.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 fraction.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_nearest_c): m4/nearest.m4 m4/mtype.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 nearest.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_nearest_c): m4/nearest.m4 m4/mtype.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 nearest.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_set_exponent_c): m4/set_exponent.m4 m4/mtype.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 set_exponent.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_set_exponent_c): m4/set_exponent.m4 m4/mtype.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 set_exponent.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(i_pow_c): m4/pow.m4 $(I_M4_DEPS)
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 pow.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(i_pow_c): m4/pow.m4 $(I_M4_DEPS)
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 pow.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(gfor_math_trig_c): m4/ctrig.m4 m4/mtype.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 ctrig.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(gfor_math_trig_c): m4/ctrig.m4 m4/mtype.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 ctrig.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(gfor_math_exp_c): m4/cexp.m4 m4/mtype.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 cexp.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(gfor_math_exp_c): m4/cexp.m4 m4/mtype.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 cexp.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(gfor_math_hyp_c): m4/chyp.m4 m4/mtype.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 chyp.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(gfor_math_hyp_c): m4/chyp.m4 m4/mtype.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 chyp.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(gfor_built_specific_src): m4/specific.m4 m4/head.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 specific.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(gfor_built_specific_src): m4/specific.m4 m4/head.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 specific.m4 > $(srcdir)/$@
 
-@MAINTAINER_MODE_TRUE@$(gfor_built_specific2_src): m4/specific2.m4 m4/head.m4
-@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 specific2.m4 > $(srcdir)/$@
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@$(gfor_built_specific2_src): m4/specific2.m4 m4/head.m4
+@LIBGFORTRAN_TRUE@@MAINTAINER_MODE_TRUE@	m4 -Dfile=$@ -I$(srcdir)/m4 specific2.m4 > $(srcdir)/$@
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/acinclude.m4 gcc-4.0.1/libgfortran/acinclude.m4
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/acinclude.m4	Sun Dec 12 02:59:01 2004
+++ gcc-4.0.1/libgfortran/acinclude.m4	Wed Aug 10 12:08:46 2005
@@ -148,3 +148,20 @@
     AC_DEFINE(HAVE_ATTRIBUTE_ALIAS, 1,
       [Define to 1 if the target supports __attribute__((alias(...))).])
   fi])
+
+## Check whether the compiler supports int/real (kind=i)
+## Example: LIBGFOR_CHECK_KIND(integer,8)
+AC_DEFUN([LIBGFOR_CHECK_KIND],[
+  AC_CACHE_CHECK([for $1$2],
+  libgfor_cv_have_$1$2,[
+  FC_SRCEXT=f90
+  AC_LANG_PUSH([Fortran])
+  AC_COMPILE_IFELSE([
+  $1 (kind=$2) :: x
+  end],
+  [libgfor_cv_have_$1$2=yes],
+  [libgfor_cv_have_$1$2=no])
+  AC_LANG_POP
+  ])
+])
+
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/aclocal.m4 gcc-4.0.1/libgfortran/aclocal.m4
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/aclocal.m4	Thu Jul  7 15:44:40 2005
+++ gcc-4.0.1/libgfortran/aclocal.m4	Wed Aug 10 12:08:46 2005
@@ -1,7 +1,7 @@
-# generated automatically by aclocal 1.9.2 -*- Autoconf -*-
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005  Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -11,23 +11,11 @@
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
-#                                                        -*- Autoconf -*-
-# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
-# Generated from amversion.in; do not edit by hand.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 # AM_AUTOMAKE_VERSION(VERSION)
 # ----------------------------
@@ -40,26 +28,15 @@
 # Call AM_AUTOMAKE_VERSION so it can be traced.
 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-	 [AM_AUTOMAKE_VERSION([1.9.2])])
-
-# AM_AUX_DIR_EXPAND
+	 [AM_AUTOMAKE_VERSION([1.9.6])])
 
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
@@ -106,26 +83,16 @@
 am_aux_dir=`cd $ac_aux_dir && pwd`
 ])
 
-# AM_CONDITIONAL                                              -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+# AM_CONDITIONAL                                            -*- Autoconf -*-
 
-# 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, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# serial 6
+# serial 7
 
 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
 # -------------------------------------
@@ -149,30 +116,19 @@
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Do all the work for Automake.                            -*- Autoconf -*-
-
-# This macro actually does too much some checks are only needed if
-# your package does certain things.  But this isn't really a big deal.
+# Do all the work for Automake.                             -*- Autoconf -*-
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 # Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# serial 12
 
-# serial 11
+# This macro actually does too much.  Some checks are only needed if
+# your package does certain things.  But this isn't really a big deal.
 
 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
 # AM_INIT_AUTOMAKE([OPTIONS])
@@ -274,51 +230,27 @@
 done
 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
 # AM_PROG_INSTALL_SH
 # ------------------
 # Define $install_sh.
-
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
 AC_DEFUN([AM_PROG_INSTALL_SH],
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 install_sh=${install_sh-"$am_aux_dir/install-sh"}
 AC_SUBST(install_sh)])
 
-#                                                          -*- Autoconf -*-
-# Copyright (C) 2003  Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# serial 1
+# serial 2
 
 # Check whether the underlying file-system supports filenames
 # with a leading dot.  For instance MS-DOS doesn't.
@@ -333,28 +265,17 @@
 rmdir .tst 2>/dev/null
 AC_SUBST([am__leading_dot])])
 
-# Add --enable-maintainer-mode option to configure.
+# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
 # From Jim Meyering
 
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 # Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 3
+# serial 4
 
 AC_DEFUN([AM_MAINTAINER_MODE],
 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
@@ -373,27 +294,16 @@
 
 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
 
-#  -*- Autoconf -*-
-
-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# serial 3
+# serial 4
 
 # AM_MISSING_PROG(NAME, PROGRAM)
 # ------------------------------
@@ -419,27 +329,16 @@
 fi
 ])
 
+# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
 # AM_PROG_MKDIR_P
 # ---------------
 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
-
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
+#
 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
 # created by `make install' are always world readable, even if the
 # installer happens to have an overly restrictive umask (e.g. 077).
@@ -493,25 +392,14 @@
 fi
 AC_SUBST([mkdir_p])])
 
-# Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004
+# Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005
 # Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 4
+# serial 5
 
 # AM_ENABLE_MULTILIB([MAKEFILE], [REL-TO-TOP-SRCDIR])
 # ---------------------------------------------------
@@ -562,26 +450,15 @@
 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 CC="$CC"])])dnl
 
-# Helper functions for option handling.                    -*- Autoconf -*-
+# Helper functions for option handling.                     -*- Autoconf -*-
 
-# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# serial 2
+# serial 3
 
 # _AM_MANGLE_OPTION(NAME)
 # -----------------------
@@ -606,28 +483,16 @@
 AC_DEFUN([_AM_IF_OPTION],
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
-#
-# Check to make sure that the build environment is sane.
-#
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-# serial 3
+# serial 4
 
 # AM_SANITY_CHECK
 # ---------------
@@ -670,25 +535,14 @@
 fi
 AC_MSG_RESULT(yes)])
 
-# AM_PROG_INSTALL_STRIP
-
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
+# AM_PROG_INSTALL_STRIP
+# ---------------------
 # One issue with vendor `install' (even GNU) is that you can't
 # specify the program used to strip binaries.  This is especially
 # annoying in cross-compiling environments, where the build's strip
@@ -711,25 +565,13 @@
 
 # Check how to create a tarball.                            -*- Autoconf -*-
 
-# Copyright (C) 2004  Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 1
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
+# serial 2
 
 # _AM_PROG_TAR(FORMAT)
 # --------------------
@@ -817,4 +659,6 @@
 AC_SUBST([am__untar])
 ]) # _AM_PROG_TAR
 
+m4_include([../config/gcc-version.m4])
+m4_include([../config/no-executables.m4])
 m4_include([acinclude.m4])
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/configure gcc-4.0.1/libgfortran/configure
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/configure	Thu Jul  7 15:44:40 2005
+++ gcc-4.0.1/libgfortran/configure	Wed Aug 10 12:08:46 2005
@@ -2,7 +2,8 @@
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
 #
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004 Free Software Foundation, Inc.
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
 ## --------------------- ##
@@ -308,7 +309,7 @@
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir gcc_version_trigger gcc_version_full gcc_version toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP MATH_OBJ LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir gcc_version_trigger gcc_version_full gcc_version toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP MATH_OBJ LIBGFORTRAN_TRUE LIBGFORTRAN_FALSE LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -970,7 +971,7 @@
     else
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     fi
-    cd $ac_popdir
+    cd "$ac_popdir"
   done
 fi
 
@@ -980,7 +981,8 @@
 GNU Fortran Runtime Library configure 0.2
 generated by GNU Autoconf 2.59
 
-Copyright (C) 2003 Free Software Foundation, Inc.
+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
+2003, 2004 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 _ACEOF
@@ -4079,7 +4081,7 @@
 case $host in
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 4082 "configure"' > conftest.$ac_ext
+  echo '#line 4084 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -4470,7 +4472,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:4473:" \
+echo "$as_me:4475:" \
      "checking for Fortran compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -11759,6 +11761,550 @@
   fi
 
 
+
+
+  echo "$as_me:$LINENO: checking for integer1" >&5
+echo $ECHO_N "checking for integer1... $ECHO_C" >&6
+if test "${libgfor_cv_have_integer1+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  integer (kind=1) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_integer1=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_integer1=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_integer1" >&5
+echo "${ECHO_T}$libgfor_cv_have_integer1" >&6
+
+
+  echo "$as_me:$LINENO: checking for integer2" >&5
+echo $ECHO_N "checking for integer2... $ECHO_C" >&6
+if test "${libgfor_cv_have_integer2+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  integer (kind=2) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_integer2=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_integer2=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_integer2" >&5
+echo "${ECHO_T}$libgfor_cv_have_integer2" >&6
+
+
+  echo "$as_me:$LINENO: checking for integer4" >&5
+echo $ECHO_N "checking for integer4... $ECHO_C" >&6
+if test "${libgfor_cv_have_integer4+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  integer (kind=4) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_integer4=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_integer4=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_integer4" >&5
+echo "${ECHO_T}$libgfor_cv_have_integer4" >&6
+
+
+  echo "$as_me:$LINENO: checking for integer8" >&5
+echo $ECHO_N "checking for integer8... $ECHO_C" >&6
+if test "${libgfor_cv_have_integer8+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  integer (kind=8) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_integer8=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_integer8=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_integer8" >&5
+echo "${ECHO_T}$libgfor_cv_have_integer8" >&6
+
+
+  echo "$as_me:$LINENO: checking for integer16" >&5
+echo $ECHO_N "checking for integer16... $ECHO_C" >&6
+if test "${libgfor_cv_have_integer16+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  integer (kind=16) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_integer16=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_integer16=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_integer16" >&5
+echo "${ECHO_T}$libgfor_cv_have_integer16" >&6
+
+
+  echo "$as_me:$LINENO: checking for real4" >&5
+echo $ECHO_N "checking for real4... $ECHO_C" >&6
+if test "${libgfor_cv_have_real4+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  real (kind=4) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_real4=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_real4=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_real4" >&5
+echo "${ECHO_T}$libgfor_cv_have_real4" >&6
+
+
+  echo "$as_me:$LINENO: checking for real8" >&5
+echo $ECHO_N "checking for real8... $ECHO_C" >&6
+if test "${libgfor_cv_have_real8+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  real (kind=8) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_real8=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_real8=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_real8" >&5
+echo "${ECHO_T}$libgfor_cv_have_real8" >&6
+
+
+  echo "$as_me:$LINENO: checking for real10" >&5
+echo $ECHO_N "checking for real10... $ECHO_C" >&6
+if test "${libgfor_cv_have_real10+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  real (kind=10) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_real10=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_real10=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_real10" >&5
+echo "${ECHO_T}$libgfor_cv_have_real10" >&6
+
+
+  echo "$as_me:$LINENO: checking for real16" >&5
+echo $ECHO_N "checking for real16... $ECHO_C" >&6
+if test "${libgfor_cv_have_real16+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+  FC_SRCEXT=f90
+  ac_ext=${FC_SRCEXT-f}
+ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+
+  cat >conftest.$ac_ext <<_ACEOF
+
+  real (kind=16) :: x
+  end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_fc_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  libgfor_cv_have_real16=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+libgfor_cv_have_real16=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $libgfor_cv_have_real16" >&5
+echo "${ECHO_T}$libgfor_cv_have_real16" >&6
+
+
+
+
+if test "$libgfor_cv_have_real8" = yes; then
+  LIBGFORTRAN_TRUE=
+  LIBGFORTRAN_FALSE='#'
+else
+  LIBGFORTRAN_TRUE='#'
+  LIBGFORTRAN_FALSE=
+fi
+
+
 # Check out attribute support.
 
   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
@@ -12126,6 +12672,13 @@
 Usually this means the macro was only invoked conditionally." >&2;}
    { (exit 1); exit 1; }; }
 fi
+if test -z "${LIBGFORTRAN_TRUE}" && test -z "${LIBGFORTRAN_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"LIBGFORTRAN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"LIBGFORTRAN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
 
 : ${CONFIG_STATUS=./config.status}
 ac_clean_files_save=$ac_clean_files
@@ -12464,7 +13017,7 @@
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
-Copyright (C) 2003 Free Software Foundation, Inc.
+Copyright (C) 2004 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."
 srcdir=$srcdir
@@ -12736,6 +13289,8 @@
 s,@CPPFLAGS@,$CPPFLAGS,;t t
 s,@EGREP@,$EGREP,;t t
 s,@MATH_OBJ@,$MATH_OBJ,;t t
+s,@LIBGFORTRAN_TRUE@,$LIBGFORTRAN_TRUE,;t t
+s,@LIBGFORTRAN_FALSE@,$LIBGFORTRAN_FALSE,;t t
 s,@LIBOBJS@,$LIBOBJS,;t t
 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 CEOF
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/configure.ac gcc-4.0.1/libgfortran/configure.ac
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libgfortran/configure.ac	Wed Jun 15 13:53:25 2005
+++ gcc-4.0.1/libgfortran/configure.ac	Wed Aug 10 12:08:46 2005
@@ -251,6 +251,18 @@
 # have C99 integer types at all.
 LIBGFOR_TARGET_ILP32
 
+LIBGFOR_CHECK_KIND(integer,1)
+LIBGFOR_CHECK_KIND(integer,2)
+LIBGFOR_CHECK_KIND(integer,4)
+LIBGFOR_CHECK_KIND(integer,8)
+LIBGFOR_CHECK_KIND(integer,16)
+LIBGFOR_CHECK_KIND(real,4)
+LIBGFOR_CHECK_KIND(real,8)
+LIBGFOR_CHECK_KIND(real,10)
+LIBGFOR_CHECK_KIND(real,16)
+
+AM_CONDITIONAL(LIBGFORTRAN,[test "$libgfor_cv_have_real8" = yes])
+
 # Check out attribute support.
 LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY
 LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libjava/configure gcc-4.0.1/libjava/configure
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libjava/configure	Thu Jul  7 15:44:40 2005
+++ gcc-4.0.1/libjava/configure	Wed Aug 10 12:08:46 2005
@@ -8320,6 +8320,8 @@
 	;;
     esac
     ;;
+ rtems)
+    ;;
  win32)
     ;;
  decosf1 | irix | mach | os2 | solaris | dce | vxworks)
diff -uNr /usr1/rtems/work-tools/original/gcc-4.0.1/libjava/configure.ac gcc-4.0.1/libjava/configure.ac
--- /usr1/rtems/work-tools/original/gcc-4.0.1/libjava/configure.ac	Wed Apr  6 16:38:26 2005
+++ gcc-4.0.1/libjava/configure.ac	Wed Aug 10 12:08:46 2005
@@ -627,6 +627,8 @@
 	;;
     esac
     ;;
+ rtems)
+    ;;
  win32)
     ;;
  decosf1 | irix | mach | os2 | solaris | dce | vxworks)
