(AC_CONFIG_FILES): Add intl/Makefile.
authorhanda <handa>
Thu, 21 Sep 2006 10:58:09 +0000 (10:58 +0000)
committerhanda <handa>
Thu, 21 Sep 2006 10:58:09 +0000 (10:58 +0000)
(AC_CONFIG_FILES): Add po/Makefile.in.
Add AM_GNU_GETTEXT.
(GETTEXTDIR): New variable.  AC_SUBST it.

configure.ac

index 8aa6161..2417889 100644 (file)
@@ -31,6 +31,10 @@ AM_MAINTAINER_MODE
 API_VERSION=1:0:1
 AC_SUBST(API_VERSION)
 
+AM_GNU_GETTEXT
+GETTEXTDIR="$datadir/locale"
+AC_SUBST(GETTEXTDIR)
+
 dnl Checks for programs for compiling.
 AC_PROG_CC
 AC_LIBTOOL_DLOPEN
@@ -431,7 +435,7 @@ esac
 AC_DEFINE_UNQUOTED(DLOPEN_SHLIB_EXT, "$SHLIB_EXT",
                   [Define to loadable module extention])
 
-AC_CONFIG_FILES([Makefile
+AC_CONFIG_FILES([Makefile po/Makefile.in intl/Makefile
                  src/Makefile
                  example/Makefile
                 m17n-config