From e215c4786cff3ecc7961a60f5f79bed50f0fe8c1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Apr 1995 03:52:54 +0000 Subject: * Makefile (distribute): Add ChangeLog.[0-9]. * configure.in: Add check for .set directive. * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE. * Makerules [! subdir] (O%-lib): Don't prepend ../. * sysdeps/generic/expm1.c: #undef expm1 before weak_alias. See ChangeLog.4 for earlier changes. --- configure.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index eb5a933f6c..fd9aca4142 100644 --- a/configure.in +++ b/configure.in @@ -339,6 +339,25 @@ if test $libc_cv_need_minus_P = yes; then asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives." fi +AC_MSG_CHECKING(for .set assembler directive) +AC_CACHE_VAL(libc_cv_asm_set_directive, [dnl +cat > conftest.s <<\EOF +.text +foo: .long 0 +.set bar,foo +EOF +if ${CC-cc} $CFLAGS -c conftest.s 2>/dev/null; then + libc_cv_asm_set_directive=yes +else + libc_cv_asm_set_directive=no +fi +rm -f contest*]) +AC_MSG_RESULT($libc_cv_asm_set_directive) +if test $libc_cv_asm_set_directive = yes; then + AC_DEFINE(HAVE_ASM_SET_DIRECTIVE) +fi + + # sysdeps configure fragments may set these with files to be linked below. libc_link_dests= libc_link_sources= -- cgit 1.4.1