Changeset 20843


Ignore:
Timestamp:
2009-10-22T20:12:08+13:00 (12 years ago)
Author:
oranfry
Message:

removing iconv stuff from common-src/configure too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/configure

    r20832 r20843  
    46974697fi
    46984698ac_cv_lib_crypt=ac_cv_lib_crypt_main
    4699 
    4700 if test $ENABLE_ACCENTFOLD = 1; then
    4701 
    4702 echo "$as_me:$LINENO: checking for main in -liconv" >&5
    4703 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6
    4704 if test "${ac_cv_lib_iconv_main+set}" = set; then
    4705   echo $ECHO_N "(cached) $ECHO_C" >&6
    4706 else
    4707   ac_check_lib_save_LIBS=$LIBS
    4708 LIBS="-liconv  $LIBS"
    4709 cat >conftest.$ac_ext <<_ACEOF
    4710 /* confdefs.h.  */
    4711 _ACEOF
    4712 cat confdefs.h >>conftest.$ac_ext
    4713 cat >>conftest.$ac_ext <<_ACEOF
    4714 /* end confdefs.h.  */
    4715 
    4716 
    4717 int
    4718 main ()
    4719 {
    4720 main ();
    4721   ;
    4722   return 0;
    4723 }
    4724 _ACEOF
    4725 rm -f conftest.$ac_objext conftest$ac_exeext
    4726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4727   (eval $ac_link) 2>conftest.er1
    4728   ac_status=$?
    4729   grep -v '^ *+' conftest.er1 >conftest.err
    4730   rm -f conftest.er1
    4731   cat conftest.err >&5
    4732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4733   (exit $ac_status); } &&
    4734      { ac_try='test -z "$ac_c_werror_flag"
    4735              || test ! -s conftest.err'
    4736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4737   (eval $ac_try) 2>&5
    4738   ac_status=$?
    4739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4740   (exit $ac_status); }; } &&
    4741      { ac_try='test -s conftest$ac_exeext'
    4742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4743   (eval $ac_try) 2>&5
    4744   ac_status=$?
    4745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4746   (exit $ac_status); }; }; then
    4747   ac_cv_lib_iconv_main=yes
    4748 else
    4749   echo "$as_me: failed program was:" >&5
    4750 sed 's/^/| /' conftest.$ac_ext >&5
    4751 
    4752 ac_cv_lib_iconv_main=no
    4753 fi
    4754 rm -f conftest.err conftest.$ac_objext \
    4755       conftest$ac_exeext conftest.$ac_ext
    4756 LIBS=$ac_check_lib_save_LIBS
    4757 fi
    4758 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    4759 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6
    4760 if test $ac_cv_lib_iconv_main = yes; then
    4761   cat >>confdefs.h <<_ACEOF
    4762 #define HAVE_LIBICONV 1
    4763 _ACEOF
    4764 
    4765   LIBS="-liconv $LIBS"
    4766 
    4767 fi
    4768 ac_cv_lib_iconv=ac_cv_lib_iconv_main
    4769 
    4770 fi
    4771 
    4772 
    4773 
    47744699
    47754700
Note: See TracChangeset for help on using the changeset viewer.