Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/configure

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

revision 1.13 by maloninc, Thu Dec 22 10:48:29 2005 UTC revision 1.15 by maloninc, Wed Dec 28 05:41:06 2005 UTC
# Line 311  ac_includes_default="\ Line 311  ac_includes_default="\
311  # include <unistd.h>  # include <unistd.h>
312  #endif"  #endif"
313    
314  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os IS_DARWIN_TRUE IS_DARWIN_FALSE IS_MINGW_TRUE IS_MINGW_FALSE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS LTLIBOBJS'  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os IS_DARWIN_TRUE IS_DARWIN_FALSE IS_MINGW_TRUE IS_MINGW_FALSE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBICONV CPP EGREP LIBOBJS LTLIBOBJS'
315  ac_subst_files=''  ac_subst_files=''
316    
317  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 864  Optional Features: Line 864  Optional Features:
864    --disable-dependency-tracking  speeds up one-time build    --disable-dependency-tracking  speeds up one-time build
865    --enable-dependency-tracking   do not reject slow dependency extractors    --enable-dependency-tracking   do not reject slow dependency extractors
866    
867    Optional Packages:
868      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
869      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
870      --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
871    
872  Some influential environment variables:  Some influential environment variables:
873    CXX         C++ compiler command    CXX         C++ compiler command
874    CXXFLAGS    C++ compiler flags    CXXFLAGS    C++ compiler flags
# Line 3404  fi Line 3409  fi
3409  # Checks for libraries.  # Checks for libraries.
3410  # FIXME: Replace `main' with a function in `-liconv':  # FIXME: Replace `main' with a function in `-liconv':
3411    
3412  #AM_ICONV  
3413    
3414    
3415    
3416    # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3417    if test "${with_libiconv_prefix+set}" = set; then
3418      withval="$with_libiconv_prefix"
3419    
3420        for dir in `echo "$withval" | tr : ' '`; do
3421          if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
3422          if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
3423        done
3424    
3425    fi;
3426    
3427      echo "$as_me:$LINENO: checking for iconv" >&5
3428    echo $ECHO_N "checking for iconv... $ECHO_C" >&6
3429    if test "${am_cv_func_iconv+set}" = set; then
3430      echo $ECHO_N "(cached) $ECHO_C" >&6
3431    else
3432    
3433        am_cv_func_iconv="no, consider installing GNU libiconv"
3434        am_cv_lib_iconv=no
3435        cat >conftest.$ac_ext <<_ACEOF
3436    /* confdefs.h.  */
3437    _ACEOF
3438    cat confdefs.h >>conftest.$ac_ext
3439    cat >>conftest.$ac_ext <<_ACEOF
3440    /* end confdefs.h.  */
3441    #include <stdlib.h>
3442    #include <iconv.h>
3443    int
3444    main ()
3445    {
3446    iconv_t cd = iconv_open("","");
3447           iconv(cd,NULL,NULL,NULL,NULL);
3448           iconv_close(cd);
3449      ;
3450      return 0;
3451    }
3452    _ACEOF
3453    rm -f conftest.$ac_objext conftest$ac_exeext
3454    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3455      (eval $ac_link) 2>conftest.er1
3456      ac_status=$?
3457      grep -v '^ *+' conftest.er1 >conftest.err
3458      rm -f conftest.er1
3459      cat conftest.err >&5
3460      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461      (exit $ac_status); } &&
3462             { ac_try='test -z "$ac_c_werror_flag"
3463                             || test ! -s conftest.err'
3464      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465      (eval $ac_try) 2>&5
3466      ac_status=$?
3467      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468      (exit $ac_status); }; } &&
3469             { ac_try='test -s conftest$ac_exeext'
3470      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471      (eval $ac_try) 2>&5
3472      ac_status=$?
3473      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474      (exit $ac_status); }; }; then
3475      am_cv_func_iconv=yes
3476    else
3477      echo "$as_me: failed program was:" >&5
3478    sed 's/^/| /' conftest.$ac_ext >&5
3479    
3480    fi
3481    rm -f conftest.err conftest.$ac_objext \
3482          conftest$ac_exeext conftest.$ac_ext
3483        if test "$am_cv_func_iconv" != yes; then
3484          am_save_LIBS="$LIBS"
3485          LIBS="$LIBS -liconv"
3486          cat >conftest.$ac_ext <<_ACEOF
3487    /* confdefs.h.  */
3488    _ACEOF
3489    cat confdefs.h >>conftest.$ac_ext
3490    cat >>conftest.$ac_ext <<_ACEOF
3491    /* end confdefs.h.  */
3492    #include <stdlib.h>
3493    #include <iconv.h>
3494    int
3495    main ()
3496    {
3497    iconv_t cd = iconv_open("","");
3498             iconv(cd,NULL,NULL,NULL,NULL);
3499             iconv_close(cd);
3500      ;
3501      return 0;
3502    }
3503    _ACEOF
3504    rm -f conftest.$ac_objext conftest$ac_exeext
3505    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3506      (eval $ac_link) 2>conftest.er1
3507      ac_status=$?
3508      grep -v '^ *+' conftest.er1 >conftest.err
3509      rm -f conftest.er1
3510      cat conftest.err >&5
3511      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512      (exit $ac_status); } &&
3513             { ac_try='test -z "$ac_c_werror_flag"
3514                             || test ! -s conftest.err'
3515      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516      (eval $ac_try) 2>&5
3517      ac_status=$?
3518      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519      (exit $ac_status); }; } &&
3520             { ac_try='test -s conftest$ac_exeext'
3521      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522      (eval $ac_try) 2>&5
3523      ac_status=$?
3524      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525      (exit $ac_status); }; }; then
3526      am_cv_lib_iconv=yes
3527            am_cv_func_iconv=yes
3528    else
3529      echo "$as_me: failed program was:" >&5
3530    sed 's/^/| /' conftest.$ac_ext >&5
3531    
3532    fi
3533    rm -f conftest.err conftest.$ac_objext \
3534          conftest$ac_exeext conftest.$ac_ext
3535          LIBS="$am_save_LIBS"
3536        fi
3537    
3538    fi
3539    echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
3540    echo "${ECHO_T}$am_cv_func_iconv" >&6
3541      if test "$am_cv_func_iconv" = yes; then
3542    
3543    cat >>confdefs.h <<\_ACEOF
3544    #define HAVE_ICONV 1
3545    _ACEOF
3546    
3547        echo "$as_me:$LINENO: checking for iconv declaration" >&5
3548    echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
3549        if test "${am_cv_proto_iconv+set}" = set; then
3550      echo $ECHO_N "(cached) $ECHO_C" >&6
3551    else
3552    
3553          cat >conftest.$ac_ext <<_ACEOF
3554    /* confdefs.h.  */
3555    _ACEOF
3556    cat confdefs.h >>conftest.$ac_ext
3557    cat >>conftest.$ac_ext <<_ACEOF
3558    /* end confdefs.h.  */
3559    
3560    #include <stdlib.h>
3561    #include <iconv.h>
3562    extern
3563    #ifdef __cplusplus
3564    "C"
3565    #endif
3566    #if defined(__STDC__) || defined(__cplusplus)
3567    size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
3568    #else
3569    size_t iconv();
3570    #endif
3571    
3572    int
3573    main ()
3574    {
3575    
3576      ;
3577      return 0;
3578    }
3579    _ACEOF
3580    rm -f conftest.$ac_objext
3581    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3582      (eval $ac_compile) 2>conftest.er1
3583      ac_status=$?
3584      grep -v '^ *+' conftest.er1 >conftest.err
3585      rm -f conftest.er1
3586      cat conftest.err >&5
3587      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588      (exit $ac_status); } &&
3589             { ac_try='test -z "$ac_c_werror_flag"
3590                             || test ! -s conftest.err'
3591      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3592      (eval $ac_try) 2>&5
3593      ac_status=$?
3594      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595      (exit $ac_status); }; } &&
3596             { ac_try='test -s conftest.$ac_objext'
3597      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3598      (eval $ac_try) 2>&5
3599      ac_status=$?
3600      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601      (exit $ac_status); }; }; then
3602      am_cv_proto_iconv_arg1=""
3603    else
3604      echo "$as_me: failed program was:" >&5
3605    sed 's/^/| /' conftest.$ac_ext >&5
3606    
3607    am_cv_proto_iconv_arg1="const"
3608    fi
3609    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3610          am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
3611    fi
3612    
3613        am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
3614        echo "$as_me:$LINENO: result: ${ac_t:-
3615             }$am_cv_proto_iconv" >&5
3616    echo "${ECHO_T}${ac_t:-
3617             }$am_cv_proto_iconv" >&6
3618    
3619    cat >>confdefs.h <<_ACEOF
3620    #define ICONV_CONST $am_cv_proto_iconv_arg1
3621    _ACEOF
3622    
3623      fi
3624      LIBICONV=
3625      if test "$am_cv_lib_iconv" = yes; then
3626        LIBICONV="-liconv"
3627      fi
3628    
3629    
3630    
3631  # Checks for header files.  # Checks for header files.
3632    
3633  # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.
   
3634  echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5  echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3635  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3636  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
# Line 5060  s,@ac_ct_CC@,$ac_ct_CC,;t t Line 5281  s,@ac_ct_CC@,$ac_ct_CC,;t t
5281  s,@CCDEPMODE@,$CCDEPMODE,;t t  s,@CCDEPMODE@,$CCDEPMODE,;t t
5282  s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t  s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5283  s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t  s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5284    s,@LIBICONV@,$LIBICONV,;t t
5285  s,@CPP@,$CPP,;t t  s,@CPP@,$CPP,;t t
5286  s,@EGREP@,$EGREP,;t t  s,@EGREP@,$EGREP,;t t
5287  s,@LIBOBJS@,$LIBOBJS,;t t  s,@LIBOBJS@,$LIBOBJS,;t t

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.15

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26