summaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-07 09:34:50 +0000
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-07 09:34:50 +0000
commit83711adbaf4cd6ff172b88cec393a9c5ae2df79a (patch)
tree16df7d397e543234b4a01eb8a23bfbfa623ea2c9 /libiberty/configure.ac
parent8abda35579cb5fd46103161331c15ce434560e00 (diff)
downloadgcc-83711adbaf4cd6ff172b88cec393a9c5ae2df79a.tar.gz
Turn PR_SET_NAME check into link check
Fixes cross compilation for libiberty after my change libiberty/ 2010-10-07 Andi Kleen <ak@linux.intel.com> * configure: Regenerate. * configure.ac: Turn PR_SET_NAME check into link check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165086 138bc75d-0d04-0410-961f-82ee72b054a4
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()
{