* configure.in: Call AC_CONFIG_HEADER. Don't try to use
[deliverable/binutils-gdb.git] / sim / h8300 / configure.in
index 8d7b0aa1fd69688a17a1d6eced487a96272577af..aea2a8dcbcceec003cfab656a28c7aa0eb145b3b 100644 (file)
@@ -1,31 +1,23 @@
-# This file is a shell script 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 with autoconf to produce a configure script.
+AC_PREREQ(2.3)dnl
+AC_INIT(Makefile.in)
 
-srctrigger=writecode.c
-srcname="sim"
+AC_CONFIG_HEADER(config.h:config.in)
 
-# per-host:
+AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
+AC_CANONICAL_SYSTEM
+AC_ARG_PROGRAM
 
-. ${srcdir}/../bfd/configure.host
+. ${srcdir}/../../bfd/configure.host
 
-# Set up to make a link between the host's include file and "sysdep.h".
-files="../bfd/hosts/${my_host}.h"
+AC_PROG_CC
+AC_SUBST(CFLAGS)
+AC_SUBST(HDEFINES)
+AR=${AR-ar}
+AC_SUBST(AR)
+AC_PROG_RANLIB
 
-links="sysdep.h"
+AC_CHECK_HEADERS(stdlib.h time.h)
 
-if [ ! -f ${srcdir}/${files} ] ; then
-       if [ -n "${my_host}" ] ; then
-               echo '***' No file ${srcdir}/${files} 1>&2
-       fi
-       echo '***' ${srcname} does not support host ${host} 1>&2
-       exit 1
-fi
-
-host_makefile_frag=
-if [ -f ${srcdir}/../bfd/config/${my_host}.mh ] ; then
-       host_makefile_frag=../bfd/config/${my_host}.mh
-fi
-
-# per-target:
+AC_OUTPUT(Makefile,
+[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
This page took 0.022939 seconds and 4 git commands to generate.