echo "$ac_t""$ac_cv_c_cross" 1>&6
# Put a plausible default for CC_FOR_BUILD in Makefile.
-if test "x$cross_compiling" = "xno"; then
- CC_FOR_BUILD='$(CC)'
-else
- CC_FOR_BUILD=gcc
+if test -z "$CC_FOR_BUILD"; then
+ if test "x$cross_compiling" = "xno"; then
+ CC_FOR_BUILD='$(CC)'
+ else
+ CC_FOR_BUILD=gcc
+ fi
fi
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 714 "configure"
+#line 716 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 728 "configure"
+#line 730 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 761 "configure"
+#line 763 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 794 "configure"
+#line 796 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 836 "configure"
+#line 838 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 886 "configure"
+#line 888 "configure"
#include "confdefs.h"
#include <time.h>
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 918 "configure"
+#line 920 "configure"
#include "confdefs.h"
#include <sys/types.h>
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 952 "configure"
+#line 954 "configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_TIME_H
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 988 "configure"
+#line 990 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() { return 0; }
# target-specific stuff:
# Canonicalize the secondary target names.
-target_makefile_fragment=/dev/null
if test -n "$enable_targets"; then
for targ in `echo $enable_targets | sed 's/,/ /g'`
do
canon_targets="$canon_targets $targ"
fi
done
-else
- # If our target is rs6000 _and nothing else_ then we build only nm!
- case $target in
- rs6000-*-lynx*) target_makefile_fragment=${srcdir}/config/rslynx ;;
- esac
fi
-
all_targets=false
BUILD_NLMCONV=
NLMCONV_DEFS=
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g
s%@CPP@%$CPP%g
-/@target_makefile_fragment@/r $target_makefile_fragment
-s%@target_makefile_fragment@%%g
s%@NLMCONV_DEFS@%$NLMCONV_DEFS%g
s%@BUILD_NLMCONV@%$BUILD_NLMCONV%g
s%@BUILD_SRCONV@%$BUILD_SRCONV%g
BFD_CC_FOR_BUILD
AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h)
+AC_HEADER_SYS_WAIT
AC_CHECK_FUNCS(sbrk utimes)
AC_MSG_CHECKING(for time_t in time.h)
# target-specific stuff:
# Canonicalize the secondary target names.
-target_makefile_fragment=/dev/null
if test -n "$enable_targets"; then
for targ in `echo $enable_targets | sed 's/,/ /g'`
do
canon_targets="$canon_targets $targ"
fi
done
-else
- # If our target is rs6000 _and nothing else_ then we build only nm!
- case $target in
- rs6000-*-lynx*) target_makefile_fragment=${srcdir}/config/rslynx ;;
- esac
fi
-AC_SUBST_FILE(target_makefile_fragment)
all_targets=false
BUILD_NLMCONV=