From 45eb07f3390cb62f65b46868c474fe593aba9ffe Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Mon, 19 Mar 2007 08:23:58 +0000 Subject: ltrace: fix configure.ac to not search in /usr/include for header files --- packages/ltrace/files/no-usr-include.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/ltrace/files/no-usr-include.patch (limited to 'packages/ltrace/files/no-usr-include.patch') diff --git a/packages/ltrace/files/no-usr-include.patch b/packages/ltrace/files/no-usr-include.patch new file mode 100644 index 0000000000..adadfa8032 --- /dev/null +++ b/packages/ltrace/files/no-usr-include.patch @@ -0,0 +1,16 @@ +--- ltrace-0.4.orig/configure.ac ++++ ltrace-0.4/configure.ac +@@ -41,13 +41,6 @@ + dnl AC_CHECK_FUNCS(gettimeofday strdup strerror strspn) + AC_CHECK_FUNCS(getopt getopt_long) + +-for path in /usr/include/elfutils /usr/local/include/elfutils \ +- /usr/include/libelf /usr/local/include/libelf; do +- if test -f ${path}/gelf.h; then +- CPPFLAGS="$CPPFLAGS -I ${path}" +- fi +-done +- + AC_CHECK_HEADER(gelf.h,,AC_MSG_ERROR([***** gelf.h not found *****])) + + AC_CHECK_LIB(elf,gelf_getdyn) -- cgit v1.2.3