mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Determine ALL_LINGUAS dynamically.
This commit is contained in:
parent
2072ede439
commit
916cb86723
@ -1,3 +1,7 @@
|
|||||||
|
2000-11-23 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
|
* configure.in: Build ALL_LINGUAS dynamically.
|
||||||
|
|
||||||
2000-11-10 Hrvoje Niksic <hniksic@arsdigita.com>
|
2000-11-10 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
* configure.in: Test for MMAP.
|
* configure.in: Test for MMAP.
|
||||||
|
31
configure
vendored
31
configure
vendored
@ -2774,10 +2774,11 @@ fi
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ALL_LINGUAS="cs de hr it no pl pt_BR ru"
|
ALL_LINGUAS=`(cd ${srcdir}/po && ls *.po | sed -e 's/\.po$//')`
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
|
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
|
||||||
echo "configure:2781: checking whether NLS is requested" >&5
|
echo "configure:2782: checking whether NLS is requested" >&5
|
||||||
# Check whether --enable-nls or --disable-nls was given.
|
# Check whether --enable-nls or --disable-nls was given.
|
||||||
if test "${enable_nls+set}" = set; then
|
if test "${enable_nls+set}" = set; then
|
||||||
enableval="$enable_nls"
|
enableval="$enable_nls"
|
||||||
@ -2794,7 +2795,7 @@ fi
|
|||||||
# Extract the first word of "msgfmt", so it can be a program name with args.
|
# Extract the first word of "msgfmt", so it can be a program name with args.
|
||||||
set dummy msgfmt; ac_word=$2
|
set dummy msgfmt; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2798: checking for $ac_word" >&5
|
echo "configure:2799: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2828,7 +2829,7 @@ fi
|
|||||||
# Extract the first word of "xgettext", so it can be a program name with args.
|
# Extract the first word of "xgettext", so it can be a program name with args.
|
||||||
set dummy xgettext; ac_word=$2
|
set dummy xgettext; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2832: checking for $ac_word" >&5
|
echo "configure:2833: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2863,7 +2864,7 @@ fi
|
|||||||
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
||||||
set dummy gmsgfmt; ac_word=$2
|
set dummy gmsgfmt; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:2867: checking for $ac_word" >&5
|
echo "configure:2868: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
@ -2913,17 +2914,17 @@ fi
|
|||||||
do
|
do
|
||||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||||
echo "configure:2917: checking for $ac_hdr" >&5
|
echo "configure:2918: checking for $ac_hdr" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2922 "configure"
|
#line 2923 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <$ac_hdr>
|
#include <$ac_hdr>
|
||||||
EOF
|
EOF
|
||||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
{ (eval echo configure:2927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:2928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
@ -2953,12 +2954,12 @@ done
|
|||||||
for ac_func in gettext
|
for ac_func in gettext
|
||||||
do
|
do
|
||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||||
echo "configure:2957: checking for $ac_func" >&5
|
echo "configure:2958: checking for $ac_func" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2962 "configure"
|
#line 2963 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
@ -2981,7 +2982,7 @@ $ac_func();
|
|||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:2986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
@ -3003,7 +3004,7 @@ EOF
|
|||||||
else
|
else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
|
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
|
||||||
echo "configure:3007: checking for gettext in -lintl" >&5
|
echo "configure:3008: checking for gettext in -lintl" >&5
|
||||||
ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
@ -3011,7 +3012,7 @@ else
|
|||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lintl $LIBS"
|
LIBS="-lintl $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 3015 "configure"
|
#line 3016 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
@ -3022,7 +3023,7 @@ int main() {
|
|||||||
gettext()
|
gettext()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
@ -3090,7 +3091,7 @@ do
|
|||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3094: checking for $ac_word" >&5
|
echo "configure:3095: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -183,12 +183,13 @@ then
|
|||||||
AC_CHECK_LIB(socks, Rconnect)
|
AC_CHECK_LIB(socks, Rconnect)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl
|
||||||
dnl Set of available languages.
|
dnl Set of available languages.
|
||||||
dnl
|
dnl
|
||||||
dnl #### This kind of sucks. Shouldn't the configure process
|
ALL_LINGUAS=`(cd ${srcdir}/po && ls *.po | sed -e 's/\.po$//')`
|
||||||
dnl determine this automagically by scanning `.po' files in `po/'
|
|
||||||
dnl subdirectory?
|
dnl Original from autoconf, I think.
|
||||||
ALL_LINGUAS="cs de hr it no pl pt_BR ru"
|
dnl ALL_LINGUAS="cs de hr it no pl pt_BR ru"
|
||||||
|
|
||||||
dnl internationalization macros
|
dnl internationalization macros
|
||||||
WGET_WITH_NLS
|
WGET_WITH_NLS
|
||||||
|
Loading…
Reference in New Issue
Block a user