Changeset 1112
- Timestamp:
- Jan 29, 2004, 10:35:59 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/gettext.m4
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r1111 r1112 50 50 51 51 if test "$gt_cv_func_gettext_libc" != "yes"; then 52 52 dnl Bird: this is pretty hackish, something aint working right... 53 53 dnl AC_CHECK_LIB isnt working it seems... its not adding -lintl to LIB... 54 54 AC_CHECK_LIB(intl, bindtextdomain, … … 57 57 [ac_save_LIBS="$LIBS"; LIBS="-lintl $LIBS"; 58 58 AC_TRY_LINK([#include <libintl.h>], [return (int) gettext ("")], 59 [gt_cv_func_gettext_libintl=yes; INTLLIBS="-lintl";],59 gt_cv_func_gettext_libintl=yes, 60 60 gt_cv_func_gettext_libintl=no) 61 61 LIBS="$ac_save_LIBS";])]) … … 114 114 nls_cv_header_intl=libintl.h 115 115 nls_cv_header_libgt=libgettext.h 116 else 117 dnl Bird: AC_CHECK_LIB doesn't seem to work. Update both LIBS and 118 dnl INTLLIBS just in case LIBS is messed up later. 119 echo "dbg: else: gt_cv_func_gettext_libintl" >&5 120 if test "$gt_cv_func_gettext_libintl" = "yes"; then 121 echo "dbg: updating LIBS" >&5 122 LIBS="-lintl $LIBS" 123 INTLLIBS="-lintl" 124 fi 116 125 fi 117 126 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.