gnu* | linux* | bsd4.4* | netbsd* | freebsd*)
gnu_ld=yes gnu_as=yes
esac
+case "$host_os" in
+gnu*elf* | linux*elf*)
+ elf=yes
+esac
AC_PROG_INSTALL
if test "$INSTALL" = "${srcdir}/install-sh"; then
asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives."
fi
+# sysdeps configure fragments may set these with files to be linked below.
+libc_link_dests=
+libc_link_sources=
+
# Iterate over all the sysdep directories we will use, running their
# configure fragments, and looking for a uname implementation.
uname=
fi
done
+AC_LINK_FILES($libc_link_sources, $libc_link_dests)
+
# If we will use the generic uname implementation, we must figure out what
# it will say by examining the system, and write the results in config-name.h.
if test "$uname" = generic; then
config_uname=
fi
+AC_SUBST(gnu_ld) AC_SUBST(gnu_as) AC_SUBST(elf) AC_SUBST(weak)
if test $gnu_ld = yes; then
AC_DEFINE(HAVE_GNU_LD)
fi