aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/configure.in')
-rw-r--r--gdb/testsuite/gdb.threads/configure.in42
1 files changed, 14 insertions, 28 deletions
diff --git a/gdb/testsuite/gdb.threads/configure.in b/gdb/testsuite/gdb.threads/configure.in
index 07619ad..1afe91a 100644
--- a/gdb/testsuite/gdb.threads/configure.in
+++ b/gdb/testsuite/gdb.threads/configure.in
@@ -1,32 +1,18 @@
-# This file is a shell script fragment that supplies the information
-# necessary to tailor a template configure script into the configure
-# script appropriate for this directory. For more information, check
-# any existing configure script.
+dnl Process this file file with autoconf to produce a configure script.
+dnl This file is a shell script fragment that supplies the information
+dnl necessary to tailor a template configure script into the configure
+dnl script appropriate for this directory. For more information, check
+dnl any existing configure script.
-srctrigger="Makefile.in"
-srcname="gdb.threads"
+AC_PREREQ(2.5)
+AC_INIT(pthreads.exp)
+AC_CONFIG_HEADER(config.h:config.in)
-# per-host:
+CC=${CC-cc}
+AC_SUBST(CC)
+AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
+AC_CANONICAL_SYSTEM
-# per-target:
+AC_CHECK_HEADERS(pthread.h)
- # everything defaults to unix for a target
-target_abbrev=unix
-target_makefile_frag=../config/mt-unix
-
- # this section is for all targets
-case "${target}" in
- hppa*-*-hpux*) target_makefile_frag=../config/mt-hpux ;;
- i[345]86-*-aout) target_makefile_frag=../config/mt-i386-aout ;;
- *-*-lynx*) target_makefile_frag=../config/mt-lynx ;;
- *-*-netware*) target_makefile_frag=../config/mt-netware ;;
- *-*-vxworks*) target_makefile_frag=../config/mt-vxworks ;;
- m68k-*-*) target_makefile_frag=../config/mt-m68k ;;
- i960-*-nindy) target_makefile_frag=../config/mt-i960-nindy ;;
- a29k-*-udi) target_makefile_frag=../config/mt-a29k-udi ;;
- sparclite-*-*) target_makefile_frag=../config/mt-slite ;;
- sparc-*-aout) target_makefile_frag=../config/mt-sparc-aout ;;
- mips-*-ecoff) target_makefile_frag=../config/mt-mips-ecoff ;;
-esac
-
-# post-target:
+AC_OUTPUT(Makefile)