2005-07-27 Stepan Kasal * nls.m4 (AM_MKINSTALLDIRS): A tiny simplification. Index: gettext-runtime/m4/nls.m4 =================================================================== RCS file: /cvs/gettext/gettext/gettext-runtime/m4/nls.m4,v retrieving revision 1.4 diff -u -r1.4 nls.m4 --- gettext-runtime/m4/nls.m4 10 Mar 2005 12:58:10 -0000 1.4 +++ gettext-runtime/m4/nls.m4 27 Jul 2005 09:21:14 -0000 @@ -37,15 +37,10 @@ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but $(top_srcdir). dnl Try to locate it. - MKINSTALLDIRS= - if test -n "$ac_aux_dir"; then - case "$ac_aux_dir" in - /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; - *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; - esac - fi - if test -z "$MKINSTALLDIRS"; then - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" - fi + case "$ac_aux_dir" in + "") MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" ;; + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac AC_SUBST(MKINSTALLDIRS) ])