From dc62bfc2fcfef98a6bdae97a354f38c825ed4766 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 4 Jan 2003 15:37:40 +0000 Subject: * configure.in: Call AC_CONFIG_HEADER. Don't call AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java, gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call AC_CHECK_HEADERS on pthread.h. Put Makefiles in the aforementioned directories in the AC_OUPUT call. * config.hin: New file. * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp, gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp, gdb.threads/killed.exp, gdb.threads/print-threads.exp, gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we pass -I$objdir instead of -I$objdir/$subdir in compilation. * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in, gdb.asm/configure, gdb.base/configure.in, gdb.base/configure, gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in, gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure, gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in, gdb.threads/configure.in, gdb.threads/configure, gdb.threads/config.in, gdb.trace/configure.in, gdb.trace/configure: Removed. --- gdb/testsuite/configure.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'gdb/testsuite/configure.in') diff --git a/gdb/testsuite/configure.in b/gdb/testsuite/configure.in index 7f9932a..70bbee2 100644 --- a/gdb/testsuite/configure.in +++ b/gdb/testsuite/configure.in @@ -21,14 +21,13 @@ AC_PREREQ(2.13) AC_INIT(gdb.base) +AC_CONFIG_HEADER(config.h:config.hin) AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET -# Directories to use in all configurations. -AC_CONFIG_SUBDIRS(gdb.arch gdb.asm gdb.base gdb.c++ gdb.java gdb.disasm) -AC_CONFIG_SUBDIRS(gdb.mi gdb.threads gdb.trace) +# Directories that need to be configured in all configurations. configdirs= # Add HP-specific tests when appropriate. @@ -109,7 +108,11 @@ else fi AC_SUBST(RPATH_ENVVAR) +AC_CHECK_HEADERS(pthread.h) + AC_EXEEXT AC_CONFIG_SUBDIRS($configdirs) -AC_OUTPUT(Makefile) +AC_OUTPUT([Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile \ + gdb.c++/Makefile gdb.disasm/Makefile gdb.java/Makefile gdb.mi/Makefile \ + gdb.threads/Makefile gdb.trace/Makefile]) -- cgit v1.1