FLOAT_CFLAGS = @sim_float@
MONITOR_CFLAGS = @sim_monitor@
MODEL_CFLAGS = @sim_model@ @sim_default_model@ @sim_model_issue@
-TERMIO_CFLAGS = @sim_termio@
SWITCH_CFLAGS = @sim_switch@
CONFIG_CFLAGS = \
$(SMP_CFLAGS) \
$(FLOAT_CFLAGS) \
$(MONITOR_CFLAGS) \
$(MODEL_CFLAGS) \
- $(TERMIO_CFLAGS) \
$(SWITCH_CFLAGS)
SIM_FPU_CFLAGS = -DHAVE_COMMON_FPU -I../common -I${srcdir}/../common
/* config.in. Generated from configure.ac by autoheader. */
+/* Define if struct termios has c_line. */
+#undef HAVE_TERMIOS_CLINE
+
+/* Define if struct termios exists. */
+#undef HAVE_TERMIOS_STRUCTURE
+
+/* Define if struct termio has c_line. */
+#undef HAVE_TERMIO_CLINE
+
+/* Define if struct termio exists. */
+#undef HAVE_TERMIO_STRUCTURE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
ac_unique_file="Makefile.in"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-sim_termio
sim_model_issue
sim_default_model
sim_model
-sim_termio=""
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct termios" >&5
$as_echo_n "checking for struct termios... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_struct" >&5
$as_echo "$ac_cv_termios_struct" >&6; }
if test $ac_cv_termios_struct = yes; then
- sim_termio="$sim_termio -DHAVE_TERMIOS_STRUCTURE"
+
+$as_echo "#define HAVE_TERMIOS_STRUCTURE 1" >>confdefs.h
+
fi
if test "$ac_cv_termios_struct" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termios_cline" >&5
$as_echo "$ac_cv_termios_cline" >&6; }
if test $ac_cv_termios_cline = yes; then
- sim_termio="$sim_termio -DHAVE_TERMIOS_CLINE"
+
+$as_echo "#define HAVE_TERMIOS_CLINE 1" >>confdefs.h
+
fi
else
ac_cv_termios_cline=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_struct" >&5
$as_echo "$ac_cv_termio_struct" >&6; }
if test $ac_cv_termio_struct = yes; then
- sim_termio="$sim_termio -DHAVE_TERMIO_STRUCTURE"
+
+$as_echo "#define HAVE_TERMIO_STRUCTURE 1" >>confdefs.h
+
fi
else
ac_cv_termio_struct=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_termio_cline" >&5
$as_echo "$ac_cv_termio_cline" >&6; }
if test $ac_cv_termio_cline = yes; then
- sim_termio="$sim_termio -DHAVE_TERMIO_CLINE"
+
+$as_echo "#define HAVE_TERMIO_CLINE 1" >>confdefs.h
+
fi
else
ac_cv_termio_cline=no
-
ac_config_files="$ac_config_files Makefile"
dnl Figure out what type of termio/termios support there is
-sim_termio=""
AC_MSG_CHECKING(for struct termios)
AC_CACHE_VAL(ac_cv_termios_struct,
[AC_TRY_COMPILE([#include <sys/types.h>
ac_cv_termios_struct=yes, ac_cv_termios_struct=no)])
AC_MSG_RESULT($ac_cv_termios_struct)
if test $ac_cv_termios_struct = yes; then
- sim_termio="$sim_termio -DHAVE_TERMIOS_STRUCTURE"
+ AC_DEFINE([HAVE_TERMIOS_STRUCTURE], 1, [Define if struct termios exists.])
fi
if test "$ac_cv_termios_struct" = "yes"; then
AC_MSG_RESULT($ac_cv_termios_cline)
if test $ac_cv_termios_cline = yes; then
- sim_termio="$sim_termio -DHAVE_TERMIOS_CLINE"
+ AC_DEFINE([HAVE_TERMIOS_CLINE], 1, [Define if struct termios has c_line.])
fi
else
ac_cv_termios_cline=no
ac_cv_termio_struct=yes, ac_cv_termio_struct=no)])
AC_MSG_RESULT($ac_cv_termio_struct)
if test $ac_cv_termio_struct = yes; then
- sim_termio="$sim_termio -DHAVE_TERMIO_STRUCTURE"
+ AC_DEFINE([HAVE_TERMIO_STRUCTURE], 1, [Define if struct termio exists.])
fi
else
ac_cv_termio_struct=no
AC_MSG_RESULT($ac_cv_termio_cline)
if test $ac_cv_termio_cline = yes; then
- sim_termio="$sim_termio -DHAVE_TERMIO_CLINE"
+ AC_DEFINE([HAVE_TERMIO_CLINE], 1, [Define if struct termio has c_line.])
fi
else
ac_cv_termio_cline=no
AC_SUBST(sim_model)
AC_SUBST(sim_default_model)
AC_SUBST(sim_model_issue)
-AC_SUBST(sim_termio)
AC_OUTPUT(Makefile,
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])