From: Bruno Haible Date: Tue, 28 Jan 2025 16:55:38 +0000 (+0100) Subject: examples: Assume autoconf >= 2.60. X-Git-Tag: v0.24~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62cc90ca73331b7df63eba04a2658770b936ee87;p=thirdparty%2Fgettext.git examples: Assume autoconf >= 2.60. * gettext-tools/examples/hello-clisp/configure.ac: Compute localedir based on ${datarootdir}, not ${datadir}. * gettext-tools/examples/hello-gawk/configure.ac: Likewise. * gettext-tools/examples/hello-guile/configure.ac: Likewise. * gettext-tools/examples/hello-librep/configure.ac: Likewise. * gettext-tools/examples/hello-pascal/configure.ac: Likewise. * gettext-tools/examples/hello-perl/configure.ac: Likewise. * gettext-tools/examples/hello-php/configure.ac: Likewise. * gettext-tools/examples/hello-python/configure.ac: Likewise. * gettext-tools/examples/hello-ruby/configure.ac: Likewise. * gettext-tools/examples/hello-sh/configure.ac: Likewise. * gettext-tools/examples/hello-smalltalk/configure.ac: Likewise. --- diff --git a/gettext-tools/examples/hello-clisp/configure.ac b/gettext-tools/examples/hello-clisp/configure.ac index a4b006f62..68b5c7e3f 100644 --- a/gettext-tools/examples/hello-clisp/configure.ac +++ b/gettext-tools/examples/hello-clisp/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-gawk/configure.ac b/gettext-tools/examples/hello-gawk/configure.ac index a55f324a3..39d195b79 100644 --- a/gettext-tools/examples/hello-gawk/configure.ac +++ b/gettext-tools/examples/hello-gawk/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-guile/configure.ac b/gettext-tools/examples/hello-guile/configure.ac index 4ffe71536..103ead380 100644 --- a/gettext-tools/examples/hello-guile/configure.ac +++ b/gettext-tools/examples/hello-guile/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-librep/configure.ac b/gettext-tools/examples/hello-librep/configure.ac index d7dddda84..422865dd8 100644 --- a/gettext-tools/examples/hello-librep/configure.ac +++ b/gettext-tools/examples/hello-librep/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-pascal/configure.ac b/gettext-tools/examples/hello-pascal/configure.ac index 2c20bb81e..fb01e8361 100644 --- a/gettext-tools/examples/hello-pascal/configure.ac +++ b/gettext-tools/examples/hello-pascal/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-perl/configure.ac b/gettext-tools/examples/hello-perl/configure.ac index 7699d7e39..4f24092ac 100644 --- a/gettext-tools/examples/hello-perl/configure.ac +++ b/gettext-tools/examples/hello-perl/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-php/configure.ac b/gettext-tools/examples/hello-php/configure.ac index c9429ea15..9b492cace 100644 --- a/gettext-tools/examples/hello-php/configure.ac +++ b/gettext-tools/examples/hello-php/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-python/configure.ac b/gettext-tools/examples/hello-python/configure.ac index 10aeaa2e2..d7aa65652 100644 --- a/gettext-tools/examples/hello-python/configure.ac +++ b/gettext-tools/examples/hello-python/configure.ac @@ -24,7 +24,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-ruby/configure.ac b/gettext-tools/examples/hello-ruby/configure.ac index 9c353a98c..c17f6abf5 100644 --- a/gettext-tools/examples/hello-ruby/configure.ac +++ b/gettext-tools/examples/hello-ruby/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-sh/configure.ac b/gettext-tools/examples/hello-sh/configure.ac index f05cf3ec3..f9adb4801 100644 --- a/gettext-tools/examples/hello-sh/configure.ac +++ b/gettext-tools/examples/hello-sh/configure.ac @@ -17,7 +17,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir]) diff --git a/gettext-tools/examples/hello-smalltalk/configure.ac b/gettext-tools/examples/hello-smalltalk/configure.ac index 8bc7688fa..58428b720 100644 --- a/gettext-tools/examples/hello-smalltalk/configure.ac +++ b/gettext-tools/examples/hello-smalltalk/configure.ac @@ -25,7 +25,7 @@ fi save_prefix="$prefix" prefix="$final_prefix" eval "datarootdir=\"${datarootdir}\"" -eval "localedir=\"${datadir}/locale\"" +eval "localedir=\"${datarootdir}/locale\"" prefix="$save_prefix" AC_SUBST([localedir])