]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/rdi-share/configure.in
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / gdb / rdi-share / configure.in
index cd4a715185994682cdd95b024e3634f39d8c4bcc..bbda5ccbad0ca2d4e801df49aef454167dd07229 100644 (file)
@@ -1,44 +1,36 @@
-srcname="RDI library"
-srctrigger=ardi.c
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.12.1)
+AC_INIT(adp.h)
 
-# per-host:
+AM_INIT_AUTOMAKE(rdi-share, 1.0)
 
-. ${srcdir}/../configure.host
+PACKAGE=rdi-share
+VERSION=1.0
 
-echo "rdi-share/configure.in: host is $host, target is $target"
+dnl Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+AC_PROG_RANLIB
 
-if [ ! -f ${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh ]; then
-       echo '***' "GDB remote does not support host ${host}" 1>&2
-       exit 1
-fi
+dnl Checks for libraries.
 
-#  We really shouldn't depend on there being a space after XM_FILE= ...
-hostfile=`awk '$1 == "XM_FILE=" { print $2 }' <${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh`
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h sys/filio.h)
 
-# per-target:
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_TYPE_SIZE_T
+AC_HEADER_TIME
 
-. ${srcdir}/../configure.tgt
+dnl Checks for library functions.
+AC_PROG_GCC_TRADITIONAL
+AC_TYPE_SIGNAL
+AC_FUNC_VPRINTF
+AC_CHECK_FUNCS(gettimeofday select socket strtod strtoul memcpy memmove)
 
-echo "rdi-share/configure.in: host_cpu is $host_cpu, target_cpu is $target_cpu"
+AM_MAINTAINER_MODE
+AM_EXEEXT
 
-if [ ! -f ${srcdir}/../config/${gdb_target_cpu}/${gdb_target}.mt ]; then
-       echo '***' "GDB remote does not support target ${target}" 1>&2
-       exit 1
-fi
-
-if [ -z "${removing}" ] ; then
-       cat ${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh ${srcdir}/../config/${gdb_target_cpu}/${gdb_target}.mt | awk '$1 == "#msg" {
-               print substr($0,6)}'
-fi
-
-#  We really shouldn't depend on there being a space after TM_FILE= ...
-targetfile=`awk '$1 == "TM_FILE=" { print $2 }' <${srcdir}/../config/${gdb_target_cpu}/${gdb_target}.mt`
-
-if [ "${target}" = "${host}" ] ; then
-       nativefile=`awk '$1 == "NAT_FILE=" { print $2 }' <${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh`
-fi
-
-host_makefile_frag=../config/${gdb_host_cpu}/${gdb_host}.mh
-target_makefile_frag=../config/${gdb_target_cpu}/${gdb_target}.mt
-
-# post-target:
+AC_OUTPUT(Makefile)