X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-contrib.git;a=blobdiff_plain;f=configure.ac;h=a321555864dd753619bd3013bf42917c7cadd977;hp=a9f66aa4e290a6d138c46852c6b93fd9d411a89d;hb=e33e2435e071cecad038f0e5be9955ef20de9ce2;hpb=9135105177a7fc1e253b56dae89f5092d8413e0c diff --git a/configure.ac b/configure.ac index a9f66aa..a321555 100644 --- a/configure.ac +++ b/configure.ac @@ -18,13 +18,14 @@ dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl Lesser General Public License for more details. dnl -dnl You should have received a copy of the GNU General Public License -dnl along with GNU Emacs; see the file COPYING. If not, write to the -dnl Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -dnl Boston, MA 02110-1301, USA. +dnl You should have received a copy of the GNU Lesser General Public +dnl License along with the m17n library; if not, write to the Free +dnl Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +dnl Boston, MA 02110-1301, USA. -AC_INIT(m17n-contrib, 1.0.0, bugs-m17n-lib@m17n.org) +AC_INIT(m17n-contrib, 1.1.2, bugs-m17n-lib@m17n.org) AM_INIT_AUTOMAKE +AM_GNU_GETTEXT([external]) # Checks for programs. AC_PROG_AWK @@ -35,13 +36,17 @@ if test "x$HAVE_M17N_DB" != "xyes"; then It is available at .]) fi -M17NDIR=`m17n-db` +if test "x$prefix" = "xNONE"; then + M17NDIR=`m17n-db` +else + M17NDIR='${datadir}/m17n' +fi AC_SUBST(M17NDIR) -INPUT_METHOD=`echo im-indic/*.mim` +INPUT_METHOD=`echo im/*.mim` AC_SUBST(INPUT_METHOD) -ICONS=`echo im-indic/*.png` +ICONS=`echo im/*.png` AC_SUBST(ICONS) -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile po/Makefile.in]) AC_OUTPUT