git.annexia.org
/
hivex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
168c413
)
Fix conditional test for HAVE_HIVEXSH.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 24 Oct 2011 17:15:48 +0000
(18:15 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 24 Oct 2011 17:15:48 +0000
(18:15 +0100)
This fixes commit
0a28041f4156878a74543966f9a72ed3d214ba44
.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
617ec50
..
547bf0a
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-137,7
+137,7
@@
dnl Check for mmap
AC_REPLACE_FUNCS([mmap])
dnl Functions.
AC_REPLACE_FUNCS([mmap])
dnl Functions.
-AC_CHECK_FUNCS([bindtextdomain
open_memstream
])
+AC_CHECK_FUNCS([bindtextdomain])
dnl Check for pod2man and pod2text.
AC_CHECK_PROG([POD2MAN],[pod2man],[pod2man],[no])
dnl Check for pod2man and pod2text.
AC_CHECK_PROG([POD2MAN],[pod2man],[pod2man],[no])
@@
-177,7
+177,8
@@
AC_SUBST([LIBXML2_CFLAGS])
AC_SUBST([LIBXML2_LIBS])
dnl hivexsh depends on open_memstream, which is absent on OS X.
AC_SUBST([LIBXML2_LIBS])
dnl hivexsh depends on open_memstream, which is absent on OS X.
-AM_CONDITIONAL([HAVE_HIVEXSH],[test "x$HAVE_OPEN_MEMSTREAM" = "xyes"])
+AC_CHECK_FUNC([open_memstream])
+AM_CONDITIONAL([HAVE_HIVEXSH],[test "x$ac_cv_func_open_memstream" = "xyes"])
dnl Check for OCaml (optional, for OCaml bindings).
AC_PROG_OCAML
dnl Check for OCaml (optional, for OCaml bindings).
AC_PROG_OCAML