build: Workaround broken libtool.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 12 May 2011 11:03:15 +0000 (12:03 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 12 May 2011 11:04:37 +0000 (12:04 +0100)
Same as this error:
https://www.redhat.com/archives/libguestfs/2011-April/msg00042.html
https://www.redhat.com/archives/libguestfs/2011-May/msg00041.html

We don't know why latest libtool is so obviously broken, but this
works around the problem.

Makefile.am

index a4f8da4..b86caca 100644 (file)
@@ -17,6 +17,9 @@
 
 ACLOCAL_AMFLAGS = -I m4
 
+# Work around broken libtool.
+export to_tool_file_cmd=func_convert_file_noop
+
 SUBDIRS = gnulib/lib generator lib images gnulib/tests sh xml po
 
 if HAVE_OCAML