Gettextize the source, make library strings translatable.
[libguestfs.git] / configure.ac
index a251988..12578aa 100644 (file)
@@ -194,6 +194,10 @@ AS_IF([test "x$with_readline" != xno],
          fi
         ], -lncurses)])
 
+dnl For i18n.
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.17])
+
 dnl Check for OCaml (optional, for OCaml bindings).
 AC_PROG_OCAML
 AC_PROG_FINDLIB
@@ -427,7 +431,8 @@ AC_CONFIG_SUBDIRS([daemon])
 
 dnl Produce output files.
 AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile src/Makefile fish/Makefile examples/Makefile
+AC_CONFIG_FILES([Makefile
+                src/Makefile fish/Makefile po/Makefile.in examples/Makefile
                 images/Makefile
                 ocaml/Makefile ocaml/examples/Makefile
                 perl/Makefile