* Makefile.in: Delete stuff moved to ../common/Make-common.in.
(SIM_OBJS,SIM_EXTRA_LIBS): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. Call AC_CHECK_HEADERS(unistd.h). * configure: Regenerated. * config.in: New file. * interp.c: #include "config.h". #include <unistd.h> if present. (trap): Fetch errno value with callback->get_errno.
This commit is contained in:
parent
34452aa40a
commit
614984da76
@ -27,6 +27,7 @@ Things-to-keep:
|
||||
|
||||
ChangeLog
|
||||
Makefile.in
|
||||
config.in
|
||||
configure
|
||||
configure.in
|
||||
interp.c
|
||||
|
@ -2,27 +2,8 @@ dnl Process this file with autoconf to produce a configure script.
|
||||
AC_PREREQ(2.5)dnl
|
||||
AC_INIT(Makefile.in)
|
||||
|
||||
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_ARG_PROGRAM
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
SIM_AC_COMMON
|
||||
|
||||
. ${srcdir}/../../bfd/configure.host
|
||||
AC_CHECK_HEADERS(unistd.h)
|
||||
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(HDEFINES)
|
||||
AR=${AR-ar}
|
||||
AC_SUBST(AR)
|
||||
AC_PROG_RANLIB
|
||||
|
||||
# Put a plausible default for CC_FOR_BUILD in Makefile.
|
||||
AC_C_CROSS
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
CC_FOR_BUILD='$(CC)'
|
||||
else
|
||||
CC_FOR_BUILD=gcc
|
||||
fi
|
||||
AC_SUBST(CC_FOR_BUILD)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
SIM_AC_OUTPUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user