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.11 by maloninc, Thu Sep 29 04:15:30 2005 UTC revision 1.14 by maloninc, Wed Dec 28 01:49:51 2005 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.59 for mnote 1.4.  # Generated by GNU Autoconf 2.59 for mnote 1.6.
4  #  #
5  # Report bugs to <hiroyuki@maloninc.com>.  # Report bugs to <hiroyuki@maloninc.com>.
6  #  #
# Line 269  SHELL=${CONFIG_SHELL-/bin/sh} Line 269  SHELL=${CONFIG_SHELL-/bin/sh}
269  # Identity of this package.  # Identity of this package.
270  PACKAGE_NAME='mnote'  PACKAGE_NAME='mnote'
271  PACKAGE_TARNAME='mnote'  PACKAGE_TARNAME='mnote'
272  PACKAGE_VERSION='1.4'  PACKAGE_VERSION='1.6'
273  PACKAGE_STRING='mnote 1.4'  PACKAGE_STRING='mnote 1.6'
274  PACKAGE_BUGREPORT='hiroyuki@maloninc.com'  PACKAGE_BUGREPORT='hiroyuki@maloninc.com'
275    
276  ac_unique_file="acconfig.h"  ac_unique_file="acconfig.h"
# 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 LIBICONV 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 LTLIBICONV 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 788  if test "$ac_init_help" = "long"; then Line 788  if test "$ac_init_help" = "long"; then
788    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
789    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
790    cat <<_ACEOF    cat <<_ACEOF
791  \`configure' configures mnote 1.4 to adapt to many kinds of systems.  \`configure' configures mnote 1.6 to adapt to many kinds of systems.
792    
793  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
794    
# Line 854  fi Line 854  fi
854    
855  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
856    case $ac_init_help in    case $ac_init_help in
857       short | recursive ) echo "Configuration of mnote 1.4:";;       short | recursive ) echo "Configuration of mnote 1.6:";;
858     esac     esac
859    cat <<\_ACEOF    cat <<\_ACEOF
860    
# Line 863  Optional Features: Line 863  Optional Features:
863    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
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      --disable-rpath         do not hardcode runtime library paths
867    
868  Optional Packages:  Optional Packages:
869    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
870    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
871    --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib    --with-gnu-ld           assume the C compiler uses GNU ld default=no
872      --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
873      --without-libiconv-prefix     don't search for libiconv in includedir and libdir
874    
875  Some influential environment variables:  Some influential environment variables:
876    CXX         C++ compiler command    CXX         C++ compiler command
# Line 979  fi Line 982  fi
982  test -n "$ac_init_help" && exit 0  test -n "$ac_init_help" && exit 0
983  if $ac_init_version; then  if $ac_init_version; then
984    cat <<\_ACEOF    cat <<\_ACEOF
985  mnote configure 1.4  mnote configure 1.6
986  generated by GNU Autoconf 2.59  generated by GNU Autoconf 2.59
987    
988  Copyright (C) 2003 Free Software Foundation, Inc.  Copyright (C) 2003 Free Software Foundation, Inc.
# Line 993  cat >&5 <<_ACEOF Line 996  cat >&5 <<_ACEOF
996  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
997  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
998    
999  It was created by mnote $as_me 1.4, which was  It was created by mnote $as_me 1.6, which was
1000  generated by GNU Autoconf 2.59.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1001    
1002    $ $0 $@    $ $0 $@
# Line 1637  fi Line 1640  fi
1640    
1641  # Define the identity of the package.  # Define the identity of the package.
1642   PACKAGE=mnote   PACKAGE=mnote
1643   VERSION=1.4   VERSION=1.6
1644    
1645    
1646  # Some tools Automake needs.  # Some tools Automake needs.
# Line 3410  fi Line 3413  fi
3413  # FIXME: Replace `main' with a function in `-liconv':  # FIXME: Replace `main' with a function in `-liconv':
3414    
3415    
3416          if test "X$prefix" = "XNONE"; then
3417        acl_final_prefix="$ac_default_prefix"
3418      else
3419        acl_final_prefix="$prefix"
3420      fi
3421      if test "X$exec_prefix" = "XNONE"; then
3422        acl_final_exec_prefix='${prefix}'
3423      else
3424        acl_final_exec_prefix="$exec_prefix"
3425      fi
3426      acl_save_prefix="$prefix"
3427      prefix="$acl_final_prefix"
3428      eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3429      prefix="$acl_save_prefix"
3430    
3431    
3432    # Check whether --with-gnu-ld or --without-gnu-ld was given.
3433    if test "${with_gnu_ld+set}" = set; then
3434      withval="$with_gnu_ld"
3435      test "$withval" = no || with_gnu_ld=yes
3436    else
3437      with_gnu_ld=no
3438    fi;
3439    # Prepare PATH_SEPARATOR.
3440    # The user is always right.
3441    if test "${PATH_SEPARATOR+set}" != set; then
3442      echo "#! /bin/sh" >conf$$.sh
3443      echo  "exit 0"   >>conf$$.sh
3444      chmod +x conf$$.sh
3445      if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3446        PATH_SEPARATOR=';'
3447      else
3448        PATH_SEPARATOR=:
3449      fi
3450      rm -f conf$$.sh
3451    fi
3452    ac_prog=ld
3453    if test "$GCC" = yes; then
3454      # Check if gcc -print-prog-name=ld gives a path.
3455      echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3456    echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3457      case $host in
3458      *-*-mingw*)
3459        # gcc leaves a trailing carriage return which upsets mingw
3460        ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3461      *)
3462        ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3463      esac
3464      case $ac_prog in
3465        # Accept absolute paths.
3466        [\\/]* | [A-Za-z]:[\\/]*)
3467          re_direlt='/[^/][^/]*/\.\./'
3468          # Canonicalize the path of ld
3469          ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3470          while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3471            ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3472          done
3473          test -z "$LD" && LD="$ac_prog"
3474          ;;
3475      "")
3476        # If it fails, then pretend we aren't using GCC.
3477        ac_prog=ld
3478        ;;
3479      *)
3480        # If it is relative, then search for the first ld in PATH.
3481        with_gnu_ld=unknown
3482        ;;
3483      esac
3484    elif test "$with_gnu_ld" = yes; then
3485      echo "$as_me:$LINENO: checking for GNU ld" >&5
3486    echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3487    else
3488      echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3489    echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3490    fi
3491    if test "${acl_cv_path_LD+set}" = set; then
3492      echo $ECHO_N "(cached) $ECHO_C" >&6
3493    else
3494      if test -z "$LD"; then
3495      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3496      for ac_dir in $PATH; do
3497        test -z "$ac_dir" && ac_dir=.
3498        if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3499          acl_cv_path_LD="$ac_dir/$ac_prog"
3500          # Check to see if the program is GNU ld.  I'd rather use --version,
3501          # but apparently some GNU ld's only accept -v.
3502          # Break only if it was the GNU/non-GNU ld that we prefer.
3503          if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3504            test "$with_gnu_ld" != no && break
3505          else
3506            test "$with_gnu_ld" != yes && break
3507          fi
3508        fi
3509      done
3510      IFS="$ac_save_ifs"
3511    else
3512      acl_cv_path_LD="$LD" # Let the user override the test with a path.
3513    fi
3514    fi
3515    
3516    LD="$acl_cv_path_LD"
3517    if test -n "$LD"; then
3518      echo "$as_me:$LINENO: result: $LD" >&5
3519    echo "${ECHO_T}$LD" >&6
3520    else
3521      echo "$as_me:$LINENO: result: no" >&5
3522    echo "${ECHO_T}no" >&6
3523    fi
3524    test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3525    echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3526       { (exit 1); exit 1; }; }
3527    echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3528    echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3529    if test "${acl_cv_prog_gnu_ld+set}" = set; then
3530      echo $ECHO_N "(cached) $ECHO_C" >&6
3531    else
3532      # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3533    if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3534      acl_cv_prog_gnu_ld=yes
3535    else
3536      acl_cv_prog_gnu_ld=no
3537    fi
3538    fi
3539    echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3540    echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
3541    with_gnu_ld=$acl_cv_prog_gnu_ld
3542    
3543    
3544    
3545                                                    echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3546    echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3547    if test "${acl_cv_rpath+set}" = set; then
3548      echo $ECHO_N "(cached) $ECHO_C" >&6
3549    else
3550    
3551        CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3552        ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3553        . ./conftest.sh
3554        rm -f ./conftest.sh
3555        acl_cv_rpath=done
3556    
3557    fi
3558    echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3559    echo "${ECHO_T}$acl_cv_rpath" >&6
3560      wl="$acl_cv_wl"
3561      libext="$acl_cv_libext"
3562      shlibext="$acl_cv_shlibext"
3563      hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3564      hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3565      hardcode_direct="$acl_cv_hardcode_direct"
3566      hardcode_minus_L="$acl_cv_hardcode_minus_L"
3567        # Check whether --enable-rpath or --disable-rpath was given.
3568    if test "${enable_rpath+set}" = set; then
3569      enableval="$enable_rpath"
3570      :
3571    else
3572      enable_rpath=yes
3573    fi;
3574    
3575    
3576    
3577    
3578    
3579    
3580    
3581        use_additional=yes
3582    
3583      acl_save_prefix="$prefix"
3584      prefix="$acl_final_prefix"
3585      acl_save_exec_prefix="$exec_prefix"
3586      exec_prefix="$acl_final_exec_prefix"
3587    
3588        eval additional_includedir=\"$includedir\"
3589        eval additional_libdir=\"$libdir\"
3590    
3591      exec_prefix="$acl_save_exec_prefix"
3592      prefix="$acl_save_prefix"
3593    
3594    
3595  # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.  # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3596  if test "${with_libiconv_prefix+set}" = set; then  if test "${with_libiconv_prefix+set}" = set; then
3597    withval="$with_libiconv_prefix"    withval="$with_libiconv_prefix"
3598    
3599      for dir in `echo "$withval" | tr : ' '`; do      if test "X$withval" = "Xno"; then
3600        if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi        use_additional=no
3601        if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi      else
3602      done        if test "X$withval" = "X"; then
3603    
3604      acl_save_prefix="$prefix"
3605      prefix="$acl_final_prefix"
3606      acl_save_exec_prefix="$exec_prefix"
3607      exec_prefix="$acl_final_exec_prefix"
3608    
3609              eval additional_includedir=\"$includedir\"
3610              eval additional_libdir=\"$libdir\"
3611    
3612      exec_prefix="$acl_save_exec_prefix"
3613      prefix="$acl_save_prefix"
3614    
3615          else
3616            additional_includedir="$withval/include"
3617            additional_libdir="$withval/lib"
3618          fi
3619        fi
3620    
3621  fi;  fi;
3622          LIBICONV=
3623      LTLIBICONV=
3624      INCICONV=
3625      rpathdirs=
3626      ltrpathdirs=
3627      names_already_handled=
3628      names_next_round='iconv '
3629      while test -n "$names_next_round"; do
3630        names_this_round="$names_next_round"
3631        names_next_round=
3632        for name in $names_this_round; do
3633          already_handled=
3634          for n in $names_already_handled; do
3635            if test "$n" = "$name"; then
3636              already_handled=yes
3637              break
3638            fi
3639          done
3640          if test -z "$already_handled"; then
3641            names_already_handled="$names_already_handled $name"
3642                            uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3643            eval value=\"\$HAVE_LIB$uppername\"
3644            if test -n "$value"; then
3645              if test "$value" = yes; then
3646                eval value=\"\$LIB$uppername\"
3647                test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3648                eval value=\"\$LTLIB$uppername\"
3649                test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3650              else
3651                                        :
3652              fi
3653            else
3654                                  found_dir=
3655              found_la=
3656              found_so=
3657              found_a=
3658              if test $use_additional = yes; then
3659                if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3660                  found_dir="$additional_libdir"
3661                  found_so="$additional_libdir/lib$name.$shlibext"
3662                  if test -f "$additional_libdir/lib$name.la"; then
3663                    found_la="$additional_libdir/lib$name.la"
3664                  fi
3665                else
3666                  if test -f "$additional_libdir/lib$name.$libext"; then
3667                    found_dir="$additional_libdir"
3668                    found_a="$additional_libdir/lib$name.$libext"
3669                    if test -f "$additional_libdir/lib$name.la"; then
3670                      found_la="$additional_libdir/lib$name.la"
3671                    fi
3672                  fi
3673                fi
3674              fi
3675              if test "X$found_dir" = "X"; then
3676                for x in $LDFLAGS $LTLIBICONV; do
3677    
3678      acl_save_prefix="$prefix"
3679      prefix="$acl_final_prefix"
3680      acl_save_exec_prefix="$exec_prefix"
3681      exec_prefix="$acl_final_exec_prefix"
3682      eval x=\"$x\"
3683      exec_prefix="$acl_save_exec_prefix"
3684      prefix="$acl_save_prefix"
3685    
3686                  case "$x" in
3687                    -L*)
3688                      dir=`echo "X$x" | sed -e 's/^X-L//'`
3689                      if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3690                        found_dir="$dir"
3691                        found_so="$dir/lib$name.$shlibext"
3692                        if test -f "$dir/lib$name.la"; then
3693                          found_la="$dir/lib$name.la"
3694                        fi
3695                      else
3696                        if test -f "$dir/lib$name.$libext"; then
3697                          found_dir="$dir"
3698                          found_a="$dir/lib$name.$libext"
3699                          if test -f "$dir/lib$name.la"; then
3700                            found_la="$dir/lib$name.la"
3701                          fi
3702                        fi
3703                      fi
3704                      ;;
3705                  esac
3706                  if test "X$found_dir" != "X"; then
3707                    break
3708                  fi
3709                done
3710              fi
3711              if test "X$found_dir" != "X"; then
3712                            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3713                if test "X$found_so" != "X"; then
3714                                                            if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
3715                                    LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3716                  else
3717                                                                                    haveit=
3718                    for x in $ltrpathdirs; do
3719                      if test "X$x" = "X$found_dir"; then
3720                        haveit=yes
3721                        break
3722                      fi
3723                    done
3724                    if test -z "$haveit"; then
3725                      ltrpathdirs="$ltrpathdirs $found_dir"
3726                    fi
3727                                    if test "$hardcode_direct" = yes; then
3728                                                          LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3729                    else
3730                      if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
3731                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3732                                                                haveit=
3733                        for x in $rpathdirs; do
3734                          if test "X$x" = "X$found_dir"; then
3735                            haveit=yes
3736                            break
3737                          fi
3738                        done
3739                        if test -z "$haveit"; then
3740                          rpathdirs="$rpathdirs $found_dir"
3741                        fi
3742                      else
3743                                                                                    haveit=
3744                        for x in $LDFLAGS $LIBICONV; do
3745    
3746      acl_save_prefix="$prefix"
3747      prefix="$acl_final_prefix"
3748      acl_save_exec_prefix="$exec_prefix"
3749      exec_prefix="$acl_final_exec_prefix"
3750      eval x=\"$x\"
3751      exec_prefix="$acl_save_exec_prefix"
3752      prefix="$acl_save_prefix"
3753    
3754                          if test "X$x" = "X-L$found_dir"; then
3755                            haveit=yes
3756                            break
3757                          fi
3758                        done
3759                        if test -z "$haveit"; then
3760                          LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
3761                        fi
3762                        if test "$hardcode_minus_L" != no; then
3763                                                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3764                        else
3765                                                                                                                                                                                    LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
3766                        fi
3767                      fi
3768                    fi
3769                  fi
3770                else
3771                  if test "X$found_a" != "X"; then
3772                                    LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
3773                  else
3774                                                    LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
3775                  fi
3776                fi
3777                            additional_includedir=
3778                case "$found_dir" in
3779                  */lib | */lib/)
3780                    basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3781                    additional_includedir="$basedir/include"
3782                    ;;
3783                esac
3784                if test "X$additional_includedir" != "X"; then
3785                                                                                                                    if test "X$additional_includedir" != "X/usr/include"; then
3786                    haveit=
3787                    if test "X$additional_includedir" = "X/usr/local/include"; then
3788                      if test -n "$GCC"; then
3789                        case $host_os in
3790                          linux*) haveit=yes;;
3791                        esac
3792                      fi
3793                    fi
3794                    if test -z "$haveit"; then
3795                      for x in $CPPFLAGS $INCICONV; do
3796    
3797      acl_save_prefix="$prefix"
3798      prefix="$acl_final_prefix"
3799      acl_save_exec_prefix="$exec_prefix"
3800      exec_prefix="$acl_final_exec_prefix"
3801      eval x=\"$x\"
3802      exec_prefix="$acl_save_exec_prefix"
3803      prefix="$acl_save_prefix"
3804    
3805                        if test "X$x" = "X-I$additional_includedir"; then
3806                          haveit=yes
3807                          break
3808                        fi
3809                      done
3810                      if test -z "$haveit"; then
3811                        if test -d "$additional_includedir"; then
3812                                                INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
3813                        fi
3814                      fi
3815                    fi
3816                  fi
3817                fi
3818                            if test -n "$found_la"; then
3819                                                            save_libdir="$libdir"
3820                  case "$found_la" in
3821                    */* | *\\*) . "$found_la" ;;
3822                    *) . "./$found_la" ;;
3823                  esac
3824                  libdir="$save_libdir"
3825                                for dep in $dependency_libs; do
3826                    case "$dep" in
3827                      -L*)
3828                        additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
3829                                                                                                                                                                    if test "X$additional_libdir" != "X/usr/lib"; then
3830                          haveit=
3831                          if test "X$additional_libdir" = "X/usr/local/lib"; then
3832                            if test -n "$GCC"; then
3833                              case $host_os in
3834                                linux*) haveit=yes;;
3835                              esac
3836                            fi
3837                          fi
3838                          if test -z "$haveit"; then
3839                            haveit=
3840                            for x in $LDFLAGS $LIBICONV; do
3841    
3842      acl_save_prefix="$prefix"
3843      prefix="$acl_final_prefix"
3844      acl_save_exec_prefix="$exec_prefix"
3845      exec_prefix="$acl_final_exec_prefix"
3846      eval x=\"$x\"
3847      exec_prefix="$acl_save_exec_prefix"
3848      prefix="$acl_save_prefix"
3849    
3850                              if test "X$x" = "X-L$additional_libdir"; then
3851                                haveit=yes
3852                                break
3853                              fi
3854                            done
3855                            if test -z "$haveit"; then
3856                              if test -d "$additional_libdir"; then
3857                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
3858                              fi
3859                            fi
3860                            haveit=
3861                            for x in $LDFLAGS $LTLIBICONV; do
3862    
3863      acl_save_prefix="$prefix"
3864      prefix="$acl_final_prefix"
3865      acl_save_exec_prefix="$exec_prefix"
3866      exec_prefix="$acl_final_exec_prefix"
3867      eval x=\"$x\"
3868      exec_prefix="$acl_save_exec_prefix"
3869      prefix="$acl_save_prefix"
3870    
3871                              if test "X$x" = "X-L$additional_libdir"; then
3872                                haveit=yes
3873                                break
3874                              fi
3875                            done
3876                            if test -z "$haveit"; then
3877                              if test -d "$additional_libdir"; then
3878                                                            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
3879                              fi
3880                            fi
3881                          fi
3882                        fi
3883                        ;;
3884                      -R*)
3885                        dir=`echo "X$dep" | sed -e 's/^X-R//'`
3886                        if test "$enable_rpath" != no; then
3887                                                                      haveit=
3888                          for x in $rpathdirs; do
3889                            if test "X$x" = "X$dir"; then
3890                              haveit=yes
3891                              break
3892                            fi
3893                          done
3894                          if test -z "$haveit"; then
3895                            rpathdirs="$rpathdirs $dir"
3896                          fi
3897                                                                      haveit=
3898                          for x in $ltrpathdirs; do
3899                            if test "X$x" = "X$dir"; then
3900                              haveit=yes
3901                              break
3902                            fi
3903                          done
3904                          if test -z "$haveit"; then
3905                            ltrpathdirs="$ltrpathdirs $dir"
3906                          fi
3907                        fi
3908                        ;;
3909                      -l*)
3910                                            names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3911                        ;;
3912                      *.la)
3913                                                                                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3914                        ;;
3915                      *)
3916                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
3917                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
3918                        ;;
3919                    esac
3920                  done
3921                fi
3922              else
3923                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
3924                LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
3925              fi
3926            fi
3927          fi
3928        done
3929      done
3930      if test "X$rpathdirs" != "X"; then
3931        if test -n "$hardcode_libdir_separator"; then
3932                            alldirs=
3933          for found_dir in $rpathdirs; do
3934            alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3935          done
3936                acl_save_libdir="$libdir"
3937          libdir="$alldirs"
3938          eval flag=\"$hardcode_libdir_flag_spec\"
3939          libdir="$acl_save_libdir"
3940          LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
3941        else
3942                for found_dir in $rpathdirs; do
3943            acl_save_libdir="$libdir"
3944            libdir="$found_dir"
3945            eval flag=\"$hardcode_libdir_flag_spec\"
3946            libdir="$acl_save_libdir"
3947            LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
3948          done
3949        fi
3950      fi
3951      if test "X$ltrpathdirs" != "X"; then
3952                for found_dir in $ltrpathdirs; do
3953          LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
3954        done
3955      fi
3956    
3957    
3958    
3959    
3960    
3961    
3962    
3963    
3964              am_save_CPPFLAGS="$CPPFLAGS"
3965    
3966      for element in $INCICONV; do
3967        haveit=
3968        for x in $CPPFLAGS; do
3969    
3970      acl_save_prefix="$prefix"
3971      prefix="$acl_final_prefix"
3972      acl_save_exec_prefix="$exec_prefix"
3973      exec_prefix="$acl_final_exec_prefix"
3974      eval x=\"$x\"
3975      exec_prefix="$acl_save_exec_prefix"
3976      prefix="$acl_save_prefix"
3977    
3978          if test "X$x" = "X$element"; then
3979            haveit=yes
3980            break
3981          fi
3982        done
3983        if test -z "$haveit"; then
3984          CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
3985        fi
3986      done
3987    
3988    
3989    echo "$as_me:$LINENO: checking for iconv" >&5    echo "$as_me:$LINENO: checking for iconv" >&5
3990  echo $ECHO_N "checking for iconv... $ECHO_C" >&6  echo $ECHO_N "checking for iconv... $ECHO_C" >&6
# Line 3482  rm -f conftest.err conftest.$ac_objext \ Line 4044  rm -f conftest.err conftest.$ac_objext \
4044        conftest$ac_exeext conftest.$ac_ext        conftest$ac_exeext conftest.$ac_ext
4045      if test "$am_cv_func_iconv" != yes; then      if test "$am_cv_func_iconv" != yes; then
4046        am_save_LIBS="$LIBS"        am_save_LIBS="$LIBS"
4047        LIBS="$LIBS -liconv"        LIBS="$LIBS $LIBICONV"
4048        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
4049  /* confdefs.h.  */  /* confdefs.h.  */
4050  _ACEOF  _ACEOF
# Line 3544  cat >>confdefs.h <<\_ACEOF Line 4106  cat >>confdefs.h <<\_ACEOF
4106  #define HAVE_ICONV 1  #define HAVE_ICONV 1
4107  _ACEOF  _ACEOF
4108    
4109      fi
4110      if test "$am_cv_lib_iconv" = yes; then
4111        echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4112    echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4113        echo "$as_me:$LINENO: result: $LIBICONV" >&5
4114    echo "${ECHO_T}$LIBICONV" >&6
4115      else
4116                CPPFLAGS="$am_save_CPPFLAGS"
4117        LIBICONV=
4118        LTLIBICONV=
4119      fi
4120    
4121    
4122    
4123      if test "$am_cv_func_iconv" = yes; then
4124      echo "$as_me:$LINENO: checking for iconv declaration" >&5      echo "$as_me:$LINENO: checking for iconv declaration" >&5
4125  echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6  echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
4126      if test "${am_cv_proto_iconv+set}" = set; then      if test "${am_cv_proto_iconv+set}" = set; then
# Line 3621  cat >>confdefs.h <<_ACEOF Line 4198  cat >>confdefs.h <<_ACEOF
4198  _ACEOF  _ACEOF
4199    
4200    fi    fi
   LIBICONV=  
   if test "$am_cv_lib_iconv" = yes; then  
     LIBICONV="-liconv"  
   fi  
   
4201    
4202    
4203  # Checks for header files.  # Checks for header files.
# Line 4964  _ASBOX Line 5536  _ASBOX
5536  } >&5  } >&5
5537  cat >&5 <<_CSEOF  cat >&5 <<_CSEOF
5538    
5539  This file was extended by mnote $as_me 1.4, which was  This file was extended by mnote $as_me 1.6, which was
5540  generated by GNU Autoconf 2.59.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
5541    
5542    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
# Line 5027  _ACEOF Line 5599  _ACEOF
5599    
5600  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF
5601  ac_cs_version="\\  ac_cs_version="\\
5602  mnote config.status 1.4  mnote config.status 1.6
5603  configured by $0, generated by GNU Autoconf 2.59,  configured by $0, generated by GNU Autoconf 2.59,
5604    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5605    
# Line 5282  s,@CCDEPMODE@,$CCDEPMODE,;t t Line 5854  s,@CCDEPMODE@,$CCDEPMODE,;t t
5854  s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t  s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5855  s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t  s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5856  s,@LIBICONV@,$LIBICONV,;t t  s,@LIBICONV@,$LIBICONV,;t t
5857    s,@LTLIBICONV@,$LTLIBICONV,;t t
5858  s,@CPP@,$CPP,;t t  s,@CPP@,$CPP,;t t
5859  s,@EGREP@,$EGREP,;t t  s,@EGREP@,$EGREP,;t t
5860  s,@LIBOBJS@,$LIBOBJS,;t t  s,@LIBOBJS@,$LIBOBJS,;t t

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.14

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