summaryrefslogtreecommitdiff
path: root/packages/ltrace/files
diff options
context:
space:
mode:
authorHolger Schurig <schurig@mn-solutions.de>2007-03-19 08:23:58 +0000
committerHolger Schurig <schurig@mn-solutions.de>2007-03-19 08:23:58 +0000
commit45eb07f3390cb62f65b46868c474fe593aba9ffe (patch)
tree9fe91b3cc7b3ff70f58e057e7f251986cb99191d /packages/ltrace/files
parent8d17ea8879d198758dc774c34c9c2ee4867e7956 (diff)
ltrace: fix configure.ac to not search in /usr/include for header files
Diffstat (limited to 'packages/ltrace/files')
-rw-r--r--packages/ltrace/files/.mtn2git_empty0
-rw-r--r--packages/ltrace/files/no-usr-include.patch16
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/ltrace/files/.mtn2git_empty b/packages/ltrace/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ltrace/files/.mtn2git_empty
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)