1 dnl Process this file with autoconf to produce a configure script.
5 AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
12 . ${srcdir}/../../bfd/configure.host
14 AC_ARG_ENABLE(sim-cflags,
15 [ --enable-sim-cflags=opts Extra CFLAGS for use in building simulator],
16 [case "${enableval}" in
17 yes) sim_cflags="-O2";;
18 trace) sim_cflags="-O2 -DDEBUG=3";;
20 *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;;
22 if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then
23 echo "Setting sim cflags = $sim_cflags" 6>&1
24 fi],[sim_cflags=""])dnl
33 # Put a plausible default for CC_FOR_BUILD in Makefile.
35 if test "x$cross_compiling" = "xno"; then
40 AC_SUBST(CC_FOR_BUILD)