[sysprof/sysprof-1.0] Fixes to build on newer distros
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/sysprof-1.0] Fixes to build on newer distros
- Date: Fri, 20 Aug 2010 20:05:38 +0000 (UTC)
commit 8237d8c4ca38f91b257212cdcbbefdace8745bda
Author: Jeffrey Stedfast <fejj gnome org>
Date: Fri Aug 20 15:57:41 2010 -0400
Fixes to build on newer distros
autogen.sh | 6 +++---
configure.ac | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 813102c..8db31f2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,9 +20,9 @@ DIE=0
DIE=1
}
-if automake-1.7 --version < /dev/null > /dev/null 2>&1 ; then
- AUTOMAKE=automake-1.7
- ACLOCAL=aclocal-1.7
+if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
+ AUTOMAKE=automake-1.11
+ ACLOCAL=aclocal-1.11
else
echo
echo "You must have automake 1.7.x installed to compile $PROJECT."
diff --git a/configure.ac b/configure.ac
index 9f35b07..5e93442 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,9 +90,9 @@ AC_CHECK_LIB(iberty, cplus_demangle,:,
AC_CHECK_LIB(iberty, cplus_demangle_opname, [],
AC_MSG_ERROR([libiberty is required to compile sysprof]), -ldl))
-AC_CHECK_LIB(bfd, bfd_get_error, [DEP_LIBS="$DEP_LIBS -lbfd -liberty"],
+AC_CHECK_LIB(bfd, bfd_get_error, [DEP_LIBS="$DEP_LIBS -lbfd -liberty -lz"],
AC_MSG_ERROR([libbfd is required to compile sysprof]),
- -liberty)
+ -liberty -lz)
# emit files
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]