diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-08-09 21:36:23 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-08-09 21:36:23 +0000 |
commit | 96baa820df8126165bd3c4a33c561556b21203af (patch) | |
tree | 60cf1938a2c0aaae5d3aab73b553f031138ec99c /gdb/configure.in | |
parent | 10e80b41455f1a386485631b7c170cafe341dcd6 (diff) | |
download | gdb-96baa820df8126165bd3c4a33c561556b21203af.zip gdb-96baa820df8126165bd3c4a33c561556b21203af.tar.gz gdb-96baa820df8126165bd3c4a33c561556b21203af.tar.bz2 |
import gdb-1999-08-09 snapshot
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 82cd0d0..ba70e75 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -44,6 +44,19 @@ CONFIG_SRCS= configdirs="doc testsuite" +AC_ARG_ENABLE(multi-ice, +[ --enable-multi-ice Build the multi-ice-gdb-server], +[case "${enableval}" in + yes ) enable_multi_ice="yes" ;; + no) enable_multi_ice="no" ;; + *) AC_MSG_ERROR(Bad value for --enable-multi-ice: ${enableval}) ;; + esac +]) + +if test "${enable_multi_ice}" = "yes"; then + configdirs="${configdirs} multi-ice" +fi + dnl changequote(,)dnl @@ -75,7 +88,8 @@ AC_HEADER_STAT AC_C_CONST -AC_CHECK_FUNCS(setpgid sbrk sigaction isascii bzero bcopy btowc poll) +AC_CHECK_FUNCS(setpgid sbrk sigaction isascii bzero bcopy btowc poll \ + socketpair) AC_FUNC_ALLOCA BFD_NEED_DECLARATION(malloc) @@ -604,6 +618,13 @@ s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p fi changequote([,]) +SUBDIRS="doc testsuite nlm" +if test "${enable_multi_ice}" = "yes"; then + SUBDIRS="${SUBDIRS} multi-ice" +fi + +AC_SUBST(SUBDIRS) + # If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile # (NAT_FILE) is not set in config/*/*.m[ht] files, we don't make the # corresponding links. But we have to remove the xm.h files and tm.h |