changeset 27:e52df4e1bc2b

Bug 1855: Build failed on Gentoo reviewed-by: ykubota
author Yasumasa Suenaga <yasuenag@gmail.com>
date Mon, 07 Jul 2014 20:21:58 +0900
parents 8008ab68f482
children 6122238e5855
files agent/ChangeLog agent/configure agent/configure.ac
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/agent/ChangeLog	Sun Jun 22 19:46:01 2014 +0900
+++ b/agent/ChangeLog	Mon Jul 07 20:21:58 2014 +0900
@@ -1,3 +1,7 @@
+2014-07-07  Yasumasa Suenaga  <yasuenag@gmail.com>
+
+	* Bug 1855: Build failed on Gentoo
+
 2014-06-22  KUBOTA Yuji  <kubota.yuji@lab.ntt.co.jp>
 
 	* Bug 1852: HeapStats 1.1 agent can't output WARM messages correctly when _GNU_SOURCE is enabled.
--- a/agent/configure	Sun Jun 22 19:46:01 2014 +0900
+++ b/agent/configure	Mon Jul 07 20:21:58 2014 +0900
@@ -18797,7 +18797,7 @@
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BFD library" >&5
 $as_echo_n "checking for BFD library... " >&6; }
-if test "$BFD_PATH" != "" && test ! -f $BFD_PATH ; then
+if test "$BFD_PATH" = "" || test ! -f $BFD_PATH ; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
   as_fn_error $? "BFD library was not found." "$LINENO" 5
--- a/agent/configure.ac	Sun Jun 22 19:46:01 2014 +0900
+++ b/agent/configure.ac	Mon Jul 07 20:21:58 2014 +0900
@@ -502,7 +502,7 @@
 fi
 
 AC_MSG_CHECKING([for BFD library])
-if test "$BFD_PATH" != "" && test ! -f $BFD_PATH ; then
+if test "$BFD_PATH" = "" || test ! -f $BFD_PATH ; then
   AC_MSG_RESULT([no])
   AC_MSG_ERROR([BFD library was not found.])
 fi