Changeset 1101
- Timestamp:
- Jan 29, 2004, 3:57:43 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/gettext.m4
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1100 r1101 34 34 35 35 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 36 echo "nls_cv_use_gnu_gettext:$nls_cv_use_gnu_gettext" >&5 36 37 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 37 38 dnl User does not insist on using GNU NLS library. Figure out what … … 52 53 [AC_CACHE_CHECK([for gettext in libintl], 53 54 gt_cv_func_gettext_libintl, 54 [AC_TRY_LINK([], [return (int) gettext ("")], 55 [ac_save_LIBS="$LIBS"; LIBS="-lintl $LIBS"; 56 AC_TRY_LINK([#include <libintl.h>], [return (int) gettext ("")], 55 57 gt_cv_func_gettext_libintl=yes, 56 gt_cv_func_gettext_libintl=no)])]) 58 gt_cv_func_gettext_libintl=no) 59 LIBS="$ac_save_LIBS";])]) 57 60 fi 58 61 … … 68 71 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 69 72 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) 73 70 74 AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; 71 75 return _nl_msg_cat_cntr], … … 86 90 dnl Fall back on GNU gettext library. 87 91 nls_cv_use_gnu_gettext=yes 92 echo "nls_cv_use_gnu_gettext:$nls_cv_use_gnu_gettext fallback" >&5 88 93 fi 89 94 fi … … 295 300 AC_CACHE_VAL(ac_cv_path_$1, 296 301 [case "[$]$1" in 297 /*)302 [[/\\]]*|[[a-zA-Z]]:*) 298 303 ac_cv_path_$1="[$]$1" # Let the user override the test with a path. 299 304 ;; … … 308 313 fi 309 314 fi 315 ac_word_saved="$ac_word" 316 ac_word=$ac_word$ac_cv_exeext 317 if test -f $ac_dir/$ac_word; then 318 if [$3]; then 319 ac_cv_path_$1="$ac_dir/$ac_word" 320 break 321 fi 322 fi 323 ac_word="$ac_word_saved" 310 324 done 311 325 IFS="$ac_save_ifs" -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.