about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 6f18093461..b2727d54f2 100644
--- a/configure.in
+++ b/configure.in
@@ -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)