Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
authorroland <roland>
Mon, 25 Mar 1996 17:47:52 +0000 (17:47 +0000)
committerroland <roland>
Mon, 25 Mar 1996 17:47:52 +0000 (17:47 +0000)
* configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
AC_TRY_COMPILE.

configure.in

index 6f18093..b2727d5 100644 (file)
@@ -413,9 +413,9 @@ if test $elf = yes; then
   libc_cv_asm_underscores=no
 else
   AC_CACHE_CHECK(for _ prefix on C symbol names, libc_cv_asm_underscores,
-                [AC_TRY_COMPILE([asm ("_glibc_foobar:");], [glibc_foobar ();],
-                                libc_cv_asm_underscores=yes,
-                                libc_cv_asm_underscores=no)])
+                [AC_TRY_LINK([asm ("_glibc_foobar:");], [glibc_foobar ();],
+                             libc_cv_asm_underscores=yes,
+                             libc_cv_asm_underscores=no)])
 fi
 if test $libc_cv_asm_underscores = no; then
   AC_DEFINE(NO_UNDERSCORES)