From a3b8fe45f54e19f6716899ca2b8cf27d2dd518ec Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 10 Jun 2010 06:26:21 +0000 Subject: [PATCH] Follow-up for r11164: made sure that the --build-id=none configure test works (was reported by Dave Goodell). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11169 --- configure.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 906ff84612..f06c922fcc 100644 --- a/configure.in +++ b/configure.in @@ -1285,9 +1285,8 @@ AC_MSG_CHECKING([if gcc accepts -Wl,--build-id=none]) safe_CFLAGS=$CFLAGS CFLAGS="-Wl,--build-id=none" -AC_TRY_COMPILE( -[ ], -[return 0; ], +AC_LINK_IFELSE( +[AC_LANG_PROGRAM([ ], [return 0;])], [ AC_SUBST([FLAG_NO_BUILD_ID], ["-Wl,--build-id=none"]) AC_MSG_RESULT([yes]) -- 2.47.2