/[mldonkey]/mldonkey/config/configure.in
ViewVC logotype

Diff of /mldonkey/config/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.213 by spiralvoice, Fri Aug 26 21:08:58 2005 UTC revision 1.214 by spiralvoice, Fri Aug 26 21:26:00 2005 UTC
# Line 608  fi Line 608  fi
608  if test "$ICONV" = "yes"; then  if test "$ICONV" = "yes"; then
609    AM_ICONV    AM_ICONV
610    if test "$am_cv_func_iconv" != "yes"; then    if test "$am_cv_func_iconv" != "yes"; then
611      echo "iconv() is missing, did you install the libraries and the developer packages for libiconv?"      AC_MSG_FAILURE([iconv() is missing, did you install the libraries and the developer packages for libiconv?])
     exit 1  
612    fi    fi
613    LIBS="$LIBS $LIBICONV"    LIBS="$LIBS $LIBICONV"
614    AC_CHECK_FUNCS([locale_charset])    AC_CHECK_FUNCS([locale_charset],,
615      AC_TRY_LINK([#include <langinfo.h>],
616      [char* cs = nl_langinfo(CODESET);],
617      AC_MSG_NOTICE(found nl_langinfo(CODESET)),
618      [AC_MSG_FAILURE(Your iconv implementation is incomplete)]))
619      AC_CHECK_LIB(charset,locale_charset)
620    AC_CHECK_HEADERS([libcharset.h])    AC_CHECK_HEADERS([libcharset.h])
621    AC_CHECK_HEADERS([locale.h])    AC_CHECK_HEADERS([locale.h])
   AC_CHECK_LIB(charset,locale_charset)  
622  else  else
623    AC_DEFINE(DISABLE_ICONV, 1, [Define to 1 if you want to replace iconv and related with stubs.])    AC_DEFINE(DISABLE_ICONV, 1, [Define to 1 if you want to replace iconv and related with stubs.])
624  fi  fi
625    
   
626  # On linux plaforms, we will have to check that includes from kernel are  # On linux plaforms, we will have to check that includes from kernel are
627  # available. glibc version test was shamelessly taken from  # available. glibc version test was shamelessly taken from
628  # http://public.activestate.com/gsar/APC/perl-5.8.x/Configure  # http://public.activestate.com/gsar/APC/perl-5.8.x/Configure
# Line 634  case $host in Line 636  case $host in
636               CPPFLAGS=$OLD_CPPFLAGS]               CPPFLAGS=$OLD_CPPFLAGS]
637             )             )
638             AC_CHECK_HEADERS(gnu/libc-version.h,,)             AC_CHECK_HEADERS(gnu/libc-version.h,,)
639             AC_MSG_CHECKING(Checking for GNU C Library version)             AC_MSG_CHECKING(for GNU C Library version)
640    
641  cat >try.c <<'EOCP'  cat >try.c <<'EOCP'
642  /* Find out version of GNU C library.  __GLIBC__ and __GLIBC_MINOR__  /* Find out version of GNU C library.  __GLIBC__ and __GLIBC_MINOR__
# Line 996  fi Line 998  fi
998    
999  if test "$IM" = "yes"; then  if test "$IM" = "yes"; then
1000    CRYPTOKIT=no    CRYPTOKIT=no
1001    AC_MSG_CHECKING(Checking for CryptoKit)    AC_MSG_CHECKING(for CryptoKit)
1002    if test -f $OCAMLLIB/cryptokit.$OCAMLLIB_EXT; then    if test -f $OCAMLLIB/cryptokit.$OCAMLLIB_EXT; then
1003      CRYPTOKIT=yes      CRYPTOKIT=yes
1004      AC_MSG_RESULT(yes)      AC_MSG_RESULT(yes)

Legend:
Removed from v.1.213  
changed lines
  Added in v.1.214

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26