Diff for /embedaddon/libxml2/configure between versions 1.1.1.1 and 1.1.1.3

version 1.1.1.1, 2012/02/21 23:37:58 version 1.1.1.3, 2014/06/15 19:53:31
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.66.# Generated by GNU Autoconf 2.69.
 #  #
 #  #
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 
# Foundation, Inc. 
 #  #
 #  #
 # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
Line 89  fi Line 87  fi
 IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
   
 # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
   as_myself=
 case $0 in #((  case $0 in #((
   *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Line 133  export LANGUAGE Line 132  export LANGUAGE
 # CDPATH.  # CDPATH.
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   
   # Use a proper internal environment variable to ensure we don't fall
     # into an infinite loop, continuously re-executing ourselves.
     if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
       _as_can_reexec=no; export _as_can_reexec;
       # We cannot yet assume a decent shell, so we have to provide a
   # neutralization value for shells without unset; and this also
   # works around shells that cannot unset nonexistent variables.
   # Preserve -v and -x to the replacement shell.
   BASH_ENV=/dev/null
   ENV=/dev/null
   (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   case $- in # ((((
     *v*x* | *x*v* ) as_opts=-vx ;;
     *v* ) as_opts=-v ;;
     *x* ) as_opts=-x ;;
     * ) as_opts= ;;
   esac
   exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   # Admittedly, this is quite paranoid, since all the known shells bail
   # out after a failed `exec'.
   $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   as_fn_exit 255
     fi
     # We don't want this to propagate to other subprocesses.
             { _as_can_reexec=; unset _as_can_reexec;}
 if test "x$CONFIG_SHELL" = x; then  if test "x$CONFIG_SHELL" = x; then
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh    emulate sh
Line 166  if ( set x; as_fn_ret_success y && test x = \"\$1\" ); Line 190  if ( set x; as_fn_ret_success y && test x = \"\$1\" );
 else  else
   exitcode=1; echo positional parameters were not saved.    exitcode=1; echo positional parameters were not saved.
 fi  fi
test x\$exitcode = x0 || exit 1"test x\$exitcode = x0 || exit 1
 test -x / || exit 1"
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 test \$(( 1 + 1 )) = 2 || exit 1  
   
   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (    test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'      ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
Line 179  test \$(( 1 + 1 )) = 2 || exit 1 Line 203  test \$(( 1 + 1 )) = 2 || exit 1
     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO      ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     PATH=/empty FPATH=/empty; export PATH FPATH      PATH=/empty FPATH=/empty; export PATH FPATH
     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\      test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 test \$(( 1 + 1 )) = 2 || exit 1"
   if (eval "$as_required") 2>/dev/null; then :    if (eval "$as_required") 2>/dev/null; then :
   as_have_required=yes    as_have_required=yes
 else  else
Line 219  IFS=$as_save_IFS Line 244  IFS=$as_save_IFS
   
   
       if test "x$CONFIG_SHELL" != x; then :        if test "x$CONFIG_SHELL" != x; then :
  # We cannot yet assume a decent shell, so we have to provide a  export CONFIG_SHELL
        # neutralization value for shells without unset; and this also             # We cannot yet assume a decent shell, so we have to provide a
        # works around shells that cannot unset nonexistent variables.# neutralization value for shells without unset; and this also
        BASH_ENV=/dev/null# works around shells that cannot unset nonexistent variables.
        ENV=/dev/null# Preserve -v and -x to the replacement shell.
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENVBASH_ENV=/dev/null
        export CONFIG_SHELLENV=/dev/null
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 case $- in # ((((
   *v*x* | *x*v* ) as_opts=-vx ;;
   *v* ) as_opts=-v ;;
   *x* ) as_opts=-x ;;
   * ) as_opts= ;;
 esac
 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 # Admittedly, this is quite paranoid, since all the known shells bail
 # out after a failed `exec'.
 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 exit 255
 fi  fi
   
     if test x$as_have_required = xno; then :      if test x$as_have_required = xno; then :
Line 328  $as_echo X"$as_dir" | Line 364  $as_echo X"$as_dir" |
   
   
 } # as_fn_mkdir_p  } # as_fn_mkdir_p
   
   # as_fn_executable_p FILE
   # -----------------------
   # Test if FILE is an executable regular file.
   as_fn_executable_p ()
   {
     test -f "$1" && test -x "$1"
   } # as_fn_executable_p
 # as_fn_append VAR VALUE  # as_fn_append VAR VALUE
 # ----------------------  # ----------------------
 # Append the text in VALUE to the end of the definition contained in VAR. Take  # Append the text in VALUE to the end of the definition contained in VAR. Take
Line 449  as_cr_alnum=$as_cr_Letters$as_cr_digits Line 493  as_cr_alnum=$as_cr_Letters$as_cr_digits
   chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   
     # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     # already done that, so ensure we don't try to do so again and fall
     # in an infinite loop.  This has already happened in practice.
     _as_can_reexec=no; export _as_can_reexec
   # Don't try to exec as it changes $[0], causing all sort of problems    # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the    # (the dirname of $[0] is not the place where we might find the
   # original and so on.  Autoconf is especially sensitive to this).    # original and so on.  Autoconf is especially sensitive to this).
Line 483  if (echo >conf$$.file) 2>/dev/null; then Line 531  if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:      # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then    elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln      as_ln_s=ln
   else    else
    as_ln_s='cp -p'    as_ln_s='cp -pR'
   fi    fi
 else  else
  as_ln_s='cp -p'  as_ln_s='cp -pR'
 fi  fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
Line 504  else Line 552  else
   as_mkdir_p=false    as_mkdir_p=false
 fi  fi
   
if test -x / >/dev/null 2>&1; thenas_test_x='test -x'
  as_test_x='test -x'as_executable_p=as_fn_executable_p
else 
  if ls -dL / >/dev/null 2>&1; then 
    as_ls_L_option=L 
  else 
    as_ls_L_option= 
  fi 
  as_test_x=' 
    eval sh -c '\'' 
      if test -d "$1"; then 
        test -d "$1/."; 
      else 
        case $1 in #( 
        -*)set "./$1";; 
        esac; 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
        ???[sx]*):;;*)false;;esac;fi 
    '\'' sh 
  ' 
fi 
as_executable_p=$as_test_x 
   
 # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Line 637  WITH_SCHEMAS Line 665  WITH_SCHEMAS
 TEST_SCHEMATRON  TEST_SCHEMATRON
 WITH_SCHEMATRON  WITH_SCHEMATRON
 WITH_ISO8859X  WITH_ISO8859X
   ICU_LIBS
 WITH_ICU  WITH_ICU
 WITH_ICONV  WITH_ICONV
 WITH_OUTPUT  WITH_OUTPUT
Line 667  WITH_HTML Line 696  WITH_HTML
 TEST_PUSH  TEST_PUSH
 WITH_PUSH  WITH_PUSH
 TEST_SAX  TEST_SAX
   WITH_SAX1_SOURCES_FALSE
   WITH_SAX1_SOURCES_TRUE
 WITH_SAX1  WITH_SAX1
 TEST_PATTERN  TEST_PATTERN
 WITH_PATTERN  WITH_PATTERN
Line 679  WITH_HTTP Line 710  WITH_HTTP
 FTP_OBJ  FTP_OBJ
 WITH_FTP  WITH_FTP
 WITH_TREE  WITH_TREE
THREADS_W32THREADS_W32_FALSE
 THREADS_W32_TRUE
 WITH_THREAD_ALLOC
 TEST_THREADS  TEST_THREADS
 THREAD_CFLAGS  THREAD_CFLAGS
 WITH_THREADS  WITH_THREADS
Line 699  pythondir Line 732  pythondir
 WITH_PYTHON_FALSE  WITH_PYTHON_FALSE
 WITH_PYTHON_TRUE  WITH_PYTHON_TRUE
 PYTHON  PYTHON
   WITH_LZMA
   LZMA_LIBS
   LZMA_CFLAGS
 WITH_ZLIB  WITH_ZLIB
 Z_LIBS  Z_LIBS
 Z_CFLAGS  Z_CFLAGS
Line 713  OTOOL Line 749  OTOOL
 LIPO  LIPO
 NMEDIT  NMEDIT
 DSYMUTIL  DSYMUTIL
   MANIFEST_TOOL
 RANLIB  RANLIB
   ac_ct_AR
 AR  AR
LN_SDLLTOOL
 OBJDUMP
 NM  NM
 ac_ct_DUMPBIN  ac_ct_DUMPBIN
 DUMPBIN  DUMPBIN
 LD  LD
 FGREP  FGREP
 SED  
 LIBTOOL  
 OBJDUMP  
 DLLTOOL  
 AS  
 ANSI2KNR  
 U  
 EGREP  EGREP
 GREP  GREP
   SED
   LIBTOOL
 XSLTPROC  XSLTPROC
 XMLLINT  XMLLINT
 WGET  WGET
 PERL  PERL
 TAR  TAR
 MV  MV
 RM  
 CPP  CPP
   LN_S
 am__fastdepCC_FALSE  am__fastdepCC_FALSE
 am__fastdepCC_TRUE  am__fastdepCC_TRUE
 CCDEPMODE  CCDEPMODE
   am__nodep
 AMDEPBACKSLASH  AMDEPBACKSLASH
 AMDEP_FALSE  AMDEP_FALSE
 AMDEP_TRUE  AMDEP_TRUE
Line 754  CPPFLAGS Line 789  CPPFLAGS
 LDFLAGS  LDFLAGS
 CFLAGS  CFLAGS
 CC  CC
   AM_BACKSLASH
   AM_DEFAULT_VERBOSITY
   AM_DEFAULT_V
   AM_V
 am__untar  am__untar
 am__tar  am__tar
 AMTAR  AMTAR
Line 833  SHELL' Line 872  SHELL'
 ac_subst_files=''  ac_subst_files=''
 ac_user_opts='  ac_user_opts='
 enable_option_checking  enable_option_checking
   enable_silent_rules
 enable_dependency_tracking  enable_dependency_tracking
 enable_shared  enable_shared
 enable_static  enable_static
 with_pic  with_pic
 enable_fast_install  enable_fast_install
 with_gnu_ld  with_gnu_ld
   with_sysroot
 enable_libtool_lock  enable_libtool_lock
 with_c14n  with_c14n
 with_catalog  with_catalog
Line 878  with_xpath Line 919  with_xpath
 with_xptr  with_xptr
 with_modules  with_modules
 with_zlib  with_zlib
   with_lzma
 with_coverage  with_coverage
 enable_rebuild_docs  enable_rebuild_docs
 enable_ipv6  enable_ipv6
Line 953  do Line 995  do
   fi    fi
   
   case $ac_option in    case $ac_option in
  *=*)        ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)        ac_optarg=yes ;;  *=)   ac_optarg= ;;
   *)    ac_optarg=yes ;;
   esac    esac
   
   # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
Line 1294  Try \`$0 --help' for more information" Line 1337  Try \`$0 --help' for more information"
     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     ;;      ;;
   
   esac    esac
Line 1345  target=$target_alias Line 1388  target=$target_alias
 if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
     cross_compiling=maybe      cross_compiling=maybe
     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.  
     If a cross compiler is detected then cross compile mode will be used" >&2  
   elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes      cross_compiling=yes
   fi    fi
Line 1508  Optional Features: Line 1549  Optional Features:
   --disable-option-checking  ignore unrecognized --enable/--with options    --disable-option-checking  ignore unrecognized --enable/--with options
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     --enable-silent-rules          less verbose build output (undo: `make V=1')
     --disable-silent-rules         verbose build output (undo: `make V=0')
   --disable-dependency-tracking  speeds up one-time build    --disable-dependency-tracking  speeds up one-time build
   --enable-dependency-tracking   do not reject slow dependency extractors    --enable-dependency-tracking   do not reject slow dependency extractors
   --enable-shared[=PKGS]  build shared libraries [default=yes]    --enable-shared[=PKGS]  build shared libraries [default=yes]
Line 1515  Optional Features: Line 1558  Optional Features:
   --enable-fast-install[=PKGS]    --enable-fast-install[=PKGS]
                           optimize for fast installation [default=yes]                            optimize for fast installation [default=yes]
   --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-rebuild-docs[=yes/no]  rebuild some generated docs [default=yes]  --enable-rebuild-docs[=yes/no]  rebuild some generated docs [default=no]
   --enable-ipv6[=yes/no]  enables compilation of IPv6 code [default=yes]    --enable-ipv6[=yes/no]  enables compilation of IPv6 code [default=yes]
   
 Optional Packages:  Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-pic              try to use only PIC/non-PIC objects [default=use  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                           both]                            both]
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     --with-sysroot=DIR Search for dependent libraries within DIR
                           (or the compiler's sysroot if not specified).
   --with-c14n             add the Canonicalization support (on)    --with-c14n             add the Canonicalization support (on)
   --with-catalog          add the Catalog support (on)    --with-catalog          add the Catalog support (on)
   --with-debug            add the debugging module (on)    --with-debug            add the debugging module (on)
Line 1564  Optional Packages: Line 1609  Optional Packages:
   --with-xptr             add the XPointer support (on)    --with-xptr             add the XPointer support (on)
   --with-modules          add the dynamic modules support (on)    --with-modules          add the dynamic modules support (on)
   --with-zlib[=DIR]       use libz in DIR    --with-zlib[=DIR]       use libz in DIR
     --with-lzma[=DIR]       use liblzma in DIR
   --with-coverage         build for code coverage with GCC (off)    --with-coverage         build for code coverage with GCC (off)
   
 Some influential environment variables:  Some influential environment variables:
Line 1643  test -n "$ac_init_help" && exit $ac_status Line 1689  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
 configure  configure
generated by GNU Autoconf 2.66generated by GNU Autoconf 2.69
   
Copyright (C) 2010 Free Software Foundation, Inc.Copyright (C) 2012 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
 _ACEOF  _ACEOF
Line 1689  sed 's/^/| /' conftest.$ac_ext >&5 Line 1735  sed 's/^/| /' conftest.$ac_ext >&5
   
         ac_retval=1          ac_retval=1
 fi  fi
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval    as_fn_set_status $ac_retval
   
 } # ac_fn_c_try_compile  } # ac_fn_c_try_compile
Line 1715  $as_echo "$ac_try_echo"; } >&5 Line 1761  $as_echo "$ac_try_echo"; } >&5
     mv -f conftest.er1 conftest.err      mv -f conftest.er1 conftest.err
   fi    fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } >/dev/null && {  test $ac_status = 0; } > conftest.i && {
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
          test ! -s conftest.err           test ! -s conftest.err
        }; then :         }; then :
Line 1726  sed 's/^/| /' conftest.$ac_ext >&5 Line 1772  sed 's/^/| /' conftest.$ac_ext >&5
   
     ac_retval=1      ac_retval=1
 fi  fi
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval    as_fn_set_status $ac_retval
   
 } # ac_fn_c_try_cpp  } # ac_fn_c_try_cpp
   
   # ac_fn_c_try_link LINENO
   # -----------------------
   # Try to link conftest.$ac_ext, and return whether this succeeded.
   ac_fn_c_try_link ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     rm -f conftest.$ac_objext conftest$ac_exeext
     if { { ac_try="$ac_link"
   case "(($ac_try" in
     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     *) ac_try_echo=$ac_try;;
   esac
   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   $as_echo "$ac_try_echo"; } >&5
     (eval "$ac_link") 2>conftest.err
     ac_status=$?
     if test -s conftest.err; then
       grep -v '^ *+' conftest.err >conftest.er1
       cat conftest.er1 >&5
       mv -f conftest.er1 conftest.err
     fi
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; } && {
            test -z "$ac_c_werror_flag" ||
            test ! -s conftest.err
          } && test -s conftest$ac_exeext && {
            test "$cross_compiling" = yes ||
            test -x conftest$ac_exeext
          }; then :
     ac_retval=0
   else
     $as_echo "$as_me: failed program was:" >&5
   sed 's/^/| /' conftest.$ac_ext >&5
   
           ac_retval=1
   fi
     # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     # interfere with the next link command; also delete a directory that is
     # left behind by Apple's compiler.  We do this before executing the actions.
     rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     as_fn_set_status $ac_retval
   
   } # ac_fn_c_try_link
   
   # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   # -------------------------------------------------------
   # Tests whether HEADER exists and can be compiled using the include files in
   # INCLUDES, setting the cache variable VAR accordingly.
   ac_fn_c_check_header_compile ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   $as_echo_n "checking for $2... " >&6; }
   if eval \${$3+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   $4
   #include <$2>
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     eval "$3=yes"
   else
     eval "$3=no"
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   eval ac_res=\$$3
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
     eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
   } # ac_fn_c_check_header_compile
   
 # ac_fn_c_try_run LINENO  # ac_fn_c_try_run LINENO
 # ----------------------  # ----------------------
 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes  # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
Line 1768  sed 's/^/| /' conftest.$ac_ext >&5 Line 1891  sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=$ac_status         ac_retval=$ac_status
 fi  fi
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval    as_fn_set_status $ac_retval
   
 } # ac_fn_c_try_run  } # ac_fn_c_try_run
   
   # ac_fn_c_check_func LINENO FUNC VAR
   # ----------------------------------
   # Tests whether FUNC exists, setting the cache variable VAR accordingly
   ac_fn_c_check_func ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   $as_echo_n "checking for $2... " >&6; }
   if eval \${$3+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
      For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   #define $2 innocuous_$2
   
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char $2 (); below.
       Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
       <limits.h> exists even on freestanding compilers.  */
   
   #ifdef __STDC__
   # include <limits.h>
   #else
   # include <assert.h>
   #endif
   
   #undef $2
   
   /* Override any GCC internal prototype to avoid an error.
      Use char because int might match the return type of a GCC
      builtin and then its argument prototype would still apply.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   char $2 ();
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined __stub_$2 || defined __stub___$2
   choke me
   #endif
   
   int
   main ()
   {
   return $2 ();
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     eval "$3=yes"
   else
     eval "$3=no"
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   fi
   eval ac_res=\$$3
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
     eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
   } # ac_fn_c_check_func
   
 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES  # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 # -------------------------------------------------------  # -------------------------------------------------------
 # Tests whether HEADER exists, giving a warning if it cannot be compiled using  # Tests whether HEADER exists, giving a warning if it cannot be compiled using
Line 1781  fi Line 1971  fi
 ac_fn_c_check_header_mongrel ()  ac_fn_c_check_header_mongrel ()
 {  {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  if eval "test \"\${$3+set}\"" = set; then :  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
if eval "test \"\${$3+set}\"" = set; then :if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 fi  fi
 eval ac_res=\$$3  eval ac_res=\$$3
Line 1820  if ac_fn_c_try_cpp "$LINENO"; then : Line 2010  if ac_fn_c_try_cpp "$LINENO"; then :
 else  else
   ac_header_preproc=no    ac_header_preproc=no
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }  $as_echo "$ac_header_preproc" >&6; }
   
Line 1847  $as_echo "$as_me: WARNING: $2: proceeding with the com Line 2037  $as_echo "$as_me: WARNING: $2: proceeding with the com
 esac  esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
if eval "test \"\${$3+set}\"" = set; then :if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   eval "$3=\$ac_header_compiler"    eval "$3=\$ac_header_compiler"
Line 1856  eval ac_res=\$$3 Line 2046  eval ac_res=\$$3
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }  $as_echo "$ac_res" >&6; }
 fi  fi
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
 } # ac_fn_c_check_header_mongrel  } # ac_fn_c_check_header_mongrel
   
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES# ac_fn_c_find_uintX_t LINENO BITS VAR
# -------------------------------------------------------# ------------------------------------
Tests whether HEADER exists and can be compiled using the include files inFinds an unsigned integer type with width BITS, setting cache variable VAR
# INCLUDES, setting the cache variable VAR accordingly.# accordingly.
ac_fn_c_check_header_compile ()ac_fn_c_find_uintX_t ()
 {  {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
$as_echo_n "checking for $2... " >&6; }$as_echo_n "checking for uint$2_t... " >&6; }
if eval "test \"\${$3+set}\"" = set; then :if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 #include <$2>  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   eval "$3=yes"  
 else  
   eval "$3=no"    eval "$3=no"
fi     # Order is important - never check a type that is potentially smaller
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext     # than half of the expected target width.
fi     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
eval ac_res=\$$3         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
$as_echo "$ac_res" >&6; } 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
 
} # ac_fn_c_check_header_compile 
 
# ac_fn_c_try_link LINENO 
# ----------------------- 
# Try to link conftest.$ac_ext, and return whether this succeeded. 
ac_fn_c_try_link () 
{ 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
  rm -f conftest.$ac_objext conftest$ac_exeext 
  if { { ac_try="$ac_link" 
case "(($ac_try" in 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
  *) ac_try_echo=$ac_try;; 
esac 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
$as_echo "$ac_try_echo"; } >&5 
  (eval "$ac_link") 2>conftest.err 
  ac_status=$? 
  if test -s conftest.err; then 
    grep -v '^ *+' conftest.err >conftest.er1 
    cat conftest.er1 >&5 
    mv -f conftest.er1 conftest.err 
  fi 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
  test $ac_status = 0; } && { 
         test -z "$ac_c_werror_flag" || 
         test ! -s conftest.err 
       } && test -s conftest$ac_exeext && { 
         test "$cross_compiling" = yes || 
         $as_test_x conftest$ac_exeext 
       }; then : 
  ac_retval=0 
else 
  $as_echo "$as_me: failed program was:" >&5 
sed 's/^/| /' conftest.$ac_ext >&5 
 
        ac_retval=1 
fi 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
  # interfere with the next link command; also delete a directory that is 
  # left behind by Apple's compiler.  We do this before executing the actions. 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
  as_fn_set_status $ac_retval 
 
} # ac_fn_c_try_link 
 
# ac_fn_c_check_func LINENO FUNC VAR 
# ---------------------------------- 
# Tests whether FUNC exists, setting the cache variable VAR accordingly 
ac_fn_c_check_func () 
{ 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
$as_echo_n "checking for $2... " >&6; } 
if eval "test \"\${$3+set}\"" = set; then : 
  $as_echo_n "(cached) " >&6 
else 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
 /* end confdefs.h.  */  /* end confdefs.h.  */
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.$ac_includes_default
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
#define $2 innocuous_$2 
 
/* System header to define __stub macros and hopefully few prototypes, 
    which can conflict with char $2 (); below. 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    <limits.h> exists even on freestanding compilers.  */ 
 
#ifdef __STDC__ 
# include <limits.h> 
#else 
# include <assert.h> 
#endif 
 
#undef $2 
 
/* Override any GCC internal prototype to avoid an error. 
   Use char because int might match the return type of a GCC 
   builtin and then its argument prototype would still apply.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
char $2 (); 
/* The GNU C library defines this for functions which it implements 
    to always fail with ENOSYS.  Some functions are actually named 
    something starting with __ and the normal name is an alias.  */ 
#if defined __stub_$2 || defined __stub___$2 
choke me 
#endif 
 
 int  int
 main ()  main ()
 {  {
return $2 ();static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 test_array [0] = 0;
 return test_array [0];
 
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
if ac_fn_c_try_link "$LINENO"; then :if ac_fn_c_try_compile "$LINENO"; then :
  eval "$3=yes"  case $ac_type in #(
   uint$2_t) :
     eval "$3=yes" ;; #(
   *) :
     eval "$3=\$ac_type" ;;
 esac
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        if eval test \"x\$"$3"\" = x"no"; then :
 
 else  else
  eval "$3=no"  break
 fi  fi
rm -f core conftest.err conftest.$ac_objext \     done
    conftest$ac_exeext conftest.$ac_ext 
 fi  fi
 eval ac_res=\$$3  eval ac_res=\$$3
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }  $as_echo "$ac_res" >&6; }
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
} # ac_fn_c_check_func} # ac_fn_c_find_uintX_t
 cat >config.log <<_ACEOF  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
 It was created by $as_me, which was  It was created by $as_me, which was
generated by GNU Autoconf 2.66.  Invocation command line wasgenerated by GNU Autoconf 2.69.  Invocation command line was
   
   $ $0 $@    $ $0 $@
   
Line 2355  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $ Line 2455  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   
   
 ac_config_headers="$ac_config_headers config.h"  ac_config_headers="$ac_config_headers config.h"
   
   
Line 2393  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 | Line 2494  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 |
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }  $as_echo_n "checking build system type... " >&6; }
if test "${ac_cv_build+set}" = set; then :if ${ac_cv_build+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_build_alias=$build_alias    ac_build_alias=$build_alias
Line 2427  case $build_os in *\ *) build_os=`echo "$build_os" | s Line 2528  case $build_os in *\ *) build_os=`echo "$build_os" | s
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 $as_echo_n "checking host system type... " >&6; }  $as_echo_n "checking host system type... " >&6; }
if test "${ac_cv_host+set}" = set; then :if ${ac_cv_host+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test "x$host_alias" = x; then    if test "x$host_alias" = x; then
Line 2460  case $host_os in *\ *) host_os=`echo "$host_os" | sed  Line 2561  case $host_os in *\ *) host_os=`echo "$host_os" | sed 
   
   
 LIBXML_MAJOR_VERSION=2  LIBXML_MAJOR_VERSION=2
LIBXML_MINOR_VERSION=7LIBXML_MINOR_VERSION=9
LIBXML_MICRO_VERSION=8LIBXML_MICRO_VERSION=1
 LIBXML_MICRO_VERSION_SUFFIX=  LIBXML_MICRO_VERSION_SUFFIX=
 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX  LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION  LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
Line 2483  else if test -d .svn ; then Line 2584  else if test -d .svn ; then
       LIBXML_VERSION_EXTRA="-SVN$extra"        LIBXML_VERSION_EXTRA="-SVN$extra"
   fi    fi
 else if test -d .git ; then  else if test -d .git ; then
  extra=`git describe | sed 's+LIBXML[0-9.]*-++'`  extra=`git describe 2>/dev/null | sed 's+LIBXML[0-9.]*-++'`
   echo extra=$extra    echo extra=$extra
   if test "$extra" != ""    if test "$extra" != ""
   then    then
Line 2521  am__api_version='1.11' Line 2622  am__api_version='1.11'
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 $as_echo_n "checking for a BSD-compatible install... " >&6; }  $as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then :if ${ac_cv_path_install+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Line 2541  case $as_dir/ in #(( Line 2642  case $as_dir/ in #((
     # by default.      # by default.
     for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
           if test $ac_prog = install &&            if test $ac_prog = install &&
             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
             # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
Line 2698  if test "$cross_compiling" != no; then Line 2799  if test "$cross_compiling" != no; then
 set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_STRIP+set}" = set; then :if ${ac_cv_prog_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$STRIP"; then    if test -n "$STRIP"; then
Line 2710  do Line 2811  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 2738  if test -z "$ac_cv_prog_STRIP"; then Line 2839  if test -z "$ac_cv_prog_STRIP"; then
 set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_STRIP"; then    if test -n "$ac_ct_STRIP"; then
Line 2750  do Line 2851  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"      ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 2791  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" Line 2892  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }  $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 if test -z "$MKDIR_P"; then  if test -z "$MKDIR_P"; then
  if test "${ac_cv_path_mkdir+set}" = set; then :  if ${ac_cv_path_mkdir+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Line 2801  do Line 2902  do
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_prog in mkdir gmkdir; do      for ac_prog in mkdir gmkdir; do
          for ac_exec_ext in '' $ac_executable_extensions; do           for ac_exec_ext in '' $ac_executable_extensions; do
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(             case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
              'mkdir (GNU coreutils) '* | \               'mkdir (GNU coreutils) '* | \
              'mkdir (coreutils) '* | \               'mkdir (coreutils) '* | \
Line 2842  do Line 2943  do
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_AWK+set}" = set; then :if ${ac_cv_prog_AWK+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$AWK"; then    if test -n "$AWK"; then
Line 2854  do Line 2955  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_AWK="$ac_prog"      ac_cv_prog_AWK="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 2882  done Line 2983  done
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 set x ${MAKE-make}  set x ${MAKE-make}
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
Line 2970  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} Line 3071  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   
 # We need awk for the "check" target.  The system "awk" is bad on  # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.  # some platforms.
# Always define AMTAR for backward compatibility.# Always define AMTAR for backward compatibility.  Yes, it's still used
 # in the wild :-(  We should find a proper way to deprecate it ...
 AMTAR='$${TAR-tar}'
   
AMTAR=${AMTAR-"${am_missing_run}tar"}am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   
 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'  
   
   
   
   
   
   # Support silent build rules, requires at least automake-1.11. Disable
   # by either passing --disable-silent-rules to configure or passing V=1
   # to make
   # Check whether --enable-silent-rules was given.
   if test "${enable_silent_rules+set}" = set; then :
     enableval=$enable_silent_rules;
   fi
   
   case $enable_silent_rules in
   yes) AM_DEFAULT_VERBOSITY=0;;
   no)  AM_DEFAULT_VERBOSITY=1;;
   *)   AM_DEFAULT_VERBOSITY=0;;
   esac
   am_make=${MAKE-make}
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   if ${am_cv_make_support_nested_variables+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if $as_echo 'TRUE=$(BAR$(V))
   BAR0=false
   BAR1=true
   V=1
   am__doit:
           @$(TRUE)
   .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     am_cv_make_support_nested_variables=yes
   else
     am_cv_make_support_nested_variables=no
   fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   $as_echo "$am_cv_make_support_nested_variables" >&6; }
   if test $am_cv_make_support_nested_variables = yes; then
       AM_V='$(V)'
     AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   else
     AM_V=$AM_DEFAULT_VERBOSITY
     AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   fi
   AM_BACKSLASH='\'
   
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Line 2991  if test -n "$ac_tool_prefix"; then Line 3135  if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
Line 3003  do Line 3147  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 3031  if test -z "$ac_cv_prog_CC"; then Line 3175  if test -z "$ac_cv_prog_CC"; then
 set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
Line 3043  do Line 3187  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 3084  if test -z "$CC"; then Line 3228  if test -z "$CC"; then
 set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
Line 3096  do Line 3240  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 3124  if test -z "$CC"; then Line 3268  if test -z "$CC"; then
 set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
Line 3137  do Line 3281  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes         ac_prog_rejected=yes
        continue         continue
Line 3183  if test -z "$CC"; then Line 3327  if test -z "$CC"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
Line 3195  do Line 3339  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 3227  do Line 3371  do
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
Line 3239  do Line 3383  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 3510  rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest. Line 3654  rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.
 ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 $as_echo_n "checking for suffix of object files... " >&6; }  $as_echo_n "checking for suffix of object files... " >&6; }
if test "${ac_cv_objext+set}" = set; then :if ${ac_cv_objext+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 3561  OBJEXT=$ac_cv_objext Line 3705  OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT  ac_objext=$OBJEXT
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
if test "${ac_cv_c_compiler_gnu+set}" = set; then :if ${ac_cv_c_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 3598  ac_test_CFLAGS=${CFLAGS+set} Line 3742  ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }  $as_echo_n "checking whether $CC accepts -g... " >&6; }
if test "${ac_cv_prog_cc_g+set}" = set; then :if ${ac_cv_prog_cc_g+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
Line 3676  else Line 3820  else
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then :if ${ac_cv_prog_cc_c89+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
Line 3685  cat confdefs.h - <<_ACEOF >conftest.$ac_ext Line 3829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdarg.h>  #include <stdarg.h>
 #include <stdio.h>  #include <stdio.h>
#include <sys/types.h>struct stat;
#include <sys/stat.h> 
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 struct buf { int x; };  struct buf { int x; };
 FILE * (*rcsopen) (struct buf *, struct stat *, int);  FILE * (*rcsopen) (struct buf *, struct stat *, int);
Line 3822  fi Line 3965  fi
 if test "x$enable_dependency_tracking" != xno; then  if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"    am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'    AMDEPBACKSLASH='\'
     am__nodep='_no'
 fi  fi
  if test "x$enable_dependency_tracking" != xno; then   if test "x$enable_dependency_tracking" != xno; then
   AMDEP_TRUE=    AMDEP_TRUE=
Line 3837  depcc="$CC"   am_compiler_list= Line 3981  depcc="$CC"   am_compiler_list=
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 $as_echo_n "checking dependency style of $depcc... " >&6; }  $as_echo_n "checking dependency style of $depcc... " >&6; }
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
Line 3846  else Line 3990  else
   # instance it was reported that on HP-UX the gcc test will end up    # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output    # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.    # in D'.
     rm -rf conftest.dir
   mkdir conftest.dir    mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're    # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.    # using a relative directory.
Line 3905  else Line 4050  else
         break          break
       fi        fi
       ;;        ;;
    msvisualcpp | msvcmsys)    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has        # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and        # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.        # so weak that their functioning should not be impacted.
Line 3961  fi Line 4106  fi
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   $as_echo_n "checking whether ln -s works... " >&6; }
   LN_S=$as_ln_s
   if test "$LN_S" = "ln -s"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   $as_echo "no, using $LN_S" >&6; }
   fi
   
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Line 3974  if test -n "$CPP" && test -d "$CPP"; then Line 4130  if test -n "$CPP" && test -d "$CPP"; then
   CPP=    CPP=
 fi  fi
 if test -z "$CPP"; then  if test -z "$CPP"; then
  if test "${ac_cv_prog_CPP+set}" = set; then :  if ${ac_cv_prog_CPP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
       # Double quotes because CPP needs to be expanded        # Double quotes because CPP needs to be expanded
Line 4004  else Line 4160  else
   # Broken: fails on valid input.    # Broken: fails on valid input.
 continue  continue
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
   
   # OK, works on sane cases.  Now check whether nonexistent headers    # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.    # can be detected and how.
Line 4020  else Line 4176  else
 ac_preproc_ok=:  ac_preproc_ok=:
 break  break
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
   
 done  done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_extrm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :  if $ac_preproc_ok; then :
   break    break
 fi  fi
Line 4063  else Line 4219  else
   # Broken: fails on valid input.    # Broken: fails on valid input.
 continue  continue
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
   
   # OK, works on sane cases.  Now check whether nonexistent headers    # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.    # can be detected and how.
Line 4079  else Line 4235  else
 ac_preproc_ok=:  ac_preproc_ok=:
 break  break
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
   
 done  done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_extrm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :  if $ac_preproc_ok; then :
   
 else  else
Line 4099  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext  Line 4255  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext 
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 # Extract the first word of "rm", so it can be a program name with args.  
 set dummy rm; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if test "${ac_cv_path_RM+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   case $RM in  
   [\\/]* | ?:[\\/]*)  
   ac_cv_path_RM="$RM" # Let the user override the test with a path.  
   ;;  
   *)  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_exec_ext in '' $ac_executable_extensions; do  
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  
     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
   test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"  
   ;;  
 esac  
 fi  
 RM=$ac_cv_path_RM  
 if test -n "$RM"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5  
 $as_echo "$RM" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   
 # Extract the first word of "mv", so it can be a program name with args.  # Extract the first word of "mv", so it can be a program name with args.
 set dummy mv; ac_word=$2  set dummy mv; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_MV+set}" = set; then :if ${ac_cv_path_MV+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $MV in    case $MV in
Line 4158  do Line 4273  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 4185  fi Line 4300  fi
 set dummy tar; ac_word=$2  set dummy tar; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_TAR+set}" = set; then :if ${ac_cv_path_TAR+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $TAR in    case $TAR in
Line 4199  do Line 4314  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 4226  fi Line 4341  fi
 set dummy perl; ac_word=$2  set dummy perl; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_PERL+set}" = set; then :if ${ac_cv_path_PERL+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $PERL in    case $PERL in
Line 4240  do Line 4355  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 4267  fi Line 4382  fi
 set dummy wget; ac_word=$2  set dummy wget; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_WGET+set}" = set; then :if ${ac_cv_path_WGET+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $WGET in    case $WGET in
Line 4281  do Line 4396  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 4308  fi Line 4423  fi
 set dummy xmllint; ac_word=$2  set dummy xmllint; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_XMLLINT+set}" = set; then :if ${ac_cv_path_XMLLINT+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $XMLLINT in    case $XMLLINT in
Line 4322  do Line 4437  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 4349  fi Line 4464  fi
 set dummy xsltproc; ac_word=$2  set dummy xsltproc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_XSLTPROC+set}" = set; then :if ${ac_cv_path_XSLTPROC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $XSLTPROC in    case $XSLTPROC in
Line 4363  do Line 4478  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 4387  fi Line 4502  fi
   
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5  
 $as_echo_n "checking for function prototypes... " >&6; }  
 if test "$ac_cv_prog_cc_c89" != no; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  
 $as_echo "yes" >&6; }  
   
 $as_echo "#define PROTOTYPES 1" >>confdefs.h  
   
   
 $as_echo "#define __PROTOTYPES 1" >>confdefs.h  
   
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5  
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }  
 if test "${ac_cv_path_GREP+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -z "$GREP"; then  
   ac_path_GREP_found=false  
   # Loop through the user's path and test for each of PROGNAME-LIST  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_prog in grep ggrep; do  
     for ac_exec_ext in '' $ac_executable_extensions; do  
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"  
       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue  
 # Check for GNU ac_path_GREP and select it if it is found.  
   # Check for GNU $ac_path_GREP  
 case `"$ac_path_GREP" --version 2>&1` in  
 *GNU*)  
   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;  
 *)  
   ac_count=0  
   $as_echo_n 0123456789 >"conftest.in"  
   while :  
   do  
     cat "conftest.in" "conftest.in" >"conftest.tmp"  
     mv "conftest.tmp" "conftest.in"  
     cp "conftest.in" "conftest.nl"  
     $as_echo 'GREP' >> "conftest.nl"  
     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break  
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break  
     as_fn_arith $ac_count + 1 && ac_count=$as_val  
     if test $ac_count -gt ${ac_path_GREP_max-0}; then  
       # Best one so far, save it but keep looking for a better one  
       ac_cv_path_GREP="$ac_path_GREP"  
       ac_path_GREP_max=$ac_count  
     fi  
     # 10*(2^10) chars as input seems more than enough  
     test $ac_count -gt 10 && break  
   done  
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;  
 esac  
   
       $ac_path_GREP_found && break 3  
     done  
   done  
   done  
 IFS=$as_save_IFS  
   if test -z "$ac_cv_path_GREP"; then  
     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5  
   fi  
 else  
   ac_cv_path_GREP=$GREP  
 fi  
   
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5  
 $as_echo "$ac_cv_path_GREP" >&6; }  
  GREP="$ac_cv_path_GREP"  
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5  
 $as_echo_n "checking for egrep... " >&6; }  
 if test "${ac_cv_path_EGREP+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1  
    then ac_cv_path_EGREP="$GREP -E"  
    else  
      if test -z "$EGREP"; then  
   ac_path_EGREP_found=false  
   # Loop through the user's path and test for each of PROGNAME-LIST  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_prog in egrep; do  
     for ac_exec_ext in '' $ac_executable_extensions; do  
       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"  
       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue  
 # Check for GNU ac_path_EGREP and select it if it is found.  
   # Check for GNU $ac_path_EGREP  
 case `"$ac_path_EGREP" --version 2>&1` in  
 *GNU*)  
   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;  
 *)  
   ac_count=0  
   $as_echo_n 0123456789 >"conftest.in"  
   while :  
   do  
     cat "conftest.in" "conftest.in" >"conftest.tmp"  
     mv "conftest.tmp" "conftest.in"  
     cp "conftest.in" "conftest.nl"  
     $as_echo 'EGREP' >> "conftest.nl"  
     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break  
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break  
     as_fn_arith $ac_count + 1 && ac_count=$as_val  
     if test $ac_count -gt ${ac_path_EGREP_max-0}; then  
       # Best one so far, save it but keep looking for a better one  
       ac_cv_path_EGREP="$ac_path_EGREP"  
       ac_path_EGREP_max=$ac_count  
     fi  
     # 10*(2^10) chars as input seems more than enough  
     test $ac_count -gt 10 && break  
   done  
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;  
 esac  
   
       $ac_path_EGREP_found && break 3  
     done  
   done  
   done  
 IFS=$as_save_IFS  
   if test -z "$ac_cv_path_EGREP"; then  
     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5  
   fi  
 else  
   ac_cv_path_EGREP=$EGREP  
 fi  
   
    fi  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5  
 $as_echo "$ac_cv_path_EGREP" >&6; }  
  EGREP="$ac_cv_path_EGREP"  
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5  
 $as_echo_n "checking for ANSI C header files... " >&6; }  
 if test "${ac_cv_header_stdc+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 #include <stdlib.h>  
 #include <stdarg.h>  
 #include <string.h>  
 #include <float.h>  
   
 int  
 main ()  
 {  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   ac_cv_header_stdc=yes  
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
   
 if test $ac_cv_header_stdc = yes; then  
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 #include <string.h>  
   
 _ACEOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   $EGREP "memchr" >/dev/null 2>&1; then :  
   
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
   
 fi  
   
 if test $ac_cv_header_stdc = yes; then  
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 #include <stdlib.h>  
   
 _ACEOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   $EGREP "free" >/dev/null 2>&1; then :  
   
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
   
 fi  
   
 if test $ac_cv_header_stdc = yes; then  
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.  
   if test "$cross_compiling" = yes; then :  
   :  
 else  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 #include <ctype.h>  
 #include <stdlib.h>  
 #if ((' ' & 0x0FF) == 0x020)  
 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  
 #else  
 # define ISLOWER(c) \  
                    (('a' <= (c) && (c) <= 'i') \  
                      || ('j' <= (c) && (c) <= 'r') \  
                      || ('s' <= (c) && (c) <= 'z'))  
 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  
 #endif  
   
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))  
 int  
 main ()  
 {  
   int i;  
   for (i = 0; i < 256; i++)  
     if (XOR (islower (i), ISLOWER (i))  
         || toupper (i) != TOUPPER (i))  
       return 2;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_run "$LINENO"; then :  
   
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \  
   conftest.$ac_objext conftest.beam conftest.$ac_ext  
 fi  
   
 fi  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5  
 $as_echo "$ac_cv_header_stdc" >&6; }  
 if test $ac_cv_header_stdc = yes; then  
   
 $as_echo "#define STDC_HEADERS 1" >>confdefs.h  
   
 fi  
   
 # On IRIX 5.3, sys/types and inttypes.h are conflicting.  
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  
                   inttypes.h stdint.h unistd.h  
 do :  
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`  
 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default  
 "  
 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :  
   cat >>confdefs.h <<_ACEOF  
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1  
 _ACEOF  
   
 fi  
   
 done  
   
   
   
 if test "$ac_cv_prog_cc_stdc" != no; then  
   U= ANSI2KNR=  
 else  
   U=_ ANSI2KNR=./ansi2knr  
 fi  
 # Ensure some checks needed by ansi2knr itself.  
   
 for ac_header in string.h  
 do :  
   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"  
 if test "x$ac_cv_header_string_h" = x""yes; then :  
   cat >>confdefs.h <<_ACEOF  
 #define HAVE_STRING_H 1  
 _ACEOF  
   
 fi  
   
 done  
   
   
 test "x$U" != "x" && as_fn_error $? "Compiler not ANSI compliant" "$LINENO" 5  
   
 enable_win32_dll=yes  
   
 case $host in  
 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)  
   if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}as; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if test "${ac_cv_prog_AS+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$AS"; then  
   ac_cv_prog_AS="$AS" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_exec_ext in '' $ac_executable_extensions; do  
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  
     ac_cv_prog_AS="${ac_tool_prefix}as"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 AS=$ac_cv_prog_AS  
 if test -n "$AS"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5  
 $as_echo "$AS" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   
 fi  
 if test -z "$ac_cv_prog_AS"; then  
   ac_ct_AS=$AS  
   # Extract the first word of "as", so it can be a program name with args.  
 set dummy as; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$ac_ct_AS"; then  
   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_exec_ext in '' $ac_executable_extensions; do  
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  
     ac_cv_prog_ac_ct_AS="as"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 ac_ct_AS=$ac_cv_prog_ac_ct_AS  
 if test -n "$ac_ct_AS"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5  
 $as_echo "$ac_ct_AS" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   if test "x$ac_ct_AS" = x; then  
     AS="false"  
   else  
     case $cross_compiling:$ac_tool_warned in  
 yes:)  
 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5  
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  
 ac_tool_warned=yes ;;  
 esac  
     AS=$ac_ct_AS  
   fi  
 else  
   AS="$ac_cv_prog_AS"  
 fi  
   
   if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}dlltool; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$DLLTOOL"; then  
   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_exec_ext in '' $ac_executable_extensions; do  
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  
     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 DLLTOOL=$ac_cv_prog_DLLTOOL  
 if test -n "$DLLTOOL"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5  
 $as_echo "$DLLTOOL" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   
 fi  
 if test -z "$ac_cv_prog_DLLTOOL"; then  
   ac_ct_DLLTOOL=$DLLTOOL  
   # Extract the first word of "dlltool", so it can be a program name with args.  
 set dummy dlltool; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$ac_ct_DLLTOOL"; then  
   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_exec_ext in '' $ac_executable_extensions; do  
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  
     ac_cv_prog_ac_ct_DLLTOOL="dlltool"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL  
 if test -n "$ac_ct_DLLTOOL"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5  
 $as_echo "$ac_ct_DLLTOOL" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   if test "x$ac_ct_DLLTOOL" = x; then  
     DLLTOOL="false"  
   else  
     case $cross_compiling:$ac_tool_warned in  
 yes:)  
 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5  
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  
 ac_tool_warned=yes ;;  
 esac  
     DLLTOOL=$ac_ct_DLLTOOL  
   fi  
 else  
   DLLTOOL="$ac_cv_prog_DLLTOOL"  
 fi  
   
   if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}objdump; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$OBJDUMP"; then  
   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_exec_ext in '' $ac_executable_extensions; do  
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  
     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 OBJDUMP=$ac_cv_prog_OBJDUMP  
 if test -n "$OBJDUMP"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5  
 $as_echo "$OBJDUMP" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   
 fi  
 if test -z "$ac_cv_prog_OBJDUMP"; then  
   ac_ct_OBJDUMP=$OBJDUMP  
   # Extract the first word of "objdump", so it can be a program name with args.  
 set dummy objdump; ac_word=$2  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  
 $as_echo_n "checking for $ac_word... " >&6; }  
 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :  
   $as_echo_n "(cached) " >&6  
 else  
   if test -n "$ac_ct_OBJDUMP"; then  
   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
     for ac_exec_ext in '' $ac_executable_extensions; do  
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  
     ac_cv_prog_ac_ct_OBJDUMP="objdump"  
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
   done  
 IFS=$as_save_IFS  
   
 fi  
 fi  
 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP  
 if test -n "$ac_ct_OBJDUMP"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5  
 $as_echo "$ac_ct_OBJDUMP" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 fi  
   
   if test "x$ac_ct_OBJDUMP" = x; then  
     OBJDUMP="false"  
   else  
     case $cross_compiling:$ac_tool_warned in  
 yes:)  
 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5  
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  
 ac_tool_warned=yes ;;  
 esac  
     OBJDUMP=$ac_ct_OBJDUMP  
   fi  
 else  
   OBJDUMP="$ac_cv_prog_OBJDUMP"  
 fi  
   
   ;;  
 esac  
   
 test -z "$AS" && AS=as  
   
   
   
   
   
 test -z "$DLLTOOL" && DLLTOOL=dlltool  
   
   
   
   
   
 test -z "$OBJDUMP" && OBJDUMP=objdump  
   
   
   
   
   
   
   
 case `pwd` in  case `pwd` in
   *\ * | *\     *)    *\ * | *\     *)
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
Line 4998  esac Line 4510  esac
   
   
   
macro_version='2.2.10'macro_version='2.4.2'
macro_revision='1.3175'macro_revision='1.3337'
   
   
   
Line 5039  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO Line 4551  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 $as_echo_n "checking how to print strings... " >&6; }  $as_echo_n "checking how to print strings... " >&6; }
 # Test print first, because it will be a builtin if present.  # Test print first, because it will be a builtin if present.
if test "X`print -r -- -n 2>/dev/null`" = X-n && \if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   ECHO='print -r --'    ECHO='print -r --'
 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
Line 5086  esac Line 4598  esac
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 $as_echo_n "checking for a sed that does not truncate output... " >&6; }  $as_echo_n "checking for a sed that does not truncate output... " >&6; }
if test "${ac_cv_path_SED+set}" = set; then :if ${ac_cv_path_SED+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
Line 5106  do Line 4618  do
     for ac_prog in sed gsed; do      for ac_prog in sed gsed; do
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue      as_fn_executable_p "$ac_path_SED" || continue
 # Check for GNU ac_path_SED and select it if it is found.  # Check for GNU ac_path_SED and select it if it is found.
   # Check for GNU $ac_path_SED    # Check for GNU $ac_path_SED
 case `"$ac_path_SED" --version 2>&1` in  case `"$ac_path_SED" --version 2>&1` in
Line 5166  Xsed="$SED -e 1s/^X//" Line 4678  Xsed="$SED -e 1s/^X//"
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   if ${ac_cv_path_GREP+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if test -z "$GREP"; then
     ac_path_GREP_found=false
     # Loop through the user's path and test for each of PROGNAME-LIST
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_prog in grep ggrep; do
       for ac_exec_ext in '' $ac_executable_extensions; do
         ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
         as_fn_executable_p "$ac_path_GREP" || continue
   # Check for GNU ac_path_GREP and select it if it is found.
     # Check for GNU $ac_path_GREP
   case `"$ac_path_GREP" --version 2>&1` in
   *GNU*)
     ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   *)
     ac_count=0
     $as_echo_n 0123456789 >"conftest.in"
     while :
     do
       cat "conftest.in" "conftest.in" >"conftest.tmp"
       mv "conftest.tmp" "conftest.in"
       cp "conftest.in" "conftest.nl"
       $as_echo 'GREP' >> "conftest.nl"
       "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       as_fn_arith $ac_count + 1 && ac_count=$as_val
       if test $ac_count -gt ${ac_path_GREP_max-0}; then
         # Best one so far, save it but keep looking for a better one
         ac_cv_path_GREP="$ac_path_GREP"
         ac_path_GREP_max=$ac_count
       fi
       # 10*(2^10) chars as input seems more than enough
       test $ac_count -gt 10 && break
     done
     rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   esac
   
         $ac_path_GREP_found && break 3
       done
     done
     done
   IFS=$as_save_IFS
     if test -z "$ac_cv_path_GREP"; then
       as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     fi
   else
     ac_cv_path_GREP=$GREP
   fi
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   $as_echo "$ac_cv_path_GREP" >&6; }
    GREP="$ac_cv_path_GREP"
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   $as_echo_n "checking for egrep... " >&6; }
   if ${ac_cv_path_EGREP+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
      then ac_cv_path_EGREP="$GREP -E"
      else
        if test -z "$EGREP"; then
     ac_path_EGREP_found=false
     # Loop through the user's path and test for each of PROGNAME-LIST
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_prog in egrep; do
       for ac_exec_ext in '' $ac_executable_extensions; do
         ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
         as_fn_executable_p "$ac_path_EGREP" || continue
   # Check for GNU ac_path_EGREP and select it if it is found.
     # Check for GNU $ac_path_EGREP
   case `"$ac_path_EGREP" --version 2>&1` in
   *GNU*)
     ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   *)
     ac_count=0
     $as_echo_n 0123456789 >"conftest.in"
     while :
     do
       cat "conftest.in" "conftest.in" >"conftest.tmp"
       mv "conftest.tmp" "conftest.in"
       cp "conftest.in" "conftest.nl"
       $as_echo 'EGREP' >> "conftest.nl"
       "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
       diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
       as_fn_arith $ac_count + 1 && ac_count=$as_val
       if test $ac_count -gt ${ac_path_EGREP_max-0}; then
         # Best one so far, save it but keep looking for a better one
         ac_cv_path_EGREP="$ac_path_EGREP"
         ac_path_EGREP_max=$ac_count
       fi
       # 10*(2^10) chars as input seems more than enough
       test $ac_count -gt 10 && break
     done
     rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   esac
   
         $ac_path_EGREP_found && break 3
       done
     done
     done
   IFS=$as_save_IFS
     if test -z "$ac_cv_path_EGREP"; then
       as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     fi
   else
     ac_cv_path_EGREP=$EGREP
   fi
   
      fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   $as_echo "$ac_cv_path_EGREP" >&6; }
    EGREP="$ac_cv_path_EGREP"
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 $as_echo_n "checking for fgrep... " >&6; }  $as_echo_n "checking for fgrep... " >&6; }
if test "${ac_cv_path_FGREP+set}" = set; then :if ${ac_cv_path_FGREP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
Line 5185  do Line 4827  do
     for ac_prog in fgrep; do      for ac_prog in fgrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue      as_fn_executable_p "$ac_path_FGREP" || continue
 # Check for GNU ac_path_FGREP and select it if it is found.  # Check for GNU ac_path_FGREP and select it if it is found.
   # Check for GNU $ac_path_FGREP    # Check for GNU $ac_path_FGREP
 case `"$ac_path_FGREP" --version 2>&1` in  case `"$ac_path_FGREP" --version 2>&1` in
Line 5299  else Line 4941  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }  $as_echo_n "checking for non-GNU ld... " >&6; }
 fi  fi
if test "${lt_cv_path_LD+set}" = set; then :if ${lt_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -z "$LD"; then    if test -z "$LD"; then
Line 5339  fi Line 4981  fi
 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5  test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }  $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
if test "${lt_cv_prog_gnu_ld+set}" = set; then :if ${lt_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.    # I'd rather use --version here, but apparently some GNU lds only accept -v.
Line 5366  with_gnu_ld=$lt_cv_prog_gnu_ld Line 5008  with_gnu_ld=$lt_cv_prog_gnu_ld
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }  $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
if test "${lt_cv_path_NM+set}" = set; then :if ${lt_cv_path_NM+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$NM"; then    if test -n "$NM"; then
Line 5429  else Line 5071  else
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :if ${ac_cv_prog_DUMPBIN+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$DUMPBIN"; then    if test -n "$DUMPBIN"; then
Line 5441  do Line 5083  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 5473  do Line 5115  do
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_DUMPBIN"; then    if test -n "$ac_ct_DUMPBIN"; then
Line 5485  do Line 5127  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 5545  test -z "$NM" && NM=nm Line 5187  test -z "$NM" && NM=nm
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 $as_echo_n "checking the name lister ($NM) interface... " >&6; }  $as_echo_n "checking the name lister ($NM) interface... " >&6; }
if test "${lt_cv_nm_interface+set}" = set; then :if ${lt_cv_nm_interface+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_nm_interface="BSD nm"    lt_cv_nm_interface="BSD nm"
Line 5566  fi Line 5208  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 $as_echo "$lt_cv_nm_interface" >&6; }  $as_echo "$lt_cv_nm_interface" >&6; }
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5  
 $as_echo_n "checking whether ln -s works... " >&6; }  
 LN_S=$as_ln_s  
 if test "$LN_S" = "ln -s"; then  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  
 $as_echo "yes" >&6; }  
 else  
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5  
 $as_echo "no, using $LN_S" >&6; }  
 fi  
   
 # find the maximum length of command line arguments  # find the maximum length of command line arguments
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 $as_echo_n "checking the maximum length of command line arguments... " >&6; }  $as_echo_n "checking the maximum length of command line arguments... " >&6; }
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :if ${lt_cv_sys_max_cmd_len+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
     i=0      i=0
Line 5643  else Line 5274  else
     lt_cv_sys_max_cmd_len=196608      lt_cv_sys_max_cmd_len=196608
     ;;      ;;
   
     os2*)
       # The test takes a long time on OS/2.
       lt_cv_sys_max_cmd_len=8192
       ;;
   
   osf*)    osf*)
     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
Line 5682  else Line 5318  else
       # If test is not a shell built-in, we'll probably end up computing a        # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but        # maximum length that is only half of the actual maximum length, but
       # we can't tell.        # we can't tell.
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&                   = "X$teststring$teststring"; } >/dev/null 2>&1 &&
               test $i != 17 # 1/2 MB should be enough                test $i != 17 # 1/2 MB should be enough
       do        do
Line 5725  $as_echo_n "checking whether the shell understands som Line 5361  $as_echo_n "checking whether the shell understands som
 # Try some XSI features  # Try some XSI features
 xsi_shell=no  xsi_shell=no
 ( _lt_dummy="a/b/c"  ( _lt_dummy="a/b/c"
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
      = c,a/b,, \      = c,a/b,b/c, \
     && eval 'test $(( 1 + 1 )) -eq 2 \      && eval 'test $(( 1 + 1 )) -eq 2 \
     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   && xsi_shell=yes    && xsi_shell=yes
Line 5775  esac Line 5411  esac
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   if ${lt_cv_to_host_file_cmd+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     case $host in
     *-*-mingw* )
       case $build in
         *-*-mingw* ) # actually msys
           lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
           ;;
         *-*-cygwin* )
           lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
           ;;
         * ) # otherwise, assume *nix
           lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
           ;;
       esac
       ;;
     *-*-cygwin* )
       case $build in
         *-*-mingw* ) # actually msys
           lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
           ;;
         *-*-cygwin* )
           lt_cv_to_host_file_cmd=func_convert_file_noop
           ;;
         * ) # otherwise, assume *nix
           lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
           ;;
       esac
       ;;
     * ) # unhandled hosts (and "normal" native builds)
       lt_cv_to_host_file_cmd=func_convert_file_noop
       ;;
   esac
   
   fi
   
   to_host_file_cmd=$lt_cv_to_host_file_cmd
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   
   
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   if ${lt_cv_to_tool_file_cmd+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     #assume ordinary cross tools, or native build.
   lt_cv_to_tool_file_cmd=func_convert_file_noop
   case $host in
     *-*-mingw* )
       case $build in
         *-*-mingw* ) # actually msys
           lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
           ;;
       esac
       ;;
   esac
   
   fi
   
   to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   
   
   
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 $as_echo_n "checking for $LD option to reload object files... " >&6; }  $as_echo_n "checking for $LD option to reload object files... " >&6; }
if test "${lt_cv_ld_reload_flag+set}" = set; then :if ${lt_cv_ld_reload_flag+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_ld_reload_flag='-r'    lt_cv_ld_reload_flag='-r'
Line 5791  case $reload_flag in Line 5501  case $reload_flag in
 esac  esac
 reload_cmds='$LD$reload_flag -o $output$reload_objs'  reload_cmds='$LD$reload_flag -o $output$reload_objs'
 case $host_os in  case $host_os in
     cygwin* | mingw* | pw32* | cegcc*)
       if test "$GCC" != yes; then
         reload_cmds=false
       fi
       ;;
   darwin*)    darwin*)
     if test "$GCC" = yes; then      if test "$GCC" = yes; then
       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
Line 5813  if test -n "$ac_tool_prefix"; then Line 5528  if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}objdump; ac_word=$2  set dummy ${ac_tool_prefix}objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :if ${ac_cv_prog_OBJDUMP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$OBJDUMP"; then    if test -n "$OBJDUMP"; then
Line 5825  do Line 5540  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 5853  if test -z "$ac_cv_prog_OBJDUMP"; then Line 5568  if test -z "$ac_cv_prog_OBJDUMP"; then
 set dummy objdump; ac_word=$2  set dummy objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_OBJDUMP"; then    if test -n "$ac_ct_OBJDUMP"; then
Line 5865  do Line 5580  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OBJDUMP="objdump"      ac_cv_prog_ac_ct_OBJDUMP="objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 5907  test -z "$OBJDUMP" && OBJDUMP=objdump Line 5622  test -z "$OBJDUMP" && OBJDUMP=objdump
   
   
   
   
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 $as_echo_n "checking how to recognize dependent libraries... " >&6; }  $as_echo_n "checking how to recognize dependent libraries... " >&6; }
if test "${lt_cv_deplibs_check_method+set}" = set; then :if ${lt_cv_deplibs_check_method+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_file_magic_cmd='$MAGIC_CMD'    lt_cv_file_magic_cmd='$MAGIC_CMD'
Line 6029  irix5* | irix6* | nonstopux*) Line 5747  irix5* | irix6* | nonstopux*)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
# This must be Linux ELF.# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)  linux* | k*bsd*-gnu | kopensolaris*-gnu)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
Line 6111  esac Line 5829  esac
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 $as_echo "$lt_cv_deplibs_check_method" >&6; }  $as_echo "$lt_cv_deplibs_check_method" >&6; }
   
   file_magic_glob=
   want_nocaseglob=no
   if test "$build" = "$host"; then
     case $host_os in
     mingw* | pw32*)
       if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
         want_nocaseglob=yes
       else
         file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
       fi
       ;;
     esac
   fi
   
 file_magic_cmd=$lt_cv_file_magic_cmd  file_magic_cmd=$lt_cv_file_magic_cmd
 deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
 test -z "$deplibs_check_method" && deplibs_check_method=unknown  test -z "$deplibs_check_method" && deplibs_check_method=unknown
Line 6126  test -z "$deplibs_check_method" && deplibs_check_metho Line 5859  test -z "$deplibs_check_method" && deplibs_check_metho
   
   
   
   
   
   
   
   
   
   
   
   
   
 if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_AR+set}" = set; then :if ${ac_cv_prog_DLLTOOL+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
     if test -n "$DLLTOOL"; then
     ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_exec_ext in '' $ac_executable_extensions; do
     if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
   done
     done
   IFS=$as_save_IFS
   
   fi
   fi
   DLLTOOL=$ac_cv_prog_DLLTOOL
   if test -n "$DLLTOOL"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   $as_echo "$DLLTOOL" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
   fi
   if test -z "$ac_cv_prog_DLLTOOL"; then
     ac_ct_DLLTOOL=$DLLTOOL
     # Extract the first word of "dlltool", so it can be a program name with args.
   set dummy dlltool; ac_word=$2
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if test -n "$ac_ct_DLLTOOL"; then
     ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_exec_ext in '' $ac_executable_extensions; do
     if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       ac_cv_prog_ac_ct_DLLTOOL="dlltool"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
   done
     done
   IFS=$as_save_IFS
   
   fi
   fi
   ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   if test -n "$ac_ct_DLLTOOL"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   $as_echo "$ac_ct_DLLTOOL" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
     if test "x$ac_ct_DLLTOOL" = x; then
       DLLTOOL="false"
     else
       case $cross_compiling:$ac_tool_warned in
   yes:)
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   ac_tool_warned=yes ;;
   esac
       DLLTOOL=$ac_ct_DLLTOOL
     fi
   else
     DLLTOOL="$ac_cv_prog_DLLTOOL"
   fi
   
   test -z "$DLLTOOL" && DLLTOOL=dlltool
   
   
   
   
   
   
   
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     lt_cv_sharedlib_from_linklib_cmd='unknown'
   
   case $host_os in
   cygwin* | mingw* | pw32* | cegcc*)
     # two different shell functions defined in ltmain.sh
     # decide which to use based on capabilities of $DLLTOOL
     case `$DLLTOOL --help 2>&1` in
     *--identify-strict*)
       lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
       ;;
     *)
       lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
       ;;
     esac
     ;;
   *)
     # fallback: assume linklib IS sharedlib
     lt_cv_sharedlib_from_linklib_cmd="$ECHO"
     ;;
   esac
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   
   
   
   
   
   
   
   
   if test -n "$ac_tool_prefix"; then
     for ac_prog in ar
     do
       # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_prog_AR+:} false; then :
     $as_echo_n "(cached) " >&6
   else
   if test -n "$AR"; then    if test -n "$AR"; then
   ac_cv_prog_AR="$AR" # Let the user override the test.    ac_cv_prog_AR="$AR" # Let the user override the test.
 else  else
Line 6143  do Line 6030  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_AR="${ac_tool_prefix}ar"    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
   fi    fi
Line 6164  $as_echo "no" >&6; } Line 6051  $as_echo "no" >&6; }
 fi  fi
   
   
       test -n "$AR" && break
     done
 fi  fi
if test -z "$ac_cv_prog_AR"; thenif test -z "$AR"; then
   ac_ct_AR=$AR    ac_ct_AR=$AR
  # Extract the first word of "ar", so it can be a program name with args.  for ac_prog in ar
set dummy ar; ac_word=$2do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :if ${ac_cv_prog_ac_ct_AR+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_AR"; then    if test -n "$ac_ct_AR"; then
Line 6183  do Line 6074  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_AR="ar"    ac_cv_prog_ac_ct_AR="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
   fi    fi
Line 6203  else Line 6094  else
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
 fi  fi
   
   
     test -n "$ac_ct_AR" && break
   done
   
   if test "x$ac_ct_AR" = x; then    if test "x$ac_ct_AR" = x; then
     AR="false"      AR="false"
   else    else
Line 6214  ac_tool_warned=yes ;; Line 6109  ac_tool_warned=yes ;;
 esac  esac
     AR=$ac_ct_AR      AR=$ac_ct_AR
   fi    fi
 else  
   AR="$ac_cv_prog_AR"  
 fi  fi
   
test -z "$AR" && AR=ar: ${AR=ar}
test -z "$AR_FLAGS" && AR_FLAGS=cru: ${AR_FLAGS=cru}
   
   
   
Line 6231  test -z "$AR_FLAGS" && AR_FLAGS=cru Line 6124  test -z "$AR_FLAGS" && AR_FLAGS=cru
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   $as_echo_n "checking for archiver @FILE support... " >&6; }
   if ${lt_cv_ar_at_file+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     lt_cv_ar_at_file=no
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     echo conftest.$ac_objext > conftest.lst
         lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     (eval $lt_ar_try) 2>&5
     ac_status=$?
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; }
         if test "$ac_status" -eq 0; then
           # Ensure the archiver fails upon bogus file names.
           rm -f conftest.$ac_objext libconftest.a
           { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     (eval $lt_ar_try) 2>&5
     ac_status=$?
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; }
           if test "$ac_status" -ne 0; then
             lt_cv_ar_at_file=@
           fi
         fi
         rm -f conftest.* libconftest.a
   
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   $as_echo "$lt_cv_ar_at_file" >&6; }
   
   if test "x$lt_cv_ar_at_file" = xno; then
     archiver_list_spec=
   else
     archiver_list_spec=$lt_cv_ar_at_file
   fi
   
   
   
   
   
   
   
 if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_STRIP+set}" = set; then :if ${ac_cv_prog_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$STRIP"; then    if test -n "$STRIP"; then
Line 6248  do Line 6199  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 6276  if test -z "$ac_cv_prog_STRIP"; then Line 6227  if test -z "$ac_cv_prog_STRIP"; then
 set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_STRIP"; then    if test -n "$ac_ct_STRIP"; then
Line 6288  do Line 6239  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"      ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 6335  if test -n "$ac_tool_prefix"; then Line 6286  if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_RANLIB+set}" = set; then :if ${ac_cv_prog_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
Line 6347  do Line 6298  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 6375  if test -z "$ac_cv_prog_RANLIB"; then Line 6326  if test -z "$ac_cv_prog_RANLIB"; then
 set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_RANLIB"; then    if test -n "$ac_ct_RANLIB"; then
Line 6387  do Line 6338  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"      ac_cv_prog_ac_ct_RANLIB="ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 6437  old_postuninstall_cmds= Line 6388  old_postuninstall_cmds=
 if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
   case $host_os in    case $host_os in
   openbsd*)    openbsd*)
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     ;;      ;;
   *)    *)
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     ;;      ;;
   esac    esac
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 fi  fi
   
 case $host_os in  case $host_os in
Line 6504  compiler=$CC Line 6455  compiler=$CC
 # Check for command to grab the raw symbol name followed by C symbol from nm.  # Check for command to grab the raw symbol name followed by C symbol from nm.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }  $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   
Line 6565  esac Line 6516  esac
 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   
 # Transform an extracted symbol line into symbol name and symbol address  # Transform an extracted symbol line into symbol name and symbol address
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   
 # Handle CRLF in mingw tool chain  # Handle CRLF in mingw tool chain
 opt_cr=  opt_cr=
Line 6590  for ac_symprfx in "" "_"; do Line 6541  for ac_symprfx in "" "_"; do
     # which start with @ or ?.      # which start with @ or ?.
     lt_cv_sys_global_symbol_pipe="$AWK '"\      lt_cv_sys_global_symbol_pipe="$AWK '"\
 "     {last_section=section; section=\$ 3};"\  "     {last_section=section; section=\$ 3};"\
   "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\  "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 "     \$ 0!~/External *\|/{next};"\  "     \$ 0!~/External *\|/{next};"\
 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\  "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
Line 6602  for ac_symprfx in "" "_"; do Line 6554  for ac_symprfx in "" "_"; do
   else    else
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   fi    fi
     lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   
   # Check to see that the pipe works correctly.    # Check to see that the pipe works correctly.
   pipe_works=no    pipe_works=no
Line 6643  _LT_EOF Line 6596  _LT_EOF
       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then          if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
           cat <<_LT_EOF > conftest.$ac_ext            cat <<_LT_EOF > conftest.$ac_ext
   /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   /* DATA imports from DLLs on WIN32 con't be const, because runtime
      relocations are performed -- see ld's documentation on pseudo-relocs.  */
   # define LT_DLSYM_CONST
   #elif defined(__osf__)
   /* This system does not cope well with relocations in const data.  */
   # define LT_DLSYM_CONST
   #else
   # define LT_DLSYM_CONST const
   #endif
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif
Line 6654  _LT_EOF Line 6619  _LT_EOF
           cat <<_LT_EOF >> conftest.$ac_ext            cat <<_LT_EOF >> conftest.$ac_ext
   
 /* The mapping between symbol names and symbols.  */  /* The mapping between symbol names and symbols.  */
const struct {LT_DLSYM_CONST struct {
   const char *name;    const char *name;
   void       *address;    void       *address;
 }  }
Line 6680  static const void *lt_preloaded_setup() { Line 6645  static const void *lt_preloaded_setup() {
 _LT_EOF  _LT_EOF
           # Now try linking the two files.            # Now try linking the two files.
           mv conftest.$ac_objext conftstm.$ac_objext            mv conftest.$ac_objext conftstm.$ac_objext
          lt_save_LIBS="$LIBS"          lt_globsym_save_LIBS=$LIBS
          lt_save_CFLAGS="$CFLAGS"          lt_globsym_save_CFLAGS=$CFLAGS
           LIBS="conftstm.$ac_objext"            LIBS="conftstm.$ac_objext"
           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"            CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
Line 6691  _LT_EOF Line 6656  _LT_EOF
   test $ac_status = 0; } && test -s conftest${ac_exeext}; then    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
             pipe_works=yes              pipe_works=yes
           fi            fi
          LIBS="$lt_save_LIBS"          LIBS=$lt_globsym_save_LIBS
          CFLAGS="$lt_save_CFLAGS"          CFLAGS=$lt_globsym_save_CFLAGS
         else          else
           echo "cannot find nm_test_func in $nlist" >&5            echo "cannot find nm_test_func in $nlist" >&5
         fi          fi
Line 6729  else Line 6694  else
 $as_echo "ok" >&6; }  $as_echo "ok" >&6; }
 fi  fi
   
   # Response file support.
   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     nm_file_list_spec='@'
   elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
     nm_file_list_spec='@'
   fi
   
   
   
Line 6750  fi Line 6721  fi
   
   
   
   
   
   
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   $as_echo_n "checking for sysroot... " >&6; }
   
   # Check whether --with-sysroot was given.
   if test "${with_sysroot+set}" = set; then :
     withval=$with_sysroot;
   else
     with_sysroot=no
   fi
   
   
   lt_sysroot=
   case ${with_sysroot} in #(
    yes)
      if test "$GCC" = yes; then
        lt_sysroot=`$CC --print-sysroot 2>/dev/null`
      fi
      ;; #(
    /*)
      lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
      ;; #(
    no|'')
      ;; #(
    *)
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   $as_echo "${with_sysroot}" >&6; }
      as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
      ;;
   esac
   
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   $as_echo "${lt_sysroot:-no}" >&6; }
   
   
   
   
   
 # Check whether --enable-libtool-lock was given.  # Check whether --enable-libtool-lock was given.
 if test "${enable_libtool_lock+set}" = set; then :  if test "${enable_libtool_lock+set}" = set; then :
   enableval=$enable_libtool_lock;    enableval=$enable_libtool_lock;
Line 6875  s390*-*linux*|s390*-*tpf*|sparc*-*linux*) Line 6889  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   CFLAGS="$CFLAGS -belf"    CFLAGS="$CFLAGS -belf"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }  $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
if test "${lt_cv_cc_needs_belf+set}" = set; then :if ${lt_cv_cc_needs_belf+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_ext=c    ac_ext=c
Line 6916  $as_echo "$lt_cv_cc_needs_belf" >&6; } Line 6930  $as_echo "$lt_cv_cc_needs_belf" >&6; }
     CFLAGS="$SAVE_CFLAGS"      CFLAGS="$SAVE_CFLAGS"
   fi    fi
   ;;    ;;
sparc*-*solaris*)*-*solaris*)
   # Find out which ABI we are using.    # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext    echo 'int i;' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
Line 6927  sparc*-*solaris*) Line 6941  sparc*-*solaris*)
     case `/usr/bin/file conftest.o` in      case `/usr/bin/file conftest.o` in
     *64-bit*)      *64-bit*)
       case $lt_cv_prog_gnu_ld in        case $lt_cv_prog_gnu_ld in
      yes*) LD="${LD-ld} -m elf64_sparc" ;;      yes*)
         case $host in
         i?86-*-solaris*)
           LD="${LD-ld} -m elf_x86_64"
           ;;
         sparc*-*-solaris*)
           LD="${LD-ld} -m elf64_sparc"
           ;;
         esac
         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
           LD="${LD-ld}_sol2"
         fi
         ;;
       *)        *)
         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then          if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
           LD="${LD-ld} -64"            LD="${LD-ld} -64"
Line 6943  esac Line 6970  esac
   
 need_locks="$enable_libtool_lock"  need_locks="$enable_libtool_lock"
   
   if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   set dummy ${ac_tool_prefix}mt; ac_word=$2
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if test -n "$MANIFEST_TOOL"; then
     ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_exec_ext in '' $ac_executable_extensions; do
     if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
   done
     done
   IFS=$as_save_IFS
   
   fi
   fi
   MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   if test -n "$MANIFEST_TOOL"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   $as_echo "$MANIFEST_TOOL" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
   fi
   if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
     ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
     # Extract the first word of "mt", so it can be a program name with args.
   set dummy mt; ac_word=$2
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if test -n "$ac_ct_MANIFEST_TOOL"; then
     ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_exec_ext in '' $ac_executable_extensions; do
     if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
       ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
   done
     done
   IFS=$as_save_IFS
   
   fi
   fi
   ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   if test -n "$ac_ct_MANIFEST_TOOL"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
     if test "x$ac_ct_MANIFEST_TOOL" = x; then
       MANIFEST_TOOL=":"
     else
       case $cross_compiling:$ac_tool_warned in
   yes:)
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   ac_tool_warned=yes ;;
   esac
       MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
     fi
   else
     MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   fi
   
   test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   if ${lt_cv_path_mainfest_tool+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     lt_cv_path_mainfest_tool=no
     echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
     $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
     cat conftest.err >&5
     if $GREP 'Manifest Tool' conftest.out > /dev/null; then
       lt_cv_path_mainfest_tool=yes
     fi
     rm -f conftest*
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   if test "x$lt_cv_path_mainfest_tool" != xyes; then
     MANIFEST_TOOL=:
   fi
   
   
   
   
   
   
   case $host_os in    case $host_os in
     rhapsody* | darwin*)      rhapsody* | darwin*)
     if test -n "$ac_tool_prefix"; then      if test -n "$ac_tool_prefix"; then
Line 6951  need_locks="$enable_libtool_lock" Line 7095  need_locks="$enable_libtool_lock"
 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2  set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :if ${ac_cv_prog_DSYMUTIL+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$DSYMUTIL"; then    if test -n "$DSYMUTIL"; then
Line 6963  do Line 7107  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 6991  if test -z "$ac_cv_prog_DSYMUTIL"; then Line 7135  if test -z "$ac_cv_prog_DSYMUTIL"; then
 set dummy dsymutil; ac_word=$2  set dummy dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_DSYMUTIL"; then    if test -n "$ac_ct_DSYMUTIL"; then
Line 7003  do Line 7147  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7043  fi Line 7187  fi
 set dummy ${ac_tool_prefix}nmedit; ac_word=$2  set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_NMEDIT+set}" = set; then :if ${ac_cv_prog_NMEDIT+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$NMEDIT"; then    if test -n "$NMEDIT"; then
Line 7055  do Line 7199  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7083  if test -z "$ac_cv_prog_NMEDIT"; then Line 7227  if test -z "$ac_cv_prog_NMEDIT"; then
 set dummy nmedit; ac_word=$2  set dummy nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_NMEDIT"; then    if test -n "$ac_ct_NMEDIT"; then
Line 7095  do Line 7239  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_NMEDIT="nmedit"      ac_cv_prog_ac_ct_NMEDIT="nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7135  fi Line 7279  fi
 set dummy ${ac_tool_prefix}lipo; ac_word=$2  set dummy ${ac_tool_prefix}lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_LIPO+set}" = set; then :if ${ac_cv_prog_LIPO+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$LIPO"; then    if test -n "$LIPO"; then
Line 7147  do Line 7291  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7175  if test -z "$ac_cv_prog_LIPO"; then Line 7319  if test -z "$ac_cv_prog_LIPO"; then
 set dummy lipo; ac_word=$2  set dummy lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_LIPO"; then    if test -n "$ac_ct_LIPO"; then
Line 7187  do Line 7331  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_LIPO="lipo"      ac_cv_prog_ac_ct_LIPO="lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7227  fi Line 7371  fi
 set dummy ${ac_tool_prefix}otool; ac_word=$2  set dummy ${ac_tool_prefix}otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_OTOOL+set}" = set; then :if ${ac_cv_prog_OTOOL+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$OTOOL"; then    if test -n "$OTOOL"; then
Line 7239  do Line 7383  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7267  if test -z "$ac_cv_prog_OTOOL"; then Line 7411  if test -z "$ac_cv_prog_OTOOL"; then
 set dummy otool; ac_word=$2  set dummy otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_OTOOL"; then    if test -n "$ac_ct_OTOOL"; then
Line 7279  do Line 7423  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OTOOL="otool"      ac_cv_prog_ac_ct_OTOOL="otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7319  fi Line 7463  fi
 set dummy ${ac_tool_prefix}otool64; ac_word=$2  set dummy ${ac_tool_prefix}otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_OTOOL64+set}" = set; then :if ${ac_cv_prog_OTOOL64+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$OTOOL64"; then    if test -n "$OTOOL64"; then
Line 7331  do Line 7475  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7359  if test -z "$ac_cv_prog_OTOOL64"; then Line 7503  if test -z "$ac_cv_prog_OTOOL64"; then
 set dummy otool64; ac_word=$2  set dummy otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_OTOOL64"; then    if test -n "$ac_ct_OTOOL64"; then
Line 7371  do Line 7515  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OTOOL64="otool64"      ac_cv_prog_ac_ct_OTOOL64="otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 7434  fi Line 7578  fi
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 $as_echo_n "checking for -single_module linker flag... " >&6; }  $as_echo_n "checking for -single_module linker flag... " >&6; }
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :if ${lt_cv_apple_cc_single_mod+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_apple_cc_single_mod=no    lt_cv_apple_cc_single_mod=no
Line 7450  else Line 7594  else
         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \          $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err            -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
         _lt_result=$?          _lt_result=$?
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then        # If there is a non-empty error log, and "single_module"
         # appears in it, assume the flag caused a linker warning
         if test -s conftest.err && $GREP single_module conftest.err; then
           cat conftest.err >&5
         # Otherwise, if the output was created with a 0 exit code from
         # the compiler, it worked.
         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
           lt_cv_apple_cc_single_mod=yes            lt_cv_apple_cc_single_mod=yes
         else          else
           cat conftest.err >&5            cat conftest.err >&5
Line 7461  else Line 7611  else
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }  $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }  $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :if ${lt_cv_ld_exported_symbols_list+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_ld_exported_symbols_list=no    lt_cv_ld_exported_symbols_list=no
Line 7493  rm -f core conftest.err conftest.$ac_objext \ Line 7644  rm -f core conftest.err conftest.$ac_objext \
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }  $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 $as_echo_n "checking for -force_load linker flag... " >&6; }  $as_echo_n "checking for -force_load linker flag... " >&6; }
if test "${lt_cv_ld_force_load+set}" = set; then :if ${lt_cv_ld_force_load+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_ld_force_load=no    lt_cv_ld_force_load=no
Line 7514  _LT_EOF Line 7666  _LT_EOF
       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
       _lt_result=$?        _lt_result=$?
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then      if test -s conftest.err && $GREP force_load conftest.err; then
         cat conftest.err >&5
       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
         lt_cv_ld_force_load=yes          lt_cv_ld_force_load=yes
       else        else
         cat conftest.err >&5          cat conftest.err >&5
Line 7560  $as_echo "$lt_cv_ld_force_load" >&6; } Line 7714  $as_echo "$lt_cv_ld_force_load" >&6; }
     ;;      ;;
   esac    esac
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   $as_echo_n "checking for ANSI C header files... " >&6; }
   if ${ac_cv_header_stdc+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <stdlib.h>
   #include <stdarg.h>
   #include <string.h>
   #include <float.h>
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     ac_cv_header_stdc=yes
   else
     ac_cv_header_stdc=no
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   
   if test $ac_cv_header_stdc = yes; then
     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <string.h>
   
   _ACEOF
   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     $EGREP "memchr" >/dev/null 2>&1; then :
   
   else
     ac_cv_header_stdc=no
   fi
   rm -f conftest*
   
   fi
   
   if test $ac_cv_header_stdc = yes; then
     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <stdlib.h>
   
   _ACEOF
   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     $EGREP "free" >/dev/null 2>&1; then :
   
   else
     ac_cv_header_stdc=no
   fi
   rm -f conftest*
   
   fi
   
   if test $ac_cv_header_stdc = yes; then
     # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     if test "$cross_compiling" = yes; then :
     :
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <ctype.h>
   #include <stdlib.h>
   #if ((' ' & 0x0FF) == 0x020)
   # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   #else
   # define ISLOWER(c) \
                      (('a' <= (c) && (c) <= 'i') \
                        || ('j' <= (c) && (c) <= 'r') \
                        || ('s' <= (c) && (c) <= 'z'))
   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   #endif
   
   #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   int
   main ()
   {
     int i;
     for (i = 0; i < 256; i++)
       if (XOR (islower (i), ISLOWER (i))
           || toupper (i) != TOUPPER (i))
         return 2;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_run "$LINENO"; then :
   
   else
     ac_cv_header_stdc=no
   fi
   rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     conftest.$ac_objext conftest.beam conftest.$ac_ext
   fi
   
   fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   $as_echo "$ac_cv_header_stdc" >&6; }
   if test $ac_cv_header_stdc = yes; then
   
   $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   
   fi
   
   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                     inttypes.h stdint.h unistd.h
   do :
     as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   "
   if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     cat >>confdefs.h <<_ACEOF
   #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   _ACEOF
   
   fi
   
   done
   
   
 for ac_header in dlfcn.h  for ac_header in dlfcn.h
 do :  do :
   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 "  "
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_DLFCN_H 1  #define HAVE_DLFCN_H 1
 _ACEOF  _ACEOF
Line 7584  done Line 7868  done
         enable_dlopen=no          enable_dlopen=no
   
   
     enable_win32_dll=no
   
   
             # Check whether --enable-shared was given.              # Check whether --enable-shared was given.
 if test "${enable_shared+set}" = set; then :  if test "${enable_shared+set}" = set; then :
   enableval=$enable_shared; p=${PACKAGE-default}    enableval=$enable_shared; p=${PACKAGE-default}
Line 7650  fi Line 7936  fi
   
 # Check whether --with-pic was given.  # Check whether --with-pic was given.
 if test "${with_pic+set}" = set; then :  if test "${with_pic+set}" = set; then :
  withval=$with_pic; pic_mode="$withval"  withval=$with_pic; lt_p=${PACKAGE-default}
     case $withval in
     yes|no) pic_mode=$withval ;;
     *)
       pic_mode=default
       # Look at the argument we got.  We use all the common list separators.
       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
       for lt_pkg in $withval; do
         IFS="$lt_save_ifs"
         if test "X$lt_pkg" = "X$lt_p"; then
           pic_mode=yes
         fi
       done
       IFS="$lt_save_ifs"
       ;;
     esac
 else  else
   pic_mode=default    pic_mode=default
 fi  fi
Line 7728  LIBTOOL='$(SHELL) $(top_builddir)/libtool' Line 8029  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   
   
   
   
   
   
   
 test -z "$LN_S" && LN_S="ln -s"  test -z "$LN_S" && LN_S="ln -s"
   
   
Line 7749  fi Line 8054  fi
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 $as_echo_n "checking for objdir... " >&6; }  $as_echo_n "checking for objdir... " >&6; }
if test "${lt_cv_objdir+set}" = set; then :if ${lt_cv_objdir+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   rm -f .libs 2>/dev/null    rm -f .libs 2>/dev/null
Line 7827  file_magic*) Line 8132  file_magic*)
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }  $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :if ${lt_cv_path_MAGIC_CMD+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $MAGIC_CMD in    case $MAGIC_CMD in
Line 7893  if test -z "$lt_cv_path_MAGIC_CMD"; then Line 8198  if test -z "$lt_cv_path_MAGIC_CMD"; then
   if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 $as_echo_n "checking for file... " >&6; }  $as_echo_n "checking for file... " >&6; }
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :if ${lt_cv_path_MAGIC_CMD+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $MAGIC_CMD in    case $MAGIC_CMD in
Line 8035  if test "$GCC" = yes; then Line 8340  if test "$GCC" = yes; then
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }  $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_prog_compiler_rtti_exceptions=no    lt_cv_prog_compiler_rtti_exceptions=no
Line 8088  fi Line 8393  fi
 lt_prog_compiler_pic=  lt_prog_compiler_pic=
 lt_prog_compiler_static=  lt_prog_compiler_static=
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5  
 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }  
   
   if test "$GCC" = yes; then    if test "$GCC" = yes; then
     lt_prog_compiler_wl='-Wl,'      lt_prog_compiler_wl='-Wl,'
Line 8189  $as_echo_n "checking for $compiler option to produce P Line 8492  $as_echo_n "checking for $compiler option to produce P
     case $cc_basename in      case $cc_basename in
     nvcc*) # Cuda Compiler Driver 2.2      nvcc*) # Cuda Compiler Driver 2.2
       lt_prog_compiler_wl='-Xlinker '        lt_prog_compiler_wl='-Xlinker '
      lt_prog_compiler_pic='-Xcompiler -fPIC'      if test -n "$lt_prog_compiler_pic"; then
         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
       fi
       ;;        ;;
     esac      esac
   else    else
Line 8254  $as_echo_n "checking for $compiler option to produce P Line 8559  $as_echo_n "checking for $compiler option to produce P
         lt_prog_compiler_pic='--shared'          lt_prog_compiler_pic='--shared'
         lt_prog_compiler_static='--static'          lt_prog_compiler_static='--static'
         ;;          ;;
         nagfor*)
           # NAG Fortran compiler
           lt_prog_compiler_wl='-Wl,-Wl,,'
           lt_prog_compiler_pic='-PIC'
           lt_prog_compiler_static='-Bstatic'
           ;;
       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
         # Portland Group compilers (*not* the Pentium gcc compiler,          # Portland Group compilers (*not* the Pentium gcc compiler,
         # which looks to be a dead project)          # which looks to be a dead project)
Line 8274  $as_echo_n "checking for $compiler option to produce P Line 8585  $as_echo_n "checking for $compiler option to produce P
         ;;          ;;
       *)        *)
         case `$CC -V 2>&1 | sed 5q` in          case `$CC -V 2>&1 | sed 5q` in
        *Sun\ F* | *Sun*Fortran*)        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
           # Sun Fortran 8.3 passes all unrecognized flags to the linker            # Sun Fortran 8.3 passes all unrecognized flags to the linker
           lt_prog_compiler_pic='-KPIC'            lt_prog_compiler_pic='-KPIC'
           lt_prog_compiler_static='-Bstatic'            lt_prog_compiler_static='-Bstatic'
           lt_prog_compiler_wl=''            lt_prog_compiler_wl=''
           ;;            ;;
           *Sun\ F* | *Sun*Fortran*)
             lt_prog_compiler_pic='-KPIC'
             lt_prog_compiler_static='-Bstatic'
             lt_prog_compiler_wl='-Qoption ld '
             ;;
         *Sun\ C*)          *Sun\ C*)
           # Sun C 5.9            # Sun C 5.9
           lt_prog_compiler_pic='-KPIC'            lt_prog_compiler_pic='-KPIC'
           lt_prog_compiler_static='-Bstatic'            lt_prog_compiler_static='-Bstatic'
           lt_prog_compiler_wl='-Wl,'            lt_prog_compiler_wl='-Wl,'
           ;;            ;;
           *Intel*\ [CF]*Compiler*)
             lt_prog_compiler_wl='-Wl,'
             lt_prog_compiler_pic='-fPIC'
             lt_prog_compiler_static='-static'
             ;;
           *Portland\ Group*)
             lt_prog_compiler_wl='-Wl,'
             lt_prog_compiler_pic='-fpic'
             lt_prog_compiler_static='-Bstatic'
             ;;
         esac          esac
         ;;          ;;
       esac        esac
Line 8373  case $host_os in Line 8699  case $host_os in
     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     ;;      ;;
 esac  esac
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5  
 $as_echo "$lt_prog_compiler_pic" >&6; }  
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   if ${lt_cv_prog_compiler_pic+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   
   
   
   
   
 #  #
 # Check to make sure the PIC flag actually works.  # Check to make sure the PIC flag actually works.
 #  #
 if test -n "$lt_prog_compiler_pic"; then  if test -n "$lt_prog_compiler_pic"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }  $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :if ${lt_cv_prog_compiler_pic_works+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_prog_compiler_pic_works=no    lt_cv_prog_compiler_pic_works=no
Line 8440  fi Line 8770  fi
   
   
   
   
   
   
   
   
 #  #
 # Check to make sure the static flag actually works.  # Check to make sure the static flag actually works.
 #  #
 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"  wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }  $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :if ${lt_cv_prog_compiler_static_works+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_prog_compiler_static_works=no    lt_cv_prog_compiler_static_works=no
Line 8489  fi Line 8824  fi
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :if ${lt_cv_prog_compiler_c_o+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_prog_compiler_c_o=no    lt_cv_prog_compiler_c_o=no
Line 8544  $as_echo "$lt_cv_prog_compiler_c_o" >&6; } Line 8879  $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :if ${lt_cv_prog_compiler_c_o+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_prog_compiler_c_o=no    lt_cv_prog_compiler_c_o=no
Line 8638  $as_echo_n "checking whether the $compiler linker ($LD Line 8973  $as_echo_n "checking whether the $compiler linker ($LD
   hardcode_direct=no    hardcode_direct=no
   hardcode_direct_absolute=no    hardcode_direct_absolute=no
   hardcode_libdir_flag_spec=    hardcode_libdir_flag_spec=
   hardcode_libdir_flag_spec_ld=  
   hardcode_libdir_separator=    hardcode_libdir_separator=
   hardcode_minus_L=no    hardcode_minus_L=no
   hardcode_shlibpath_var=unsupported    hardcode_shlibpath_var=unsupported
Line 8790  _LT_EOF Line 9124  _LT_EOF
       allow_undefined_flag=unsupported        allow_undefined_flag=unsupported
       always_export_symbols=no        always_export_symbols=no
       enable_shared_with_static_runtimes=yes        enable_shared_with_static_runtimes=yes
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   
       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
Line 8838  _LT_EOF Line 9173  _LT_EOF
       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
          && test "$tmp_diet" = no           && test "$tmp_diet" = no
       then        then
        tmp_addflag=        tmp_addflag=' $pic_flag'
         tmp_sharedflag='-shared'          tmp_sharedflag='-shared'
         case $cc_basename,$host_cpu in          case $cc_basename,$host_cpu in
         pgcc*)                          # Portland Group C compiler          pgcc*)                          # Portland Group C compiler
Line 8887  _LT_EOF Line 9222  _LT_EOF
         xlf* | bgf* | bgxlf* | mpixlf*)          xlf* | bgf* | bgxlf* | mpixlf*)
           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
          hardcode_libdir_flag_spec=          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
          hardcode_libdir_flag_spec_ld='-rpath $libdir' 
           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'            archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
           if test "x$supports_anon_versioning" = xyes; then            if test "x$supports_anon_versioning" = xyes; then
             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
Line 8908  _LT_EOF Line 9242  _LT_EOF
         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
         wlarc=          wlarc=
       else        else
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       fi        fi
       ;;        ;;
   
Line 8927  _LT_EOF Line 9261  _LT_EOF
   
 _LT_EOF  _LT_EOF
       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else        else
         ld_shlibs=no          ld_shlibs=no
       fi        fi
Line 8974  _LT_EOF Line 9308  _LT_EOF
   
     *)      *)
       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
       else        else
         ld_shlibs=no          ld_shlibs=no
       fi        fi
Line 9105  _LT_EOF Line 9439  _LT_EOF
         allow_undefined_flag='-berok'          allow_undefined_flag='-berok'
         # Determine the default libpath from the value encoded in an          # Determine the default libpath from the value encoded in an
         # empty executable.          # empty executable.
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext        if test "${lt_cv_aix_libpath+set}" = set; then
   aix_libpath=$lt_cv_aix_libpath
 else
   if ${lt_cv_aix_libpath_+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
 int  int
Line 9118  main () Line 9458  main ()
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
   
lt_aix_libpath_sed='  lt_aix_libpath_sed='
    /Import File Strings/,/^$/ {      /Import File Strings/,/^$/ {
        /^0/ {          /^0/ {
            s/^0  *\(.*\)$/\1/              s/^0  *\([^ ]*\) *$/\1/
            p              p
        }          }
    }'      }'
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
# Check for a 64-bit object if we didn't find anything.  # Check for a 64-bit object if we didn't find anything.
if test -z "$aix_libpath"; then  if test -z "$lt_cv_aix_libpath_"; then
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   fi
 fi  fi
 fi  
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$lt_cv_aix_libpath_"; then
     lt_cv_aix_libpath_="/usr/lib:/lib"
   fi
   
   fi
   
     aix_libpath=$lt_cv_aix_libpath_
   fi
   
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
       else        else
Line 9145  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9492  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
         else          else
          # Determine the default libpath from the value encoded in an           # Determine the default libpath from the value encoded in an
          # empty executable.           # empty executable.
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext         if test "${lt_cv_aix_libpath+set}" = set; then
   aix_libpath=$lt_cv_aix_libpath
 else
   if ${lt_cv_aix_libpath_+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
 int  int
Line 9158  main () Line 9511  main ()
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
   
lt_aix_libpath_sed='  lt_aix_libpath_sed='
    /Import File Strings/,/^$/ {      /Import File Strings/,/^$/ {
        /^0/ {          /^0/ {
            s/^0  *\(.*\)$/\1/              s/^0  *\([^ ]*\) *$/\1/
            p              p
        }          }
    }'      }'
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
# Check for a 64-bit object if we didn't find anything.  # Check for a 64-bit object if we didn't find anything.
if test -z "$aix_libpath"; then  if test -z "$lt_cv_aix_libpath_"; then
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   fi
 fi  fi
 fi  
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$lt_cv_aix_libpath_"; then
     lt_cv_aix_libpath_="/usr/lib:/lib"
   fi
   
   fi
   
     aix_libpath=$lt_cv_aix_libpath_
   fi
   
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
           # Warning - without using the other run time loading flags,            # Warning - without using the other run time loading flags,
           # -berok will link without error, but may produce a broken library.            # -berok will link without error, but may produce a broken library.
Line 9218  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9578  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
       # Microsoft Visual C++.        # Microsoft Visual C++.
       # hardcode_libdir_flag_spec is actually meaningless, as there is        # hardcode_libdir_flag_spec is actually meaningless, as there is
       # no search path for DLLs.        # no search path for DLLs.
      hardcode_libdir_flag_spec=' '      case $cc_basename in
      allow_undefined_flag=unsupported      cl*)
      # Tell ltmain to make .lib files, not .a files.        # Native MSVC
      libext=lib        hardcode_libdir_flag_spec=' '
      # Tell ltmain to make .dll files, not .so files.        allow_undefined_flag=unsupported
      shrext_cmds=".dll"        always_export_symbols=yes
      # FIXME: Setting linknames here is a bad hack.        file_list_spec='@'
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='        # Tell ltmain to make .lib files, not .a files.
      # The linker will automatically build a .lib file if we build a DLL.        libext=lib
      old_archive_from_new_cmds='true'        # Tell ltmain to make .dll files, not .so files.
      # FIXME: Should let the user specify the lib program.        shrext_cmds=".dll"
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'        # FIXME: Setting linknames here is a bad hack.
      fix_srcfile_path='`cygpath -w "$srcfile"`'        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
      enable_shared_with_static_runtimes=yes        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
           else
             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
           fi~
           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
           linknames='
         # The linker will not automatically build a static lib if we build a DLL.
         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
         enable_shared_with_static_runtimes=yes
         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
         # Don't use ranlib
         old_postinstall_cmds='chmod 644 $oldlib'
         postlink_cmds='lt_outputfile="@OUTPUT@"~
           lt_tool_outputfile="@TOOL_OUTPUT@"~
           case $lt_outputfile in
             *.exe|*.EXE) ;;
             *)
               lt_outputfile="$lt_outputfile.exe"
               lt_tool_outputfile="$lt_tool_outputfile.exe"
               ;;
           esac~
           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
             $RM "$lt_outputfile.manifest";
           fi'
         ;;
       *)
         # Assume MSVC wrapper
         hardcode_libdir_flag_spec=' '
         allow_undefined_flag=unsupported
         # Tell ltmain to make .lib files, not .a files.
         libext=lib
         # Tell ltmain to make .dll files, not .so files.
         shrext_cmds=".dll"
         # FIXME: Setting linknames here is a bad hack.
         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
         # The linker will automatically build a .lib file if we build a DLL.
         old_archive_from_new_cmds='true'
         # FIXME: Should let the user specify the lib program.
         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
         enable_shared_with_static_runtimes=yes
         ;;
       esac
       ;;        ;;
   
     darwin* | rhapsody*)      darwin* | rhapsody*)
Line 9243  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9647  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
   hardcode_shlibpath_var=unsupported    hardcode_shlibpath_var=unsupported
   if test "$lt_cv_ld_force_load" = "yes"; then    if test "$lt_cv_ld_force_load" = "yes"; then
     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'      whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   
   else    else
     whole_archive_flag_spec=''      whole_archive_flag_spec=''
   fi    fi
Line 9271  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9676  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
       hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
       ;;        ;;
   
     freebsd1*)  
       ld_shlibs=no  
       ;;  
   
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o      # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little      # does not break anything, and helps significantly (at the cost of a little
Line 9287  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9688  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
       ;;        ;;
   
     # Unfortunately, older versions of FreeBSD 2 do not have this feature.      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    freebsd2*)    freebsd2.*)
       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
       hardcode_direct=yes        hardcode_direct=yes
       hardcode_minus_L=yes        hardcode_minus_L=yes
Line 9296  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9697  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
   
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | dragonfly*)      freebsd* | dragonfly*)
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec='-R$libdir'        hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes        hardcode_direct=yes
       hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
Line 9304  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9705  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
   
     hpux9*)      hpux9*)
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       else        else
         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'          archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
       fi        fi
Line 9320  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9721  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
   
     hpux10*)      hpux10*)
       if test "$GCC" = yes && test "$with_gnu_ld" = no; then        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       else        else
         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
       fi        fi
       if test "$with_gnu_ld" = no; then        if test "$with_gnu_ld" = no; then
         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
         hardcode_libdir_flag_spec_ld='+b $libdir'  
         hardcode_libdir_separator=:          hardcode_libdir_separator=:
         hardcode_direct=yes          hardcode_direct=yes
         hardcode_direct_absolute=yes          hardcode_direct_absolute=yes
Line 9344  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9744  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
           ;;            ;;
         ia64*)          ia64*)
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
           ;;            ;;
         *)          *)
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
           ;;            ;;
         esac          esac
       else        else
Line 9364  if test -z "$aix_libpath"; then aix_libpath="/usr/lib: Line 9764  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)            # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 $as_echo_n "checking if $CC understands -b... " >&6; }  $as_echo_n "checking if $CC understands -b... " >&6; }
if test "${lt_cv_prog_compiler__b+set}" = set; then :if ${lt_cv_prog_compiler__b+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_prog_compiler__b=no    lt_cv_prog_compiler__b=no
Line 9426  fi Line 9826  fi
   
     irix5* | irix6* | nonstopux*)      irix5* | irix6* | nonstopux*)
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
         # Try to use the -exported_symbol ld option, if it does not          # Try to use the -exported_symbol ld option, if it does not
         # work, assume that -exports_file does not work either and          # work, assume that -exports_file does not work either and
         # implicitly export all symbols.          # implicitly export all symbols.
        save_LDFLAGS="$LDFLAGS"        # This should be the same for all languages, so no per-tag cache variable.
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 if ${lt_cv_irix_exported_symbol+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   save_LDFLAGS="$LDFLAGS"
            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
int foo(void) {}int foo (void) { return 0; }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'  lt_cv_irix_exported_symbol=yes
else
   lt_cv_irix_exported_symbol=no
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
        LDFLAGS="$save_LDFLAGS"           LDFLAGS="$save_LDFLAGS"
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
         if test "$lt_cv_irix_exported_symbol" = yes; then
           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
         fi
       else        else
         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'          archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
Line 9527  rm -f core conftest.err conftest.$ac_objext \ Line 9940  rm -f core conftest.err conftest.$ac_objext \
     osf4* | osf5*)      # as osf3* with the addition of -msym flag      osf4* | osf5*)      # as osf3* with the addition of -msym flag
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
       else        else
         allow_undefined_flag=' -expect_unresolved \*'          allow_undefined_flag=' -expect_unresolved \*'
Line 9546  rm -f core conftest.err conftest.$ac_objext \ Line 9959  rm -f core conftest.err conftest.$ac_objext \
       no_undefined_flag=' -z defs'        no_undefined_flag=' -z defs'
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
         wlarc='${wl}'          wlarc='${wl}'
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
       else        else
         case `$CC -V 2>&1` in          case `$CC -V 2>&1` in
         *"Compilers 5.0"*)          *"Compilers 5.0"*)
Line 9736  x|xyes) Line 10149  x|xyes)
       # to ld, don't add -lc before -lgcc.        # to ld, don't add -lc before -lgcc.
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }  $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :if ${lt_cv_archive_cmds_need_lc+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   $RM conftest*    $RM conftest*
Line 9937  esac Line 10350  esac
   
   
   
   
   
   
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 $as_echo_n "checking dynamic linker characteristics... " >&6; }  $as_echo_n "checking dynamic linker characteristics... " >&6; }
   
Line 10031  need_version=unknown Line 10439  need_version=unknown
   
 case $host_os in  case $host_os in
 aix3*)  aix3*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   shlibpath_var=LIBPATH    shlibpath_var=LIBPATH
   
Line 10040  aix3*) Line 10448  aix3*)
   ;;    ;;
   
 aix[4-9]*)  aix[4-9]*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   hardcode_into_libs=yes    hardcode_into_libs=yes
Line 10105  beos*) Line 10513  beos*)
   ;;    ;;
   
 bsdi[45]*)  bsdi[45]*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
Line 10124  cygwin* | mingw* | pw32* | cegcc*) Line 10532  cygwin* | mingw* | pw32* | cegcc*)
   need_version=no    need_version=no
   need_lib_prefix=no    need_lib_prefix=no
   
  case $GCC,$host_os in  case $GCC,$cc_basename in
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)  yes,*)
     # gcc
     library_names_spec='$libname.dll.a'      library_names_spec='$libname.dll.a'
     # DLL is installed to $(libdir)/../bin by postinstall_cmds      # DLL is installed to $(libdir)/../bin by postinstall_cmds
     postinstall_cmds='base_file=`basename \${file}`~      postinstall_cmds='base_file=`basename \${file}`~
Line 10158  cygwin* | mingw* | pw32* | cegcc*) Line 10567  cygwin* | mingw* | pw32* | cegcc*)
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       ;;        ;;
     esac      esac
       dynamic_linker='Win32 ld.exe'
     ;;      ;;
   
     *,cl*)
       # Native MSVC
       libname_spec='$name'
       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
       library_names_spec='${libname}.dll.lib'
   
       case $build_os in
       mingw*)
         sys_lib_search_path_spec=
         lt_save_ifs=$IFS
         IFS=';'
         for lt_path in $LIB
         do
           IFS=$lt_save_ifs
           # Let DOS variable expansion print the short 8.3 style file name.
           lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
           sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
         done
         IFS=$lt_save_ifs
         # Convert to MSYS style.
         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
         ;;
       cygwin*)
         # Convert to unix form, then to dos form, then back to unix form
         # but this time dos style (no spaces!) so that the unix form looks
         # like /cygdrive/c/PROGRA~1:/cygdr...
         sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
         sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
         sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
         ;;
       *)
         sys_lib_search_path_spec="$LIB"
         if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
           # It is most probably a Windows format PATH.
           sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
         else
           sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
         fi
         # FIXME: find the short name or the path components, as spaces are
         # common. (e.g. "Program Files" -> "PROGRA~1")
         ;;
       esac
   
       # DLL is installed to $(libdir)/../bin by postinstall_cmds
       postinstall_cmds='base_file=`basename \${file}`~
         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
         dldir=$destdir/`dirname \$dlpath`~
         test -d \$dldir || mkdir -p \$dldir~
         $install_prog $dir/$dlname \$dldir/$dlname'
       postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
         dlpath=$dir/\$dldll~
          $RM \$dlpath'
       shlibpath_overrides_runpath=yes
       dynamic_linker='Win32 link.exe'
       ;;
   
   *)    *)
       # Assume MSVC wrapper
     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
       dynamic_linker='Win32 ld.exe'
     ;;      ;;
   esac    esac
   dynamic_linker='Win32 ld.exe'  
   # FIXME: first we should search . and the directory the executable is in    # FIXME: first we should search . and the directory the executable is in
   shlibpath_var=PATH    shlibpath_var=PATH
   ;;    ;;
Line 10185  darwin* | rhapsody*) Line 10652  darwin* | rhapsody*)
   ;;    ;;
   
 dgux*)  dgux*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
Line 10193  dgux*) Line 10660  dgux*)
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   ;;    ;;
   
 freebsd1*)  
   dynamic_linker=no  
   ;;  
   
 freebsd* | dragonfly*)  freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new    # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.    # versioning mechanism, adjust this.
Line 10204  freebsd* | dragonfly*) Line 10667  freebsd* | dragonfly*)
     objformat=`/usr/bin/objformat`      objformat=`/usr/bin/objformat`
   else    else
     case $host_os in      case $host_os in
    freebsd[123]*) objformat=aout ;;    freebsd[23].*) objformat=aout ;;
     *) objformat=elf ;;      *) objformat=elf ;;
     esac      esac
   fi    fi
Line 10222  freebsd* | dragonfly*) Line 10685  freebsd* | dragonfly*)
   esac    esac
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   case $host_os in    case $host_os in
  freebsd2*)  freebsd2.*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     ;;      ;;
   freebsd3.[01]* | freebsdelf3.[01]*)    freebsd3.[01]* | freebsdelf3.[01]*)
Line 10242  freebsd* | dragonfly*) Line 10705  freebsd* | dragonfly*)
   ;;    ;;
   
 gnu*)  gnu*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
   hardcode_into_libs=yes    hardcode_into_libs=yes
   ;;    ;;
   
 haiku*)  haiku*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   dynamic_linker="$host_os runtime_loader"    dynamic_linker="$host_os runtime_loader"
Line 10313  hpux9* | hpux10* | hpux11*) Line 10777  hpux9* | hpux10* | hpux11*)
   ;;    ;;
   
 interix[3-9]*)  interix[3-9]*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
Line 10329  irix5* | irix6* | nonstopux*) Line 10793  irix5* | irix6* | nonstopux*)
     nonstopux*) version_type=nonstopux ;;      nonstopux*) version_type=nonstopux ;;
     *)      *)
         if test "$lt_cv_prog_gnu_ld" = yes; then          if test "$lt_cv_prog_gnu_ld" = yes; then
                version_type=linux                version_type=linux # correct to gnu/linux during the next big refactor
         else          else
                 version_type=irix                  version_type=irix
         fi ;;          fi ;;
Line 10366  linux*oldld* | linux*aout* | linux*coff*) Line 10830  linux*oldld* | linux*aout* | linux*coff*)
   dynamic_linker=no    dynamic_linker=no
   ;;    ;;
   
# This must be Linux ELF.# This must be glibc/ELF.
 linux* | k*bsd*-gnu | kopensolaris*-gnu)  linux* | k*bsd*-gnu | kopensolaris*-gnu)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
Line 10378  linux* | k*bsd*-gnu | kopensolaris*-gnu) Line 10842  linux* | k*bsd*-gnu | kopensolaris*-gnu)
   shlibpath_overrides_runpath=no    shlibpath_overrides_runpath=no
   
   # Some binutils ld are patched to set DT_RUNPATH    # Some binutils ld are patched to set DT_RUNPATH
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   lt_cv_shlibpath_overrides_runpath=no    lt_cv_shlibpath_overrides_runpath=no
Line 10454  netbsd*) Line 10918  netbsd*)
   ;;    ;;
   
 newsos6)  newsos6)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
Line 10523  rdos*) Line 10987  rdos*)
   ;;    ;;
   
 solaris*)  solaris*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
Line 10548  sunos4*) Line 11012  sunos4*)
   ;;    ;;
   
 sysv4 | sysv4.3*)  sysv4 | sysv4.3*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
Line 10572  sysv4 | sysv4.3*) Line 11036  sysv4 | sysv4.3*)
   
 sysv4*MP*)  sysv4*MP*)
   if test -d /usr/nec ;then    if test -d /usr/nec ;then
    version_type=linux    version_type=linux # correct to gnu/linux during the next big refactor
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
     soname_spec='$libname${shared_ext}.$major'      soname_spec='$libname${shared_ext}.$major'
     shlibpath_var=LD_LIBRARY_PATH      shlibpath_var=LD_LIBRARY_PATH
Line 10603  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | Line 11067  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
   
 tpf*)  tpf*)
   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
Line 10613  tpf*) Line 11077  tpf*)
   ;;    ;;
   
 uts4*)  uts4*)
  version_type=linux  version_type=linux # correct to gnu/linux during the next big refactor
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
Line 10802  else Line 11266  else
   # if libdl is installed we need to link against it    # if libdl is installed we need to link against it
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }  $as_echo_n "checking for dlopen in -ldl... " >&6; }
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 10836  LIBS=$ac_check_lib_save_LIBS Line 11300  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else  else
   
Line 10850  fi Line 11314  fi
   
   *)    *)
     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
if test "x$ac_cv_func_shl_load" = x""yes; then :if test "x$ac_cv_func_shl_load" = xyes; then :
   lt_cv_dlopen="shl_load"    lt_cv_dlopen="shl_load"
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 $as_echo_n "checking for shl_load in -ldld... " >&6; }  $as_echo_n "checking for shl_load in -ldld... " >&6; }
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :if ${ac_cv_lib_dld_shl_load+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 10889  LIBS=$ac_check_lib_save_LIBS Line 11353  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }  $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 else  else
   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
if test "x$ac_cv_func_dlopen" = x""yes; then :if test "x$ac_cv_func_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen"    lt_cv_dlopen="dlopen"
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }  $as_echo_n "checking for dlopen in -ldl... " >&6; }
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 10932  LIBS=$ac_check_lib_save_LIBS Line 11396  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 $as_echo_n "checking for dlopen in -lsvld... " >&6; }  $as_echo_n "checking for dlopen in -lsvld... " >&6; }
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :if ${ac_cv_lib_svld_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 10971  LIBS=$ac_check_lib_save_LIBS Line 11435  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }  $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 $as_echo_n "checking for dld_link in -ldld... " >&6; }  $as_echo_n "checking for dld_link in -ldld... " >&6; }
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :if ${ac_cv_lib_dld_dld_link+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 11010  LIBS=$ac_check_lib_save_LIBS Line 11474  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }  $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 fi  fi
   
Line 11051  fi Line 11515  fi
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 $as_echo_n "checking whether a program can dlopen itself... " >&6; }  $as_echo_n "checking whether a program can dlopen itself... " >&6; }
if test "${lt_cv_dlopen_self+set}" = set; then :if ${lt_cv_dlopen_self+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
           if test "$cross_compiling" = yes; then :            if test "$cross_compiling" = yes; then :
Line 11104  else Line 11568  else
 /* When -fvisbility=hidden is used, assume the code has been annotated  /* When -fvisbility=hidden is used, assume the code has been annotated
    correspondingly for the symbols needed.  */     correspondingly for the symbols needed.  */
 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
void fnord () __attribute__((visibility("default")));int fnord () __attribute__((visibility("default")));
 #endif  #endif
   
void fnord () { int i=42; }int fnord () { return 42; }
 int main ()  int main ()
 {  {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
Line 11157  $as_echo "$lt_cv_dlopen_self" >&6; } Line 11621  $as_echo "$lt_cv_dlopen_self" >&6; }
       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }  $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
if test "${lt_cv_dlopen_self_static+set}" = set; then :if ${lt_cv_dlopen_self_static+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
           if test "$cross_compiling" = yes; then :            if test "$cross_compiling" = yes; then :
Line 11210  else Line 11674  else
 /* When -fvisbility=hidden is used, assume the code has been annotated  /* When -fvisbility=hidden is used, assume the code has been annotated
    correspondingly for the symbols needed.  */     correspondingly for the symbols needed.  */
 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
void fnord () __attribute__((visibility("default")));int fnord () __attribute__((visibility("default")));
 #endif  #endif
   
void fnord () { int i=42; }int fnord () { return 42; }
 int main ()  int main ()
 {  {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
Line 11395  CC="$lt_save_CC" Line 11859  CC="$lt_save_CC"
   
   
   
   
   
         ac_config_commands="$ac_config_commands libtool"          ac_config_commands="$ac_config_commands libtool"
   
   
Line 11414  else Line 11880  else
   esac    esac
 fi  fi
   
 if test -z "$VERSION_SCRIPT_FLAGS"; then if test -n "$VERSION_SCRIPT_FLAGS"; then
   USE_VERSION_SCRIPT_TRUE=    USE_VERSION_SCRIPT_TRUE=
   USE_VERSION_SCRIPT_FALSE='#'    USE_VERSION_SCRIPT_FALSE='#'
 else  else
Line 11425  fi Line 11891  fi
   
   
 _cppflags="${CPPFLAGS}"  _cppflags="${CPPFLAGS}"
_ldflags="${LDFLAGS}"_libs="${LIBS}"
   
   
 # Check whether --with-c14n was given.  # Check whether --with-c14n was given.
Line 11572  if test "${with_readline+set}" = set; then : Line 12038  if test "${with_readline+set}" = set; then :
   if test "$withval" != "no" -a "$withval" != "yes"; then    if test "$withval" != "no" -a "$withval" != "yes"; then
     RDL_DIR=$withval      RDL_DIR=$withval
     CPPFLAGS="${CPPFLAGS} -I$withval/include"      CPPFLAGS="${CPPFLAGS} -I$withval/include"
    LDFLAGS="${LDFLAGS} -L$withval/lib"    LIBS="${LIBS} -L$withval/lib"
   fi    fi
   
 fi  fi
Line 11668  if test "${with_zlib+set}" = set; then : Line 12134  if test "${with_zlib+set}" = set; then :
   if test "$withval" != "no" -a "$withval" != "yes"; then    if test "$withval" != "no" -a "$withval" != "yes"; then
     Z_DIR=$withval      Z_DIR=$withval
     CPPFLAGS="${CPPFLAGS} -I$withval/include"      CPPFLAGS="${CPPFLAGS} -I$withval/include"
    LDFLAGS="${LDFLAGS} -L$withval/lib"    LIBS="${LIBS} -L$withval/lib"
   fi    fi
   
 fi  fi
   
   
   # Check whether --with-lzma was given.
   if test "${with_lzma+set}" = set; then :
     withval=$with_lzma;
     if test "$withval" != "no" -a "$withval" != "yes"; then
       LZMA_DIR=$withval
       CPPFLAGS="${CPPFLAGS} -I$withval/include"
       LIBS="${LIBS} -L$withval/lib"
     fi
   
   fi
   
   
 # Check whether --with-coverage was given.  # Check whether --with-coverage was given.
 if test "${with_coverage+set}" = set; then :  if test "${with_coverage+set}" = set; then :
   withval=$with_coverage;    withval=$with_coverage;
Line 11685  if test "${enable_rebuild_docs+set}" = set; then : Line 12163  if test "${enable_rebuild_docs+set}" = set; then :
   enableval=$enable_rebuild_docs;    enableval=$enable_rebuild_docs;
 fi  fi
   
 if test "$enable_rebuild_docs" = "no"; thenif test "$enable_rebuild_docs" = "yes" -a "$srcdir" != "."; then
   as_fn_error $? "cannot rebuild docs when builddir != srcdir" "$LINENO" 5
 fi
  if test "$enable_rebuild_docs" = "yes" -o "$USER" = "veillard"; then
   REBUILD_DOCS_TRUE=    REBUILD_DOCS_TRUE=
   REBUILD_DOCS_FALSE='#'    REBUILD_DOCS_FALSE='#'
 else  else
Line 11864  else Line 12345  else
     for ac_header in zlib.h      for ac_header in zlib.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
if test "x$ac_cv_header_zlib_h" = x""yes; then :if test "x$ac_cv_header_zlib_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_ZLIB_H 1  #define HAVE_ZLIB_H 1
 _ACEOF  _ACEOF
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
 $as_echo_n "checking for gzread in -lz... " >&6; }  $as_echo_n "checking for gzread in -lz... " >&6; }
if test "${ac_cv_lib_z_gzread+set}" = set; then :if ${ac_cv_lib_z_gzread+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 11904  LIBS=$ac_check_lib_save_LIBS Line 12385  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
 $as_echo "$ac_cv_lib_z_gzread" >&6; }  $as_echo "$ac_cv_lib_z_gzread" >&6; }
if test "x$ac_cv_lib_z_gzread" = x""yes; then :if test "x$ac_cv_lib_z_gzread" = xyes; then :
   
   
 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h  $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
Line 11933  fi Line 12414  fi
   
   
   
   echo Checking lzma
   
   
   WITH_LZMA=0
   if test "$with_lzma" = "no"; then
       echo "Disabling compression support"
   else
       for ac_header in lzma.h
   do :
     ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
   if test "x$ac_cv_header_lzma_h" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_LZMA_H 1
   _ACEOF
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
   $as_echo_n "checking for lzma_code in -llzma... " >&6; }
   if ${ac_cv_lib_lzma_lzma_code+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-llzma  $LIBS"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   /* Override any GCC internal prototype to avoid an error.
      Use char because int might match the return type of a GCC
      builtin and then its argument prototype would still apply.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   char lzma_code ();
   int
   main ()
   {
   return lzma_code ();
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ac_cv_lib_lzma_lzma_code=yes
   else
     ac_cv_lib_lzma_lzma_code=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
   $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
   if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
   
   
   $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
   
               WITH_LZMA=1
               if test "x${LZMA_DIR}" != "x"; then
                   LZMA_CFLAGS="-I${LZMA_DIR}/include"
                   LZMA_LIBS="-L${LZMA_DIR}/lib -llzma"
               else
                   LZMA_LIBS="-llzma"
               fi
   fi
   
   fi
   
   done
   
   fi
   
   
   
   
   
 CPPFLAGS=${_cppflags}  CPPFLAGS=${_cppflags}
LDFLAGS=${_ldflags}LIBS=${_libs}
   
 echo Checking headers  echo Checking headers
   
Line 11943  for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do Line 12498  for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`    as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }  $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
if eval "test \"\${$as_ac_Header+set}\"" = set; then :if eval \${$as_ac_Header+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 11983  done Line 12538  done
 if test $ac_header_dirent = dirent.h; then  if test $ac_header_dirent = dirent.h; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 $as_echo_n "checking for library containing opendir... " >&6; }  $as_echo_n "checking for library containing opendir... " >&6; }
if test "${ac_cv_search_opendir+set}" = set; then :if ${ac_cv_search_opendir+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_func_search_save_LIBS=$LIBS    ac_func_search_save_LIBS=$LIBS
Line 12017  for ac_lib in '' dir; do Line 12572  for ac_lib in '' dir; do
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext      conftest$ac_exeext
  if test "${ac_cv_search_opendir+set}" = set; then :  if ${ac_cv_search_opendir+:} false; then :
   break    break
 fi  fi
 done  done
if test "${ac_cv_search_opendir+set}" = set; then :if ${ac_cv_search_opendir+:} false; then :
   
 else  else
   ac_cv_search_opendir=no    ac_cv_search_opendir=no
Line 12040  fi Line 12595  fi
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 $as_echo_n "checking for library containing opendir... " >&6; }  $as_echo_n "checking for library containing opendir... " >&6; }
if test "${ac_cv_search_opendir+set}" = set; then :if ${ac_cv_search_opendir+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_func_search_save_LIBS=$LIBS    ac_func_search_save_LIBS=$LIBS
Line 12074  for ac_lib in '' x; do Line 12629  for ac_lib in '' x; do
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext      conftest$ac_exeext
  if test "${ac_cv_search_opendir+set}" = set; then :  if ${ac_cv_search_opendir+:} false; then :
   break    break
 fi  fi
 done  done
if test "${ac_cv_search_opendir+set}" = set; then :if ${ac_cv_search_opendir+:} false; then :
   
 else  else
   ac_cv_search_opendir=no    ac_cv_search_opendir=no
Line 12098  fi Line 12653  fi
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 $as_echo_n "checking for ANSI C header files... " >&6; }  $as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then :if ${ac_cv_header_stdc+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 12211  fi Line 12766  fi
 for ac_header in fcntl.h  for ac_header in fcntl.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
if test "x$ac_cv_header_fcntl_h" = x""yes; then :if test "x$ac_cv_header_fcntl_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_FCNTL_H 1  #define HAVE_FCNTL_H 1
 _ACEOF  _ACEOF
Line 12223  done Line 12778  done
 for ac_header in unistd.h  for ac_header in unistd.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
if test "x$ac_cv_header_unistd_h" = x""yes; then :if test "x$ac_cv_header_unistd_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_UNISTD_H 1  #define HAVE_UNISTD_H 1
 _ACEOF  _ACEOF
Line 12235  done Line 12790  done
 for ac_header in ctype.h  for ac_header in ctype.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
if test "x$ac_cv_header_ctype_h" = x""yes; then :if test "x$ac_cv_header_ctype_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_CTYPE_H 1  #define HAVE_CTYPE_H 1
 _ACEOF  _ACEOF
Line 12247  done Line 12802  done
 for ac_header in dirent.h  for ac_header in dirent.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
if test "x$ac_cv_header_dirent_h" = x""yes; then :if test "x$ac_cv_header_dirent_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_DIRENT_H 1  #define HAVE_DIRENT_H 1
 _ACEOF  _ACEOF
Line 12259  done Line 12814  done
 for ac_header in errno.h  for ac_header in errno.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
if test "x$ac_cv_header_errno_h" = x""yes; then :if test "x$ac_cv_header_errno_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_ERRNO_H 1  #define HAVE_ERRNO_H 1
 _ACEOF  _ACEOF
Line 12271  done Line 12826  done
 for ac_header in malloc.h  for ac_header in malloc.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
if test "x$ac_cv_header_malloc_h" = x""yes; then :if test "x$ac_cv_header_malloc_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_MALLOC_H 1  #define HAVE_MALLOC_H 1
 _ACEOF  _ACEOF
Line 12283  done Line 12838  done
 for ac_header in stdarg.h  for ac_header in stdarg.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
if test "x$ac_cv_header_stdarg_h" = x""yes; then :if test "x$ac_cv_header_stdarg_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_STDARG_H 1  #define HAVE_STDARG_H 1
 _ACEOF  _ACEOF
Line 12295  done Line 12850  done
 for ac_header in sys/stat.h  for ac_header in sys/stat.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_stat_h" = x""yes; then :if test "x$ac_cv_header_sys_stat_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_STAT_H 1  #define HAVE_SYS_STAT_H 1
 _ACEOF  _ACEOF
Line 12307  done Line 12862  done
 for ac_header in sys/types.h  for ac_header in sys/types.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_types_h" = x""yes; then :if test "x$ac_cv_header_sys_types_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_TYPES_H 1  #define HAVE_SYS_TYPES_H 1
 _ACEOF  _ACEOF
Line 12319  done Line 12874  done
 for ac_header in stdint.h  for ac_header in stdint.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
if test "x$ac_cv_header_stdint_h" = x""yes; then :if test "x$ac_cv_header_stdint_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_STDINT_H 1  #define HAVE_STDINT_H 1
 _ACEOF  _ACEOF
Line 12328  fi Line 12883  fi
   
 done  done
   
for ac_header in inttypes.h.hfor ac_header in inttypes.h
 do :  do :
  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h.h" "ac_cv_header_inttypes_h_h" "$ac_includes_default"  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
if test "x$ac_cv_header_inttypes_h_h" = x""yes; then :if test "x$ac_cv_header_inttypes_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
#define HAVE_INTTYPES_H_H 1#define HAVE_INTTYPES_H 1
 _ACEOF  _ACEOF
   
 fi  fi
Line 12343  done Line 12898  done
 for ac_header in time.h  for ac_header in time.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
if test "x$ac_cv_header_time_h" = x""yes; then :if test "x$ac_cv_header_time_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_TIME_H 1  #define HAVE_TIME_H 1
 _ACEOF  _ACEOF
Line 12355  done Line 12910  done
 for ac_header in ansidecl.h  for ac_header in ansidecl.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
if test "x$ac_cv_header_ansidecl_h" = x""yes; then :if test "x$ac_cv_header_ansidecl_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_ANSIDECL_H 1  #define HAVE_ANSIDECL_H 1
 _ACEOF  _ACEOF
Line 12367  done Line 12922  done
 for ac_header in ieeefp.h  for ac_header in ieeefp.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
if test "x$ac_cv_header_ieeefp_h" = x""yes; then :if test "x$ac_cv_header_ieeefp_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_IEEEFP_H 1  #define HAVE_IEEEFP_H 1
 _ACEOF  _ACEOF
Line 12379  done Line 12934  done
 for ac_header in nan.h  for ac_header in nan.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
if test "x$ac_cv_header_nan_h" = x""yes; then :if test "x$ac_cv_header_nan_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_NAN_H 1  #define HAVE_NAN_H 1
 _ACEOF  _ACEOF
Line 12391  done Line 12946  done
 for ac_header in math.h  for ac_header in math.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
if test "x$ac_cv_header_math_h" = x""yes; then :if test "x$ac_cv_header_math_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_MATH_H 1  #define HAVE_MATH_H 1
 _ACEOF  _ACEOF
Line 12403  done Line 12958  done
 for ac_header in limits.h  for ac_header in limits.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
if test "x$ac_cv_header_limits_h" = x""yes; then :if test "x$ac_cv_header_limits_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_LIMITS_H 1  #define HAVE_LIMITS_H 1
 _ACEOF  _ACEOF
Line 12415  done Line 12970  done
 for ac_header in fp_class.h  for ac_header in fp_class.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
if test "x$ac_cv_header_fp_class_h" = x""yes; then :if test "x$ac_cv_header_fp_class_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_FP_CLASS_H 1  #define HAVE_FP_CLASS_H 1
 _ACEOF  _ACEOF
Line 12427  done Line 12982  done
 for ac_header in float.h  for ac_header in float.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
if test "x$ac_cv_header_float_h" = x""yes; then :if test "x$ac_cv_header_float_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_FLOAT_H 1  #define HAVE_FLOAT_H 1
 _ACEOF  _ACEOF
Line 12439  done Line 12994  done
 for ac_header in stdlib.h  for ac_header in stdlib.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
if test "x$ac_cv_header_stdlib_h" = x""yes; then :if test "x$ac_cv_header_stdlib_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_STDLIB_H 1  #define HAVE_STDLIB_H 1
 _ACEOF  _ACEOF
Line 12455  do : Line 13010  do :
 # endif  # endif
   
 "  "
if test "x$ac_cv_header_sys_socket_h" = x""yes; then :if test "x$ac_cv_header_sys_socket_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_SOCKET_H 1  #define HAVE_SYS_SOCKET_H 1
 _ACEOF  _ACEOF
Line 12471  do : Line 13026  do :
 # endif  # endif
   
 "  "
if test "x$ac_cv_header_netinet_in_h" = x""yes; then :if test "x$ac_cv_header_netinet_in_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_NETINET_IN_H 1  #define HAVE_NETINET_IN_H 1
 _ACEOF  _ACEOF
Line 12490  do : Line 13045  do :
 # endif  # endif
   
 "  "
if test "x$ac_cv_header_arpa_inet_h" = x""yes; then :if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_ARPA_INET_H 1  #define HAVE_ARPA_INET_H 1
 _ACEOF  _ACEOF
Line 12502  done Line 13057  done
 for ac_header in netdb.h  for ac_header in netdb.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
if test "x$ac_cv_header_netdb_h" = x""yes; then :if test "x$ac_cv_header_netdb_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_NETDB_H 1  #define HAVE_NETDB_H 1
 _ACEOF  _ACEOF
Line 12514  done Line 13069  done
 for ac_header in sys/time.h  for ac_header in sys/time.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_time_h" = x""yes; then :if test "x$ac_cv_header_sys_time_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_TIME_H 1  #define HAVE_SYS_TIME_H 1
 _ACEOF  _ACEOF
Line 12526  done Line 13081  done
 for ac_header in sys/select.h  for ac_header in sys/select.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_select_h" = x""yes; then :if test "x$ac_cv_header_sys_select_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_SELECT_H 1  #define HAVE_SYS_SELECT_H 1
 _ACEOF  _ACEOF
Line 12538  done Line 13093  done
 for ac_header in poll.h  for ac_header in poll.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
if test "x$ac_cv_header_poll_h" = x""yes; then :if test "x$ac_cv_header_poll_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_POLL_H 1  #define HAVE_POLL_H 1
 _ACEOF  _ACEOF
Line 12550  done Line 13105  done
 for ac_header in sys/mman.h  for ac_header in sys/mman.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_mman_h" = x""yes; then :if test "x$ac_cv_header_sys_mman_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_MMAN_H 1  #define HAVE_SYS_MMAN_H 1
 _ACEOF  _ACEOF
Line 12562  done Line 13117  done
 for ac_header in sys/timeb.h  for ac_header in sys/timeb.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_TIMEB_H 1  #define HAVE_SYS_TIMEB_H 1
 _ACEOF  _ACEOF
Line 12574  done Line 13129  done
 for ac_header in signal.h  for ac_header in signal.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
if test "x$ac_cv_header_signal_h" = x""yes; then :if test "x$ac_cv_header_signal_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_SIGNAL_H 1  #define HAVE_SIGNAL_H 1
 _ACEOF  _ACEOF
Line 12590  do : Line 13145  do :
 # endif  # endif
   
 "  "
if test "x$ac_cv_header_arpa_nameser_h" = x""yes; then :if test "x$ac_cv_header_arpa_nameser_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_ARPA_NAMESER_H 1  #define HAVE_ARPA_NAMESER_H 1
 _ACEOF  _ACEOF
Line 12612  do : Line 13167  do :
 # endif  # endif
   
 "  "
if test "x$ac_cv_header_resolv_h" = x""yes; then :if test "x$ac_cv_header_resolv_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_RESOLV_H 1  #define HAVE_RESOLV_H 1
 _ACEOF  _ACEOF
Line 12624  done Line 13179  done
 for ac_header in dl.h  for ac_header in dl.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
if test "x$ac_cv_header_dl_h" = x""yes; then :if test "x$ac_cv_header_dl_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_DL_H 1  #define HAVE_DL_H 1
 _ACEOF  _ACEOF
Line 12636  done Line 13191  done
 for ac_header in dlfcn.h  for ac_header in dlfcn.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_DLFCN_H 1  #define HAVE_DLFCN_H 1
 _ACEOF  _ACEOF
Line 12647  done Line 13202  done
   
   
   
   echo Checking types
   
   ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
   case $ac_cv_c_uint32_t in #(
     no|yes) ;; #(
     *)
   
   $as_echo "#define _UINT32_T 1" >>confdefs.h
   
   
   cat >>confdefs.h <<_ACEOF
   #define uint32_t $ac_cv_c_uint32_t
   _ACEOF
   ;;
     esac
   
   
   
 echo Checking libraries  echo Checking libraries
   
 for ac_func in strftime  for ac_func in strftime
 do :  do :
   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"    ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
if test "x$ac_cv_func_strftime" = x""yes; then :if test "x$ac_cv_func_strftime" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_STRFTIME 1  #define HAVE_STRFTIME 1
 _ACEOF  _ACEOF
Line 12661  else Line 13234  else
   # strftime is in -lintl on SCO UNIX.    # strftime is in -lintl on SCO UNIX.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
 $as_echo_n "checking for strftime in -lintl... " >&6; }  $as_echo_n "checking for strftime in -lintl... " >&6; }
if test "${ac_cv_lib_intl_strftime+set}" = set; then :if ${ac_cv_lib_intl_strftime+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 12695  LIBS=$ac_check_lib_save_LIBS Line 13268  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
 $as_echo "$ac_cv_lib_intl_strftime" >&6; }  $as_echo "$ac_cv_lib_intl_strftime" >&6; }
if test "x$ac_cv_lib_intl_strftime" = x""yes; then :if test "x$ac_cv_lib_intl_strftime" = xyes; then :
   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h    $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
   
 LIBS="-lintl $LIBS"  LIBS="-lintl $LIBS"
Line 12752  _ACEOF Line 13325  _ACEOF
 fi  fi
 done  done
   
   for ac_func in rand rand_r srand time
   do :
     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     cat >>confdefs.h <<_ACEOF
   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   _ACEOF
   
for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanffi
 done
 
 for ac_func in isascii mmap munmap putenv
 do :  do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
Line 12762  if eval test \"x\$"$as_ac_var"\" = x"yes"; then : Line 13346  if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF  _ACEOF
   
 else  
   NEED_TRIO=1  
 fi  fi
 done  done
   
   
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
 $as_echo_n "checking for va_copy... " >&6; }  $as_echo_n "checking for va_copy... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 12828  fi Line 13412  fi
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
 $as_echo_n "checking for library containing gethostent... " >&6; }  $as_echo_n "checking for library containing gethostent... " >&6; }
if test "${ac_cv_search_gethostent+set}" = set; then :if ${ac_cv_search_gethostent+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_func_search_save_LIBS=$LIBS    ac_func_search_save_LIBS=$LIBS
Line 12862  for ac_lib in '' nsl; do Line 13446  for ac_lib in '' nsl; do
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext      conftest$ac_exeext
  if test "${ac_cv_search_gethostent+set}" = set; then :  if ${ac_cv_search_gethostent+:} false; then :
   break    break
 fi  fi
 done  done
if test "${ac_cv_search_gethostent+set}" = set; then :if ${ac_cv_search_gethostent+:} false; then :
   
 else  else
   ac_cv_search_gethostent=no    ac_cv_search_gethostent=no
Line 12884  fi Line 13468  fi
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
 $as_echo_n "checking for library containing setsockopt... " >&6; }  $as_echo_n "checking for library containing setsockopt... " >&6; }
if test "${ac_cv_search_setsockopt+set}" = set; then :if ${ac_cv_search_setsockopt+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_func_search_save_LIBS=$LIBS    ac_func_search_save_LIBS=$LIBS
Line 12918  for ac_lib in '' socket net network; do Line 13502  for ac_lib in '' socket net network; do
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext      conftest$ac_exeext
  if test "${ac_cv_search_setsockopt+set}" = set; then :  if ${ac_cv_search_setsockopt+:} false; then :
   break    break
 fi  fi
 done  done
if test "${ac_cv_search_setsockopt+set}" = set; then :if ${ac_cv_search_setsockopt+:} false; then :
   
 else  else
   ac_cv_search_setsockopt=no    ac_cv_search_setsockopt=no
Line 12940  fi Line 13524  fi
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
 $as_echo_n "checking for library containing connect... " >&6; }  $as_echo_n "checking for library containing connect... " >&6; }
if test "${ac_cv_search_connect+set}" = set; then :if ${ac_cv_search_connect+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_func_search_save_LIBS=$LIBS    ac_func_search_save_LIBS=$LIBS
Line 12974  for ac_lib in '' inet; do Line 13558  for ac_lib in '' inet; do
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext      conftest$ac_exeext
  if test "${ac_cv_search_connect+set}" = set; then :  if ${ac_cv_search_connect+:} false; then :
   break    break
 fi  fi
 done  done
if test "${ac_cv_search_connect+set}" = set; then :if ${ac_cv_search_connect+:} false; then :
   
 else  else
   ac_cv_search_connect=no    ac_cv_search_connect=no
Line 12998  fi Line 13582  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }  $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
#line 13001 "configure"#line 13585 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 #include <stddef.h>  #include <stddef.h>
Line 13009  int main(void) { Line 13593  int main(void) {
 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)  (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
 ; return 0; }  ; return 0; }
 EOF  EOF
if { (eval echo configure:13012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; thenif { (eval echo configure:13596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
   rm -rf conftest*    rm -rf conftest*
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
Line 13021  else Line 13605  else
   rm -rf conftest*    rm -rf conftest*
   
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
#line 13024 "configure"#line 13608 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 #include <stddef.h>  #include <stddef.h>
Line 13032  int main(void) { Line 13616  int main(void) {
 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)  (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
 ; return 0; }  ; return 0; }
 EOF  EOF
if { (eval echo configure:13035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; thenif { (eval echo configure:13619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
   rm -rf conftest*    rm -rf conftest*
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
Line 13044  else Line 13628  else
   rm -rf conftest*    rm -rf conftest*
   
     cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
#line 13047 "configure"#line 13631 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 #include <stddef.h>  #include <stddef.h>
Line 13055  int main(void) { Line 13639  int main(void) {
 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)  (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
 ; return 0; }  ; return 0; }
 EOF  EOF
if { (eval echo configure:13058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; thenif { (eval echo configure:13642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
   rm -rf conftest*    rm -rf conftest*
   
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
Line 13100  if test $enable_ipv6 = yes; then Line 13684  if test $enable_ipv6 = yes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
    #include <sys/types.h>#   include <sys/types.h>
    #include <sys/socket.h>#   include <sys/socket.h>
   
 int  int
 main ()  main ()
Line 13135  $as_echo_n "checking struct sockaddr::ss_family... " > Line 13719  $as_echo_n "checking struct sockaddr::ss_family... " >
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
      #include <sys/types.h>#     include <sys/types.h>
      #include <sys/socket.h>#     include <sys/socket.h>
   
 int  int
 main ()  main ()
Line 13164  $as_echo_n "checking broken struct sockaddr::ss_family Line 13748  $as_echo_n "checking broken struct sockaddr::ss_family
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
        #include <sys/types.h>#       include <sys/types.h>
        #include <sys/socket.h>#       include <sys/socket.h>
   
 int  int
 main ()  main ()
Line 13202  $as_echo "$as_me: WARNING: ss_family and __ss_family n Line 13786  $as_echo "$as_me: WARNING: ss_family and __ss_family n
   
     have_getaddrinfo=no      have_getaddrinfo=no
     ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"      ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   have_getaddrinfo=yes    have_getaddrinfo=yes
 fi  fi
   
Line 13211  fi Line 13795  fi
         as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`          as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }  $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :if eval \${$as_ac_Lib+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 13263  fi Line 13847  fi
   
   
 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
if test "x$ac_cv_func_isnan" = x""yes; then :if test "x$ac_cv_func_isnan" = xyes; then :
   
 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h  $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
   
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
 $as_echo_n "checking for isnan in -lm... " >&6; }  $as_echo_n "checking for isnan in -lm... " >&6; }
if test "${ac_cv_lib_m_isnan+set}" = set; then :if ${ac_cv_lib_m_isnan+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 13304  LIBS=$ac_check_lib_save_LIBS Line 13888  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
 $as_echo "$ac_cv_lib_m_isnan" >&6; }  $as_echo "$ac_cv_lib_m_isnan" >&6; }
if test "x$ac_cv_lib_m_isnan" = x""yes; then :if test "x$ac_cv_lib_m_isnan" = xyes; then :
   
 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h  $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
   
Line 13314  fi Line 13898  fi
   
   
 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
if test "x$ac_cv_func_isinf" = x""yes; then :if test "x$ac_cv_func_isinf" = xyes; then :
   
 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h  $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
   
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
 $as_echo_n "checking for isinf in -lm... " >&6; }  $as_echo_n "checking for isinf in -lm... " >&6; }
if test "${ac_cv_lib_m_isinf+set}" = set; then :if ${ac_cv_lib_m_isinf+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 13355  LIBS=$ac_check_lib_save_LIBS Line 13939  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
 $as_echo "$ac_cv_lib_m_isinf" >&6; }  $as_echo "$ac_cv_lib_m_isinf" >&6; }
if test "x$ac_cv_lib_m_isinf" = x""yes; then :if test "x$ac_cv_lib_m_isinf" = xyes; then :
   
 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h  $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
   
Line 13392  else Line 13976  else
         CFLAGS="${CFLAGS} -fexceptions"          CFLAGS="${CFLAGS} -fexceptions"
     fi      fi
   
       # warnings we'd like to see
     CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"      CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
       # warnings we'd like to supress
       CFLAGS="${CFLAGS} -Wno-long-long"
     case "${host}" in      case "${host}" in
           alpha*-*-linux* )            alpha*-*-linux* )
                CFLAGS="${CFLAGS} -mieee"                 CFLAGS="${CFLAGS} -mieee"
Line 13448  if test "$with_python" != "no" ; then Line 14035  if test "$with_python" != "no" ; then
                 if test -x "$PYTHON"                  if test -x "$PYTHON"
                 then                  then
                     echo Found python in environment PYTHON=$PYTHON                      echo Found python in environment PYTHON=$PYTHON
                    with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`                    with_python=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
                 else                  else
                     # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.                      # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2  set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_PYTHON+set}" = set; then :if ${ac_cv_path_PYTHON+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   case $PYTHON in    case $PYTHON in
Line 13468  do Line 14055  do
   IFS=$as_save_IFS    IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2      break 2
Line 13496  fi Line 14083  fi
     fi      fi
     if test "$PYTHON" != ""      if test "$PYTHON" != ""
     then      then
        PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`        PYTHON_VERSION=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_version())"`
         PYTHON_INCLUDES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_inc())"`
 # does not work as it produce a /usr/lib/python path instead of/usr/lib64/python
 #
 #       PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
         echo Found Python version $PYTHON_VERSION          echo Found Python version $PYTHON_VERSION
     fi      fi
    if test "$PYTHON_VERSION" != ""    if test "$PYTHON_VERSION" != "" -a "$PYTHON_INCLUDES" = ""
     then      then
        if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \        if test -r $with_python/include/python$PYTHON_VERSION/Python.h
           -d $with_python/lib/python$PYTHON_VERSION/site-packages 
         then          then
             PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION              PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
             PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages  
         else          else
             if test -r $prefix/include/python$PYTHON_VERSION/Python.h              if test -r $prefix/include/python$PYTHON_VERSION/Python.h
             then              then
                 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION                  PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
                 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages  
             else              else
                 if test -r /usr/include/python$PYTHON_VERSION/Python.h                  if test -r /usr/include/python$PYTHON_VERSION/Python.h
                 then                  then
                     PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION                      PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
                     PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages  
                 else                  else
                    if test -r $with_python/include/Python.h -a \                    if test -r $with_python/include/Python.h
                       -d $with_python/lib/site-packages 
                     then                      then
                         PYTHON_INCLUDES=$with_python/include                          PYTHON_INCLUDES=$with_python/include
                         PYTHON_SITE_PACKAGES=$with_python/lib/site-packages  
                     else                      else
                         echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h                          echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h
                     fi                      fi
                 fi                  fi
             fi              fi
            if test ! -d "$PYTHON_SITE_PACKAGES"        fi
     fi
     if test "$PYTHON_VERSION" != "" -a "$PYTHON_SITE_PACKAGES" = ""
     then
         if test -d $libdir/python$PYTHON_VERSION/site-packages
         then
             PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
         else
             if test -d $with_python/lib/site-packages
             then              then
                    PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`                PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
             else
                 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
             fi              fi
         fi          fi
         PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`  
     fi      fi
    if test "$with_python" != ""    pythondir='$(PYTHON_SITE_PACKAGES)'
    then    PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
        pythondir='$(PYTHON_SITE_PACKAGES)' 
    else 
        pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' 
    fi 
 else  else
     PYTHON=      PYTHON=
 fi  fi
Line 13570  if test "$with_modules" != "no" ; then Line 14160  if test "$with_modules" != "no" ; then
   MODULE_EXTENSION=".dll"    MODULE_EXTENSION=".dll"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }  $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then :if ${ac_cv_lib_cygwin_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 13604  LIBS=$ac_check_lib_save_LIBS Line 14194  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }  $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
if test "x$ac_cv_lib_cygwin_dlopen" = x""yes; then :if test "x$ac_cv_lib_cygwin_dlopen" = xyes; then :
   
     WITH_MODULES=1      WITH_MODULES=1
     MODULE_PLATFORM_LIBS=      MODULE_PLATFORM_LIBS=
Line 13621  fi Line 14211  fi
   ;;    ;;
   *)    *)
   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
if test "x$ac_cv_func_shl_load" = x""yes; then :if test "x$ac_cv_func_shl_load" = xyes; then :
   libxml_have_shl_load=yes    libxml_have_shl_load=yes
 else  else
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 $as_echo_n "checking for shl_load in -ldld... " >&6; }  $as_echo_n "checking for shl_load in -ldld... " >&6; }
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :if ${ac_cv_lib_dld_shl_load+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 13661  LIBS=$ac_check_lib_save_LIBS Line 14251  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }  $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   
       MODULE_PLATFORM_LIBS="-ldld"        MODULE_PLATFORM_LIBS="-ldld"
       libxml_have_shl_load=yes        libxml_have_shl_load=yes
 else  else
   
       ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"        ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
if test "x$ac_cv_func_dlopen" = x""yes; then :if test "x$ac_cv_func_dlopen" = xyes; then :
   libxml_have_dlopen=yes    libxml_have_dlopen=yes
 else  else
   
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }  $as_echo_n "checking for dlopen in -ldl... " >&6; }
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 13708  LIBS=$ac_check_lib_save_LIBS Line 14298  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   
           MODULE_PLATFORM_LIBS="-ldl"            MODULE_PLATFORM_LIBS="-ldl"
           libxml_have_dlopen=yes            libxml_have_dlopen=yes
Line 13807  WITH_THREADS=0 Line 14397  WITH_THREADS=0
 THREAD_CFLAGS=""  THREAD_CFLAGS=""
 TEST_THREADS=""  TEST_THREADS=""
 THREADS_W32=""  THREADS_W32=""
   WITH_THREAD_ALLOC=0
   
 if test "$with_threads" = "no" ; then  if test "$with_threads" = "no" ; then
     echo Disabling multithreaded support      echo Disabling multithreaded support
 else  else
     echo Enabling multithreaded support      echo Enabling multithreaded support
   
           case $host_os in
          *mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then
                  WITH_THREADS="1"
                  THREADS_W32="1"
                  THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
              fi
          ;;
       esac
   
           if test -z "$THREADS_W32"; then
         if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then          if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
        ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"            ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
if test "x$ac_cv_header_pthread_h" = x""yes; then :if test "x$ac_cv_header_pthread_h" = xyes; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }  $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then :if ${ac_cv_lib_pthread_pthread_join+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 13851  LIBS=$ac_check_lib_save_LIBS Line 14453  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }  $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then :if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
   
               THREAD_LIBS="-lpthread"                THREAD_LIBS="-lpthread"
   
 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h  $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
   
   
 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h  $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
   
               WITH_THREADS="1"                WITH_THREADS="1"
 fi  fi
   
 fi  fi
   
   
           fi
     fi      fi
   
     case $host_os in      case $host_os in
        *mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then  
                WITH_THREADS="1"  
                THREADS_W32="Win32"  
                THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"  
            fi  
        ;;  
        *cygwin*) THREAD_LIBS=""         *cygwin*) THREAD_LIBS=""
        ;;         ;;
        *beos*) WITH_THREADS="1"         *beos*) WITH_THREADS="1"
Line 13908  fi Line 14506  fi
     fi      fi
 fi  fi
 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then  if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
    THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"    WITH_THREAD_ALLOC=1
 fi  fi
   
   
Line 13917  fi Line 14515  fi
   
   
   
    if test -n "$THREADS_W32"; then
     THREADS_W32_TRUE=
     THREADS_W32_FALSE='#'
   else
     THREADS_W32_TRUE='#'
     THREADS_W32_FALSE=
   fi
   
   
 if test "$with_history" = "yes" ; then  if test "$with_history" = "yes" ; then
     echo Enabling xmllint shell history      echo Enabling xmllint shell history
             unset tcap              unset tcap
Line 13925  if test "$with_history" = "yes" ; then Line 14531  if test "$with_history" = "yes" ; then
         as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`          as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }  $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :if eval \${$as_ac_Lib+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 13968  fi Line 14574  fi
     done      done
   
     ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"      ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
if test "x$ac_cv_header_readline_history_h" = x""yes; then :if test "x$ac_cv_header_readline_history_h" = xyes; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
 $as_echo_n "checking for append_history in -lhistory... " >&6; }  $as_echo_n "checking for append_history in -lhistory... " >&6; }
if test "${ac_cv_lib_history_append_history+set}" = set; then :if ${ac_cv_lib_history_append_history+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 14005  LIBS=$ac_check_lib_save_LIBS Line 14611  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
 $as_echo "$ac_cv_lib_history_append_history" >&6; }  $as_echo "$ac_cv_lib_history_append_history" >&6; }
if test "x$ac_cv_lib_history_append_history" = x""yes; then :if test "x$ac_cv_lib_history_append_history" = xyes; then :
   
            RDL_LIBS="-lhistory"             RDL_LIBS="-lhistory"
   
Line 14017  fi Line 14623  fi
   
   
     ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"      ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
if test "x$ac_cv_header_readline_readline_h" = x""yes; then :if test "x$ac_cv_header_readline_readline_h" = xyes; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
 $as_echo_n "checking for readline in -lreadline... " >&6; }  $as_echo_n "checking for readline in -lreadline... " >&6; }
if test "${ac_cv_lib_readline_readline+set}" = set; then :if ${ac_cv_lib_readline_readline+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
Line 14054  LIBS=$ac_check_lib_save_LIBS Line 14660  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
 $as_echo "$ac_cv_lib_readline_readline" >&6; }  $as_echo "$ac_cv_lib_readline_readline" >&6; }
if test "x$ac_cv_lib_readline_readline" = x""yes; then :if test "x$ac_cv_lib_readline_readline" = xyes; then :
   
            RDL_LIBS="-lreadline $RDL_LIBS $tcap"             RDL_LIBS="-lreadline $RDL_LIBS $tcap"
   
Line 14163  else Line 14769  else
     TEST_SAX=SAXtests      TEST_SAX=SAXtests
 fi  fi
   
    if test "${WITH_TRIO}" = "1"; then
     WITH_SAX1_SOURCES_TRUE=
     WITH_SAX1_SOURCES_FALSE='#'
   else
     WITH_SAX1_SOURCES_TRUE='#'
     WITH_SAX1_SOURCES_FALSE=
   fi
   
   
   
 if test "$with_push" = "no" ; then  if test "$with_push" = "no" ; then
     echo Disabling the PUSH parser interfaces      echo Disabling the PUSH parser interfaces
     WITH_PUSH=0      WITH_PUSH=0
Line 14325  else Line 14939  else
     fi      fi
   
     ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"      ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
if test "x$ac_cv_header_iconv_h" = x""yes; then :if test "x$ac_cv_header_iconv_h" = xyes; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 $as_echo_n "checking for iconv... " >&6; }  $as_echo_n "checking for iconv... " >&6; }
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 14400  fi Line 15014  fi
         if test "$WITH_ICONV" = "1" ; then          if test "$WITH_ICONV" = "1" ; then
                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
 $as_echo_n "checking for iconv declaration... " >&6; }  $as_echo_n "checking for iconv declaration... " >&6; }
                if test "${xml_cv_iconv_arg2+set}" = set; then :                if ${xml_cv_iconv_arg2+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   
Line 14462  XML_LIBTOOLLIBS="libxml2.la" Line 15076  XML_LIBTOOLLIBS="libxml2.la"
   
   
 WITH_ICU=0  WITH_ICU=0
   ICU_LIBS=""
 if test "$with_icu" != "yes" ; then  if test "$with_icu" != "yes" ; then
     echo Disabling ICU support      echo Disabling ICU support
 else  else
     ICU_CONFIG=icu-config      ICU_CONFIG=icu-config
     if ${ICU_CONFIG} --cflags >/dev/null 2>&1      if ${ICU_CONFIG} --cflags >/dev/null 2>&1
     then      then
        ICU_LIBS=`icu-config --ldflags`        ICU_LIBS=`${ICU_CONFIG} --ldflags`
        LDFLAGS="$LDFLAGS $ICU_LIBS" 
         WITH_ICU=1          WITH_ICU=1
         echo Enabling ICU support          echo Enabling ICU support
     else      else
Line 14478  else Line 15092  else
 fi  fi
   
   
   
 WITH_ISO8859X=1  WITH_ISO8859X=1
 if test "$WITH_ICONV" != "1" ; then  if test "$WITH_ICONV" != "1" ; then
 if test "$with_iso8859x" = "no" ; then  if test "$with_iso8859x" = "no" ; then
Line 14576  case "$host" in Line 15191  case "$host" in
   
 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h  $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
   
   
 $as_echo "#define snprintf _snprintf" >>confdefs.h  
   
   
 $as_echo "#define vsnprintf _vsnprintf" >>confdefs.h  
   
  if test "${PYTHON}" != ""   if test "${PYTHON}" != ""
  then   then
   WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython${PYTHON_VERSION//./}"   WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)"
  fi   fi
  ;;   ;;
  *-*-cygwin*)   *-*-cygwin*)
Line 14601  esac Line 15210  esac
   
   
   
   for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
   do :
     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     cat >>confdefs.h <<_ACEOF
   #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   _ACEOF
   
   else
     NEED_TRIO=1
   fi
   done
   
   
 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"  if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
 then  then
     echo Enabling code coverage for GCC      echo Enabling code coverage for GCC
Line 14636  RELDATE=`date +'%a %b %e %Y'` Line 15260  RELDATE=`date +'%a %b %e %Y'`
   
   
 rm -f COPYING.LIB COPYING  rm -f COPYING.LIB COPYING
ln -s Copyright COPYINGln -s $srcdir/Copyright COPYING
   
 # keep on one line for cygwin c.f. #130896  # keep on one line for cygwin c.f. #130896
 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc libxml-2.0-uninstalled.pc python/setup.py"  ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc libxml-2.0-uninstalled.pc python/setup.py"
Line 14705  $as_echo "$as_me: WARNING: cache variable $ac_var cont Line 15329  $as_echo "$as_me: WARNING: cache variable $ac_var cont
      :end' >>confcache       :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then    if test -w "$cache_file"; then
    test "x$cache_file" != "x/dev/null" &&    if test "x$cache_file" != "x/dev/null"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 $as_echo "$as_me: updating cache $cache_file" >&6;}  $as_echo "$as_me: updating cache $cache_file" >&6;}
    cat confcache >$cache_file      if test ! -f "$cache_file" || test -h "$cache_file"; then
         cat confcache >"$cache_file"
       else
         case $cache_file in #(
         */* | ?:*)
           mv -f confcache "$cache_file"$$ &&
           mv -f "$cache_file"$$ "$cache_file" ;; #(
         *)
           mv -f confcache "$cache_file" ;;
         esac
       fi
     fi
   else    else
     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
Line 14724  DEFS=-DHAVE_CONFIG_H Line 15359  DEFS=-DHAVE_CONFIG_H
   
 ac_libobjs=  ac_libobjs=
 ac_ltlibobjs=  ac_ltlibobjs=
   U=
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
Line 14770  if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${W Line 15406  if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${W
   as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined.    as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
   if test -z "${THREADS_W32_TRUE}" && test -z "${THREADS_W32_FALSE}"; then
     as_fn_error $? "conditional \"THREADS_W32\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
   if test -z "${WITH_SAX1_SOURCES_TRUE}" && test -z "${WITH_SAX1_SOURCES_FALSE}"; then
     as_fn_error $? "conditional \"WITH_SAX1_SOURCES\" was never defined.
   Usually this means the macro was only invoked conditionally." "$LINENO" 5
   fi
   
: ${CONFIG_STATUS=./config.status}: "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0  ac_write_fail=0
 ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
Line 14872  fi Line 15516  fi
 IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
   
 # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
   as_myself=
 case $0 in #((  case $0 in #((
   *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Line 15067  if (echo >conf$$.file) 2>/dev/null; then Line 15712  if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:      # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then    elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln      as_ln_s=ln
   else    else
    as_ln_s='cp -p'    as_ln_s='cp -pR'
   fi    fi
 else  else
  as_ln_s='cp -p'  as_ln_s='cp -pR'
 fi  fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null  rmdir conf$$.dir 2>/dev/null
Line 15136  else Line 15781  else
   as_mkdir_p=false    as_mkdir_p=false
 fi  fi
   
 if test -x / >/dev/null 2>&1; then  
   as_test_x='test -x'  
 else  
   if ls -dL / >/dev/null 2>&1; then  
     as_ls_L_option=L  
   else  
     as_ls_L_option=  
   fi  
   as_test_x='  
     eval sh -c '\''  
       if test -d "$1"; then  
         test -d "$1/.";  
       else  
         case $1 in #(  
         -*)set "./$1";;  
         esac;  
         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((  
         ???[sx]*):;;*)false;;esac;fi  
     '\'' sh  
   '  
 fi  
 as_executable_p=$as_test_x  
   
   # as_fn_executable_p FILE
   # -----------------------
   # Test if FILE is an executable regular file.
   as_fn_executable_p ()
   {
     test -f "$1" && test -x "$1"
   } # as_fn_executable_p
   as_test_x='test -x'
   as_executable_p=as_fn_executable_p
   
 # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   
Line 15179  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 15812  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
 This file was extended by $as_me, which was  This file was extended by $as_me, which was
generated by GNU Autoconf 2.66.  Invocation command line wasgenerated by GNU Autoconf 2.69.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
Line 15245  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Line 15878  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
 config.status  config.status
configured by $0, generated by GNU Autoconf 2.66,configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Copyright (C) 2010 Free Software Foundation, Inc.Copyright (C) 2012 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
   
Line 15266  ac_need_defaults=: Line 15899  ac_need_defaults=:
 while test $# != 0  while test $# != 0
 do  do
   case $1 in    case $1 in
  --*=*)  --*=?*)
     ac_option=`expr "X$1" : 'X\([^=]*\)='`      ac_option=`expr "X$1" : 'X\([^=]*\)='`
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     ac_shift=:      ac_shift=:
     ;;      ;;
     --*=)
       ac_option=`expr "X$1" : 'X\([^=]*\)='`
       ac_optarg=
       ac_shift=:
       ;;
   *)    *)
     ac_option=$1      ac_option=$1
     ac_optarg=$2      ac_optarg=$2
Line 15292  do Line 15930  do
     $ac_shift      $ac_shift
     case $ac_optarg in      case $ac_optarg in
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
       '') as_fn_error $? "missing file argument" ;;
     esac      esac
     as_fn_append CONFIG_FILES " '$ac_optarg'"      as_fn_append CONFIG_FILES " '$ac_optarg'"
     ac_need_defaults=false;;      ac_need_defaults=false;;
Line 15333  fi Line 15972  fi
 _ACEOF  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 if \$ac_cs_recheck; then  if \$ac_cs_recheck; then
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   shift    shift
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   CONFIG_SHELL='$SHELL'    CONFIG_SHELL='$SHELL'
Line 15367  AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" Line 16006  AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 sed_quote_subst='$sed_quote_subst'  sed_quote_subst='$sed_quote_subst'
 double_quote_subst='$double_quote_subst'  double_quote_subst='$double_quote_subst'
 delay_variable_subst='$delay_variable_subst'  delay_variable_subst='$delay_variable_subst'
 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'  
 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'  
 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'  
 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'  macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'  macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'  enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
Line 15378  pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quo Line 16014  pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quo
 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'  enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'  SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'  ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'  host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'  host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'  host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
Line 15398  exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_s Line 16035  exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_s
 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'  reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'  reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'  deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'  file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'  AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'  AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
Line 15418  lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_globa Line 16063  lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_globa
 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'  objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'  MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'  lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'  
 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'  lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'  lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'  lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'  need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
Line 15449  with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_sing Line 16097  with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_sing
 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'  allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'  no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'  hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'  
 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'  hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'  hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'  hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
Line 15458  hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_va Line 16105  hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_va
 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'  
 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'  always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'  export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'  exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'  include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'  prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
Line 15503  _LTECHO_EOF' Line 16150  _LTECHO_EOF'
 }  }
   
 # Quote evaled strings.  # Quote evaled strings.
for var in AS \for var in SHELL \
DLLTOOL \ 
OBJDUMP \ 
SHELL \ 
 ECHO \  ECHO \
   PATH_SEPARATOR \
 SED \  SED \
 GREP \  GREP \
 EGREP \  EGREP \
Line 15518  LN_S \ Line 16163  LN_S \
 lt_SP2NL \  lt_SP2NL \
 lt_NL2SP \  lt_NL2SP \
 reload_flag \  reload_flag \
   OBJDUMP \
 deplibs_check_method \  deplibs_check_method \
 file_magic_cmd \  file_magic_cmd \
   file_magic_glob \
   want_nocaseglob \
   DLLTOOL \
   sharedlib_from_linklib_cmd \
 AR \  AR \
 AR_FLAGS \  AR_FLAGS \
   archiver_list_spec \
 STRIP \  STRIP \
 RANLIB \  RANLIB \
 CC \  CC \
Line 15531  lt_cv_sys_global_symbol_pipe \ Line 16182  lt_cv_sys_global_symbol_pipe \
 lt_cv_sys_global_symbol_to_cdecl \  lt_cv_sys_global_symbol_to_cdecl \
 lt_cv_sys_global_symbol_to_c_name_address \  lt_cv_sys_global_symbol_to_c_name_address \
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   nm_file_list_spec \
 lt_prog_compiler_no_builtin_flag \  lt_prog_compiler_no_builtin_flag \
 lt_prog_compiler_wl \  
 lt_prog_compiler_pic \  lt_prog_compiler_pic \
   lt_prog_compiler_wl \
 lt_prog_compiler_static \  lt_prog_compiler_static \
 lt_cv_prog_compiler_c_o \  lt_cv_prog_compiler_c_o \
 need_locks \  need_locks \
   MANIFEST_TOOL \
 DSYMUTIL \  DSYMUTIL \
 NMEDIT \  NMEDIT \
 LIPO \  LIPO \
Line 15550  with_gnu_ld \ Line 16203  with_gnu_ld \
 allow_undefined_flag \  allow_undefined_flag \
 no_undefined_flag \  no_undefined_flag \
 hardcode_libdir_flag_spec \  hardcode_libdir_flag_spec \
 hardcode_libdir_flag_spec_ld \  
 hardcode_libdir_separator \  hardcode_libdir_separator \
 fix_srcfile_path \  
 exclude_expsyms \  exclude_expsyms \
 include_expsyms \  include_expsyms \
 file_list_spec \  file_list_spec \
Line 15588  module_cmds \ Line 16239  module_cmds \
 module_expsym_cmds \  module_expsym_cmds \
 export_symbols_cmds \  export_symbols_cmds \
 prelink_cmds \  prelink_cmds \
   postlink_cmds \
 postinstall_cmds \  postinstall_cmds \
 postuninstall_cmds \  postuninstall_cmds \
 finish_cmds \  finish_cmds \
Line 15674  fi Line 16326  fi
 # after its creation but before its name has been assigned to `$tmp'.  # after its creation but before its name has been assigned to `$tmp'.
 $debug ||  $debug ||
 {  {
  tmp=  tmp= ac_tmp=
   trap 'exit_status=$?    trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status  : "${ac_tmp:=$tmp}"
   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 ' 0  ' 0
   trap 'as_fn_exit 1' 1 2 13 15    trap 'as_fn_exit 1' 1 2 13 15
 }  }
Line 15684  $debug || Line 16337  $debug ||
   
 {  {
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"  test -d "$tmp"
 }  ||  }  ||
 {  {
   tmp=./conf$$-$RANDOM    tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5  } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   ac_tmp=$tmp
   
 # Set up the scripts for CONFIG_FILES section.  # Set up the scripts for CONFIG_FILES section.
 # No need to generate them if there are no CONFIG_FILES.  # No need to generate them if there are no CONFIG_FILES.
Line 15711  else Line 16365  else
   ac_cs_awk_cr=$ac_cr    ac_cs_awk_cr=$ac_cr
 fi  fi
   
echo 'BEGIN {' >"$tmp/subs1.awk" &&echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 _ACEOF  _ACEOF
   
   
Line 15739  done Line 16393  done
 rm -f conf$$subs.sh  rm -f conf$$subs.sh
   
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 _ACEOF  _ACEOF
 sed -n '  sed -n '
 h  h
Line 15787  t delim Line 16441  t delim
 rm -f conf$$subs.awk  rm -f conf$$subs.awk
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK  _ACAWK
cat >>"\$tmp/subs1.awk" <<_ACAWK &&cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   for (key in S) S_is_set[key] = 1    for (key in S) S_is_set[key] = 1
   FS = ""    FS = ""
   
Line 15819  if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then Line 16473  if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 else  else
   cat    cat
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5    || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 _ACEOF  _ACEOF
   
Line 15853  fi # test -n "$CONFIG_FILES" Line 16507  fi # test -n "$CONFIG_FILES"
 # No need to generate them if there are no CONFIG_HEADERS.  # No need to generate them if there are no CONFIG_HEADERS.
 # This happens for instance with `./config.status Makefile'.  # This happens for instance with `./config.status Makefile'.
 if test -n "$CONFIG_HEADERS"; then  if test -n "$CONFIG_HEADERS"; then
cat >"$tmp/defines.awk" <<\_ACAWK ||cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 BEGIN {  BEGIN {
 _ACEOF  _ACEOF
   
Line 15865  _ACEOF Line 16519  _ACEOF
 # handling of long lines.  # handling of long lines.
 ac_delim='%!_!# '  ac_delim='%!_!# '
 for ac_last_try in false false :; do  for ac_last_try in false false :; do
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  if test -z "$ac_t"; then  if test -z "$ac_tt"; then
     break      break
   elif $ac_last_try; then    elif $ac_last_try; then
     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5      as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
Line 15986  do Line 16640  do
     for ac_f      for ac_f
     do      do
       case $ac_f in        case $ac_f in
      -) ac_f="$tmp/stdin";;      -) ac_f="$ac_tmp/stdin";;
       *) # Look for the file first in the build tree, then in the source tree        *) # Look for the file first in the build tree, then in the source tree
          # (if the path is not absolute).  The absolute path cannot be DOS-style,           # (if the path is not absolute).  The absolute path cannot be DOS-style,
          # because $ac_f cannot contain `:'.           # because $ac_f cannot contain `:'.
Line 16021  $as_echo "$as_me: creating $ac_file" >&6;} Line 16675  $as_echo "$as_me: creating $ac_file" >&6;}
     esac      esac
   
     case $ac_tag in      case $ac_tag in
    *:-:* | *:-) cat >"$tmp/stdin" \    *:-:* | *:-) cat >"$ac_tmp/stdin" \
       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     esac      esac
     ;;      ;;
Line 16158  s&@INSTALL@&$ac_INSTALL&;t t Line 16812  s&@INSTALL@&$ac_INSTALL&;t t
 s&@MKDIR_P@&$ac_MKDIR_P&;t t  s&@MKDIR_P@&$ac_MKDIR_P&;t t
 $ac_datarootdir_hack  $ac_datarootdir_hack
 "  "
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 which seems to be undefined.  Please make sure it is defined" >&5  which seems to be undefined.  Please make sure it is defined" >&5
 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 which seems to be undefined.  Please make sure it is defined" >&2;}  which seems to be undefined.  Please make sure it is defined" >&2;}
   
  rm -f "$tmp/stdin"  rm -f "$ac_tmp/stdin"
   case $ac_file in    case $ac_file in
  -) cat "$tmp/out" && rm -f "$tmp/out";;  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   esac \    esac \
   || as_fn_error $? "could not create $ac_file" "$LINENO" 5    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  ;;   ;;
Line 16183  which seems to be undefined.  Please make sure it is d Line 16838  which seems to be undefined.  Please make sure it is d
   if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
     {      {
       $as_echo "/* $configure_input  */" \        $as_echo "/* $configure_input  */" \
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    } >"$tmp/config.h" \    } >"$ac_tmp/config.h" \
       || as_fn_error $? "could not create $ac_file" "$LINENO" 5        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 $as_echo "$as_me: $ac_file is unchanged" >&6;}  $as_echo "$as_me: $ac_file is unchanged" >&6;}
     else      else
       rm -f "$ac_file"        rm -f "$ac_file"
      mv "$tmp/config.h" "$ac_file" \      mv "$ac_tmp/config.h" "$ac_file" \
         || as_fn_error $? "could not create $ac_file" "$LINENO" 5          || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     fi      fi
   else    else
     $as_echo "/* $configure_input  */" \      $as_echo "/* $configure_input  */" \
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
       || as_fn_error $? "could not create -" "$LINENO" 5        || as_fn_error $? "could not create -" "$LINENO" 5
   fi    fi
 # Compute "$ac_file"'s index in $config_headers.  # Compute "$ac_file"'s index in $config_headers.
Line 16358  $as_echo X"$file" | Line 17013  $as_echo X"$file" |
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #  #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
#                 Inc.#                 Foundation, Inc.
 #   Written by Gordon Matzigkeit, 1996  #   Written by Gordon Matzigkeit, 1996
 #  #
 #   This file is part of GNU Libtool.  #   This file is part of GNU Libtool.
Line 16391  available_tags="" Line 17046  available_tags=""
   
 # ### BEGIN LIBTOOL CONFIG  # ### BEGIN LIBTOOL CONFIG
   
 # Assembler program.  
 AS=$lt_AS  
   
 # DLL creation program.  
 DLLTOOL=$lt_DLLTOOL  
   
 # Object dumper program.  
 OBJDUMP=$lt_OBJDUMP  
   
 # Which release of libtool.m4 was used?  # Which release of libtool.m4 was used?
 macro_version=$macro_version  macro_version=$macro_version
 macro_revision=$macro_revision  macro_revision=$macro_revision
Line 16422  SHELL=$lt_SHELL Line 17068  SHELL=$lt_SHELL
 # An echo program that protects backslashes.  # An echo program that protects backslashes.
 ECHO=$lt_ECHO  ECHO=$lt_ECHO
   
   # The PATH separator for the build system.
   PATH_SEPARATOR=$lt_PATH_SEPARATOR
   
 # The host system.  # The host system.
 host_alias=$host_alias  host_alias=$host_alias
 host=$host  host=$host
Line 16471  SP2NL=$lt_lt_SP2NL Line 17120  SP2NL=$lt_lt_SP2NL
 # turn newlines into spaces.  # turn newlines into spaces.
 NL2SP=$lt_lt_NL2SP  NL2SP=$lt_lt_NL2SP
   
   # convert \$build file names to \$host format.
   to_host_file_cmd=$lt_cv_to_host_file_cmd
   
   # convert \$build files to toolchain format.
   to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   
   # An object symbol dumper.
   OBJDUMP=$lt_OBJDUMP
   
 # Method to check whether dependent libraries are shared objects.  # Method to check whether dependent libraries are shared objects.
 deplibs_check_method=$lt_deplibs_check_method  deplibs_check_method=$lt_deplibs_check_method
   
# Command to use when deplibs_check_method == "file_magic".# Command to use when deplibs_check_method = "file_magic".
 file_magic_cmd=$lt_file_magic_cmd  file_magic_cmd=$lt_file_magic_cmd
   
   # How to find potential files when deplibs_check_method = "file_magic".
   file_magic_glob=$lt_file_magic_glob
   
   # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   want_nocaseglob=$lt_want_nocaseglob
   
   # DLL creation program.
   DLLTOOL=$lt_DLLTOOL
   
   # Command to associate shared and link libraries.
   sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   
 # The archiver.  # The archiver.
 AR=$lt_AR  AR=$lt_AR
   
   # Flags to create an archive.
 AR_FLAGS=$lt_AR_FLAGS  AR_FLAGS=$lt_AR_FLAGS
   
   # How to feed a file listing to the archiver.
   archiver_list_spec=$lt_archiver_list_spec
   
 # A symbol stripping program.  # A symbol stripping program.
 STRIP=$lt_STRIP  STRIP=$lt_STRIP
   
Line 16510  global_symbol_to_c_name_address=$lt_lt_cv_sys_global_s Line 17185  global_symbol_to_c_name_address=$lt_lt_cv_sys_global_s
 # Transform the output of nm in a C name address pair when lib prefix is needed.  # Transform the output of nm in a C name address pair when lib prefix is needed.
 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   
   # Specify filename containing input files for \$NM.
   nm_file_list_spec=$lt_nm_file_list_spec
   
   # The root where to search for dependent libraries,and in which our libraries should be installed.
   lt_sysroot=$lt_sysroot
   
 # The name of the directory that contains temporary libtool files.  # The name of the directory that contains temporary libtool files.
 objdir=$objdir  objdir=$objdir
   
Line 16519  MAGIC_CMD=$MAGIC_CMD Line 17200  MAGIC_CMD=$MAGIC_CMD
 # Must we lock files when doing compilation?  # Must we lock files when doing compilation?
 need_locks=$lt_need_locks  need_locks=$lt_need_locks
   
   # Manifest tool.
   MANIFEST_TOOL=$lt_MANIFEST_TOOL
   
 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 DSYMUTIL=$lt_DSYMUTIL  DSYMUTIL=$lt_DSYMUTIL
   
Line 16633  with_gcc=$GCC Line 17317  with_gcc=$GCC
 # Compiler flag to turn off builtin functions.  # Compiler flag to turn off builtin functions.
 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   
 # How to pass a linker flag through the compiler.  
 wl=$lt_lt_prog_compiler_wl  
   
 # Additional compiler flags for building library objects.  # Additional compiler flags for building library objects.
 pic_flag=$lt_lt_prog_compiler_pic  pic_flag=$lt_lt_prog_compiler_pic
   
   # How to pass a linker flag through the compiler.
   wl=$lt_lt_prog_compiler_wl
   
 # Compiler flag to prevent dynamic linking.  # Compiler flag to prevent dynamic linking.
 link_static_flag=$lt_lt_prog_compiler_static  link_static_flag=$lt_lt_prog_compiler_static
   
Line 16688  no_undefined_flag=$lt_no_undefined_flag Line 17372  no_undefined_flag=$lt_no_undefined_flag
 # This must work even if \$libdir does not exist  # This must work even if \$libdir does not exist
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec  hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   
 # If ld is used when linking, flag to hardcode \$libdir into a binary  
 # during linking.  This must work even if \$libdir does not exist.  
 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld  
   
 # Whether we need a single "-rpath" flag with a separated argument.  # Whether we need a single "-rpath" flag with a separated argument.
 hardcode_libdir_separator=$lt_hardcode_libdir_separator  hardcode_libdir_separator=$lt_hardcode_libdir_separator
   
Line 16725  inherit_rpath=$inherit_rpath Line 17405  inherit_rpath=$inherit_rpath
 # Whether libtool must link a program against all its dependency libraries.  # Whether libtool must link a program against all its dependency libraries.
 link_all_deplibs=$link_all_deplibs  link_all_deplibs=$link_all_deplibs
   
 # Fix the shell variable \$srcfile for the compiler.  
 fix_srcfile_path=$lt_fix_srcfile_path  
   
 # Set to "yes" if exported symbols are required.  # Set to "yes" if exported symbols are required.
 always_export_symbols=$always_export_symbols  always_export_symbols=$always_export_symbols
   
Line 16743  include_expsyms=$lt_include_expsyms Line 17420  include_expsyms=$lt_include_expsyms
 # Commands necessary for linking programs (against libraries) with templates.  # Commands necessary for linking programs (against libraries) with templates.
 prelink_cmds=$lt_prelink_cmds  prelink_cmds=$lt_prelink_cmds
   
   # Commands necessary for finishing linking programs.
   postlink_cmds=$lt_postlink_cmds
   
 # Specify filename containing input files.  # Specify filename containing input files.
 file_list_spec=$lt_file_list_spec  file_list_spec=$lt_file_list_spec
   
Line 16775  ltmain="$ac_aux_dir/ltmain.sh" Line 17455  ltmain="$ac_aux_dir/ltmain.sh"
   # if finds mixed CR/LF and LF-only lines.  Since sed operates in    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   # text mode, it properly converts lines to CR/LF.  This bash problem    # text mode, it properly converts lines to CR/LF.  This bash problem
   # is reportedly fixed, but why not run on old versions too?    # is reportedly fixed, but why not run on old versions too?
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \  sed '$q' "$ltmain" >> "$cfgfile" \
    || (rm -f "$cfgfile"; exit 1)     || (rm -f "$cfgfile"; exit 1)
   
  case $xsi_shell in  if test x"$xsi_shell" = xyes; then
  yes)  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
    cat << \_LT_EOF >> "$cfgfile"func_dirname ()\
 {\
 \    case ${1} in\
 \      */*) func_dirname_result="${1%/*}${2}" ;;\
 \      *  ) func_dirname_result="${3}" ;;\
 \    esac\
 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
 # func_dirname file append nondir_replacement  
 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,  
 # otherwise set result to NONDIR_REPLACEMENT.  
 func_dirname ()  
 {  
   case ${1} in  
     */*) func_dirname_result="${1%/*}${2}" ;;  
     *  ) func_dirname_result="${3}" ;;  
   esac  
 }  
   
# func_basename file  sed -e '/^func_basename ()$/,/^} # func_basename /c\
func_basename ()func_basename ()\
{{\
  func_basename_result="${1##*/}"\    func_basename_result="${1##*/}"\
}} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
 # func_dirname_and_basename file append nondir_replacement  
 # perform func_basename and func_dirname in a single function  
 # call:  
 #   dirname:  Compute the dirname of FILE.  If nonempty,  
 #             add APPEND to the result, otherwise set result  
 #             to NONDIR_REPLACEMENT.  
 #             value returned in "$func_dirname_result"  
 #   basename: Compute filename of FILE.  
 #             value retuned in "$func_basename_result"  
 # Implementation must be kept synchronized with func_dirname  
 # and func_basename. For efficiency, we do not delegate to  
 # those functions but instead duplicate the functionality here.  
 func_dirname_and_basename ()  
 {  
   case ${1} in  
     */*) func_dirname_result="${1%/*}${2}" ;;  
     *  ) func_dirname_result="${3}" ;;  
   esac  
   func_basename_result="${1##*/}"  
 }  
   
# func_stripname prefix suffix name  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
# strip PREFIX and SUFFIX off of NAME.func_dirname_and_basename ()\
# PREFIX and SUFFIX must not contain globbing or regex special{\
# characters, hashes, percent signs, but SUFFIX may contain a leading\    case ${1} in\
# dot (in which case that matches only a dot).\      */*) func_dirname_result="${1%/*}${2}" ;;\
func_stripname ()\      *  ) func_dirname_result="${3}" ;;\
{\    esac\
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\    func_basename_result="${1##*/}"\
  # positional parameters, so assign one to ordinary parameter first.} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  func_stripname_result=${3}  && mv -f "$cfgfile.tmp" "$cfgfile" \
  func_stripname_result=${func_stripname_result#"${1}"}    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  func_stripname_result=${func_stripname_result%"${2}"}test 0 -eq $? || _lt_function_replace_fail=:
} 
   
 # func_opt_split  
 func_opt_split ()  
 {  
   func_opt_split_opt=${1%%=*}  
   func_opt_split_arg=${1#*=}  
 }  
   
# func_lo2o object  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
func_lo2o ()func_stripname ()\
{{\
  case ${1} in\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\    # positional parameters, so assign one to ordinary parameter first.\
    *)    func_lo2o_result=${1} ;;\    func_stripname_result=${3}\
  esac\    func_stripname_result=${func_stripname_result#"${1}"}\
}\    func_stripname_result=${func_stripname_result%"${2}"}\
 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
 # func_xform libobj-or-source  
 func_xform ()  
 {  
   func_xform_result=${1%.*}.lo  
 }  
   
# func_arith arithmetic-term...  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
func_arith ()func_split_long_opt ()\
{{\
  func_arith_result=$(( $* ))\    func_split_long_opt_name=${1%%=*}\
}\    func_split_long_opt_arg=${1#*=}\
 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
 # func_len string  
 # STRING may not start with a hyphen.  
 func_len ()  
 {  
   func_len_result=${#1}  
 }  
   
_LT_EOF  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
    ;;func_split_short_opt ()\
  *) # Bourne compatible functions.{\
    cat << \_LT_EOF >> "$cfgfile"\    func_split_short_opt_arg=${1#??}\
 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
 # func_dirname file append nondir_replacement  
 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,  
 # otherwise set result to NONDIR_REPLACEMENT.  
 func_dirname ()  
 {  
   # Extract subdirectory from the argument.  
   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`  
   if test "X$func_dirname_result" = "X${1}"; then  
     func_dirname_result="${3}"  
   else  
     func_dirname_result="$func_dirname_result${2}"  
   fi  
 }  
   
# func_basename file  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
func_basename ()func_lo2o ()\
{{\
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`\    case ${1} in\
}\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 \      *)    func_lo2o_result=${1} ;;\
 \    esac\
 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
   
# func_stripname prefix suffix name  sed -e '/^func_xform ()$/,/^} # func_xform /c\
# strip PREFIX and SUFFIX off of NAME.func_xform ()\
# PREFIX and SUFFIX must not contain globbing or regex special{\
# characters, hashes, percent signs, but SUFFIX may contain a leading    func_xform_result=${1%.*}.lo\
# dot (in which case that matches only a dot).} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
# func_strip_suffix prefix name  && mv -f "$cfgfile.tmp" "$cfgfile" \
func_stripname ()    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
{test 0 -eq $? || _lt_function_replace_fail=:
  case ${2} in 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; 
  esac 
} 
   
 # sed scripts:  
 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'  
 my_sed_long_arg='1s/^-[^=]*=//'  
   
# func_opt_split  sed -e '/^func_arith ()$/,/^} # func_arith /c\
func_opt_split ()func_arith ()\
{{\
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`    func_arith_result=$(( $* ))\
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
}  && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
 # func_lo2o object  
 func_lo2o ()  
 {  
   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`  
 }  
   
# func_xform libobj-or-source  sed -e '/^func_len ()$/,/^} # func_len /c\
func_xform ()func_len ()\
{{\
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`    func_len_result=${#1}\
}} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
# func_arith arithmetic-term...fi
func_arith () 
{ 
  func_arith_result=`expr "$@"` 
} 
   
# func_len stringif test x"$lt_shell_append" = xyes; then
# STRING may not start with a hyphen.  sed -e '/^func_append ()$/,/^} # func_append /c\
func_len ()func_append ()\
{{\
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`    eval "${1}+=\\${2}"\
}} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
 _LT_EOF  
 esac  
   
case $lt_shell_append in  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  yes)func_append_quoted ()\
    cat << \_LT_EOF >> "$cfgfile"{\
 \    func_quote_for_eval "${2}"\
 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   && mv -f "$cfgfile.tmp" "$cfgfile" \
     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 test 0 -eq $? || _lt_function_replace_fail=:
   
 # func_append var value  
 # Append VALUE to the end of shell variable VAR.  
 func_append ()  
 {  
   eval "$1+=\$2"  
 }  
 _LT_EOF  
     ;;  
   *)  
     cat << \_LT_EOF >> "$cfgfile"  
   
# func_append var value  # Save a `func_append' function call where possible by direct use of '+='
# Append VALUE to the end of shell variable VAR.  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
func_append ()    && mv -f "$cfgfile.tmp" "$cfgfile" \
{      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  eval "$1=\$$1\$2"  test 0 -eq $? || _lt_function_replace_fail=:
}else
   # Save a `func_append' function call even when '+=' is not available
   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
     && mv -f "$cfgfile.tmp" "$cfgfile" \
       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   test 0 -eq $? || _lt_function_replace_fail=:
 fi
   
_LT_EOFif test x"$_lt_function_replace_fail" = x":"; then
    ;;  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  esac$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 fi
   
   
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \   mv -f "$cfgfile" "$ofile" ||
    || (rm -f "$cfgfile"; exit 1) 
 
  mv -f "$cfgfile" "$ofile" || 
     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   chmod +x "$ofile"    chmod +x "$ofile"
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>