summaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index 8b7be1835f4..73ea6c96fcc 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -536,7 +536,7 @@ AC_SUBST(CHECK)
AC_SUBST(target_header_dir)
# check for prctl PR_SET_NAME
-AC_RUN_IFELSE([AC_LANG_SOURCE([[
+AC_LINK_IFELSE([AC_LANG_SOURCE([[
#include <sys/prctl.h>
int main()
{