diff options
author | jbj <devnull@localhost> | 2002-11-30 21:42:24 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-11-30 21:42:24 +0000 |
commit | bd00220d417766369bb3e14193bbe7c2876a53e4 (patch) | |
tree | 7e4c1a81c8caf9b76d1867c96d513e3ab8ae409d /configure.ac | |
parent | 0046c56cf8dc3503bc6f93d7bfde34cb8a9ac5c2 (diff) | |
download | librpm-tizen-bd00220d417766369bb3e14193bbe7c2876a53e4.tar.gz librpm-tizen-bd00220d417766369bb3e14193bbe7c2876a53e4.tar.bz2 librpm-tizen-bd00220d417766369bb3e14193bbe7c2876a53e4.zip |
Splint fiddles.
CVS patchset: 5907
CVS date: 2002/11/30 21:42:24
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6dd2ee34d..f1ec32dbf 100644 --- a/configure.ac +++ b/configure.ac @@ -368,7 +368,9 @@ WITH_LIBELF_INCLUDE= WITH_LIBELF_LIB= AC_CHECK_HEADER([libelf.h]) AC_CHECK_HEADER([gelf.h], [ + AC_DEFINE(HAVE_GELF_H, 1, [Define to 1 if you have the <gelf.h> header file.]) AC_CHECK_LIB(elf, gelf_getvernaux, [ + AC_DEFINE(HAVE_LIBELF, 1, [Define to 1 if you have the `elf' library (-lelf).]) WITH_LIBELF_LIB="/usr/lib/libelf.a" ]) ], [ @@ -385,10 +387,11 @@ AC_SUBST(WITH_LIBELF_INCLUDE) AC_SUBST(WITH_LIBELF_LIB) WITH_LIBDWARF_INCLUDE= -AC_CHECK_HEADER([dwarf.h], [], [ +AC_CHECK_HEADER([dwarf.h], [ + AC_DEFINE(HAVE_DWARF_H, 1, [Define to 1 if you have the <dwarf.h> header file.]) + ], [ if test -d elfutils/libdwarf ; then AC_DEFINE(HAVE_DWARF_H, 1, [Define to 1 if you have the <dwarf.h> header file.]) - AC_DEFINE(HAVE_LIBDWARF, 1, [Define to 1 if you have the `dwarf' library (-ldwarf).]) WITH_LIBDWARF_INCLUDE="-I\${top_srcdir}/${WITH_ELFUTILS_SUBDIR}/libdwarf" fi ]) |