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