+2001-04-27 H. J. Lu <hjl@lucon.org>
+ Bruno Haible <haible@clisp.cons.org>
+
+ * gettext.m4 (AM_WITH_NLS): Fix $CONFIG_FILES matching so it deals
+ correctly with tabs. Define INSTOBJEXT and GENCAT for older Makefiles.
+
2001-04-19 Bruno Haible <haible@clisp.cons.org>
* gettext-0.10.37 released.
POSUB=po
fi
AC_OUTPUT_COMMANDS(
- [case " "$CONFIG_FILES" " in *" po/Makefile.in "* | *" po/Makefile.in:"*)
- sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
- ;;
- esac])
+ [for f in $CONFIG_FILES; do
+ case $f in po/Makefile.in | po/Makefile.in:*)
+ sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
+ ;;
+ esac
+ done])
dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
dnl For backward compatibility. Some Makefiles may be using this.
DATADIRNAME=share
AC_SUBST(DATADIRNAME)
+
+ dnl For backward compatibility. Some Makefiles may be using this.
+ INSTOBJEXT=.mo
+ AC_SUBST(INSTOBJEXT)
+
+ dnl For backward compatibility. Some Makefiles may be using this.
+ GENCAT=gencat
+ AC_SUBST(GENCAT)
])
dnl Usage: Just like AM_WITH_NLS, which see.