[memprof: 33/76] configure.in: Search for bfd.h provided by binutils development package



commit 45c7f658821a409cd8bfbb82fc1bc16f046898b4
Author: Tomasz Mon <desowin gmail com>
Date:   Sat Apr 5 16:53:23 2008 +0200

    configure.in: Search for bfd.h provided by binutils development package
    
    Slightly tweaked over the version in memprof-revised.

 configure.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index 76eade0..2991272 100644
--- a/configure.in
+++ b/configure.in
@@ -53,6 +53,9 @@ PKG_CHECK_MODULES(MEMPROF,
 
 AC_SUBST(MEMPROF_CFLAGS)
 
+AC_CHECK_HEADER([bfd.h],[],
+                [AC_MSG_ERROR([Cannot continue: bfd.h not found. Do you have binutils-dev installed?])])
+
 if ! uname | grep Linux > /dev/null ; then
   AC_MSG_ERROR([*** MemProf only works on linux])
 fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]