Version 0.1.6.
[guestfs-browser.git] / configure.ac
index d1853ab..0027253 100644 (file)
@@ -1,5 +1,5 @@
 dnl Guestfs Browser.
-dnl Copyright (C) 2010 Red Hat Inc.
+dnl Copyright (C) 2010-2011 Red Hat Inc.
 dnl
 dnl This program is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@ dnl You should have received a copy of the GNU General Public License along
 dnl with this program; if not, write to the Free Software Foundation, Inc.,
 dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-AC_INIT([guestfs-browser],[0.1.2])
+AC_INIT([guestfs-browser],[0.1.6])
 AM_INIT_AUTOMAKE([foreign])
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -70,7 +70,12 @@ fi
 
 AC_CHECK_OCAML_PKG([camomile])
 if test "$OCAML_PKG_camomile" = "no"; then
-    AC_MSG_ERROR([Please install OCaml module 'camomile'.])
+    AC_MSG_ERROR([Please install OCaml module 'camomile' (>= 0.8, including the data module if that is separate).])
+fi
+
+AC_CHECK_OCAML_PKG([bitstring])
+if test "$OCAML_PKG_bitstring" = "no"; then
+    AC_MSG_ERROR([Please install OCaml module 'bitstring'.])
 fi
 
 AC_CHECK_OCAML_PKG([extlib])
@@ -82,9 +87,15 @@ dnl Check for gdk_pixbuf_mlsource program.
 AC_PATH_PROGS([GDK_PIXBUF_MLSOURCE], [gdk_pixbuf_mlsource])
 
 dnl Optional programs.
+
+dnl XXX Other desktop environments?
+AC_CHECK_PROGS([OPENER], [gnome-open], [no])
+
+AC_CHECK_PROG([HIVEXREGEDIT], [hivexregedit], [hivexregedit], [no])
+
 AC_CHECK_PROG(PERLDOC,[perldoc],[perldoc],[no])
 if test "x$PERLDOC" = "xno" ; then
-  AC_MSG_WARN([perldoc not found - install perl to make man pages])
+    AC_MSG_WARN([perldoc not found - install perl to make man pages])
 fi
 AM_CONDITIONAL(HAVE_PERLDOC,[test "$perldoc" != "no"])