summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 18:47:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 18:47:00 +0000
commitd7aecdc8f866b978a4349b0e157f46877f60e414 (patch)
treedf28b2fa6611df7f1003f57447771edb69275761 /c/src
parent4d22f1a5b0aceff18f89f469c3722ac55afcb7f4 (diff)
downloadrtems-d7aecdc8f866b978a4349b0e157f46877f60e414.tar.bz2
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/configure.ac75
-rw-r--r--c/src/exec/libcsupport/configure.ac47
-rw-r--r--c/src/exec/libfs/configure.ac37
-rw-r--r--c/src/exec/libnetworking/configure.ac56
-rw-r--r--c/src/exec/librpc/configure.ac44
-rw-r--r--c/src/exec/score/cpu/sh/configure.ac32
-rw-r--r--c/src/exec/score/cpu/sparc/configure.ac32
-rw-r--r--c/src/lib/configure.ac47
-rw-r--r--c/src/lib/libbsp/a29k/configure.ac24
-rw-r--r--c/src/lib/libbsp/a29k/portsw/configure.ac33
-rw-r--r--c/src/lib/libbsp/arm/arm_bare_bsp/configure.ac48
-rw-r--r--c/src/lib/libbsp/arm/armulator/configure.ac34
-rw-r--r--c/src/lib/libbsp/arm/configure.ac27
-rw-r--r--c/src/lib/libbsp/arm/vegaplus/configure.ac35
-rw-r--r--c/src/lib/libbsp/bare/configure.ac26
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/configure.ac39
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/tools/configure.ac25
-rw-r--r--c/src/lib/libbsp/c4x/configure.ac25
-rw-r--r--c/src/lib/libbsp/configure.ac50
-rw-r--r--c/src/lib/libbsp/h8300/configure.ac24
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/configure.ac34
-rw-r--r--c/src/lib/libbsp/hppa1.1/configure.ac24
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/configure.ac41
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/tools/configure.ac27
-rw-r--r--c/src/lib/libbsp/i386/configure.ac29
-rw-r--r--c/src/lib/libbsp/i386/i386ex/configure.ac44
-rw-r--r--c/src/lib/libbsp/i386/pc386/configure.ac52
-rw-r--r--c/src/lib/libbsp/i386/pc386/tools/configure.ac27
-rw-r--r--c/src/lib/libbsp/i386/ts_386ex/configure.ac48
-rw-r--r--c/src/lib/libbsp/i386/ts_386ex/tools/configure.ac31
-rw-r--r--c/src/lib/libbsp/i960/configure.ac24
-rw-r--r--c/src/lib/libbsp/i960/cvme961/configure.ac39
-rw-r--r--c/src/lib/libbsp/i960/i960sim/configure.ac34
-rw-r--r--c/src/lib/libbsp/i960/rxgen960/configure.ac35
-rw-r--r--c/src/lib/libbsp/m68k/configure.ac25
-rw-r--r--c/src/lib/libbsp/m68k/dmv152/configure.ac36
-rw-r--r--c/src/lib/libbsp/m68k/efi332/configure.ac36
-rw-r--r--c/src/lib/libbsp/m68k/efi68k/configure.ac36
-rw-r--r--c/src/lib/libbsp/m68k/gen68302/configure.ac39
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/configure.ac35
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/configure.ac39
-rw-r--r--c/src/lib/libbsp/m68k/idp/configure.ac35
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/configure.ac36
-rw-r--r--c/src/lib/libbsp/m68k/mvme136/configure.ac39
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/configure.ac35
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/configure.ac39
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/configure.ac46
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/tools/configure.ac37
-rw-r--r--c/src/lib/libbsp/m68k/mvme167/configure.ac40
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/configure.ac35
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/configure.ac34
-rw-r--r--c/src/lib/libbsp/mips/configure.ac24
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/configure.ac38
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/configure.ac39
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/tools/configure.ac21
-rw-r--r--c/src/lib/libbsp/mips/p4000/configure.ac34
-rw-r--r--c/src/lib/libbsp/mips64orion/configure.ac24
-rw-r--r--c/src/lib/libbsp/mips64orion/p4000/configure.ac34
-rw-r--r--c/src/lib/libbsp/no_cpu/configure.ac24
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/configure.ac38
-rw-r--r--c/src/lib/libbsp/powerpc/configure.ac40
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/configure.ac48
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/configure.ac42
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/configure.ac37
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/configure.ac41
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac45
-rw-r--r--c/src/lib/libbsp/powerpc/papyrus/configure.ac38
-rw-r--r--c/src/lib/libbsp/powerpc/ppcn_60x/configure.ac50
-rw-r--r--c/src/lib/libbsp/powerpc/psim/configure.ac44
-rw-r--r--c/src/lib/libbsp/powerpc/psim/tools/configure.ac21
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/configure.ac45
-rw-r--r--c/src/lib/libbsp/sh/configure.ac25
-rw-r--r--c/src/lib/libbsp/sh/gensh1/configure.ac43
-rw-r--r--c/src/lib/libbsp/sh/gensh2/configure.ac43
-rw-r--r--c/src/lib/libbsp/sh/gensh4/configure.ac6
-rw-r--r--c/src/lib/libbsp/sh/shsim/configure.ac88
-rw-r--r--c/src/lib/libbsp/sh/simsh4/configure.ac6
-rw-r--r--c/src/lib/libbsp/sparc/configure.ac25
-rw-r--r--c/src/lib/libbsp/sparc/erc32/configure.ac50
-rw-r--r--c/src/lib/libbsp/sparc/erc32/tools/configure.ac24
-rw-r--r--c/src/lib/libbsp/sparc/leon/configure.ac43
-rw-r--r--c/src/lib/libbsp/sparc/leon/tools/configure.ac24
-rw-r--r--c/src/lib/libbsp/unix/configure.ac24
-rw-r--r--c/src/lib/libbsp/unix/posix/configure.ac52
-rw-r--r--c/src/lib/libbsp/unix/posix/tools/configure.ac30
-rw-r--r--c/src/lib/libcpu/a29k/configure.ac34
-rw-r--r--c/src/lib/libcpu/configure.ac22
-rw-r--r--c/src/lib/libcpu/hppa1.1/configure.ac37
-rw-r--r--c/src/lib/libcpu/i386/configure.ac33
-rw-r--r--c/src/lib/libcpu/i960/configure.ac41
-rw-r--r--c/src/lib/libcpu/m68k/configure.ac47
-rw-r--r--c/src/lib/libcpu/mips/configure.ac54
-rw-r--r--c/src/lib/libcpu/mips64orion/configure.ac34
-rw-r--r--c/src/lib/libcpu/powerpc/configure.ac97
-rw-r--r--c/src/lib/libcpu/sh/configure.ac35
-rw-r--r--c/src/lib/libcpu/sh/sh7032/configure.ac38
-rw-r--r--c/src/lib/libcpu/sh/sh7045/configure.ac37
-rw-r--r--c/src/lib/libcpu/sh/sh7750/configure.ac6
-rw-r--r--c/src/lib/libcpu/sparc/configure.ac40
-rw-r--r--c/src/libchip/configure.ac45
-rw-r--r--c/src/libfs/configure.ac37
-rw-r--r--c/src/libmisc/configure.ac50
-rw-r--r--c/src/libnetworking/configure.ac56
-rw-r--r--c/src/librdbg/configure.ac66
-rw-r--r--c/src/librpc/configure.ac44
-rw-r--r--c/src/librtems++/configure.ac40
-rw-r--r--c/src/make/configure.ac137
-rw-r--r--c/src/tests/configure.ac64
-rw-r--r--c/src/tests/itrontests/configure.ac51
-rw-r--r--c/src/tests/libtests/configure.ac54
-rw-r--r--c/src/tests/mptests/configure.ac87
-rw-r--r--c/src/tests/psxtests/configure.ac67
-rw-r--r--c/src/tests/samples/configure.ac55
-rw-r--r--c/src/tests/sptests/configure.ac73
-rw-r--r--c/src/tests/support/configure.ac35
-rw-r--r--c/src/tests/tmitrontests/configure.ac47
-rw-r--r--c/src/tests/tmtests/configure.ac78
-rw-r--r--c/src/tests/tools/configure.ac28
-rw-r--r--c/src/tests/tools/generic/configure.ac26
-rw-r--r--c/src/wrapup/configure.ac42
120 files changed, 4809 insertions, 9 deletions
diff --git a/c/src/configure.ac b/c/src/configure.ac
new file mode 100644
index 0000000000..b20700ca69
--- /dev/null
+++ b/c/src/configure.ac
@@ -0,0 +1,75 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([exec])
+RTEMS_TOP(../..)
+AC_CONFIG_AUX_DIR(../..)
+
+RTEMS_ENABLE_CXX
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_RDBG
+
+RTEMS_CANONICAL_TARGET_CPU
+RTEMS_CANONICAL_HOST
+
+AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_MULTILIB
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+
+## Note: the order of the directories below is essential
+AC_CONFIG_SUBDIRS(make)
+
+## Exclude exec from building if multilibs are enabled
+if test x"$multilib" = x"no"; then
+hst_subdirs="$hst_subdirs exec"
+fi
+hst_subdirs="$hst_subdirs lib"
+hst_subdirs="$hst_subdirs lib/libcpu"
+hst_subdirs="$hst_subdirs lib/libbsp"
+hst_subdirs="$hst_subdirs libfs"
+hst_subdirs="$hst_subdirs libmisc"
+
+if test "$RTEMS_CPU" != "unix"; then
+## HACK: Suppress libchip for unix
+hst_subdirs="$hst_subdirs libchip"
+fi
+
+if test "$HAS_NETWORKING" = "yes"; then
+ hst_subdirs="$hst_subdirs libnetworking librpc"
+ if test "$RTEMS_HAS_RDBG" = "yes"; then
+ RTEMS_CHECK_RDBG(RTEMS_BSP)
+ fi
+fi
+
+if test "$HAS_RDBG" = "yes"; then
+ hst_subdirs="$hst_subdirs librdbg"
+fi
+AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
+AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
+
+if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
+ hst_subdirs="$hst_subdirs librtems++";
+fi
+
+AC_CONFIG_SUBDIRS($hst_subdirs)
+AC_SUBST(hst_subdirs)
+
+AC_CONFIG_SUBDIRS(wrapup tests)
+
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+])
+AC_CONFIG_COMMANDS([default],[[]],[[test -d lib || mkdir lib
+]])
+AC_OUTPUT
diff --git a/c/src/exec/libcsupport/configure.ac b/c/src/exec/libcsupport/configure.ac
new file mode 100644
index 0000000000..2665f553f0
--- /dev/null
+++ b/c/src/exec/libcsupport/configure.ac
@@ -0,0 +1,47 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([libc])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_NEWLIB
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+
+AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix")
+AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(libc/config.h)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+include/rtems/Makefile
+include/sys/Makefile
+include/motorola/Makefile
+include/zilog/Makefile
+libc/Makefile])
+AC_OUTPUT
diff --git a/c/src/exec/libfs/configure.ac b/c/src/exec/libfs/configure.ac
new file mode 100644
index 0000000000..4e2adeb1b5
--- /dev/null
+++ b/c/src/exec/libfs/configure.ac
@@ -0,0 +1,37 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([src/imfs/imfs.h])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-libfs,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix")
+AM_CONFIG_HEADER(src/imfs/config.h)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+src/Makefile
+src/imfs/Makefile
+wrapup/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/exec/libnetworking/configure.ac b/c/src/exec/libnetworking/configure.ac
new file mode 100644
index 0000000000..73257630fe
--- /dev/null
+++ b/c/src/exec/libnetworking/configure.ac
@@ -0,0 +1,56 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([arpa])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-libnetworking,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_BARE
+RTEMS_ENABLE_POSIX
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+RTEMS_CHECK_POSIX_API(RTEMS_BSP)
+
+AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+arpa/Makefile
+machine/Makefile
+kern/Makefile
+sys/Makefile
+vm/Makefile
+lib/Makefile
+libc/Makefile
+net/Makefile
+netinet/Makefile
+nfs/Makefile
+pppd/Makefile
+modem/Makefile
+rtems/Makefile
+rtems_servers/Makefile
+rtems_telnetd/Makefile
+rtems_webserver/Makefile
+wrapup/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/exec/librpc/configure.ac b/c/src/exec/librpc/configure.ac
new file mode 100644
index 0000000000..749dc525da
--- /dev/null
+++ b/c/src/exec/librpc/configure.ac
@@ -0,0 +1,44 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([include/rpc])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+RTEMS_CANONICAL_HOST
+
+AM_INIT_AUTOMAKE(rtems-c-src-librpc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+AM_CONDITIONAL(rpc_not_supported, test "$RTEMS_CPU" = "c4x")
+
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+include/rpc/Makefile
+include/rpcsvc/Makefile
+src/Makefile
+src/xdr/Makefile
+src/rpc/Makefile
+src/rpc/PSD.doc/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/exec/score/cpu/sh/configure.ac b/c/src/exec/score/cpu/sh/configure.ac
new file mode 100644
index 0000000000..e5d8a307ee
--- /dev/null
+++ b/c/src/exec/score/cpu/sh/configure.ac
@@ -0,0 +1,32 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([asm.h])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-exec-score-cpu-sh,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSCPU
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_NEWLIB
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+rtems/Makefile
+rtems/score/Makefile])
+AC_OUTPUT
diff --git a/c/src/exec/score/cpu/sparc/configure.ac b/c/src/exec/score/cpu/sparc/configure.ac
new file mode 100644
index 0000000000..b3898a6879
--- /dev/null
+++ b/c/src/exec/score/cpu/sparc/configure.ac
@@ -0,0 +1,32 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([cpu_asm.S])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-exec-score-cpu-sparc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSCPU
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_NEWLIB
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+rtems/Makefile
+rtems/score/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/configure.ac b/c/src/lib/configure.ac
new file mode 100644
index 0000000000..2665f553f0
--- /dev/null
+++ b/c/src/lib/configure.ac
@@ -0,0 +1,47 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([libc])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_NEWLIB
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+
+AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix")
+AM_CONDITIONAL(NEWLIB,test x"$RTEMS_USE_NEWLIB" = x"yes")
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(libc/config.h)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+include/rtems/Makefile
+include/sys/Makefile
+include/motorola/Makefile
+include/zilog/Makefile
+libc/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/a29k/configure.ac b/c/src/lib/libbsp/a29k/configure.ac
new file mode 100644
index 0000000000..dba524d50c
--- /dev/null
+++ b/c/src/lib/libbsp/a29k/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([portsw])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-a29k,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/a29k/portsw/configure.ac b/c/src/lib/libbsp/a29k/portsw/configure.ac
new file mode 100644
index 0000000000..ac5c198567
--- /dev/null
+++ b/c/src/lib/libbsp/a29k/portsw/configure.ac
@@ -0,0 +1,33 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-a29k-portsw,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/arm_bare_bsp/configure.ac b/c/src/lib/libbsp/arm/arm_bare_bsp/configure.ac
new file mode 100644
index 0000000000..edf6a0b449
--- /dev/null
+++ b/c/src/lib/libbsp/arm/arm_bare_bsp/configure.ac
@@ -0,0 +1,48 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-arm-arm_bare_bsp,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+## if this is an i386, does gas have good code16 support?
+RTEMS_I386_GAS_CODE16
+AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AC_SUBST(RTEMS_BSP)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+irq/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/arm/armulator/configure.ac b/c/src/lib/libbsp/arm/armulator/configure.ac
new file mode 100644
index 0000000000..8464c45c78
--- /dev/null
+++ b/c/src/lib/libbsp/arm/armulator/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-arm-armulator,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/configure.ac b/c/src/lib/libbsp/arm/configure.ac
new file mode 100644
index 0000000000..3235f8cf72
--- /dev/null
+++ b/c/src/lib/libbsp/arm/configure.ac
@@ -0,0 +1,27 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([arm_bare_bsp])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-arm,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile
+shared/comm/Makefile
+shared/irq/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/arm/vegaplus/configure.ac b/c/src/lib/libbsp/arm/vegaplus/configure.ac
new file mode 100644
index 0000000000..367855460c
--- /dev/null
+++ b/c/src/lib/libbsp/arm/vegaplus/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-arm-vegaplus,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+irq/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/bare/configure.ac b/c/src/lib/libbsp/bare/configure.ac
new file mode 100644
index 0000000000..db16289331
--- /dev/null
+++ b/c/src/lib/libbsp/bare/configure.ac
@@ -0,0 +1,26 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-bare,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/c4x/c4xsim/configure.ac b/c/src/lib/libbsp/c4x/c4xsim/configure.ac
new file mode 100644
index 0000000000..e91abab254
--- /dev/null
+++ b/c/src/lib/libbsp/c4x/c4xsim/configure.ac
@@ -0,0 +1,39 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-c4x-c4xsim,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/c4x/c4xsim/tools/configure.ac b/c/src/lib/libbsp/c4x/c4xsim/tools/configure.ac
new file mode 100644
index 0000000000..ffc53d1581
--- /dev/null
+++ b/c/src/lib/libbsp/c4x/c4xsim/tools/configure.ac
@@ -0,0 +1,25 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([runtest.in])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-c4x-c4xsim-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PATH_KSH
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+runtest])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/c4x/configure.ac b/c/src/lib/libbsp/c4x/configure.ac
new file mode 100644
index 0000000000..a83576bd3b
--- /dev/null
+++ b/c/src/lib/libbsp/c4x/configure.ac
@@ -0,0 +1,25 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([c4xsim])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-c4x,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/configure.ac b/c/src/lib/libbsp/configure.ac
new file mode 100644
index 0000000000..cb7d984d38
--- /dev/null
+++ b/c/src/lib/libbsp/configure.ac
@@ -0,0 +1,50 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([README])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+
+RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
+
+# Is there code where there should be for this BSP?
+# The bare bsp is a special case as it is not under the RTEMS_CPU path
+if test "$bspdir" = "bare" ; then
+ AC_CONFIG_SUBDIRS([bare])
+else
+ RTEMS_CPU_SUBDIRS
+fi
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shmdr/Makefile
+shared/Makefile
+shared/include/Makefile
+include/Makefile
+include/rtems/Makefile
+include/rtems/score/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/h8300/configure.ac b/c/src/lib/libbsp/h8300/configure.ac
new file mode 100644
index 0000000000..8ee1ce0ae7
--- /dev/null
+++ b/c/src/lib/libbsp/h8300/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([h8sim])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-h8300,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+RTEMS_PROJECT_ROOT
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/h8300/h8sim/configure.ac b/c/src/lib/libbsp/h8300/h8sim/configure.ac
new file mode 100644
index 0000000000..ca0b0132b6
--- /dev/null
+++ b/c/src/lib/libbsp/h8300/h8sim/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-h8300-h8sim,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/hppa1.1/configure.ac b/c/src/lib/libbsp/hppa1.1/configure.ac
new file mode 100644
index 0000000000..38e074b6a5
--- /dev/null
+++ b/c/src/lib/libbsp/hppa1.1/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([simhppa])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-hppa1.1,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/configure.ac b/c/src/lib/libbsp/hppa1.1/simhppa/configure.ac
new file mode 100644
index 0000000000..3f9388e8bc
--- /dev/null
+++ b/c/src/lib/libbsp/hppa1.1/simhppa/configure.ac
@@ -0,0 +1,41 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-hppa1.1-simhppa,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+shmsupp/Makefile
+start/Makefile
+startup/Makefile
+tty/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/tools/configure.ac b/c/src/lib/libbsp/hppa1.1/simhppa/tools/configure.ac
new file mode 100644
index 0000000000..4194b93b5e
--- /dev/null
+++ b/c/src/lib/libbsp/hppa1.1/simhppa/tools/configure.ac
@@ -0,0 +1,27 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([print_dump.c])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-hppa1.1-simhppa-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+AC_EXEEXT
+
+AC_PROG_CC
+
+AC_CHECK_FUNCS(strerror)
+AM_CONFIG_HEADER(config.h)
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/i386/configure.ac b/c/src/lib/libbsp/i386/configure.ac
new file mode 100644
index 0000000000..c96fe89170
--- /dev/null
+++ b/c/src/lib/libbsp/i386/configure.ac
@@ -0,0 +1,29 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([pc386])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile
+shared/comm/Makefile
+shared/io/Makefile
+shared/irq/Makefile
+shared/pci/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/i386/i386ex/configure.ac b/c/src/lib/libbsp/i386/i386ex/configure.ac
new file mode 100644
index 0000000000..18414a019f
--- /dev/null
+++ b/c/src/lib/libbsp/i386/i386ex/configure.ac
@@ -0,0 +1,44 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-i386ex,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+## if this is an i386, does gas have good code16 support?
+RTEMS_I386_GAS_CODE16
+AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+network/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/i386/pc386/configure.ac b/c/src/lib/libbsp/i386/pc386/configure.ac
new file mode 100644
index 0000000000..da4e9215e2
--- /dev/null
+++ b/c/src/lib/libbsp/i386/pc386/configure.ac
@@ -0,0 +1,52 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-pc386,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+## if this is an i386, does gas have good code16 support?
+RTEMS_I386_GAS_CODE16
+AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AC_SUBST(RTEMS_BSP)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+3c509/Makefile
+ne2000/Makefile
+timer/Makefile
+wd8003/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/i386/pc386/tools/configure.ac b/c/src/lib/libbsp/i386/pc386/tools/configure.ac
new file mode 100644
index 0000000000..76a46c64c0
--- /dev/null
+++ b/c/src/lib/libbsp/i386/pc386/tools/configure.ac
@@ -0,0 +1,27 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([Spec.doc])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-pc386-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+AC_EXEEXT
+
+RTEMS_ENV_RTEMSBSP
+AC_PROG_CC
+
+AC_CHECK_FUNCS(strtoul)
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/i386/ts_386ex/configure.ac b/c/src/lib/libbsp/i386/ts_386ex/configure.ac
new file mode 100644
index 0000000000..45a542201a
--- /dev/null
+++ b/c/src/lib/libbsp/i386/ts_386ex/configure.ac
@@ -0,0 +1,48 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-ts_386ex,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+## if this is an i386, does gas have good code16 support?
+RTEMS_I386_GAS_CODE16
+AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+network/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/i386/ts_386ex/tools/configure.ac b/c/src/lib/libbsp/i386/ts_386ex/tools/configure.ac
new file mode 100644
index 0000000000..e7750ec6dd
--- /dev/null
+++ b/c/src/lib/libbsp/i386/ts_386ex/tools/configure.ac
@@ -0,0 +1,31 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([coff2bin])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-ts_386ex-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+dos_sup/Makefile
+ts_1325_ada/Makefile
+debug_ada/Makefile
+debug_c/Makefile
+network_ada/Makefile
+network_ada/adasockets/Makefile
+network_ada/listener/Makefile
+network_ada/tcprelay/Makefile
+ts_1325_ada/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/i960/configure.ac b/c/src/lib/libbsp/i960/configure.ac
new file mode 100644
index 0000000000..90c5866405
--- /dev/null
+++ b/c/src/lib/libbsp/i960/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([cvme961])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i960,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+RTEMS_PROJECT_ROOT
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/i960/cvme961/configure.ac b/c/src/lib/libbsp/i960/cvme961/configure.ac
new file mode 100644
index 0000000000..2b54b24f9b
--- /dev/null
+++ b/c/src/lib/libbsp/i960/cvme961/configure.ac
@@ -0,0 +1,39 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i960-cvme961,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+shmsupp/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/i960/i960sim/configure.ac b/c/src/lib/libbsp/i960/i960sim/configure.ac
new file mode 100644
index 0000000000..e58466cea8
--- /dev/null
+++ b/c/src/lib/libbsp/i960/i960sim/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i960-i960sim,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/i960/rxgen960/configure.ac b/c/src/lib/libbsp/i960/rxgen960/configure.ac
new file mode 100644
index 0000000000..13201eb743
--- /dev/null
+++ b/c/src/lib/libbsp/i960/rxgen960/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i960-rxgen960,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/configure.ac b/c/src/lib/libbsp/m68k/configure.ac
new file mode 100644
index 0000000000..036c40d91f
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/configure.ac
@@ -0,0 +1,25 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([shared])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/dmv152/configure.ac b/c/src/lib/libbsp/m68k/dmv152/configure.ac
new file mode 100644
index 0000000000..8eda352482
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/dmv152/configure.ac
@@ -0,0 +1,36 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-dmv152,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+spurious/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/efi332/configure.ac b/c/src/lib/libbsp/m68k/efi332/configure.ac
new file mode 100644
index 0000000000..d70fcad57b
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/efi332/configure.ac
@@ -0,0 +1,36 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-efi332,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+spurious/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/efi68k/configure.ac b/c/src/lib/libbsp/m68k/efi68k/configure.ac
new file mode 100644
index 0000000000..974403f20d
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/efi68k/configure.ac
@@ -0,0 +1,36 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-efi68k,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+spurious/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/gen68302/configure.ac b/c/src/lib/libbsp/m68k/gen68302/configure.ac
new file mode 100644
index 0000000000..d6c1d5f1d5
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/gen68302/configure.ac
@@ -0,0 +1,39 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-gen68302,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+network/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/gen68340/configure.ac b/c/src/lib/libbsp/m68k/gen68340/configure.ac
new file mode 100644
index 0000000000..168bd74edb
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/gen68340/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-gen68340,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/gen68360/configure.ac b/c/src/lib/libbsp/m68k/gen68360/configure.ac
new file mode 100644
index 0000000000..5a6f5c5d80
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/gen68360/configure.ac
@@ -0,0 +1,39 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-gen68360,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+network/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/idp/configure.ac b/c/src/lib/libbsp/m68k/idp/configure.ac
new file mode 100644
index 0000000000..481da7a4a1
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/idp/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-idp,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mrm332/configure.ac b/c/src/lib/libbsp/m68k/mrm332/configure.ac
new file mode 100644
index 0000000000..cbd8f1c4ea
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mrm332/configure.ac
@@ -0,0 +1,36 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mrm,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+spurious/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme136/configure.ac b/c/src/lib/libbsp/m68k/mvme136/configure.ac
new file mode 100644
index 0000000000..f007b08a19
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme136/configure.ac
@@ -0,0 +1,39 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mvme136,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+shmsupp/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme147/configure.ac b/c/src/lib/libbsp/m68k/mvme147/configure.ac
new file mode 100644
index 0000000000..c8b361eaeb
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme147/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mvme147,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme147s/configure.ac b/c/src/lib/libbsp/m68k/mvme147s/configure.ac
new file mode 100644
index 0000000000..cb5b7f3b46
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme147s/configure.ac
@@ -0,0 +1,39 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mvme147s,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+shmsupp/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme162/configure.ac b/c/src/lib/libbsp/m68k/mvme162/configure.ac
new file mode 100644
index 0000000000..a88382c98e
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme162/configure.ac
@@ -0,0 +1,46 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mvme162,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+network/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+tod/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+## consolex/Makefile
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac b/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac
new file mode 100644
index 0000000000..7d01732c5d
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac
@@ -0,0 +1,37 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([sload.c])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mvme162-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+AC_EXEEXT
+
+AC_PROG_CC
+
+## FIXME: The checks below are probably incorrect and will not work for
+## those actually having sys/vme.h
+## Please report any errors related to it, otherwise we will not be able
+## to fix building/configuring sload
+AC_HEADER_STDC
+AC_CHECK_HEADERS(unistd.h sys/vme.h)
+AC_FUNC_MMAP
+
+AM_CONDITIONAL(SLOAD_BUILDABLE,
+test "$ac_cv_header_sys_vme_h" = "yes" \
+-a "$ac_cv_header_unistd_h" = "yes" \
+-a "$ac_cv_header_stdc" = "yes" )
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/mvme167/configure.ac b/c/src/lib/libbsp/m68k/mvme167/configure.ac
new file mode 100644
index 0000000000..a54b0be696
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/mvme167/configure.ac
@@ -0,0 +1,40 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mvme167,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+fatal/Makefile
+include/Makefile
+network/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/ods68302/configure.ac b/c/src/lib/libbsp/m68k/ods68302/configure.ac
new file mode 100644
index 0000000000..531950818f
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/ods68302/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-ods68302,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/m68k/sim68000/configure.ac b/c/src/lib/libbsp/m68k/sim68000/configure.ac
new file mode 100644
index 0000000000..fa9d869ed7
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/sim68000/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-sim68000,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+AM_CONFIG_HEADER(include/bspopts.h)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/configure.ac b/c/src/lib/libbsp/mips/configure.ac
new file mode 100644
index 0000000000..c902eb11cb
--- /dev/null
+++ b/c/src/lib/libbsp/mips/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([p4000])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-mips,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/genmongoosev/configure.ac b/c/src/lib/libbsp/mips/genmongoosev/configure.ac
new file mode 100644
index 0000000000..583798ac53
--- /dev/null
+++ b/c/src/lib/libbsp/mips/genmongoosev/configure.ac
@@ -0,0 +1,38 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-mips-genmongoosev,$RTEMS_VERSION,no)
+
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/mips/jmr3904/configure.ac b/c/src/lib/libbsp/mips/jmr3904/configure.ac
new file mode 100644
index 0000000000..0e6ea003ba
--- /dev/null
+++ b/c/src/lib/libbsp/mips/jmr3904/configure.ac
@@ -0,0 +1,39 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-mips-jmr3904,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac b/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac
new file mode 100644
index 0000000000..df09fc82b5
--- /dev/null
+++ b/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac
@@ -0,0 +1,21 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([runtest])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-mips-jmr3904-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips/p4000/configure.ac b/c/src/lib/libbsp/mips/p4000/configure.ac
new file mode 100644
index 0000000000..a3afa2a000
--- /dev/null
+++ b/c/src/lib/libbsp/mips/p4000/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-mips64orion-p4000,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+console/Makefile
+include/Makefile
+liblnk/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips64orion/configure.ac b/c/src/lib/libbsp/mips64orion/configure.ac
new file mode 100644
index 0000000000..c5dac82dbc
--- /dev/null
+++ b/c/src/lib/libbsp/mips64orion/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([p4000])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-mips64orion,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/mips64orion/p4000/configure.ac b/c/src/lib/libbsp/mips64orion/p4000/configure.ac
new file mode 100644
index 0000000000..a3afa2a000
--- /dev/null
+++ b/c/src/lib/libbsp/mips64orion/p4000/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-mips64orion-p4000,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+console/Makefile
+include/Makefile
+liblnk/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/no_cpu/configure.ac b/c/src/lib/libbsp/no_cpu/configure.ac
new file mode 100644
index 0000000000..720391d029
--- /dev/null
+++ b/c/src/lib/libbsp/no_cpu/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([no_bsp])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-no_cpu,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac b/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac
new file mode 100644
index 0000000000..167a796841
--- /dev/null
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac
@@ -0,0 +1,38 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-no_cpu-no_bsp,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+shmsupp/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/configure.ac b/c/src/lib/libbsp/powerpc/configure.ac
new file mode 100644
index 0000000000..a6e4e7e470
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/configure.ac
@@ -0,0 +1,40 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([dmv177])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+AM_CONDITIONAL(need_shared, test "$RTEMS_BSP_FAMILY" = "motorola_powerpc")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile
+shared/bootloader/Makefile
+shared/clock/Makefile
+shared/console/Makefile
+shared/include/Makefile
+shared/irq/Makefile
+shared/motorola/Makefile
+shared/openpic/Makefile
+shared/pci/Makefile
+shared/residual/Makefile
+shared/start/Makefile
+shared/startup/Makefile
+shared/vectors/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/dmv177/configure.ac b/c/src/lib/libbsp/powerpc/dmv177/configure.ac
new file mode 100644
index 0000000000..eed6f3d1fc
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/dmv177/configure.ac
@@ -0,0 +1,48 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-dmv177,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+RTEMS_ENABLE_NETWORKING
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+## bsp-specific options
+CONSOLE_USE_INTERRUPTS=${CONSOLE_USE_INTERRUPTS-0}
+AC_DEFINE_UNQUOTED([CONSOLE_USE_INTERRUPTS],
+ [$CONSOLE_USE_INTERRUPTS],
+ [whether using console interrupts])
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+scv64/Makefile
+sonic/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+tod/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/eth_comm/configure.ac b/c/src/lib/libbsp/powerpc/eth_comm/configure.ac
new file mode 100644
index 0000000000..fc7f34910a
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/eth_comm/configure.ac
@@ -0,0 +1,42 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-eth_comm,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+RTEMS_ENABLE_NETWORKING
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+canbus/Makefile
+console/Makefile
+include/Makefile
+irq/Makefile
+network/Makefile
+start/Makefile
+startup/Makefile
+vectors/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/helas403/configure.ac b/c/src/lib/libbsp/powerpc/helas403/configure.ac
new file mode 100644
index 0000000000..14fca817df
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/helas403/configure.ac
@@ -0,0 +1,37 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-helas403,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+RTEMS_ENABLE_NETWORKING
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+dlentry/Makefile
+flashentry/Makefile
+include/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac b/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac
new file mode 100644
index 0000000000..ceb701578f
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac
@@ -0,0 +1,41 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-mbx8xx,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+RTEMS_ENABLE_LIBCDIR
+RTEMS_ENABLE_NETWORKING
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+
+RTEMS_PROJECT_ROOT
+AM_CONFIG_HEADER(include/bspopts.h)
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+# Explicitly list a Makefile here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+irq/Makefile
+network/Makefile
+startup/Makefile
+vectors/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac b/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac
new file mode 100644
index 0000000000..c8d82cc610
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac
@@ -0,0 +1,45 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-motorola_powerpc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+RTEMS_ENABLE_NETWORKING
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+AM_CONDITIONAL(need_motorola_powerpc, test "$RTEMS_BSP_FAMILY" = "motorola_powerpc")
+
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+bootloader/Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+irq/Makefile
+motorola/Makefile
+openpic/Makefile
+pci/Makefile
+residual/Makefile
+start/Makefile
+startup/Makefile
+vectors/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/papyrus/configure.ac b/c/src/lib/libbsp/powerpc/papyrus/configure.ac
new file mode 100644
index 0000000000..209307f3b9
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/papyrus/configure.ac
@@ -0,0 +1,38 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-papyrus,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+RTEMS_ENABLE_NETWORKING
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+dlentry/Makefile
+flashentry/Makefile
+include/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/configure.ac b/c/src/lib/libbsp/powerpc/ppcn_60x/configure.ac
new file mode 100644
index 0000000000..1c32eaabd3
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/ppcn_60x/configure.ac
@@ -0,0 +1,50 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-ppcn_60x,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+# Don't build the network directory
+# The problem is that the code there has not yet been converted to
+# bsd networking
+AM_CONDITIONAL(HAS_NETWORKING,false)
+# AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+
+RTEMS_PROJECT_ROOT
+AM_CONFIG_HEADER(include/bspopts.h)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+network/Makefile
+nvram/Makefile
+pci/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+tod/Makefile
+universe/Makefile
+vectors/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
diff --git a/c/src/lib/libbsp/powerpc/psim/configure.ac b/c/src/lib/libbsp/powerpc/psim/configure.ac
new file mode 100644
index 0000000000..96db37f4d5
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/psim/configure.ac
@@ -0,0 +1,44 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-psim,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+shmsupp/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+vectors/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/powerpc/psim/tools/configure.ac b/c/src/lib/libbsp/powerpc/psim/tools/configure.ac
new file mode 100644
index 0000000000..4c616e5bf3
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/psim/tools/configure.ac
@@ -0,0 +1,21 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([psim])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-psim-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/score603e/configure.ac b/c/src/lib/libbsp/powerpc/score603e/configure.ac
new file mode 100644
index 0000000000..181ba6c89c
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/score603e/configure.ac
@@ -0,0 +1,45 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-score603e,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+## bsp-specific options
+CONSOLE_USE_INTERRUPTS=${CONSOLE_USE_INTERRUPTS-0}
+AC_DEFINE_UNQUOTED([CONSOLE_USE_INTERRUPTS],
+ [$CONSOLE_USE_INTERRUPTS],
+ [whether using console interrupts])
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+PCI_bus/Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+tod/Makefile
+vectors/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
diff --git a/c/src/lib/libbsp/sh/configure.ac b/c/src/lib/libbsp/sh/configure.ac
new file mode 100644
index 0000000000..2031d377fb
--- /dev/null
+++ b/c/src/lib/libbsp/sh/configure.ac
@@ -0,0 +1,25 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([gensh1])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sh,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+RTEMS_PROJECT_ROOT
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/gensh1/configure.ac b/c/src/lib/libbsp/sh/gensh1/configure.ac
new file mode 100644
index 0000000000..515a1fb0fb
--- /dev/null
+++ b/c/src/lib/libbsp/sh/gensh1/configure.ac
@@ -0,0 +1,43 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sh-gensh1,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+## bsp-specific options
+CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-20000000}
+AC_DEFINE_UNQUOTED([CPU_CLOCK_RATE_HZ],
+ [$CPU_CLOCK_RATE_HZ],
+ [cpu clock rate in HZ])
+
+## Used in scitab/Makefile.am
+AC_SUBST(CPU_CLOCK_RATE_HZ)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+console/Makefile
+include/Makefile
+scitab/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/gensh2/configure.ac b/c/src/lib/libbsp/sh/gensh2/configure.ac
new file mode 100644
index 0000000000..ad84f6c624
--- /dev/null
+++ b/c/src/lib/libbsp/sh/gensh2/configure.ac
@@ -0,0 +1,43 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sh-gensh2,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+## bsp-specific options
+CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-29491200}
+AC_DEFINE_UNQUOTED([CPU_CLOCK_RATE_HZ],
+ [$CPU_CLOCK_RATE_HZ],
+ [cpu clock rate in HZ])
+
+## Used in scitab/Makefile.am
+AC_SUBST(CPU_CLOCK_RATE_HZ)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+console/Makefile
+include/Makefile
+scitab/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/gensh4/configure.ac b/c/src/lib/libbsp/sh/gensh4/configure.ac
index 869c68153c..5fd3653223 100644
--- a/c/src/lib/libbsp/sh/gensh4/configure.ac
+++ b/c/src/lib/libbsp/sh/gensh4/configure.ac
@@ -1,6 +1,6 @@
-dnl Process this file with autoconf to produce a configure script.
-dnl
-dnl $Id$
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
AC_PREREQ(2.52)
AC_INIT
diff --git a/c/src/lib/libbsp/sh/shsim/configure.ac b/c/src/lib/libbsp/sh/shsim/configure.ac
new file mode 100644
index 0000000000..408170e79f
--- /dev/null
+++ b/c/src/lib/libbsp/sh/shsim/configure.ac
@@ -0,0 +1,88 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sh-shsim,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CANONICAL_HOST
+
+RTEMS_BSP_ARG_ENABLE([console],
+[ --enable-console=[[null|gdbsci1]]],[
+ case $enable_console in
+ null)
+ BSP_CONSOLE_DEVNAME=\"/dev/null\"
+ BSP_CONSOLE_DRIVER_TABLE_ENTRY=DEVNULL_DRIVER_TABLE_ENTRY
+ ;;
+# Not yet
+# trap34)
+# BSP_CONSOLE_DEVNAME=\"/dev/trap34\"
+# BSP_CONSOLE_DRIVER_TABLE_ENTRY=DEVTRAP34_DRIVER_TABLE_ENTRY
+# ;;
+ yes|gdbsci1)
+ BSP_CONSOLE_DEVNAME=\"/dev/gdbsci1\"
+ BSP_CONSOLE_DRIVER_TABLE_ENTRY=DEVGDBSCI_DRIVER_TABLE_ENTRY
+ ;;
+ *) AC_MSG_WARN([bad value $enable_console for --enable-console=<value>])
+ ;;
+ esac],[
+ BSP_CONSOLE_DEVNAME=\"/dev/gdbsci1\"
+ BSP_CONSOLE_DRIVER_TABLE_ENTRY=DEVGDBSCI_DRIVER_TABLE_ENTRY
+])
+AC_DEFINE_UNQUOTED(
+ [BSP_CONSOLE_DEVNAME],
+ [${BSP_CONSOLE_DEVNAME}],
+ [device name to redirect the console to])
+AC_DEFINE_UNQUOTED(
+ [BSP_CONSOLE_DRIVER_TABLE_ENTRY],
+ [${BSP_CONSOLE_DRIVER_TABLE_ENTRY}],
+ [Driver table entry for the console device])
+
+##
+RTEMS_BSP_ARG_ENABLE([iomem-patch],
+[ --enable-iomem-patch=[[yes|no]]])
+if test x"$enable_iomem_patch" = x"yes"; then
+AC_DEFINE_UNQUOTED(
+ [HAVE_SHSIM_IOMEM_PATCH],
+ [1],
+ [whether support for functional IOMEM in shsim/gdb shall be enabled])
+fi
+
+## bsp-specific options
+CPU_CLOCK_RATE_HZ=${CPU_CLOCK_RATE_HZ-20000000}
+AC_SUBST(CPU_CLOCK_RATE_HZ)
+AC_DEFINE_UNQUOTED(
+ [CPU_CLOCK_RATE_HZ],
+ [$CPU_CLOCK_RATE_HZ],
+ [cpu clock rate in HZ])
+
+## Used in scitab/Makefile.am
+AC_SUBST(CPU_CLOCK_RATE_HZ)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+scitab/Makefile
+gdbsci/Makefile
+start/Makefile
+startup/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/sh/simsh4/configure.ac b/c/src/lib/libbsp/sh/simsh4/configure.ac
index 6fa9395c5d..e29fc64b59 100644
--- a/c/src/lib/libbsp/sh/simsh4/configure.ac
+++ b/c/src/lib/libbsp/sh/simsh4/configure.ac
@@ -1,6 +1,6 @@
-dnl Process this file with autoconf to produce a configure script.
-dnl
-dnl $Id$
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
AC_PREREQ(2.52)
AC_INIT
diff --git a/c/src/lib/libbsp/sparc/configure.ac b/c/src/lib/libbsp/sparc/configure.ac
new file mode 100644
index 0000000000..fbb004e310
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/configure.ac
@@ -0,0 +1,25 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([shared])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sparc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc/erc32/configure.ac b/c/src/lib/libbsp/sparc/erc32/configure.ac
new file mode 100644
index 0000000000..c7fab8e3fc
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/erc32/configure.ac
@@ -0,0 +1,50 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sparc-erc32,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+## bsp-specific options
+CONSOLE_USE_INTERRUPTS=${CONSOLE_USE_INTERRUPTS-0}
+AC_DEFINE_UNQUOTED([CONSOLE_USE_INTERRUPTS],
+ [$CONSOLE_USE_INTERRUPTS],
+ [whether using console interrupts])
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+erc32sonic/Makefile
+gnatsupp/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/sparc/erc32/tools/configure.ac b/c/src/lib/libbsp/sparc/erc32/tools/configure.ac
new file mode 100644
index 0000000000..82f73985f7
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/erc32/tools/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([runtest.in])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sparc-erc32-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PATH_KSH
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+runtest])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/sparc/leon/configure.ac b/c/src/lib/libbsp/sparc/leon/configure.ac
new file mode 100644
index 0000000000..7875df75b4
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/leon/configure.ac
@@ -0,0 +1,43 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sparc-leon,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING
+RTEMS_CANONICAL_HOST
+
+## AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+gnatsupp/Makefile
+include/Makefile
+start/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/sparc/leon/tools/configure.ac b/c/src/lib/libbsp/sparc/leon/tools/configure.ac
new file mode 100644
index 0000000000..da77033711
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/leon/tools/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([runtest.in])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sparc-leon-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PATH_KSH
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+runtest])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/unix/configure.ac b/c/src/lib/libbsp/unix/configure.ac
new file mode 100644
index 0000000000..e5a7efbbe3
--- /dev/null
+++ b/c/src/lib/libbsp/unix/configure.ac
@@ -0,0 +1,24 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([posix])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-unix,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_BSPDIR([$RTEMS_BSP])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libbsp/unix/posix/configure.ac b/c/src/lib/libbsp/unix/posix/configure.ac
new file mode 100644
index 0000000000..1c6b8c0e30
--- /dev/null
+++ b/c/src/lib/libbsp/unix/posix/configure.ac
@@ -0,0 +1,52 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp_specs])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-unix-posix,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_CXX
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
+ RTEMS_PROG_CXX_FOR_TARGET
+fi
+
+RTEMS_CANONICALIZE_TOOLS
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+
+RTEMS_CHECK_CXX
+
+RTEMS_CONFIG_BUILD_SUBDIRS(tools)
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes")
+
+AM_CONFIG_HEADER(include/bspopts.h)
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+console/Makefile
+include/Makefile
+shmsupp/Makefile
+startup/Makefile
+timer/Makefile
+wrapup/Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/lib/libbsp/unix/posix/tools/configure.ac b/c/src/lib/libbsp/unix/posix/tools/configure.ac
new file mode 100644
index 0000000000..05d14ea3ee
--- /dev/null
+++ b/c/src/lib/libbsp/unix/posix/tools/configure.ac
@@ -0,0 +1,30 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([runtest.in])
+RTEMS_TOP(../../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-unix-posix-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_PATH_KSH
+RTEMS_PATH_PERL
+
+AM_CONDITIONAL(PERL,test -n "$PERL")
+
+RTEMS_PROJECT_ROOT
+RTEMS_TOOLPATHS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+runtest
+shmdump
+looptest
+semdump])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/a29k/configure.ac b/c/src/lib/libcpu/a29k/configure.ac
new file mode 100644
index 0000000000..52c2c92510
--- /dev/null
+++ b/c/src/lib/libcpu/a29k/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([clock])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-a29k,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/configure.ac b/c/src/lib/libcpu/configure.ac
new file mode 100644
index 0000000000..c6e7356845
--- /dev/null
+++ b/c/src/lib/libcpu/configure.ac
@@ -0,0 +1,22 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([README])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_CPU_SUBDIRS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/hppa1.1/configure.ac b/c/src/lib/libcpu/hppa1.1/configure.ac
new file mode 100644
index 0000000000..7833b3757e
--- /dev/null
+++ b/c/src/lib/libcpu/hppa1.1/configure.ac
@@ -0,0 +1,37 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([clock])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-hppa1.1,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+include/Makefile
+milli/Makefile
+semaphore/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/i386/configure.ac b/c/src/lib/libcpu/i386/configure.ac
new file mode 100644
index 0000000000..5af14eeefd
--- /dev/null
+++ b/c/src/lib/libcpu/i386/configure.ac
@@ -0,0 +1,33 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([cpuModel.h])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-i386,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+
diff --git a/c/src/lib/libcpu/i960/configure.ac b/c/src/lib/libcpu/i960/configure.ac
new file mode 100644
index 0000000000..fd04e38159
--- /dev/null
+++ b/c/src/lib/libcpu/i960/configure.ac
@@ -0,0 +1,41 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([i960ca])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-i960,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(i960ca, test "$RTEMS_CPU_MODEL" = "i960ca")
+AM_CONDITIONAL(i960ka, test "$RTEMS_CPU_MODEL" = "i960ka")
+AM_CONDITIONAL(i960rp, test "$RTEMS_CPU_MODEL" = "i960rp")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+i960ca/Makefile
+i960ka/Makefile
+i960rp/Makefile
+include/Makefile])
+AC_OUTPUT
+
diff --git a/c/src/lib/libcpu/m68k/configure.ac b/c/src/lib/libcpu/m68k/configure.ac
new file mode 100644
index 0000000000..1eaf05d8e2
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/configure.ac
@@ -0,0 +1,47 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([m68040])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-m68k,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "m68020" \
+|| test "$RTEMS_CPU_MODEL" = "m68020" \
+|| test "$RTEMS_CPU_MODEL" = "m68030" \
+|| test "$RTEMS_CPU_MODEL" = "m68lc040" \
+|| test "$RTEMS_CPU_MODEL" = "m68040" \
+|| test "$RTEMS_CPU_MODEL" = "m68ec040" \
+|| test "$RTEMS_CPU_MODEL" = "m68lc040" \
+|| test "$RTEMS_CPU_MODEL" = "m68060" )
+
+AM_CONDITIONAL(m68040, test "$RTEMS_CPU_MODEL" = "m68040")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile
+shared/cache/Makefile
+m68040/Makefile
+m68040/fpsp/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/mips/configure.ac b/c/src/lib/libcpu/mips/configure.ac
new file mode 100644
index 0000000000..b3ac26a316
--- /dev/null
+++ b/c/src/lib/libcpu/mips/configure.ac
@@ -0,0 +1,54 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([clock])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-mips,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(r46xx, test "$RTEMS_CPU_MODEL" = "R4600" \
+|| test "$RTEMS_CPU_MODEL" = "R4650" )
+
+AM_CONDITIONAL(tx39, test "$RTEMS_CPU_MODEL" = "tx3904")
+
+AM_CONDITIONAL(mongoosev, test "$RTEMS_CPU_MODEL" = "mongoosev")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+mongoosev/Makefile
+mongoosev/duart/Makefile
+mongoosev/include/Makefile
+mongoosev/vectorisrs/Makefile
+shared/Makefile
+shared/cache/Makefile
+shared/interrupts/Makefile
+r46xx/Makefile
+r46xx/vectorisrs/Makefile
+timer/Makefile
+tx39/Makefile
+tx39/include/Makefile
+tx39/vectorisrs/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/mips64orion/configure.ac b/c/src/lib/libcpu/mips64orion/configure.ac
new file mode 100644
index 0000000000..889470f154
--- /dev/null
+++ b/c/src/lib/libcpu/mips64orion/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([clock])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-mips64orion,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/powerpc/configure.ac b/c/src/lib/libcpu/powerpc/configure.ac
new file mode 100644
index 0000000000..f34f99993a
--- /dev/null
+++ b/c/src/lib/libcpu/powerpc/configure.ac
@@ -0,0 +1,97 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([mpc6xx])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-powerpc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \
+|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
+|| test "$RTEMS_CPU_MODEL" = "mpc604" \
+|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
+|| test "$RTEMS_CPU_MODEL" = "mpc821" \
+|| test "$RTEMS_CPU_MODEL" = "mpc860" \
+|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
+
+## there are no 601 or 602 BSPs currently. The 505 BSPs are in user land.
+AM_CONDITIONAL(new_exception_processing, \
+test "$RTEMS_CPU_MODEL" = "mpc750" || \
+test "$RTEMS_CPU_MODEL" = "mpc604" || \
+test "$RTEMS_CPU_MODEL" = "mpc8xx" || \
+test "$RTEMS_CPU_MODEL" = "mpc860")
+
+## The goal is to get rid of the old exception processing code but
+## but all BSPs in the distribution must be migrated to the new model
+## first.
+AM_CONDITIONAL(old_exception_processing, \
+test "$RTEMS_CPU_MODEL" = "ppc403" || \
+test "$RTEMS_CPU_MODEL" = "mpc505" || \
+test "$RTEMS_CPU_MODEL" = "ppc603e" \
+)
+
+## test on CPU type
+AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
+AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
+|| test "$RTEMS_CPU_MODEL" = "mpc604" \
+|| test "$RTEMS_CPU_MODEL" = "mpc750" )
+AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
+|| test "$RTEMS_CPU_MODEL" = "mpc821" \
+|| test "$RTEMS_CPU_MODEL" = "mpc860" )
+AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+mpc505/Makefile
+mpc505/timer/Makefile
+mpc505/vectors/Makefile
+mpc505/ictrl/Makefile
+mpc8xx/Makefile
+mpc8xx/clock/Makefile
+mpc8xx/console-generic/Makefile
+mpc8xx/cpm/Makefile
+mpc8xx/exceptions/Makefile
+mpc8xx/include/Makefile
+mpc8xx/mmu/Makefile
+mpc8xx/timer/Makefile
+ppc403/Makefile
+ppc403/clock/Makefile
+ppc403/console/Makefile
+ppc403/ictrl/Makefile
+ppc403/timer/Makefile
+ppc403/vectors/Makefile
+mpc6xx/Makefile
+mpc6xx/clock/Makefile
+mpc6xx/timer/Makefile
+mpc6xx/exceptions/Makefile
+mpc6xx/mmu/Makefile
+mpc6xx/timer/Makefile
+mpc6xx/wrapup/Makefile
+new_exception_processing/Makefile
+old_exception_processing/Makefile
+shared/Makefile
+shared/include/Makefile
+shared/src/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/sh/configure.ac b/c/src/lib/libcpu/sh/configure.ac
new file mode 100644
index 0000000000..cd10a15c98
--- /dev/null
+++ b/c/src/lib/libcpu/sh/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([sh7032])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-sh,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+case "$RTEMS_CPU_MODEL" in
+sh7032 ) AC_CONFIG_SUBDIRS([sh7032]);;
+sh7045 ) AC_CONFIG_SUBDIRS([sh7045]);;
+*) AC_MSG_ERROR([Invalid RTEMS_CPU_MODEL]);
+esac
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/sh/sh7032/configure.ac b/c/src/lib/libcpu/sh/sh7032/configure.ac
new file mode 100644
index 0000000000..4c6f87f76a
--- /dev/null
+++ b/c/src/lib/libcpu/sh/sh7032/configure.ac
@@ -0,0 +1,38 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([include])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-sh-sh7032,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+delay/Makefile
+include/Makefile
+score/Makefile
+timer/Makefile
+sci/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/sh/sh7045/configure.ac b/c/src/lib/libcpu/sh/sh7045/configure.ac
new file mode 100644
index 0000000000..75df2b9011
--- /dev/null
+++ b/c/src/lib/libcpu/sh/sh7045/configure.ac
@@ -0,0 +1,37 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([include])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-sh-sh7045,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+include/Makefile
+score/Makefile
+sci/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/sh/sh7750/configure.ac b/c/src/lib/libcpu/sh/sh7750/configure.ac
index bf31dc3299..68fce54f9a 100644
--- a/c/src/lib/libcpu/sh/sh7750/configure.ac
+++ b/c/src/lib/libcpu/sh/sh7750/configure.ac
@@ -1,6 +1,6 @@
-dnl Process this file with autoconf to produce a configure script.
-dnl
-dnl $Id$
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
AC_PREREQ(2.52)
AC_INIT
diff --git a/c/src/lib/libcpu/sparc/configure.ac b/c/src/lib/libcpu/sparc/configure.ac
new file mode 100644
index 0000000000..7c61a6334e
--- /dev/null
+++ b/c/src/lib/libcpu/sparc/configure.ac
@@ -0,0 +1,40 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([reg_win])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-sparc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(has_instruction_cache, test "$RTEMS_CPU_MODEL" = "leon1" \
+|| test "$RTEMS_CPU_MODEL" = "leon2" )
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+cache/Makefile
+include/Makefile
+reg_win/Makefile
+syscall/Makefile])
+AC_OUTPUT
+
diff --git a/c/src/libchip/configure.ac b/c/src/libchip/configure.ac
new file mode 100644
index 0000000000..a84a6ca106
--- /dev/null
+++ b/c/src/libchip/configure.ac
@@ -0,0 +1,45 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([rtc])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-libchip,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+
+# pick up all the Makefiles in required parts of the tree
+if test "$RTEMS_CPU" = "unix"; then
+## HACK: Suppress libchip for unix
+AC_MSG_ERROR(Can't build libchip for $RTEMS_CPU)
+fi
+
+AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+network/Makefile
+rtc/Makefile
+serial/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/libfs/configure.ac b/c/src/libfs/configure.ac
new file mode 100644
index 0000000000..4e2adeb1b5
--- /dev/null
+++ b/c/src/libfs/configure.ac
@@ -0,0 +1,37 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([src/imfs/imfs.h])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-libfs,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+AM_CONDITIONAL(UNIX,test x"$RTEMS_CPU" = x"unix")
+AM_CONFIG_HEADER(src/imfs/config.h)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+src/Makefile
+src/imfs/Makefile
+wrapup/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/libmisc/configure.ac b/c/src/libmisc/configure.ac
new file mode 100644
index 0000000000..7325ede5fb
--- /dev/null
+++ b/c/src/libmisc/configure.ac
@@ -0,0 +1,50 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([dumpbuf])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-libmisc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENABLE_NETWORKING
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+cpuuse/Makefile
+shell/Makefile
+devnull/Makefile
+dummy/Makefile
+dumpbuf/Makefile
+monitor/Makefile
+rtmonuse/Makefile
+rootfs/Makefile
+stackchk/Makefile
+untar/Makefile
+mw-fb/Makefile
+wrapup/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/libnetworking/configure.ac b/c/src/libnetworking/configure.ac
new file mode 100644
index 0000000000..73257630fe
--- /dev/null
+++ b/c/src/libnetworking/configure.ac
@@ -0,0 +1,56 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([arpa])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-libnetworking,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_BARE
+RTEMS_ENABLE_POSIX
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+RTEMS_CHECK_POSIX_API(RTEMS_BSP)
+
+AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+arpa/Makefile
+machine/Makefile
+kern/Makefile
+sys/Makefile
+vm/Makefile
+lib/Makefile
+libc/Makefile
+net/Makefile
+netinet/Makefile
+nfs/Makefile
+pppd/Makefile
+modem/Makefile
+rtems/Makefile
+rtems_servers/Makefile
+rtems_telnetd/Makefile
+rtems_webserver/Makefile
+wrapup/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/librdbg/configure.ac b/c/src/librdbg/configure.ac
new file mode 100644
index 0000000000..b224ad59b6
--- /dev/null
+++ b/c/src/librdbg/configure.ac
@@ -0,0 +1,66 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([src/awk.svc])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-librdbg,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_RDBG
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen,no)
+AC_PROG_AWK
+
+if test "$RPCGEN" = "no"; then
+ AC_MSG_WARN([** missing rpcgen, required to build librdbg **])
+ rpctools="no"
+fi
+if test "$AWK" = "no"; then
+ AC_MSG_WARN([** missing awk, required to build librdbg **])
+ rpctools="no"
+fi
+
+AM_CONDITIONAL(RPCTOOLS, test "$rpctools" != "no")
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+RTEMS_CHECK_RDBG(bspdir)
+
+AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
+
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+include/rdbg/Makefile
+include/rdbg/i386/Makefile
+include/rdbg/powerpc/Makefile
+include/rdbg/m68k/Makefile
+src/Makefile
+src/i386/Makefile
+src/i386/any/Makefile
+src/powerpc/Makefile
+src/powerpc/new_exception_processing/Makefile
+src/m68k/Makefile
+src/m68k/any/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/librpc/configure.ac b/c/src/librpc/configure.ac
new file mode 100644
index 0000000000..749dc525da
--- /dev/null
+++ b/c/src/librpc/configure.ac
@@ -0,0 +1,44 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([include/rpc])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+RTEMS_CANONICAL_HOST
+
+AM_INIT_AUTOMAKE(rtems-c-src-librpc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+
+AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
+AM_CONDITIONAL(rpc_not_supported, test "$RTEMS_CPU" = "c4x")
+
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+include/rpc/Makefile
+include/rpcsvc/Makefile
+src/Makefile
+src/xdr/Makefile
+src/rpc/Makefile
+src/rpc/PSD.doc/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/librtems++/configure.ac b/c/src/librtems++/configure.ac
new file mode 100644
index 0000000000..e6f34c03d6
--- /dev/null
+++ b/c/src/librtems++/configure.ac
@@ -0,0 +1,40 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([include/rtems++])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+RTEMS_CANONICAL_HOST
+
+AM_INIT_AUTOMAKE(rtems-c-src-librtems++,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_CXX
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+RTEMS_CHECK_CXX(RTEMS_BSP)
+## check for g++
+if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
+ RTEMS_PROG_CXX_FOR_TARGET
+fi
+RTEMS_CANONICALIZE_TOOLS
+
+AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes")
+
+RTEMS_PROJECT_ROOT
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+include/rtems++/Makefile
+src/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/make/configure.ac b/c/src/make/configure.ac
new file mode 100644
index 0000000000..2298ee1a7e
--- /dev/null
+++ b/c/src/make/configure.ac
@@ -0,0 +1,137 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+##
+## This script configures the configuration files below make/
+##
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([bsp.cfg.in])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-make,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_MULTIPROCESSING
+RTEMS_ENABLE_POSIX
+RTEMS_ENABLE_ITRON
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_RDBG
+RTEMS_ENABLE_INLINES
+RTEMS_ENABLE_CXX
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+## BEGIN configure.host.in
+
+AC_PATH_PROG(CAT,cat)
+AC_PATH_PROG(CP,cp)
+AC_PATH_PROG(MV,mv)
+AC_PATH_PROG(LN,ln)
+AC_PROG_LN_S
+AC_PATH_PROG(CHMOD,chmod)
+AC_PATH_PROG(SORT,sort)
+RTEMS_PATH_PERL
+
+AC_PATH_PROG(TOUCH,touch)
+AC_PATH_PROG(CMP,cmp)
+
+AC_PATH_PROG(SED,sed)
+AC_PATH_PROGS(M4,gm4 m4)
+
+RTEMS_PATH_KSH
+
+## BEGIN configure.target.in
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+
+## check for g++
+if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
+ RTEMS_PROG_CXX_FOR_TARGET
+fi
+
+RTEMS_CANONICALIZE_TOOLS
+
+## if this is an i386, does gas have good code16 support?
+RTEMS_I386_GAS_CODE16
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_BSP_ALIAS(${RTEMS_BSP})
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+RTEMS_CHECK_RDBG(RTEMS_BSP)
+RTEMS_CHECK_POSIX_API(RTEMS_BSP)
+RTEMS_CHECK_CXX(RTEMS_BSP)
+RTEMS_CHECK_ITRON_API(RTEMS_BSP)
+
+AC_SUBST(rtems_cv_prog_cc_cross)
+AC_SUBST(RTEMS_HAS_CPLUSPLUS)
+AC_SUBST(RTEMS_USE_GCC272)
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+AC_SUBST(program_prefix)
+AC_SUBST(CC_CFLAGS_DEFAULT)
+AC_SUBST(CC_CFLAGS_DEBUG_V)
+AC_SUBST(CC_CFLAGS_PROFILE_V)
+AC_SUBST(CC_LDFLAGS_PROFILE_V)
+
+# Collect the files needed to build a BSP
+cfg_dir="${RTEMS_TOPdir}/make"
+CUSTOM_CFG_FILES=""
+f="${RTEMS_BSP}.cfg"
+while test -n "$f"; do
+ if test -r "${srcdir}/${cfg_dir}/custom/$f"; then
+ AC_CONFIG_LINKS([custom/$f:${cfg_dir}/custom/$f])
+ CUSTOM_CFG_FILES="$CUSTOM_CFG_FILES $f"
+ f=`grep "^include.*make/custom" ${srcdir}/${cfg_dir}/custom/$f \
+ | sed \
+ -e 's%^.*custom\/%%' \
+ -e s%\$\(RTEMS_HOST\)%${RTEMS_HOST}% \
+ -e 's%default\.cfg%%'`;
+ else break; fi;
+done
+AC_SUBST(CUSTOM_CFG_FILES)
+AC_SUBST(cfg_dir)
+
+# Symlink the *.cfg files from the toplevel make directory into the build
+# trees c/<bsp>/make subdirectories
+
+AC_CONFIG_LINKS([
+ Templates/Makefile.lib:${cfg_dir}/Templates/Makefile.lib
+ Templates/Makefile.leaf:${cfg_dir}/Templates/Makefile.leaf
+ Templates/Makefile.dir:${cfg_dir}/Templates/Makefile.dir
+ compilers/gcc-target-default.cfg:${cfg_dir}/compilers/gcc-target-default.cfg
+ directory.cfg:${cfg_dir}/directory.cfg
+ lib.cfg:${cfg_dir}/lib.cfg
+ README:${cfg_dir}/README
+ leaf.cfg:leaf.cfg
+],,[
+ RTEMS_TOPdir=${RTEMS_TOPdir}
+ cfg_dir=${cfg_dir}
+ test -d Templates || mkdir Templates
+])
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+Makefile.inc
+host.cfg
+bsp.cfg
+custom/Makefile
+custom/default.cfg
+compilers/Makefile])
+AC_CONFIG_COMMANDS([default],[[${MAKE} $RTEMS_BSP.cache]],[[MAKE=${MAKE-make}
+RTEMS_BSP=${RTEMS_BSP}
+]])
+AC_OUTPUT
diff --git a/c/src/tests/configure.ac b/c/src/tests/configure.ac
new file mode 100644
index 0000000000..f40d34be47
--- /dev/null
+++ b/c/src/tests/configure.ac
@@ -0,0 +1,64 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([samples])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_POSIX
+RTEMS_ENABLE_ITRON
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_CXX
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+RTEMS_ENABLE_TESTS
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CHECK_POSIX_API(RTEMS_BSP)
+RTEMS_CHECK_ITRON_API(RTEMS_BSP)
+
+AC_CONFIG_SUBDIRS(tools)
+AC_CONFIG_SUBDIRS(support)
+AC_CONFIG_SUBDIRS(samples)
+
+if test "$tests_enabled" = "yes"; then
+ # do functionality tests first, then performance tests
+ AC_CONFIG_SUBDIRS(libtests sptests)
+ if test "$HAS_MP" = "yes"; then
+ AC_CONFIG_SUBDIRS(mptests)
+ fi
+ if test "$HAS_POSIX_API" = "yes"; then
+ AC_CONFIG_SUBDIRS(psxtests)
+ fi
+ if test "$HAS_ITRON_API" = "yes"; then
+ AC_CONFIG_SUBDIRS(itrontests)
+ fi
+ # Now do performance tests
+ AC_CONFIG_SUBDIRS(tmtests)
+ if test "$HAS_ITRON_API" = "yes"; then
+ AC_CONFIG_SUBDIRS(tmitrontests)
+ fi
+fi
+
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/itrontests/configure.ac b/c/src/tests/itrontests/configure.ac
new file mode 100644
index 0000000000..a693b01ea3
--- /dev/null
+++ b/c/src/tests/itrontests/configure.ac
@@ -0,0 +1,51 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([itronhello])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-itrontests,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+AC_SUBST(RTEMS_USE_GCC272)
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+AC_SUBST(CC_CFLAGS_DEFAULT)
+AC_SUBST(CC_CFLAGS_DEBUG_V)
+AC_SUBST(CC_CFLAGS_PROFILE_V)
+AC_SUBST(CC_LDFLAGS_PROFILE_V)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+itronhello/Makefile
+itronmbf01/Makefile
+itronmbox01/Makefile
+itronsem01/Makefile
+itrontask01/Makefile
+itrontask02/Makefile
+itrontask03/Makefile
+itrontask04/Makefile
+itrontime01/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/libtests/configure.ac b/c/src/tests/libtests/configure.ac
new file mode 100644
index 0000000000..e02cd43843
--- /dev/null
+++ b/c/src/tests/libtests/configure.ac
@@ -0,0 +1,54 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([cpuuse])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-libtests,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_CXX
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_RTEMS_TEST_NO_PAUSE
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
+ RTEMS_PROG_CXX_FOR_TARGET
+fi
+
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_CXX(RTEMS_BSP)
+
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+
+AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+cpuuse/Makefile
+malloctest/Makefile
+monitor/Makefile
+putenvtest/Makefile
+rtems++/Makefile
+rtmonuse/Makefile
+stackchk/Makefile
+termios/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/mptests/configure.ac b/c/src/tests/mptests/configure.ac
new file mode 100644
index 0000000000..54af2cf85f
--- /dev/null
+++ b/c/src/tests/mptests/configure.ac
@@ -0,0 +1,87 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([mp01])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-mptests,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING
+
+AC_SUBST(RTEMS_USE_GCC272)
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+AC_SUBST(CC_CFLAGS_DEFAULT)
+AC_SUBST(CC_CFLAGS_DEBUG_V)
+AC_SUBST(CC_CFLAGS_PROFILE_V)
+AC_SUBST(CC_LDFLAGS_PROFILE_V)
+
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+mp01/Makefile
+mp01/node1/Makefile
+mp01/node2/Makefile
+mp02/Makefile
+mp02/node1/Makefile
+mp02/node2/Makefile
+mp03/Makefile
+mp03/node1/Makefile
+mp03/node2/Makefile
+mp04/Makefile
+mp04/node1/Makefile
+mp04/node2/Makefile
+mp05/Makefile
+mp05/node1/Makefile
+mp05/node2/Makefile
+mp06/Makefile
+mp06/node1/Makefile
+mp06/node2/Makefile
+mp07/Makefile
+mp07/node1/Makefile
+mp07/node2/Makefile
+mp08/Makefile
+mp08/node1/Makefile
+mp08/node2/Makefile
+mp09/Makefile
+mp09/node1/Makefile
+mp09/node2/Makefile
+mp10/Makefile
+mp10/node1/Makefile
+mp10/node2/Makefile
+mp11/Makefile
+mp11/node1/Makefile
+mp11/node2/Makefile
+mp12/Makefile
+mp12/node1/Makefile
+mp12/node2/Makefile
+mp13/Makefile
+mp13/node1/Makefile
+mp13/node2/Makefile
+mp14/Makefile
+mp14/node1/Makefile
+mp14/node2/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/psxtests/configure.ac b/c/src/tests/psxtests/configure.ac
new file mode 100644
index 0000000000..7c15f879da
--- /dev/null
+++ b/c/src/tests/psxtests/configure.ac
@@ -0,0 +1,67 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([psx01])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-psxtests,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+AC_SUBST(RTEMS_USE_GCC272)
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+AC_SUBST(CC_CFLAGS_DEFAULT)
+AC_SUBST(CC_CFLAGS_DEBUG_V)
+AC_SUBST(CC_CFLAGS_PROFILE_V)
+AC_SUBST(CC_LDFLAGS_PROFILE_V)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+psx01/Makefile
+psx02/Makefile
+psx03/Makefile
+psx04/Makefile
+psx05/Makefile
+psx06/Makefile
+psx07/Makefile
+psx08/Makefile
+psx09/Makefile
+psx10/Makefile
+psx11/Makefile
+psx12/Makefile
+psx13/Makefile
+psxcancel/Makefile
+psxchroot01/Makefile
+psxfile01/Makefile
+psxhdrs/Makefile
+psxmount/Makefile
+psxmsgq01/Makefile
+psxreaddir/Makefile
+psxsem01/Makefile
+psxstat/Makefile
+psxtime/Makefile
+psxtimer/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/samples/configure.ac b/c/src/tests/samples/configure.ac
new file mode 100644
index 0000000000..42dbf2fe83
--- /dev/null
+++ b/c/src/tests/samples/configure.ac
@@ -0,0 +1,55 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([hello])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-samples,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_CXX
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
+ RTEMS_PROG_CXX_FOR_TARGET
+fi
+
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+RTEMS_CHECK_CXX(RTEMS_BSP)
+
+AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes")
+AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+base_sp/Makefile
+hello/Makefile
+minimum/Makefile
+paranoia/Makefile
+ticker/Makefile
+unlimited/Makefile
+base_mp/Makefile
+base_mp/node1/Makefile
+base_mp/node2/Makefile
+cdtest/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/sptests/configure.ac b/c/src/tests/sptests/configure.ac
new file mode 100644
index 0000000000..0ccb0075e3
--- /dev/null
+++ b/c/src/tests/sptests/configure.ac
@@ -0,0 +1,73 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([sp01])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-sptests,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_RTEMS_TEST_NO_PAUSE
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+AC_SUBST(RTEMS_USE_GCC272)
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+AC_SUBST(CC_CFLAGS_DEFAULT)
+AC_SUBST(CC_CFLAGS_DEBUG_V)
+AC_SUBST(CC_CFLAGS_PROFILE_V)
+AC_SUBST(CC_LDFLAGS_PROFILE_V)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+sp01/Makefile
+sp02/Makefile
+sp03/Makefile
+sp04/Makefile
+sp05/Makefile
+sp06/Makefile
+sp07/Makefile
+sp08/Makefile
+sp09/Makefile
+sp11/Makefile
+sp12/Makefile
+sp13/Makefile
+sp14/Makefile
+sp15/Makefile
+sp16/Makefile
+sp17/Makefile
+sp19/Makefile
+sp20/Makefile
+sp21/Makefile
+sp22/Makefile
+sp23/Makefile
+sp24/Makefile
+sp25/Makefile
+sp26/Makefile
+sp27/Makefile
+sp28/Makefile
+sp29/Makefile
+spsize/Makefile
+])
+AC_OUTPUT
+
+# spfatal/Makefile
diff --git a/c/src/tests/support/configure.ac b/c/src/tests/support/configure.ac
new file mode 100644
index 0000000000..2d75901e05
--- /dev/null
+++ b/c/src/tests/support/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([include])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-support,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
+
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/tmitrontests/configure.ac b/c/src/tests/tmitrontests/configure.ac
new file mode 100644
index 0000000000..b272880ece
--- /dev/null
+++ b/c/src/tests/tmitrontests/configure.ac
@@ -0,0 +1,47 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([tmitronsem01])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-tmitrontests,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+AC_SUBST(RTEMS_USE_GCC272)
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+AC_SUBST(CC_CFLAGS_DEFAULT)
+AC_SUBST(CC_CFLAGS_DEBUG_V)
+AC_SUBST(CC_CFLAGS_PROFILE_V)
+AC_SUBST(CC_LDFLAGS_PROFILE_V)
+
+OPERATION_COUNT=${OPERATION_COUNT-100}
+AC_SUBST(OPERATION_COUNT)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+tmitronsem01/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/tmtests/configure.ac b/c/src/tests/tmtests/configure.ac
new file mode 100644
index 0000000000..02338f95c1
--- /dev/null
+++ b/c/src/tests/tmtests/configure.ac
@@ -0,0 +1,78 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([tm01])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-tmtests,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_RTEMS_TEST_NO_PAUSE
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+AC_SUBST(RTEMS_USE_GCC272)
+AC_SUBST(BARE_CPU_CFLAGS)
+AC_SUBST(BARE_CPU_MODEL)
+AC_SUBST(CC_CFLAGS_DEFAULT)
+AC_SUBST(CC_CFLAGS_DEBUG_V)
+AC_SUBST(CC_CFLAGS_PROFILE_V)
+AC_SUBST(CC_LDFLAGS_PROFILE_V)
+
+OPERATION_COUNT=${OPERATION_COUNT-100}
+AC_SUBST(OPERATION_COUNT)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+include/Makefile
+tmck/Makefile
+tmoverhd/Makefile
+tm01/Makefile
+tm02/Makefile
+tm03/Makefile
+tm04/Makefile
+tm05/Makefile
+tm06/Makefile
+tm07/Makefile
+tm08/Makefile
+tm09/Makefile
+tm10/Makefile
+tm11/Makefile
+tm12/Makefile
+tm13/Makefile
+tm14/Makefile
+tm15/Makefile
+tm16/Makefile
+tm17/Makefile
+tm18/Makefile
+tm19/Makefile
+tm20/Makefile
+tm21/Makefile
+tm22/Makefile
+tm23/Makefile
+tm24/Makefile
+tm25/Makefile
+tm26/Makefile
+tm27/Makefile
+tm28/Makefile
+tm29/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/tests/tools/configure.ac b/c/src/tests/tools/configure.ac
new file mode 100644
index 0000000000..bb54219019
--- /dev/null
+++ b/c/src/tests/tools/configure.ac
@@ -0,0 +1,28 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([generic])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-tools,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_TOOLPATHS
+AC_SUBST(program_prefix)
+
+RTEMS_CONFIG_BUILD_SUBDIRS(generic)
+if test -d $srcdir/$RTEMS_CPU; then
+AC_CONFIG_SUBDIRS($RTEMS_CPU)
+fi
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+
+RTEMS_OUTPUT_BUILD_SUBDIRS(RTEMS_BUILD_SUBDIRS)
diff --git a/c/src/tests/tools/generic/configure.ac b/c/src/tests/tools/generic/configure.ac
new file mode 100644
index 0000000000..f025907945
--- /dev/null
+++ b/c/src/tests/tools/generic/configure.ac
@@ -0,0 +1,26 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([sorttimes.in])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-tests-tools-generic,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+# Override the set of BSPs to be built.
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_PROJECT_ROOT
+
+RTEMS_PATH_KSH
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+difftest
+sorttimes])
+AC_OUTPUT
diff --git a/c/src/wrapup/configure.ac b/c/src/wrapup/configure.ac
new file mode 100644
index 0000000000..8f4c1b2c43
--- /dev/null
+++ b/c/src/wrapup/configure.ac
@@ -0,0 +1,42 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([../exec])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_RDBG
+
+RTEMS_CANONICAL_TARGET_CPU
+RTEMS_CANONICAL_HOST
+
+AM_INIT_AUTOMAKE(rtems-c-src-wrapup,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_MULTILIB
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_CPU
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+if test "$HAS_NETWORKING" = "yes"; then
+ if test "$RTEMS_HAS_RDBG" = "yes"; then
+ RTEMS_CHECK_RDBG(RTEMS_BSP)
+ fi
+fi
+
+AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
+AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
+
+RTEMS_PROJECT_ROOT
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+])
+AC_OUTPUT