Changeset 1102


Ignore:
Timestamp:
Jan 29, 2004, 5:22:18 PM (22 years ago)
Author:
bird
Message:

AC_CHECK_LIB doesn't work correctly it seems.. Hacked -lintl in there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/gettext.m4

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1101 r1102  
    5050
    5151           if test "$gt_cv_func_gettext_libc" != "yes"; then
     52             dnl Bird: this is pretty hackish, something aint working right...
     53             dnl AC_CHECK_LIB isnt working it seems... its not adding -lintl to LIB...
    5254             AC_CHECK_LIB(intl, bindtextdomain,
    5355               [AC_CACHE_CHECK([for gettext in libintl],
     
    5557                 [ac_save_LIBS="$LIBS"; LIBS="-lintl $LIBS";
    5658                 AC_TRY_LINK([#include <libintl.h>], [return (int) gettext ("")],
    57                  gt_cv_func_gettext_libintl=yes,
     59                 [gt_cv_func_gettext_libintl=yes; INTLLIBS="-lintl";],
    5860                 gt_cv_func_gettext_libintl=no)
    5961                 LIBS="$ac_save_LIBS";])])
Note: See TracChangeset for help on using the changeset viewer.