Changeset 20845


Ignore:
Timestamp:
2009-10-23T07:07:32+13:00 (12 years ago)
Author:
oranfry
Message:

removing another check for iconv casing problems

Location:
indexers/trunk/mgpp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indexers/trunk/mgpp/configure

    r20844 r20845  
    52235223fi
    52245224
    5225 if test $ENABLE_ACCENTFOLD = 1; then
    5226 
    5227 { echo "$as_me:$LINENO: checking for main in -liconv" >&5
    5228 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6; }
    5229 if test "${ac_cv_lib_iconv_main+set}" = set; then
    5230   echo $ECHO_N "(cached) $ECHO_C" >&6
    5231 else
    5232   ac_check_lib_save_LIBS=$LIBS
    5233 LIBS="-liconv  $LIBS"
    5234 cat >conftest.$ac_ext <<_ACEOF
    5235 /* confdefs.h.  */
    5236 _ACEOF
    5237 cat confdefs.h >>conftest.$ac_ext
    5238 cat >>conftest.$ac_ext <<_ACEOF
    5239 /* end confdefs.h.  */
    5240 
    5241 
    5242 int
    5243 main ()
    5244 {
    5245 return main ();
    5246   ;
    5247   return 0;
    5248 }
    5249 _ACEOF
    5250 rm -f conftest.$ac_objext conftest$ac_exeext
    5251 if { (ac_try="$ac_link"
    5252 case "(($ac_try" in
    5253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5254   *) ac_try_echo=$ac_try;;
    5255 esac
    5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5257   (eval "$ac_link") 2>conftest.er1
    5258   ac_status=$?
    5259   grep -v '^ *+' conftest.er1 >conftest.err
    5260   rm -f conftest.er1
    5261   cat conftest.err >&5
    5262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5263   (exit $ac_status); } && {
    5264      test -z "$ac_c_werror_flag" ||
    5265      test ! -s conftest.err
    5266        } && test -s conftest$ac_exeext &&
    5267        $as_test_x conftest$ac_exeext; then
    5268   ac_cv_lib_iconv_main=yes
    5269 else
    5270   echo "$as_me: failed program was:" >&5
    5271 sed 's/^/| /' conftest.$ac_ext >&5
    5272 
    5273     ac_cv_lib_iconv_main=no
    5274 fi
    5275 
    5276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5277       conftest$ac_exeext conftest.$ac_ext
    5278 LIBS=$ac_check_lib_save_LIBS
    5279 fi
    5280 { echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    5281 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6; }
    5282 if test $ac_cv_lib_iconv_main = yes; then
    5283   cat >>confdefs.h <<_ACEOF
    5284 #define HAVE_LIBICONV 1
    5285 _ACEOF
    5286 
    5287   LIBS="-liconv $LIBS"
    5288 
    5289 fi
    5290 ac_cv_lib_iconv=ac_cv_lib_iconv_main
    5291 
    5292 fi
     5225#if test $ENABLE_ACCENTFOLD = 1; then
     5226#AC_HAVE_LIBRARY(iconv)
     5227#fi
    52935228
    52945229
  • indexers/trunk/mgpp/configure.in

    r20844 r20845  
    105105dnl Replace `main' with a function in -lcrypt:
    106106AC_CHECK_LIB(crypt, main)
    107 if test $ENABLE_ACCENTFOLD = 1; then
    108 AC_HAVE_LIBRARY(iconv)
    109 fi
     107#if test $ENABLE_ACCENTFOLD = 1; then
     108#AC_HAVE_LIBRARY(iconv)
     109#fi
    110110
    111111
Note: See TracChangeset for help on using the changeset viewer.