Home | History | Annotate | Download | only in src
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.65.
      4 #
      5 #
      6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
      8 # Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 case $0 in #((
     93   *[\\/]* ) as_myself=$0 ;;
     94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     95 for as_dir in $PATH
     96 do
     97   IFS=$as_save_IFS
     98   test -z "$as_dir" && as_dir=.
     99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    100   done
    101 IFS=$as_save_IFS
    102 
    103      ;;
    104 esac
    105 # We did not find ourselves, most probably we were run as `sh COMMAND'
    106 # in which case we are not to be found in the path.
    107 if test "x$as_myself" = x; then
    108   as_myself=$0
    109 fi
    110 if test ! -f "$as_myself"; then
    111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    112   exit 1
    113 fi
    114 
    115 # Unset variables that we do not need and which cause bugs (e.g. in
    116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    117 # suppresses any "Segmentation fault" message there.  '((' could
    118 # trigger a bug in pdksh 5.2.14.
    119 for as_var in BASH_ENV ENV MAIL MAILPATH
    120 do eval test x\${$as_var+set} = xset \
    121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    122 done
    123 PS1='$ '
    124 PS2='> '
    125 PS4='+ '
    126 
    127 # NLS nuisances.
    128 LC_ALL=C
    129 export LC_ALL
    130 LANGUAGE=C
    131 export LANGUAGE
    132 
    133 # CDPATH.
    134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    135 
    136 if test "x$CONFIG_SHELL" = x; then
    137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    138   emulate sh
    139   NULLCMD=:
    140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    141   # is contrary to our usage.  Disable this feature.
    142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    143   setopt NO_GLOB_SUBST
    144 else
    145   case \`(set -o) 2>/dev/null\` in #(
    146   *posix*) :
    147     set -o posix ;; #(
    148   *) :
    149      ;;
    150 esac
    151 fi
    152 "
    153   as_required="as_fn_return () { (exit \$1); }
    154 as_fn_success () { as_fn_return 0; }
    155 as_fn_failure () { as_fn_return 1; }
    156 as_fn_ret_success () { return 0; }
    157 as_fn_ret_failure () { return 1; }
    158 
    159 exitcode=0
    160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    165 
    166 else
    167   exitcode=1; echo positional parameters were not saved.
    168 fi
    169 test x\$exitcode = x0 || exit 1"
    170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    174 test \$(( 1 + 1 )) = 2 || exit 1"
    175   if (eval "$as_required") 2>/dev/null; then :
    176   as_have_required=yes
    177 else
    178   as_have_required=no
    179 fi
    180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    181 
    182 else
    183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    184 as_found=false
    185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    186 do
    187   IFS=$as_save_IFS
    188   test -z "$as_dir" && as_dir=.
    189   as_found=:
    190   case $as_dir in #(
    191 	 /*)
    192 	   for as_base in sh bash ksh sh5; do
    193 	     # Try only shells that exist, to save several forks.
    194 	     as_shell=$as_dir/$as_base
    195 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    196 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    197   CONFIG_SHELL=$as_shell as_have_required=yes
    198 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   break 2
    200 fi
    201 fi
    202 	   done;;
    203        esac
    204   as_found=false
    205 done
    206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    207 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$SHELL as_have_required=yes
    209 fi; }
    210 IFS=$as_save_IFS
    211 
    212 
    213       if test "x$CONFIG_SHELL" != x; then :
    214   # We cannot yet assume a decent shell, so we have to provide a
    215 	# neutralization value for shells without unset; and this also
    216 	# works around shells that cannot unset nonexistent variables.
    217 	BASH_ENV=/dev/null
    218 	ENV=/dev/null
    219 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    220 	export CONFIG_SHELL
    221 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    222 fi
    223 
    224     if test x$as_have_required = xno; then :
    225   $as_echo "$0: This script requires a shell more modern than all"
    226   $as_echo "$0: the shells that I found on your system."
    227   if test x${ZSH_VERSION+set} = xset ; then
    228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    230   else
    231     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    232 $0: including any error possibly output before this
    233 $0: message. Then install a modern shell, or manually run
    234 $0: the script under such a shell if you do have one."
    235   fi
    236   exit 1
    237 fi
    238 fi
    239 fi
    240 SHELL=${CONFIG_SHELL-/bin/sh}
    241 export SHELL
    242 # Unset more variables known to interfere with behavior of common tools.
    243 CLICOLOR_FORCE= GREP_OPTIONS=
    244 unset CLICOLOR_FORCE GREP_OPTIONS
    245 
    246 ## --------------------- ##
    247 ## M4sh Shell Functions. ##
    248 ## --------------------- ##
    249 # as_fn_unset VAR
    250 # ---------------
    251 # Portably unset VAR.
    252 as_fn_unset ()
    253 {
    254   { eval $1=; unset $1;}
    255 }
    256 as_unset=as_fn_unset
    257 
    258 # as_fn_set_status STATUS
    259 # -----------------------
    260 # Set $? to STATUS, without forking.
    261 as_fn_set_status ()
    262 {
    263   return $1
    264 } # as_fn_set_status
    265 
    266 # as_fn_exit STATUS
    267 # -----------------
    268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    269 as_fn_exit ()
    270 {
    271   set +e
    272   as_fn_set_status $1
    273   exit $1
    274 } # as_fn_exit
    275 
    276 # as_fn_mkdir_p
    277 # -------------
    278 # Create "$as_dir" as a directory, including parents if necessary.
    279 as_fn_mkdir_p ()
    280 {
    281 
    282   case $as_dir in #(
    283   -*) as_dir=./$as_dir;;
    284   esac
    285   test -d "$as_dir" || eval $as_mkdir_p || {
    286     as_dirs=
    287     while :; do
    288       case $as_dir in #(
    289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    290       *) as_qdir=$as_dir;;
    291       esac
    292       as_dirs="'$as_qdir' $as_dirs"
    293       as_dir=`$as_dirname -- "$as_dir" ||
    294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    295 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    296 	 X"$as_dir" : 'X\(//\)$' \| \
    297 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    298 $as_echo X"$as_dir" |
    299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    300 	    s//\1/
    301 	    q
    302 	  }
    303 	  /^X\(\/\/\)[^/].*/{
    304 	    s//\1/
    305 	    q
    306 	  }
    307 	  /^X\(\/\/\)$/{
    308 	    s//\1/
    309 	    q
    310 	  }
    311 	  /^X\(\/\).*/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  s/.*/./; q'`
    316       test -d "$as_dir" && break
    317     done
    318     test -z "$as_dirs" || eval "mkdir $as_dirs"
    319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    320 
    321 
    322 } # as_fn_mkdir_p
    323 # as_fn_append VAR VALUE
    324 # ----------------------
    325 # Append the text in VALUE to the end of the definition contained in VAR. Take
    326 # advantage of any shell optimizations that allow amortized linear growth over
    327 # repeated appends, instead of the typical quadratic growth present in naive
    328 # implementations.
    329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    330   eval 'as_fn_append ()
    331   {
    332     eval $1+=\$2
    333   }'
    334 else
    335   as_fn_append ()
    336   {
    337     eval $1=\$$1\$2
    338   }
    339 fi # as_fn_append
    340 
    341 # as_fn_arith ARG...
    342 # ------------------
    343 # Perform arithmetic evaluation on the ARGs, and store the result in the
    344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    345 # must be portable across $(()) and expr.
    346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    347   eval 'as_fn_arith ()
    348   {
    349     as_val=$(( $* ))
    350   }'
    351 else
    352   as_fn_arith ()
    353   {
    354     as_val=`expr "$@" || test $? -eq 1`
    355   }
    356 fi # as_fn_arith
    357 
    358 
    359 # as_fn_error ERROR [LINENO LOG_FD]
    360 # ---------------------------------
    361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    363 # script with status $?, using 1 if that was 0.
    364 as_fn_error ()
    365 {
    366   as_status=$?; test $as_status -eq 0 && as_status=1
    367   if test "$3"; then
    368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    370   fi
    371   $as_echo "$as_me: error: $1" >&2
    372   as_fn_exit $as_status
    373 } # as_fn_error
    374 
    375 if expr a : '\(a\)' >/dev/null 2>&1 &&
    376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    377   as_expr=expr
    378 else
    379   as_expr=false
    380 fi
    381 
    382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    383   as_basename=basename
    384 else
    385   as_basename=false
    386 fi
    387 
    388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    389   as_dirname=dirname
    390 else
    391   as_dirname=false
    392 fi
    393 
    394 as_me=`$as_basename -- "$0" ||
    395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    396 	 X"$0" : 'X\(//\)$' \| \
    397 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    398 $as_echo X/"$0" |
    399     sed '/^.*\/\([^/][^/]*\)\/*$/{
    400 	    s//\1/
    401 	    q
    402 	  }
    403 	  /^X\/\(\/\/\)$/{
    404 	    s//\1/
    405 	    q
    406 	  }
    407 	  /^X\/\(\/\).*/{
    408 	    s//\1/
    409 	    q
    410 	  }
    411 	  s/.*/./; q'`
    412 
    413 # Avoid depending upon Character Ranges.
    414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    417 as_cr_digits='0123456789'
    418 as_cr_alnum=$as_cr_Letters$as_cr_digits
    419 
    420 
    421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    426   sed -n '
    427     p
    428     /[$]LINENO/=
    429   ' <$as_myself |
    430     sed '
    431       s/[$]LINENO.*/&-/
    432       t lineno
    433       b
    434       :lineno
    435       N
    436       :loop
    437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    438       t loop
    439       s/-\n.*//
    440     ' >$as_me.lineno &&
    441   chmod +x "$as_me.lineno" ||
    442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    443 
    444   # Don't try to exec as it changes $[0], causing all sort of problems
    445   # (the dirname of $[0] is not the place where we might find the
    446   # original and so on.  Autoconf is especially sensitive to this).
    447   . "./$as_me.lineno"
    448   # Exit status is that of the last command.
    449   exit
    450 }
    451 
    452 ECHO_C= ECHO_N= ECHO_T=
    453 case `echo -n x` in #(((((
    454 -n*)
    455   case `echo 'xy\c'` in
    456   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    457   xy)  ECHO_C='\c';;
    458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    459        ECHO_T='	';;
    460   esac;;
    461 *)
    462   ECHO_N='-n';;
    463 esac
    464 
    465 rm -f conf$$ conf$$.exe conf$$.file
    466 if test -d conf$$.dir; then
    467   rm -f conf$$.dir/conf$$.file
    468 else
    469   rm -f conf$$.dir
    470   mkdir conf$$.dir 2>/dev/null
    471 fi
    472 if (echo >conf$$.file) 2>/dev/null; then
    473   if ln -s conf$$.file conf$$ 2>/dev/null; then
    474     as_ln_s='ln -s'
    475     # ... but there are two gotchas:
    476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    478     # In both cases, we have to default to `cp -p'.
    479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    480       as_ln_s='cp -p'
    481   elif ln conf$$.file conf$$ 2>/dev/null; then
    482     as_ln_s=ln
    483   else
    484     as_ln_s='cp -p'
    485   fi
    486 else
    487   as_ln_s='cp -p'
    488 fi
    489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    490 rmdir conf$$.dir 2>/dev/null
    491 
    492 if mkdir -p . 2>/dev/null; then
    493   as_mkdir_p='mkdir -p "$as_dir"'
    494 else
    495   test -d ./-p && rmdir ./-p
    496   as_mkdir_p=false
    497 fi
    498 
    499 if test -x / >/dev/null 2>&1; then
    500   as_test_x='test -x'
    501 else
    502   if ls -dL / >/dev/null 2>&1; then
    503     as_ls_L_option=L
    504   else
    505     as_ls_L_option=
    506   fi
    507   as_test_x='
    508     eval sh -c '\''
    509       if test -d "$1"; then
    510 	test -d "$1/.";
    511       else
    512 	case $1 in #(
    513 	-*)set "./$1";;
    514 	esac;
    515 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    516 	???[sx]*):;;*)false;;esac;fi
    517     '\'' sh
    518   '
    519 fi
    520 as_executable_p=$as_test_x
    521 
    522 # Sed expression to map a string onto a valid CPP name.
    523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    524 
    525 # Sed expression to map a string onto a valid variable name.
    526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    527 
    528 
    529 
    530 # Check that we are running under the correct shell.
    531 SHELL=${CONFIG_SHELL-/bin/sh}
    532 
    533 case X$lt_ECHO in
    534 X*--fallback-echo)
    535   # Remove one level of quotation (which was required for Make).
    536   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    537   ;;
    538 esac
    539 
    540 ECHO=${lt_ECHO-echo}
    541 if test "X$1" = X--no-reexec; then
    542   # Discard the --no-reexec flag, and continue.
    543   shift
    544 elif test "X$1" = X--fallback-echo; then
    545   # Avoid inline document here, it may be left over
    546   :
    547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    548   # Yippee, $ECHO works!
    549   :
    550 else
    551   # Restart under the correct shell.
    552   exec $SHELL "$0" --no-reexec ${1+"$@"}
    553 fi
    554 
    555 if test "X$1" = X--fallback-echo; then
    556   # used as fallback echo
    557   shift
    558   cat <<_LT_EOF
    559 $*
    560 _LT_EOF
    561   exit 0
    562 fi
    563 
    564 # The HP-UX ksh and POSIX shell print the target directory to stdout
    565 # if CDPATH is set.
    566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    567 
    568 if test -z "$lt_ECHO"; then
    569   if test "X${echo_test_string+set}" != Xset; then
    570     # find a string as large as possible, as long as the shell can cope with it
    571     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    572       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    573       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    574 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    575       then
    576         break
    577       fi
    578     done
    579   fi
    580 
    581   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    582      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    583      test "X$echo_testing_string" = "X$echo_test_string"; then
    584     :
    585   else
    586     # The Solaris, AIX, and Digital Unix default echo programs unquote
    587     # backslashes.  This makes it impossible to quote backslashes using
    588     #   echo "$something" | sed 's/\\/\\\\/g'
    589     #
    590     # So, first we look for a working echo in the user's PATH.
    591 
    592     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    593     for dir in $PATH /usr/ucb; do
    594       IFS="$lt_save_ifs"
    595       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    596          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    597          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    598          test "X$echo_testing_string" = "X$echo_test_string"; then
    599         ECHO="$dir/echo"
    600         break
    601       fi
    602     done
    603     IFS="$lt_save_ifs"
    604 
    605     if test "X$ECHO" = Xecho; then
    606       # We didn't find a better echo, so look for alternatives.
    607       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    608          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    609          test "X$echo_testing_string" = "X$echo_test_string"; then
    610         # This shell has a builtin print -r that does the trick.
    611         ECHO='print -r'
    612       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    613 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    614         # If we have ksh, try running configure again with it.
    615         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    616         export ORIGINAL_CONFIG_SHELL
    617         CONFIG_SHELL=/bin/ksh
    618         export CONFIG_SHELL
    619         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    620       else
    621         # Try using printf.
    622         ECHO='printf %s\n'
    623         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    624 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    625 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    626 	  # Cool, printf works
    627 	  :
    628         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    629 	     test "X$echo_testing_string" = 'X\t' &&
    630 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    631 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    632 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    633 	  export CONFIG_SHELL
    634 	  SHELL="$CONFIG_SHELL"
    635 	  export SHELL
    636 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    637         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    638 	     test "X$echo_testing_string" = 'X\t' &&
    639 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    640 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    641 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    642         else
    643 	  # maybe with a smaller string...
    644 	  prev=:
    645 
    646 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    647 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    648 	    then
    649 	      break
    650 	    fi
    651 	    prev="$cmd"
    652 	  done
    653 
    654 	  if test "$prev" != 'sed 50q "$0"'; then
    655 	    echo_test_string=`eval $prev`
    656 	    export echo_test_string
    657 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    658 	  else
    659 	    # Oops.  We lost completely, so just stick with echo.
    660 	    ECHO=echo
    661 	  fi
    662         fi
    663       fi
    664     fi
    665   fi
    666 fi
    667 
    668 # Copy echo and quote the copy suitably for passing to libtool from
    669 # the Makefile, instead of quoting the original, which is used later.
    670 lt_ECHO=$ECHO
    671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    672    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    673 fi
    674 
    675 
    676 
    677 
    678 test -n "$DJDIR" || exec 7<&0 </dev/null
    679 exec 6>&1
    680 
    681 # Name of the host.
    682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    683 # so uname gets run too.
    684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    685 
    686 #
    687 # Initializations.
    688 #
    689 ac_default_prefix=/usr/local
    690 ac_clean_files=
    691 ac_config_libobj_dir=.
    692 LIBOBJS=
    693 cross_compiling=no
    694 subdirs=
    695 MFLAGS=
    696 MAKEFLAGS=
    697 
    698 # Identity of this package.
    699 PACKAGE_NAME=
    700 PACKAGE_TARNAME=
    701 PACKAGE_VERSION=
    702 PACKAGE_STRING=
    703 PACKAGE_BUGREPORT=
    704 PACKAGE_URL=
    705 
    706 ac_unique_file="entities.c"
    707 # Factoring default headers for most tests.
    708 ac_includes_default="\
    709 #include <stdio.h>
    710 #ifdef HAVE_SYS_TYPES_H
    711 # include <sys/types.h>
    712 #endif
    713 #ifdef HAVE_SYS_STAT_H
    714 # include <sys/stat.h>
    715 #endif
    716 #ifdef STDC_HEADERS
    717 # include <stdlib.h>
    718 # include <stddef.h>
    719 #else
    720 # ifdef HAVE_STDLIB_H
    721 #  include <stdlib.h>
    722 # endif
    723 #endif
    724 #ifdef HAVE_STRING_H
    725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    726 #  include <memory.h>
    727 # endif
    728 # include <string.h>
    729 #endif
    730 #ifdef HAVE_STRINGS_H
    731 # include <strings.h>
    732 #endif
    733 #ifdef HAVE_INTTYPES_H
    734 # include <inttypes.h>
    735 #endif
    736 #ifdef HAVE_STDINT_H
    737 # include <stdint.h>
    738 #endif
    739 #ifdef HAVE_UNISTD_H
    740 # include <unistd.h>
    741 #endif"
    742 
    743 ac_subst_vars='am__EXEEXT_FALSE
    744 am__EXEEXT_TRUE
    745 LTLIBOBJS
    746 LIBOBJS
    747 PYTHON_TESTS
    748 RELDATE
    749 RDL_LIBS
    750 M_LIBS
    751 PYTHON_SITE_PACKAGES
    752 PYTHON_INCLUDES
    753 PYTHON_VERSION
    754 HAVE_ISINF
    755 HAVE_ISNAN
    756 XML_INCLUDEDIR
    757 ICONV_LIBS
    758 XML_LIBTOOLLIBS
    759 XML_LIBS
    760 XML_LIBDIR
    761 XML_CFLAGS
    762 CYGWIN_EXTRA_PYTHON_LIBADD
    763 CYGWIN_EXTRA_LDFLAGS
    764 WIN32_EXTRA_LDFLAGS
    765 WIN32_EXTRA_LIBADD
    766 WITH_RUN_DEBUG
    767 WITH_MEM_DEBUG
    768 TEST_DEBUG
    769 DEBUG_OBJ
    770 WITH_DEBUG
    771 TEST_REGEXPS
    772 WITH_REGEXPS
    773 TEST_SCHEMAS
    774 WITH_SCHEMAS
    775 TEST_SCHEMATRON
    776 WITH_SCHEMATRON
    777 WITH_ISO8859X
    778 WITH_ICONV
    779 WITH_ICU
    780 WITH_OUTPUT
    781 TEST_XPATH
    782 XPATH_OBJ
    783 WITH_XPATH
    784 TEST_XINCLUDE
    785 XINCLUDE_OBJ
    786 WITH_XINCLUDE
    787 TEST_C14N
    788 C14N_OBJ
    789 WITH_C14N
    790 TEST_XPTR
    791 XPTR_OBJ
    792 WITH_XPTR
    793 DOCB_OBJ
    794 WITH_DOCB
    795 TEST_CATALOG
    796 CATALOG_OBJ
    797 WITH_CATALOG
    798 TEST_VTIME
    799 TEST_VALID
    800 WITH_VALID
    801 TEST_PHTML
    802 TEST_HTML
    803 HTML_OBJ
    804 WITH_HTML
    805 TEST_PUSH
    806 WITH_PUSH
    807 TEST_SAX
    808 WITH_SAX1
    809 TEST_PATTERN
    810 WITH_PATTERN
    811 WITH_WRITER
    812 READER_TEST
    813 WITH_READER
    814 WITH_LEGACY
    815 HTTP_OBJ
    816 WITH_HTTP
    817 FTP_OBJ
    818 WITH_FTP
    819 WITH_TREE
    820 THREADS_W32
    821 TEST_THREADS
    822 THREAD_CFLAGS
    823 WITH_THREADS
    824 BASE_THREAD_LIBS
    825 THREAD_LIBS
    826 WITH_TRIO
    827 WITH_TRIO_SOURCES_FALSE
    828 WITH_TRIO_SOURCES_TRUE
    829 STATIC_BINARIES
    830 TEST_MODULES
    831 MODULE_EXTENSION
    832 MODULE_PLATFORM_LIBS
    833 WITH_MODULES
    834 PYTHON_LIBS
    835 PYTHON_SUBDIR
    836 pythondir
    837 WITH_PYTHON_FALSE
    838 WITH_PYTHON_TRUE
    839 PYTHON
    840 WITH_ZLIB
    841 Z_LIBS
    842 Z_CFLAGS
    843 REBUILD_DOCS_FALSE
    844 REBUILD_DOCS_TRUE
    845 HTML_DIR
    846 USE_VERSION_SCRIPT_FALSE
    847 USE_VERSION_SCRIPT_TRUE
    848 VERSION_SCRIPT_FLAGS
    849 OTOOL64
    850 OTOOL
    851 LIPO
    852 NMEDIT
    853 DSYMUTIL
    854 lt_ECHO
    855 RANLIB
    856 AR
    857 LN_S
    858 NM
    859 ac_ct_DUMPBIN
    860 DUMPBIN
    861 LD
    862 FGREP
    863 SED
    864 LIBTOOL
    865 OBJDUMP
    866 DLLTOOL
    867 AS
    868 ANSI2KNR
    869 U
    870 EGREP
    871 GREP
    872 XSLTPROC
    873 XMLLINT
    874 WGET
    875 PERL
    876 TAR
    877 MV
    878 RM
    879 CPP
    880 am__fastdepCC_FALSE
    881 am__fastdepCC_TRUE
    882 CCDEPMODE
    883 AMDEPBACKSLASH
    884 AMDEP_FALSE
    885 AMDEP_TRUE
    886 am__quote
    887 am__include
    888 DEPDIR
    889 OBJEXT
    890 EXEEXT
    891 ac_ct_CC
    892 CPPFLAGS
    893 LDFLAGS
    894 CFLAGS
    895 CC
    896 am__untar
    897 am__tar
    898 AMTAR
    899 am__leading_dot
    900 SET_MAKE
    901 AWK
    902 mkdir_p
    903 MKDIR_P
    904 INSTALL_STRIP_PROGRAM
    905 STRIP
    906 install_sh
    907 MAKEINFO
    908 AUTOHEADER
    909 AUTOMAKE
    910 AUTOCONF
    911 ACLOCAL
    912 VERSION
    913 PACKAGE
    914 CYGPATH_W
    915 am__isrc
    916 INSTALL_DATA
    917 INSTALL_SCRIPT
    918 INSTALL_PROGRAM
    919 LIBXML_VERSION_EXTRA
    920 LIBXML_VERSION_NUMBER
    921 LIBXML_VERSION_INFO
    922 LIBXML_VERSION
    923 LIBXML_MICRO_VERSION
    924 LIBXML_MINOR_VERSION
    925 LIBXML_MAJOR_VERSION
    926 host_os
    927 host_vendor
    928 host_cpu
    929 host
    930 build_os
    931 build_vendor
    932 build_cpu
    933 build
    934 target_alias
    935 host_alias
    936 build_alias
    937 LIBS
    938 ECHO_T
    939 ECHO_N
    940 ECHO_C
    941 DEFS
    942 mandir
    943 localedir
    944 libdir
    945 psdir
    946 pdfdir
    947 dvidir
    948 htmldir
    949 infodir
    950 docdir
    951 oldincludedir
    952 includedir
    953 localstatedir
    954 sharedstatedir
    955 sysconfdir
    956 datadir
    957 datarootdir
    958 libexecdir
    959 sbindir
    960 bindir
    961 program_transform_name
    962 prefix
    963 exec_prefix
    964 PACKAGE_URL
    965 PACKAGE_BUGREPORT
    966 PACKAGE_STRING
    967 PACKAGE_VERSION
    968 PACKAGE_TARNAME
    969 PACKAGE_NAME
    970 PATH_SEPARATOR
    971 SHELL'
    972 ac_subst_files=''
    973 ac_user_opts='
    974 enable_option_checking
    975 enable_dependency_tracking
    976 enable_shared
    977 enable_static
    978 with_pic
    979 enable_fast_install
    980 with_gnu_ld
    981 enable_libtool_lock
    982 with_c14n
    983 with_catalog
    984 with_debug
    985 with_docbook
    986 with_fexceptions
    987 with_ftp
    988 with_history
    989 with_html
    990 with_html_dir
    991 with_html_subdir
    992 with_http
    993 with_iconv
    994 with_iso8859x
    995 with_legacy
    996 with_mem_debug
    997 with_minimum
    998 with_output
    999 with_pattern
   1000 with_push
   1001 with_python
   1002 with_reader
   1003 with_readline
   1004 with_regexps
   1005 with_run_debug
   1006 with_sax1
   1007 with_schemas
   1008 with_schematron
   1009 with_threads
   1010 with_thread_alloc
   1011 with_tree
   1012 with_valid
   1013 with_writer
   1014 with_xinclude
   1015 with_xpath
   1016 with_xptr
   1017 with_modules
   1018 with_zlib
   1019 with_coverage
   1020 enable_rebuild_docs
   1021 enable_ipv6
   1022 '
   1023       ac_precious_vars='build_alias
   1024 host_alias
   1025 target_alias
   1026 CC
   1027 CFLAGS
   1028 LDFLAGS
   1029 LIBS
   1030 CPPFLAGS
   1031 CPP'
   1032 
   1033 
   1034 # Initialize some variables set by options.
   1035 ac_init_help=
   1036 ac_init_version=false
   1037 ac_unrecognized_opts=
   1038 ac_unrecognized_sep=
   1039 # The variables have the same names as the options, with
   1040 # dashes changed to underlines.
   1041 cache_file=/dev/null
   1042 exec_prefix=NONE
   1043 no_create=
   1044 no_recursion=
   1045 prefix=NONE
   1046 program_prefix=NONE
   1047 program_suffix=NONE
   1048 program_transform_name=s,x,x,
   1049 silent=
   1050 site=
   1051 srcdir=
   1052 verbose=
   1053 x_includes=NONE
   1054 x_libraries=NONE
   1055 
   1056 # Installation directory options.
   1057 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1058 # and all the variables that are supposed to be based on exec_prefix
   1059 # by default will actually change.
   1060 # Use braces instead of parens because sh, perl, etc. also accept them.
   1061 # (The list follows the same order as the GNU Coding Standards.)
   1062 bindir='${exec_prefix}/bin'
   1063 sbindir='${exec_prefix}/sbin'
   1064 libexecdir='${exec_prefix}/libexec'
   1065 datarootdir='${prefix}/share'
   1066 datadir='${datarootdir}'
   1067 sysconfdir='${prefix}/etc'
   1068 sharedstatedir='${prefix}/com'
   1069 localstatedir='${prefix}/var'
   1070 includedir='${prefix}/include'
   1071 oldincludedir='/usr/include'
   1072 docdir='${datarootdir}/doc/${PACKAGE}'
   1073 infodir='${datarootdir}/info'
   1074 htmldir='${docdir}'
   1075 dvidir='${docdir}'
   1076 pdfdir='${docdir}'
   1077 psdir='${docdir}'
   1078 libdir='${exec_prefix}/lib'
   1079 localedir='${datarootdir}/locale'
   1080 mandir='${datarootdir}/man'
   1081 
   1082 ac_prev=
   1083 ac_dashdash=
   1084 for ac_option
   1085 do
   1086   # If the previous option needs an argument, assign it.
   1087   if test -n "$ac_prev"; then
   1088     eval $ac_prev=\$ac_option
   1089     ac_prev=
   1090     continue
   1091   fi
   1092 
   1093   case $ac_option in
   1094   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1095   *)	ac_optarg=yes ;;
   1096   esac
   1097 
   1098   # Accept the important Cygnus configure options, so we can diagnose typos.
   1099 
   1100   case $ac_dashdash$ac_option in
   1101   --)
   1102     ac_dashdash=yes ;;
   1103 
   1104   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1105     ac_prev=bindir ;;
   1106   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1107     bindir=$ac_optarg ;;
   1108 
   1109   -build | --build | --buil | --bui | --bu)
   1110     ac_prev=build_alias ;;
   1111   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1112     build_alias=$ac_optarg ;;
   1113 
   1114   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1115   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1116     ac_prev=cache_file ;;
   1117   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1118   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1119     cache_file=$ac_optarg ;;
   1120 
   1121   --config-cache | -C)
   1122     cache_file=config.cache ;;
   1123 
   1124   -datadir | --datadir | --datadi | --datad)
   1125     ac_prev=datadir ;;
   1126   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1127     datadir=$ac_optarg ;;
   1128 
   1129   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1130   | --dataroo | --dataro | --datar)
   1131     ac_prev=datarootdir ;;
   1132   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1133   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1134     datarootdir=$ac_optarg ;;
   1135 
   1136   -disable-* | --disable-*)
   1137     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1138     # Reject names that are not valid shell variable names.
   1139     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1140       as_fn_error "invalid feature name: $ac_useropt"
   1141     ac_useropt_orig=$ac_useropt
   1142     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1143     case $ac_user_opts in
   1144       *"
   1145 "enable_$ac_useropt"
   1146 "*) ;;
   1147       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1148 	 ac_unrecognized_sep=', ';;
   1149     esac
   1150     eval enable_$ac_useropt=no ;;
   1151 
   1152   -docdir | --docdir | --docdi | --doc | --do)
   1153     ac_prev=docdir ;;
   1154   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1155     docdir=$ac_optarg ;;
   1156 
   1157   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1158     ac_prev=dvidir ;;
   1159   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1160     dvidir=$ac_optarg ;;
   1161 
   1162   -enable-* | --enable-*)
   1163     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1164     # Reject names that are not valid shell variable names.
   1165     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1166       as_fn_error "invalid feature name: $ac_useropt"
   1167     ac_useropt_orig=$ac_useropt
   1168     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1169     case $ac_user_opts in
   1170       *"
   1171 "enable_$ac_useropt"
   1172 "*) ;;
   1173       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1174 	 ac_unrecognized_sep=', ';;
   1175     esac
   1176     eval enable_$ac_useropt=\$ac_optarg ;;
   1177 
   1178   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1179   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1180   | --exec | --exe | --ex)
   1181     ac_prev=exec_prefix ;;
   1182   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1183   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1184   | --exec=* | --exe=* | --ex=*)
   1185     exec_prefix=$ac_optarg ;;
   1186 
   1187   -gas | --gas | --ga | --g)
   1188     # Obsolete; use --with-gas.
   1189     with_gas=yes ;;
   1190 
   1191   -help | --help | --hel | --he | -h)
   1192     ac_init_help=long ;;
   1193   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1194     ac_init_help=recursive ;;
   1195   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1196     ac_init_help=short ;;
   1197 
   1198   -host | --host | --hos | --ho)
   1199     ac_prev=host_alias ;;
   1200   -host=* | --host=* | --hos=* | --ho=*)
   1201     host_alias=$ac_optarg ;;
   1202 
   1203   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1204     ac_prev=htmldir ;;
   1205   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1206   | --ht=*)
   1207     htmldir=$ac_optarg ;;
   1208 
   1209   -includedir | --includedir | --includedi | --included | --include \
   1210   | --includ | --inclu | --incl | --inc)
   1211     ac_prev=includedir ;;
   1212   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1213   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1214     includedir=$ac_optarg ;;
   1215 
   1216   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1217     ac_prev=infodir ;;
   1218   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1219     infodir=$ac_optarg ;;
   1220 
   1221   -libdir | --libdir | --libdi | --libd)
   1222     ac_prev=libdir ;;
   1223   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1224     libdir=$ac_optarg ;;
   1225 
   1226   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1227   | --libexe | --libex | --libe)
   1228     ac_prev=libexecdir ;;
   1229   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1230   | --libexe=* | --libex=* | --libe=*)
   1231     libexecdir=$ac_optarg ;;
   1232 
   1233   -localedir | --localedir | --localedi | --localed | --locale)
   1234     ac_prev=localedir ;;
   1235   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1236     localedir=$ac_optarg ;;
   1237 
   1238   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1239   | --localstate | --localstat | --localsta | --localst | --locals)
   1240     ac_prev=localstatedir ;;
   1241   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1242   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1243     localstatedir=$ac_optarg ;;
   1244 
   1245   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1246     ac_prev=mandir ;;
   1247   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1248     mandir=$ac_optarg ;;
   1249 
   1250   -nfp | --nfp | --nf)
   1251     # Obsolete; use --without-fp.
   1252     with_fp=no ;;
   1253 
   1254   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1255   | --no-cr | --no-c | -n)
   1256     no_create=yes ;;
   1257 
   1258   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1259   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1260     no_recursion=yes ;;
   1261 
   1262   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1263   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1264   | --oldin | --oldi | --old | --ol | --o)
   1265     ac_prev=oldincludedir ;;
   1266   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1267   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1268   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1269     oldincludedir=$ac_optarg ;;
   1270 
   1271   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1272     ac_prev=prefix ;;
   1273   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1274     prefix=$ac_optarg ;;
   1275 
   1276   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1277   | --program-pre | --program-pr | --program-p)
   1278     ac_prev=program_prefix ;;
   1279   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1280   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1281     program_prefix=$ac_optarg ;;
   1282 
   1283   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1284   | --program-suf | --program-su | --program-s)
   1285     ac_prev=program_suffix ;;
   1286   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1287   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1288     program_suffix=$ac_optarg ;;
   1289 
   1290   -program-transform-name | --program-transform-name \
   1291   | --program-transform-nam | --program-transform-na \
   1292   | --program-transform-n | --program-transform- \
   1293   | --program-transform | --program-transfor \
   1294   | --program-transfo | --program-transf \
   1295   | --program-trans | --program-tran \
   1296   | --progr-tra | --program-tr | --program-t)
   1297     ac_prev=program_transform_name ;;
   1298   -program-transform-name=* | --program-transform-name=* \
   1299   | --program-transform-nam=* | --program-transform-na=* \
   1300   | --program-transform-n=* | --program-transform-=* \
   1301   | --program-transform=* | --program-transfor=* \
   1302   | --program-transfo=* | --program-transf=* \
   1303   | --program-trans=* | --program-tran=* \
   1304   | --progr-tra=* | --program-tr=* | --program-t=*)
   1305     program_transform_name=$ac_optarg ;;
   1306 
   1307   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1308     ac_prev=pdfdir ;;
   1309   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1310     pdfdir=$ac_optarg ;;
   1311 
   1312   -psdir | --psdir | --psdi | --psd | --ps)
   1313     ac_prev=psdir ;;
   1314   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1315     psdir=$ac_optarg ;;
   1316 
   1317   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1318   | -silent | --silent | --silen | --sile | --sil)
   1319     silent=yes ;;
   1320 
   1321   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1322     ac_prev=sbindir ;;
   1323   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1324   | --sbi=* | --sb=*)
   1325     sbindir=$ac_optarg ;;
   1326 
   1327   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1328   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1329   | --sharedst | --shareds | --shared | --share | --shar \
   1330   | --sha | --sh)
   1331     ac_prev=sharedstatedir ;;
   1332   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1333   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1334   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1335   | --sha=* | --sh=*)
   1336     sharedstatedir=$ac_optarg ;;
   1337 
   1338   -site | --site | --sit)
   1339     ac_prev=site ;;
   1340   -site=* | --site=* | --sit=*)
   1341     site=$ac_optarg ;;
   1342 
   1343   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1344     ac_prev=srcdir ;;
   1345   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1346     srcdir=$ac_optarg ;;
   1347 
   1348   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1349   | --syscon | --sysco | --sysc | --sys | --sy)
   1350     ac_prev=sysconfdir ;;
   1351   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1352   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1353     sysconfdir=$ac_optarg ;;
   1354 
   1355   -target | --target | --targe | --targ | --tar | --ta | --t)
   1356     ac_prev=target_alias ;;
   1357   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1358     target_alias=$ac_optarg ;;
   1359 
   1360   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1361     verbose=yes ;;
   1362 
   1363   -version | --version | --versio | --versi | --vers | -V)
   1364     ac_init_version=: ;;
   1365 
   1366   -with-* | --with-*)
   1367     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1368     # Reject names that are not valid shell variable names.
   1369     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1370       as_fn_error "invalid package name: $ac_useropt"
   1371     ac_useropt_orig=$ac_useropt
   1372     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1373     case $ac_user_opts in
   1374       *"
   1375 "with_$ac_useropt"
   1376 "*) ;;
   1377       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1378 	 ac_unrecognized_sep=', ';;
   1379     esac
   1380     eval with_$ac_useropt=\$ac_optarg ;;
   1381 
   1382   -without-* | --without-*)
   1383     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1384     # Reject names that are not valid shell variable names.
   1385     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1386       as_fn_error "invalid package name: $ac_useropt"
   1387     ac_useropt_orig=$ac_useropt
   1388     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1389     case $ac_user_opts in
   1390       *"
   1391 "with_$ac_useropt"
   1392 "*) ;;
   1393       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1394 	 ac_unrecognized_sep=', ';;
   1395     esac
   1396     eval with_$ac_useropt=no ;;
   1397 
   1398   --x)
   1399     # Obsolete; use --with-x.
   1400     with_x=yes ;;
   1401 
   1402   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1403   | --x-incl | --x-inc | --x-in | --x-i)
   1404     ac_prev=x_includes ;;
   1405   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1406   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1407     x_includes=$ac_optarg ;;
   1408 
   1409   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1410   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1411     ac_prev=x_libraries ;;
   1412   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1413   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1414     x_libraries=$ac_optarg ;;
   1415 
   1416   -*) as_fn_error "unrecognized option: \`$ac_option'
   1417 Try \`$0 --help' for more information."
   1418     ;;
   1419 
   1420   *=*)
   1421     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1422     # Reject names that are not valid shell variable names.
   1423     case $ac_envvar in #(
   1424       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1425       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1426     esac
   1427     eval $ac_envvar=\$ac_optarg
   1428     export $ac_envvar ;;
   1429 
   1430   *)
   1431     # FIXME: should be removed in autoconf 3.0.
   1432     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1433     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1434       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1435     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1436     ;;
   1437 
   1438   esac
   1439 done
   1440 
   1441 if test -n "$ac_prev"; then
   1442   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1443   as_fn_error "missing argument to $ac_option"
   1444 fi
   1445 
   1446 if test -n "$ac_unrecognized_opts"; then
   1447   case $enable_option_checking in
   1448     no) ;;
   1449     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1450     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1451   esac
   1452 fi
   1453 
   1454 # Check all directory arguments for consistency.
   1455 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1456 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1457 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1458 		libdir localedir mandir
   1459 do
   1460   eval ac_val=\$$ac_var
   1461   # Remove trailing slashes.
   1462   case $ac_val in
   1463     */ )
   1464       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1465       eval $ac_var=\$ac_val;;
   1466   esac
   1467   # Be sure to have absolute directory names.
   1468   case $ac_val in
   1469     [\\/$]* | ?:[\\/]* )  continue;;
   1470     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1471   esac
   1472   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1473 done
   1474 
   1475 # There might be people who depend on the old broken behavior: `$host'
   1476 # used to hold the argument of --host etc.
   1477 # FIXME: To remove some day.
   1478 build=$build_alias
   1479 host=$host_alias
   1480 target=$target_alias
   1481 
   1482 # FIXME: To remove some day.
   1483 if test "x$host_alias" != x; then
   1484   if test "x$build_alias" = x; then
   1485     cross_compiling=maybe
   1486     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1487     If a cross compiler is detected then cross compile mode will be used." >&2
   1488   elif test "x$build_alias" != "x$host_alias"; then
   1489     cross_compiling=yes
   1490   fi
   1491 fi
   1492 
   1493 ac_tool_prefix=
   1494 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1495 
   1496 test "$silent" = yes && exec 6>/dev/null
   1497 
   1498 
   1499 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1500 ac_ls_di=`ls -di .` &&
   1501 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1502   as_fn_error "working directory cannot be determined"
   1503 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1504   as_fn_error "pwd does not report name of working directory"
   1505 
   1506 
   1507 # Find the source files, if location was not specified.
   1508 if test -z "$srcdir"; then
   1509   ac_srcdir_defaulted=yes
   1510   # Try the directory containing this script, then the parent directory.
   1511   ac_confdir=`$as_dirname -- "$as_myself" ||
   1512 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1513 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1514 	 X"$as_myself" : 'X\(//\)$' \| \
   1515 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1516 $as_echo X"$as_myself" |
   1517     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1518 	    s//\1/
   1519 	    q
   1520 	  }
   1521 	  /^X\(\/\/\)[^/].*/{
   1522 	    s//\1/
   1523 	    q
   1524 	  }
   1525 	  /^X\(\/\/\)$/{
   1526 	    s//\1/
   1527 	    q
   1528 	  }
   1529 	  /^X\(\/\).*/{
   1530 	    s//\1/
   1531 	    q
   1532 	  }
   1533 	  s/.*/./; q'`
   1534   srcdir=$ac_confdir
   1535   if test ! -r "$srcdir/$ac_unique_file"; then
   1536     srcdir=..
   1537   fi
   1538 else
   1539   ac_srcdir_defaulted=no
   1540 fi
   1541 if test ! -r "$srcdir/$ac_unique_file"; then
   1542   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1543   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1544 fi
   1545 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1546 ac_abs_confdir=`(
   1547 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1548 	pwd)`
   1549 # When building in place, set srcdir=.
   1550 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1551   srcdir=.
   1552 fi
   1553 # Remove unnecessary trailing slashes from srcdir.
   1554 # Double slashes in file names in object file debugging info
   1555 # mess up M-x gdb in Emacs.
   1556 case $srcdir in
   1557 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1558 esac
   1559 for ac_var in $ac_precious_vars; do
   1560   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1561   eval ac_env_${ac_var}_value=\$${ac_var}
   1562   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1563   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1564 done
   1565 
   1566 #
   1567 # Report the --help message.
   1568 #
   1569 if test "$ac_init_help" = "long"; then
   1570   # Omit some internal or obsolete options to make the list less imposing.
   1571   # This message is too long to be a string in the A/UX 3.1 sh.
   1572   cat <<_ACEOF
   1573 \`configure' configures this package to adapt to many kinds of systems.
   1574 
   1575 Usage: $0 [OPTION]... [VAR=VALUE]...
   1576 
   1577 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1578 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1579 
   1580 Defaults for the options are specified in brackets.
   1581 
   1582 Configuration:
   1583   -h, --help              display this help and exit
   1584       --help=short        display options specific to this package
   1585       --help=recursive    display the short help of all the included packages
   1586   -V, --version           display version information and exit
   1587   -q, --quiet, --silent   do not print \`checking...' messages
   1588       --cache-file=FILE   cache test results in FILE [disabled]
   1589   -C, --config-cache      alias for \`--cache-file=config.cache'
   1590   -n, --no-create         do not create output files
   1591       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1592 
   1593 Installation directories:
   1594   --prefix=PREFIX         install architecture-independent files in PREFIX
   1595                           [$ac_default_prefix]
   1596   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1597                           [PREFIX]
   1598 
   1599 By default, \`make install' will install all the files in
   1600 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1601 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1602 for instance \`--prefix=\$HOME'.
   1603 
   1604 For better control, use the options below.
   1605 
   1606 Fine tuning of the installation directories:
   1607   --bindir=DIR            user executables [EPREFIX/bin]
   1608   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1609   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1610   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1611   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1612   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1613   --libdir=DIR            object code libraries [EPREFIX/lib]
   1614   --includedir=DIR        C header files [PREFIX/include]
   1615   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1616   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1617   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1618   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1619   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1620   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1621   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1622   --htmldir=DIR           html documentation [DOCDIR]
   1623   --dvidir=DIR            dvi documentation [DOCDIR]
   1624   --pdfdir=DIR            pdf documentation [DOCDIR]
   1625   --psdir=DIR             ps documentation [DOCDIR]
   1626 _ACEOF
   1627 
   1628   cat <<\_ACEOF
   1629 
   1630 Program names:
   1631   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1632   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1633   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1634 
   1635 System types:
   1636   --build=BUILD     configure for building on BUILD [guessed]
   1637   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1638 _ACEOF
   1639 fi
   1640 
   1641 if test -n "$ac_init_help"; then
   1642 
   1643   cat <<\_ACEOF
   1644 
   1645 Optional Features:
   1646   --disable-option-checking  ignore unrecognized --enable/--with options
   1647   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1648   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1649   --disable-dependency-tracking  speeds up one-time build
   1650   --enable-dependency-tracking   do not reject slow dependency extractors
   1651   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1652   --enable-static[=PKGS]  build static libraries [default=yes]
   1653   --enable-fast-install[=PKGS]
   1654                           optimize for fast installation [default=yes]
   1655   --disable-libtool-lock  avoid locking (might break parallel builds)
   1656   --enable-rebuild-docs[=yes/no]  rebuild some generated docs [default=yes]
   1657   --enable-ipv6[=yes/no]  enables compilation of IPv6 code [default=yes]
   1658 
   1659 Optional Packages:
   1660   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1661   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1662   --with-pic              try to use only PIC/non-PIC objects [default=use
   1663                           both]
   1664   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1665   --with-c14n             add the Canonicalization support (on)
   1666   --with-catalog          add the Catalog support (on)
   1667   --with-debug            add the debugging module (on)
   1668   --with-docbook          add Docbook SGML support (on)
   1669   --with-fexceptions      add GCC flag -fexceptions for C++ exceptions (off)
   1670   --with-ftp              add the FTP support (on)
   1671   --with-history          add history support to xmllint shell(off)
   1672   --with-html             add the HTML support (on)
   1673   --with-html-dir=path    path to base html directory, default
   1674                           $datadir/doc/html
   1675   --with-html-subdir=path directory used under html-dir, default
   1676                           $PACKAGE-$VERSION/html
   1677   --with-http             add the HTTP support (on)
   1678   --with-iconv[=DIR]      add ICONV support (on)
   1679   --with-iso8859x         add ISO8859X support if no iconv (on)
   1680   --with-legacy           add deprecated APIs for compatibility (on)
   1681   --with-mem-debug        add the memory debugging module (off)
   1682   --with-minimum          build a minimally sized library (off)
   1683   --with-output           add the serialization support (on)
   1684   --with-pattern          add the xmlPattern selection interface (on)
   1685   --with-push             add the PUSH parser interfaces (on)
   1686   --with-python[=DIR]     build Python bindings if found
   1687   --with-reader           add the xmlReader parsing interface (on)
   1688   --with-readline=DIR     use readline in DIR
   1689   --with-regexps          add Regular Expressions support (on)
   1690   --with-run-debug        add the runtime debugging module (off)
   1691   --with-sax1             add the older SAX1 interface (on)
   1692   --with-schemas          add Relax-NG and Schemas support (on)
   1693   --with-schematron       add Schematron support (on)
   1694   --with-threads          add multithread support(on)
   1695   --with-thread-alloc     add per-thread memory(off)
   1696   --with-tree             add the DOM like tree manipulation APIs (on)
   1697   --with-valid            add the DTD validation support (on)
   1698   --with-writer           add the xmlWriter saving interface (on)
   1699   --with-xinclude         add the XInclude support (on)
   1700   --with-xpath            add the XPATH support (on)
   1701   --with-xptr             add the XPointer support (on)
   1702   --with-modules          add the dynamic modules support (on)
   1703   --with-zlib[=DIR]       use libz in DIR
   1704   --with-coverage         build for code coverage with GCC (off)
   1705 
   1706 Some influential environment variables:
   1707   CC          C compiler command
   1708   CFLAGS      C compiler flags
   1709   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1710               nonstandard directory <lib dir>
   1711   LIBS        libraries to pass to the linker, e.g. -l<library>
   1712   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1713               you have headers in a nonstandard directory <include dir>
   1714   CPP         C preprocessor
   1715 
   1716 Use these variables to override the choices made by `configure' or to help
   1717 it to find libraries and programs with nonstandard names/locations.
   1718 
   1719 Report bugs to the package provider.
   1720 _ACEOF
   1721 ac_status=$?
   1722 fi
   1723 
   1724 if test "$ac_init_help" = "recursive"; then
   1725   # If there are subdirs, report their specific --help.
   1726   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1727     test -d "$ac_dir" ||
   1728       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1729       continue
   1730     ac_builddir=.
   1731 
   1732 case "$ac_dir" in
   1733 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1734 *)
   1735   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1736   # A ".." for each directory in $ac_dir_suffix.
   1737   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1738   case $ac_top_builddir_sub in
   1739   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1740   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1741   esac ;;
   1742 esac
   1743 ac_abs_top_builddir=$ac_pwd
   1744 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1745 # for backward compatibility:
   1746 ac_top_builddir=$ac_top_build_prefix
   1747 
   1748 case $srcdir in
   1749   .)  # We are building in place.
   1750     ac_srcdir=.
   1751     ac_top_srcdir=$ac_top_builddir_sub
   1752     ac_abs_top_srcdir=$ac_pwd ;;
   1753   [\\/]* | ?:[\\/]* )  # Absolute name.
   1754     ac_srcdir=$srcdir$ac_dir_suffix;
   1755     ac_top_srcdir=$srcdir
   1756     ac_abs_top_srcdir=$srcdir ;;
   1757   *) # Relative name.
   1758     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1759     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1760     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1761 esac
   1762 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1763 
   1764     cd "$ac_dir" || { ac_status=$?; continue; }
   1765     # Check for guested configure.
   1766     if test -f "$ac_srcdir/configure.gnu"; then
   1767       echo &&
   1768       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1769     elif test -f "$ac_srcdir/configure"; then
   1770       echo &&
   1771       $SHELL "$ac_srcdir/configure" --help=recursive
   1772     else
   1773       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1774     fi || ac_status=$?
   1775     cd "$ac_pwd" || { ac_status=$?; break; }
   1776   done
   1777 fi
   1778 
   1779 test -n "$ac_init_help" && exit $ac_status
   1780 if $ac_init_version; then
   1781   cat <<\_ACEOF
   1782 configure
   1783 generated by GNU Autoconf 2.65
   1784 
   1785 Copyright (C) 2009 Free Software Foundation, Inc.
   1786 This configure script is free software; the Free Software Foundation
   1787 gives unlimited permission to copy, distribute and modify it.
   1788 _ACEOF
   1789   exit
   1790 fi
   1791 
   1792 ## ------------------------ ##
   1793 ## Autoconf initialization. ##
   1794 ## ------------------------ ##
   1795 
   1796 # ac_fn_c_try_compile LINENO
   1797 # --------------------------
   1798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1799 ac_fn_c_try_compile ()
   1800 {
   1801   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1802   rm -f conftest.$ac_objext
   1803   if { { ac_try="$ac_compile"
   1804 case "(($ac_try" in
   1805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1806   *) ac_try_echo=$ac_try;;
   1807 esac
   1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1809 $as_echo "$ac_try_echo"; } >&5
   1810   (eval "$ac_compile") 2>conftest.err
   1811   ac_status=$?
   1812   if test -s conftest.err; then
   1813     grep -v '^ *+' conftest.err >conftest.er1
   1814     cat conftest.er1 >&5
   1815     mv -f conftest.er1 conftest.err
   1816   fi
   1817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1818   test $ac_status = 0; } && {
   1819 	 test -z "$ac_c_werror_flag" ||
   1820 	 test ! -s conftest.err
   1821        } && test -s conftest.$ac_objext; then :
   1822   ac_retval=0
   1823 else
   1824   $as_echo "$as_me: failed program was:" >&5
   1825 sed 's/^/| /' conftest.$ac_ext >&5
   1826 
   1827 	ac_retval=1
   1828 fi
   1829   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1830   as_fn_set_status $ac_retval
   1831 
   1832 } # ac_fn_c_try_compile
   1833 
   1834 # ac_fn_c_try_cpp LINENO
   1835 # ----------------------
   1836 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1837 ac_fn_c_try_cpp ()
   1838 {
   1839   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1840   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1841 case "(($ac_try" in
   1842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1843   *) ac_try_echo=$ac_try;;
   1844 esac
   1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1846 $as_echo "$ac_try_echo"; } >&5
   1847   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1848   ac_status=$?
   1849   if test -s conftest.err; then
   1850     grep -v '^ *+' conftest.err >conftest.er1
   1851     cat conftest.er1 >&5
   1852     mv -f conftest.er1 conftest.err
   1853   fi
   1854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1855   test $ac_status = 0; } >/dev/null && {
   1856 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1857 	 test ! -s conftest.err
   1858        }; then :
   1859   ac_retval=0
   1860 else
   1861   $as_echo "$as_me: failed program was:" >&5
   1862 sed 's/^/| /' conftest.$ac_ext >&5
   1863 
   1864     ac_retval=1
   1865 fi
   1866   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1867   as_fn_set_status $ac_retval
   1868 
   1869 } # ac_fn_c_try_cpp
   1870 
   1871 # ac_fn_c_try_run LINENO
   1872 # ----------------------
   1873 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1874 # that executables *can* be run.
   1875 ac_fn_c_try_run ()
   1876 {
   1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1878   if { { ac_try="$ac_link"
   1879 case "(($ac_try" in
   1880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1881   *) ac_try_echo=$ac_try;;
   1882 esac
   1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1884 $as_echo "$ac_try_echo"; } >&5
   1885   (eval "$ac_link") 2>&5
   1886   ac_status=$?
   1887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1888   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1889   { { case "(($ac_try" in
   1890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1891   *) ac_try_echo=$ac_try;;
   1892 esac
   1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1894 $as_echo "$ac_try_echo"; } >&5
   1895   (eval "$ac_try") 2>&5
   1896   ac_status=$?
   1897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1898   test $ac_status = 0; }; }; then :
   1899   ac_retval=0
   1900 else
   1901   $as_echo "$as_me: program exited with status $ac_status" >&5
   1902        $as_echo "$as_me: failed program was:" >&5
   1903 sed 's/^/| /' conftest.$ac_ext >&5
   1904 
   1905        ac_retval=$ac_status
   1906 fi
   1907   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1908   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1909   as_fn_set_status $ac_retval
   1910 
   1911 } # ac_fn_c_try_run
   1912 
   1913 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1914 # -------------------------------------------------------
   1915 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1916 # the include files in INCLUDES and setting the cache variable VAR
   1917 # accordingly.
   1918 ac_fn_c_check_header_mongrel ()
   1919 {
   1920   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1921   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1923 $as_echo_n "checking for $2... " >&6; }
   1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1925   $as_echo_n "(cached) " >&6
   1926 fi
   1927 eval ac_res=\$$3
   1928 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1929 $as_echo "$ac_res" >&6; }
   1930 else
   1931   # Is the header compilable?
   1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1933 $as_echo_n "checking $2 usability... " >&6; }
   1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1935 /* end confdefs.h.  */
   1936 $4
   1937 #include <$2>
   1938 _ACEOF
   1939 if ac_fn_c_try_compile "$LINENO"; then :
   1940   ac_header_compiler=yes
   1941 else
   1942   ac_header_compiler=no
   1943 fi
   1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1946 $as_echo "$ac_header_compiler" >&6; }
   1947 
   1948 # Is the header present?
   1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1950 $as_echo_n "checking $2 presence... " >&6; }
   1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1952 /* end confdefs.h.  */
   1953 #include <$2>
   1954 _ACEOF
   1955 if ac_fn_c_try_cpp "$LINENO"; then :
   1956   ac_header_preproc=yes
   1957 else
   1958   ac_header_preproc=no
   1959 fi
   1960 rm -f conftest.err conftest.$ac_ext
   1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1962 $as_echo "$ac_header_preproc" >&6; }
   1963 
   1964 # So?  What about this header?
   1965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1966   yes:no: )
   1967     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1968 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1969     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1970 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1971     ;;
   1972   no:yes:* )
   1973     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1974 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1975     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1976 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1977     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1978 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1980 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1981     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1982 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1983     ;;
   1984 esac
   1985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1986 $as_echo_n "checking for $2... " >&6; }
   1987 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1988   $as_echo_n "(cached) " >&6
   1989 else
   1990   eval "$3=\$ac_header_compiler"
   1991 fi
   1992 eval ac_res=\$$3
   1993 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1994 $as_echo "$ac_res" >&6; }
   1995 fi
   1996   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1997 
   1998 } # ac_fn_c_check_header_mongrel
   1999 
   2000 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   2001 # -------------------------------------------------------
   2002 # Tests whether HEADER exists and can be compiled using the include files in
   2003 # INCLUDES, setting the cache variable VAR accordingly.
   2004 ac_fn_c_check_header_compile ()
   2005 {
   2006   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2008 $as_echo_n "checking for $2... " >&6; }
   2009 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2010   $as_echo_n "(cached) " >&6
   2011 else
   2012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2013 /* end confdefs.h.  */
   2014 $4
   2015 #include <$2>
   2016 _ACEOF
   2017 if ac_fn_c_try_compile "$LINENO"; then :
   2018   eval "$3=yes"
   2019 else
   2020   eval "$3=no"
   2021 fi
   2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2023 fi
   2024 eval ac_res=\$$3
   2025 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2026 $as_echo "$ac_res" >&6; }
   2027   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2028 
   2029 } # ac_fn_c_check_header_compile
   2030 
   2031 # ac_fn_c_try_link LINENO
   2032 # -----------------------
   2033 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2034 ac_fn_c_try_link ()
   2035 {
   2036   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2037   rm -f conftest.$ac_objext conftest$ac_exeext
   2038   if { { ac_try="$ac_link"
   2039 case "(($ac_try" in
   2040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2041   *) ac_try_echo=$ac_try;;
   2042 esac
   2043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2044 $as_echo "$ac_try_echo"; } >&5
   2045   (eval "$ac_link") 2>conftest.err
   2046   ac_status=$?
   2047   if test -s conftest.err; then
   2048     grep -v '^ *+' conftest.err >conftest.er1
   2049     cat conftest.er1 >&5
   2050     mv -f conftest.er1 conftest.err
   2051   fi
   2052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2053   test $ac_status = 0; } && {
   2054 	 test -z "$ac_c_werror_flag" ||
   2055 	 test ! -s conftest.err
   2056        } && test -s conftest$ac_exeext && {
   2057 	 test "$cross_compiling" = yes ||
   2058 	 $as_test_x conftest$ac_exeext
   2059        }; then :
   2060   ac_retval=0
   2061 else
   2062   $as_echo "$as_me: failed program was:" >&5
   2063 sed 's/^/| /' conftest.$ac_ext >&5
   2064 
   2065 	ac_retval=1
   2066 fi
   2067   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2068   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2069   # interfere with the next link command; also delete a directory that is
   2070   # left behind by Apple's compiler.  We do this before executing the actions.
   2071   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2072   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2073   as_fn_set_status $ac_retval
   2074 
   2075 } # ac_fn_c_try_link
   2076 
   2077 # ac_fn_c_check_func LINENO FUNC VAR
   2078 # ----------------------------------
   2079 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2080 ac_fn_c_check_func ()
   2081 {
   2082   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2084 $as_echo_n "checking for $2... " >&6; }
   2085 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2086   $as_echo_n "(cached) " >&6
   2087 else
   2088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2089 /* end confdefs.h.  */
   2090 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2092 #define $2 innocuous_$2
   2093 
   2094 /* System header to define __stub macros and hopefully few prototypes,
   2095     which can conflict with char $2 (); below.
   2096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2097     <limits.h> exists even on freestanding compilers.  */
   2098 
   2099 #ifdef __STDC__
   2100 # include <limits.h>
   2101 #else
   2102 # include <assert.h>
   2103 #endif
   2104 
   2105 #undef $2
   2106 
   2107 /* Override any GCC internal prototype to avoid an error.
   2108    Use char because int might match the return type of a GCC
   2109    builtin and then its argument prototype would still apply.  */
   2110 #ifdef __cplusplus
   2111 extern "C"
   2112 #endif
   2113 char $2 ();
   2114 /* The GNU C library defines this for functions which it implements
   2115     to always fail with ENOSYS.  Some functions are actually named
   2116     something starting with __ and the normal name is an alias.  */
   2117 #if defined __stub_$2 || defined __stub___$2
   2118 choke me
   2119 #endif
   2120 
   2121 int
   2122 main ()
   2123 {
   2124 return $2 ();
   2125   ;
   2126   return 0;
   2127 }
   2128 _ACEOF
   2129 if ac_fn_c_try_link "$LINENO"; then :
   2130   eval "$3=yes"
   2131 else
   2132   eval "$3=no"
   2133 fi
   2134 rm -f core conftest.err conftest.$ac_objext \
   2135     conftest$ac_exeext conftest.$ac_ext
   2136 fi
   2137 eval ac_res=\$$3
   2138 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2139 $as_echo "$ac_res" >&6; }
   2140   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2141 
   2142 } # ac_fn_c_check_func
   2143 cat >config.log <<_ACEOF
   2144 This file contains any messages produced by compilers while
   2145 running configure, to aid debugging if configure makes a mistake.
   2146 
   2147 It was created by $as_me, which was
   2148 generated by GNU Autoconf 2.65.  Invocation command line was
   2149 
   2150   $ $0 $@
   2151 
   2152 _ACEOF
   2153 exec 5>>config.log
   2154 {
   2155 cat <<_ASUNAME
   2156 ## --------- ##
   2157 ## Platform. ##
   2158 ## --------- ##
   2159 
   2160 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2161 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2162 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2163 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2164 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2165 
   2166 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2167 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2168 
   2169 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2170 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2171 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2172 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2173 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2174 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2175 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2176 
   2177 _ASUNAME
   2178 
   2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2180 for as_dir in $PATH
   2181 do
   2182   IFS=$as_save_IFS
   2183   test -z "$as_dir" && as_dir=.
   2184     $as_echo "PATH: $as_dir"
   2185   done
   2186 IFS=$as_save_IFS
   2187 
   2188 } >&5
   2189 
   2190 cat >&5 <<_ACEOF
   2191 
   2192 
   2193 ## ----------- ##
   2194 ## Core tests. ##
   2195 ## ----------- ##
   2196 
   2197 _ACEOF
   2198 
   2199 
   2200 # Keep a trace of the command line.
   2201 # Strip out --no-create and --no-recursion so they do not pile up.
   2202 # Strip out --silent because we don't want to record it for future runs.
   2203 # Also quote any args containing shell meta-characters.
   2204 # Make two passes to allow for proper duplicate-argument suppression.
   2205 ac_configure_args=
   2206 ac_configure_args0=
   2207 ac_configure_args1=
   2208 ac_must_keep_next=false
   2209 for ac_pass in 1 2
   2210 do
   2211   for ac_arg
   2212   do
   2213     case $ac_arg in
   2214     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2215     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2216     | -silent | --silent | --silen | --sile | --sil)
   2217       continue ;;
   2218     *\'*)
   2219       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2220     esac
   2221     case $ac_pass in
   2222     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2223     2)
   2224       as_fn_append ac_configure_args1 " '$ac_arg'"
   2225       if test $ac_must_keep_next = true; then
   2226 	ac_must_keep_next=false # Got value, back to normal.
   2227       else
   2228 	case $ac_arg in
   2229 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2230 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2231 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2232 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2233 	    case "$ac_configure_args0 " in
   2234 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2235 	    esac
   2236 	    ;;
   2237 	  -* ) ac_must_keep_next=true ;;
   2238 	esac
   2239       fi
   2240       as_fn_append ac_configure_args " '$ac_arg'"
   2241       ;;
   2242     esac
   2243   done
   2244 done
   2245 { ac_configure_args0=; unset ac_configure_args0;}
   2246 { ac_configure_args1=; unset ac_configure_args1;}
   2247 
   2248 # When interrupted or exit'd, cleanup temporary files, and complete
   2249 # config.log.  We remove comments because anyway the quotes in there
   2250 # would cause problems or look ugly.
   2251 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2252 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2253 trap 'exit_status=$?
   2254   # Save into config.log some information that might help in debugging.
   2255   {
   2256     echo
   2257 
   2258     cat <<\_ASBOX
   2259 ## ---------------- ##
   2260 ## Cache variables. ##
   2261 ## ---------------- ##
   2262 _ASBOX
   2263     echo
   2264     # The following way of writing the cache mishandles newlines in values,
   2265 (
   2266   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2267     eval ac_val=\$$ac_var
   2268     case $ac_val in #(
   2269     *${as_nl}*)
   2270       case $ac_var in #(
   2271       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2272 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2273       esac
   2274       case $ac_var in #(
   2275       _ | IFS | as_nl) ;; #(
   2276       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2277       *) { eval $ac_var=; unset $ac_var;} ;;
   2278       esac ;;
   2279     esac
   2280   done
   2281   (set) 2>&1 |
   2282     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2283     *${as_nl}ac_space=\ *)
   2284       sed -n \
   2285 	"s/'\''/'\''\\\\'\'''\''/g;
   2286 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2287       ;; #(
   2288     *)
   2289       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2290       ;;
   2291     esac |
   2292     sort
   2293 )
   2294     echo
   2295 
   2296     cat <<\_ASBOX
   2297 ## ----------------- ##
   2298 ## Output variables. ##
   2299 ## ----------------- ##
   2300 _ASBOX
   2301     echo
   2302     for ac_var in $ac_subst_vars
   2303     do
   2304       eval ac_val=\$$ac_var
   2305       case $ac_val in
   2306       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2307       esac
   2308       $as_echo "$ac_var='\''$ac_val'\''"
   2309     done | sort
   2310     echo
   2311 
   2312     if test -n "$ac_subst_files"; then
   2313       cat <<\_ASBOX
   2314 ## ------------------- ##
   2315 ## File substitutions. ##
   2316 ## ------------------- ##
   2317 _ASBOX
   2318       echo
   2319       for ac_var in $ac_subst_files
   2320       do
   2321 	eval ac_val=\$$ac_var
   2322 	case $ac_val in
   2323 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2324 	esac
   2325 	$as_echo "$ac_var='\''$ac_val'\''"
   2326       done | sort
   2327       echo
   2328     fi
   2329 
   2330     if test -s confdefs.h; then
   2331       cat <<\_ASBOX
   2332 ## ----------- ##
   2333 ## confdefs.h. ##
   2334 ## ----------- ##
   2335 _ASBOX
   2336       echo
   2337       cat confdefs.h
   2338       echo
   2339     fi
   2340     test "$ac_signal" != 0 &&
   2341       $as_echo "$as_me: caught signal $ac_signal"
   2342     $as_echo "$as_me: exit $exit_status"
   2343   } >&5
   2344   rm -f core *.core core.conftest.* &&
   2345     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2346     exit $exit_status
   2347 ' 0
   2348 for ac_signal in 1 2 13 15; do
   2349   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2350 done
   2351 ac_signal=0
   2352 
   2353 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2354 rm -f -r conftest* confdefs.h
   2355 
   2356 $as_echo "/* confdefs.h */" > confdefs.h
   2357 
   2358 # Predefined preprocessor variables.
   2359 
   2360 cat >>confdefs.h <<_ACEOF
   2361 #define PACKAGE_NAME "$PACKAGE_NAME"
   2362 _ACEOF
   2363 
   2364 cat >>confdefs.h <<_ACEOF
   2365 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2366 _ACEOF
   2367 
   2368 cat >>confdefs.h <<_ACEOF
   2369 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2370 _ACEOF
   2371 
   2372 cat >>confdefs.h <<_ACEOF
   2373 #define PACKAGE_STRING "$PACKAGE_STRING"
   2374 _ACEOF
   2375 
   2376 cat >>confdefs.h <<_ACEOF
   2377 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2378 _ACEOF
   2379 
   2380 cat >>confdefs.h <<_ACEOF
   2381 #define PACKAGE_URL "$PACKAGE_URL"
   2382 _ACEOF
   2383 
   2384 
   2385 # Let the site file select an alternate cache file if it wants to.
   2386 # Prefer an explicitly selected file to automatically selected ones.
   2387 ac_site_file1=NONE
   2388 ac_site_file2=NONE
   2389 if test -n "$CONFIG_SITE"; then
   2390   ac_site_file1=$CONFIG_SITE
   2391 elif test "x$prefix" != xNONE; then
   2392   ac_site_file1=$prefix/share/config.site
   2393   ac_site_file2=$prefix/etc/config.site
   2394 else
   2395   ac_site_file1=$ac_default_prefix/share/config.site
   2396   ac_site_file2=$ac_default_prefix/etc/config.site
   2397 fi
   2398 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2399 do
   2400   test "x$ac_site_file" = xNONE && continue
   2401   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2402     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2403 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2404     sed 's/^/| /' "$ac_site_file" >&5
   2405     . "$ac_site_file"
   2406   fi
   2407 done
   2408 
   2409 if test -r "$cache_file"; then
   2410   # Some versions of bash will fail to source /dev/null (special files
   2411   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2412   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2413     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2414 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2415     case $cache_file in
   2416       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2417       *)                      . "./$cache_file";;
   2418     esac
   2419   fi
   2420 else
   2421   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2422 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2423   >$cache_file
   2424 fi
   2425 
   2426 # Check that the precious variables saved in the cache have kept the same
   2427 # value.
   2428 ac_cache_corrupted=false
   2429 for ac_var in $ac_precious_vars; do
   2430   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2431   eval ac_new_set=\$ac_env_${ac_var}_set
   2432   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2433   eval ac_new_val=\$ac_env_${ac_var}_value
   2434   case $ac_old_set,$ac_new_set in
   2435     set,)
   2436       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2437 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2438       ac_cache_corrupted=: ;;
   2439     ,set)
   2440       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2441 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2442       ac_cache_corrupted=: ;;
   2443     ,);;
   2444     *)
   2445       if test "x$ac_old_val" != "x$ac_new_val"; then
   2446 	# differences in whitespace do not lead to failure.
   2447 	ac_old_val_w=`echo x $ac_old_val`
   2448 	ac_new_val_w=`echo x $ac_new_val`
   2449 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2450 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2451 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2452 	  ac_cache_corrupted=:
   2453 	else
   2454 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2455 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2456 	  eval $ac_var=\$ac_old_val
   2457 	fi
   2458 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2459 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2460 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2461 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2462       fi;;
   2463   esac
   2464   # Pass precious variables to config.status.
   2465   if test "$ac_new_set" = set; then
   2466     case $ac_new_val in
   2467     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2468     *) ac_arg=$ac_var=$ac_new_val ;;
   2469     esac
   2470     case " $ac_configure_args " in
   2471       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2472       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2473     esac
   2474   fi
   2475 done
   2476 if $ac_cache_corrupted; then
   2477   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2479   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2480 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2481   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2482 fi
   2483 ## -------------------- ##
   2484 ## Main body of script. ##
   2485 ## -------------------- ##
   2486 
   2487 ac_ext=c
   2488 ac_cpp='$CPP $CPPFLAGS'
   2489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2492 
   2493 
   2494 ac_config_headers="$ac_config_headers config.h"
   2495 
   2496 
   2497 ac_aux_dir=
   2498 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2499   for ac_t in install-sh install.sh shtool; do
   2500     if test -f "$ac_dir/$ac_t"; then
   2501       ac_aux_dir=$ac_dir
   2502       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2503       break 2
   2504     fi
   2505   done
   2506 done
   2507 if test -z "$ac_aux_dir"; then
   2508   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2509 fi
   2510 
   2511 # These three variables are undocumented and unsupported,
   2512 # and are intended to be withdrawn in a future Autoconf release.
   2513 # They can cause serious problems if a builder's source tree is in a directory
   2514 # whose full name contains unusual characters.
   2515 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2516 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2517 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2518 
   2519 
   2520 # Make sure we can run config.sub.
   2521 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2522   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2523 
   2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2525 $as_echo_n "checking build system type... " >&6; }
   2526 if test "${ac_cv_build+set}" = set; then :
   2527   $as_echo_n "(cached) " >&6
   2528 else
   2529   ac_build_alias=$build_alias
   2530 test "x$ac_build_alias" = x &&
   2531   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2532 test "x$ac_build_alias" = x &&
   2533   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   2534 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2535   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2536 
   2537 fi
   2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2539 $as_echo "$ac_cv_build" >&6; }
   2540 case $ac_cv_build in
   2541 *-*-*) ;;
   2542 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   2543 esac
   2544 build=$ac_cv_build
   2545 ac_save_IFS=$IFS; IFS='-'
   2546 set x $ac_cv_build
   2547 shift
   2548 build_cpu=$1
   2549 build_vendor=$2
   2550 shift; shift
   2551 # Remember, the first character of IFS is used to create $*,
   2552 # except with old shells:
   2553 build_os=$*
   2554 IFS=$ac_save_IFS
   2555 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2556 
   2557 
   2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2559 $as_echo_n "checking host system type... " >&6; }
   2560 if test "${ac_cv_host+set}" = set; then :
   2561   $as_echo_n "(cached) " >&6
   2562 else
   2563   if test "x$host_alias" = x; then
   2564   ac_cv_host=$ac_cv_build
   2565 else
   2566   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2567     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2568 fi
   2569 
   2570 fi
   2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2572 $as_echo "$ac_cv_host" >&6; }
   2573 case $ac_cv_host in
   2574 *-*-*) ;;
   2575 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   2576 esac
   2577 host=$ac_cv_host
   2578 ac_save_IFS=$IFS; IFS='-'
   2579 set x $ac_cv_host
   2580 shift
   2581 host_cpu=$1
   2582 host_vendor=$2
   2583 shift; shift
   2584 # Remember, the first character of IFS is used to create $*,
   2585 # except with old shells:
   2586 host_os=$*
   2587 IFS=$ac_save_IFS
   2588 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2589 
   2590 
   2591 
   2592 LIBXML_MAJOR_VERSION=2
   2593 LIBXML_MINOR_VERSION=7
   2594 LIBXML_MICRO_VERSION=7
   2595 LIBXML_MICRO_VERSION_SUFFIX=
   2596 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
   2597 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
   2598 
   2599 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
   2600 
   2601 if test -f CVS/Entries ; then
   2602   extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
   2603   echo extra=$extra
   2604   if test "$extra" != ""
   2605   then
   2606       LIBXML_VERSION_EXTRA="-CVS$extra"
   2607   fi
   2608 else if test -d .svn ; then
   2609   extra=`svn info | grep Revision | sed 's+Revision: ++'`
   2610   echo extra=$extra
   2611   if test "$extra" != ""
   2612   then
   2613       LIBXML_VERSION_EXTRA="-SVN$extra"
   2614   fi
   2615 else if test -d .git ; then
   2616   extra=`git describe | sed 's+LIBXML[0-9.]*-++'`
   2617   echo extra=$extra
   2618   if test "$extra" != ""
   2619   then
   2620       LIBXML_VERSION_EXTRA="-GIT$extra"
   2621   fi
   2622 fi
   2623 fi
   2624 fi
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 VERSION=${LIBXML_VERSION}
   2634 
   2635 am__api_version='1.11'
   2636 
   2637 # Find a good install program.  We prefer a C program (faster),
   2638 # so one script is as good as another.  But avoid the broken or
   2639 # incompatible versions:
   2640 # SysV /etc/install, /usr/sbin/install
   2641 # SunOS /usr/etc/install
   2642 # IRIX /sbin/install
   2643 # AIX /bin/install
   2644 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2645 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2646 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2647 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2648 # OS/2's system install, which has a completely different semantic
   2649 # ./install, which can be erroneously created by make from ./install.sh.
   2650 # Reject install programs that cannot install multiple files.
   2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2652 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2653 if test -z "$INSTALL"; then
   2654 if test "${ac_cv_path_install+set}" = set; then :
   2655   $as_echo_n "(cached) " >&6
   2656 else
   2657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2658 for as_dir in $PATH
   2659 do
   2660   IFS=$as_save_IFS
   2661   test -z "$as_dir" && as_dir=.
   2662     # Account for people who put trailing slashes in PATH elements.
   2663 case $as_dir/ in #((
   2664   ./ | .// | /[cC]/* | \
   2665   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2666   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2667   /usr/ucb/* ) ;;
   2668   *)
   2669     # OSF1 and SCO ODT 3.0 have their own names for install.
   2670     # Don't use installbsd from OSF since it installs stuff as root
   2671     # by default.
   2672     for ac_prog in ginstall scoinst install; do
   2673       for ac_exec_ext in '' $ac_executable_extensions; do
   2674 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2675 	  if test $ac_prog = install &&
   2676 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2677 	    # AIX install.  It has an incompatible calling convention.
   2678 	    :
   2679 	  elif test $ac_prog = install &&
   2680 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2681 	    # program-specific install script used by HP pwplus--don't use.
   2682 	    :
   2683 	  else
   2684 	    rm -rf conftest.one conftest.two conftest.dir
   2685 	    echo one > conftest.one
   2686 	    echo two > conftest.two
   2687 	    mkdir conftest.dir
   2688 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2689 	      test -s conftest.one && test -s conftest.two &&
   2690 	      test -s conftest.dir/conftest.one &&
   2691 	      test -s conftest.dir/conftest.two
   2692 	    then
   2693 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2694 	      break 3
   2695 	    fi
   2696 	  fi
   2697 	fi
   2698       done
   2699     done
   2700     ;;
   2701 esac
   2702 
   2703   done
   2704 IFS=$as_save_IFS
   2705 
   2706 rm -rf conftest.one conftest.two conftest.dir
   2707 
   2708 fi
   2709   if test "${ac_cv_path_install+set}" = set; then
   2710     INSTALL=$ac_cv_path_install
   2711   else
   2712     # As a last resort, use the slow shell script.  Don't cache a
   2713     # value for INSTALL within a source directory, because that will
   2714     # break other packages using the cache if that directory is
   2715     # removed, or if the value is a relative name.
   2716     INSTALL=$ac_install_sh
   2717   fi
   2718 fi
   2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2720 $as_echo "$INSTALL" >&6; }
   2721 
   2722 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2723 # It thinks the first close brace ends the variable substitution.
   2724 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2725 
   2726 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2727 
   2728 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2729 
   2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2731 $as_echo_n "checking whether build environment is sane... " >&6; }
   2732 # Just in case
   2733 sleep 1
   2734 echo timestamp > conftest.file
   2735 # Reject unsafe characters in $srcdir or the absolute working directory
   2736 # name.  Accept space and tab only in the latter.
   2737 am_lf='
   2738 '
   2739 case `pwd` in
   2740   *[\\\"\#\$\&\'\`$am_lf]*)
   2741     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   2742 esac
   2743 case $srcdir in
   2744   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2745     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2746 esac
   2747 
   2748 # Do `set' in a subshell so we don't clobber the current shell's
   2749 # arguments.  Must try -L first in case configure is actually a
   2750 # symlink; some systems play weird games with the mod time of symlinks
   2751 # (eg FreeBSD returns the mod time of the symlink's containing
   2752 # directory).
   2753 if (
   2754    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2755    if test "$*" = "X"; then
   2756       # -L didn't work.
   2757       set X `ls -t "$srcdir/configure" conftest.file`
   2758    fi
   2759    rm -f conftest.file
   2760    if test "$*" != "X $srcdir/configure conftest.file" \
   2761       && test "$*" != "X conftest.file $srcdir/configure"; then
   2762 
   2763       # If neither matched, then we have a broken ls.  This can happen
   2764       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2765       # broken ls alias from the environment.  This has actually
   2766       # happened.  Such a system could not be considered "sane".
   2767       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2768 alias in your environment" "$LINENO" 5
   2769    fi
   2770 
   2771    test "$2" = conftest.file
   2772    )
   2773 then
   2774    # Ok.
   2775    :
   2776 else
   2777    as_fn_error "newly created file is older than distributed files!
   2778 Check your system clock" "$LINENO" 5
   2779 fi
   2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2781 $as_echo "yes" >&6; }
   2782 test "$program_prefix" != NONE &&
   2783   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2784 # Use a double $ so make ignores it.
   2785 test "$program_suffix" != NONE &&
   2786   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2787 # Double any \ or $.
   2788 # By default was `s,x,x', remove it if useless.
   2789 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2790 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2791 
   2792 # expand $ac_aux_dir to an absolute path
   2793 am_aux_dir=`cd $ac_aux_dir && pwd`
   2794 
   2795 if test x"${MISSING+set}" != xset; then
   2796   case $am_aux_dir in
   2797   *\ * | *\	*)
   2798     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2799   *)
   2800     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2801   esac
   2802 fi
   2803 # Use eval to expand $SHELL
   2804 if eval "$MISSING --run true"; then
   2805   am_missing_run="$MISSING --run "
   2806 else
   2807   am_missing_run=
   2808   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2809 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2810 fi
   2811 
   2812 if test x"${install_sh}" != xset; then
   2813   case $am_aux_dir in
   2814   *\ * | *\	*)
   2815     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2816   *)
   2817     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2818   esac
   2819 fi
   2820 
   2821 # Installed binaries are usually stripped using `strip' when the user
   2822 # run `make install-strip'.  However `strip' might not be the right
   2823 # tool to use in cross-compilation environments, therefore Automake
   2824 # will honor the `STRIP' environment variable to overrule this program.
   2825 if test "$cross_compiling" != no; then
   2826   if test -n "$ac_tool_prefix"; then
   2827   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2828 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2830 $as_echo_n "checking for $ac_word... " >&6; }
   2831 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2832   $as_echo_n "(cached) " >&6
   2833 else
   2834   if test -n "$STRIP"; then
   2835   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2836 else
   2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2838 for as_dir in $PATH
   2839 do
   2840   IFS=$as_save_IFS
   2841   test -z "$as_dir" && as_dir=.
   2842     for ac_exec_ext in '' $ac_executable_extensions; do
   2843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2844     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2846     break 2
   2847   fi
   2848 done
   2849   done
   2850 IFS=$as_save_IFS
   2851 
   2852 fi
   2853 fi
   2854 STRIP=$ac_cv_prog_STRIP
   2855 if test -n "$STRIP"; then
   2856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2857 $as_echo "$STRIP" >&6; }
   2858 else
   2859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2860 $as_echo "no" >&6; }
   2861 fi
   2862 
   2863 
   2864 fi
   2865 if test -z "$ac_cv_prog_STRIP"; then
   2866   ac_ct_STRIP=$STRIP
   2867   # Extract the first word of "strip", so it can be a program name with args.
   2868 set dummy strip; ac_word=$2
   2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2870 $as_echo_n "checking for $ac_word... " >&6; }
   2871 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2872   $as_echo_n "(cached) " >&6
   2873 else
   2874   if test -n "$ac_ct_STRIP"; then
   2875   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2876 else
   2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2878 for as_dir in $PATH
   2879 do
   2880   IFS=$as_save_IFS
   2881   test -z "$as_dir" && as_dir=.
   2882     for ac_exec_ext in '' $ac_executable_extensions; do
   2883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2884     ac_cv_prog_ac_ct_STRIP="strip"
   2885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2886     break 2
   2887   fi
   2888 done
   2889   done
   2890 IFS=$as_save_IFS
   2891 
   2892 fi
   2893 fi
   2894 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2895 if test -n "$ac_ct_STRIP"; then
   2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2897 $as_echo "$ac_ct_STRIP" >&6; }
   2898 else
   2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2900 $as_echo "no" >&6; }
   2901 fi
   2902 
   2903   if test "x$ac_ct_STRIP" = x; then
   2904     STRIP=":"
   2905   else
   2906     case $cross_compiling:$ac_tool_warned in
   2907 yes:)
   2908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2910 ac_tool_warned=yes ;;
   2911 esac
   2912     STRIP=$ac_ct_STRIP
   2913   fi
   2914 else
   2915   STRIP="$ac_cv_prog_STRIP"
   2916 fi
   2917 
   2918 fi
   2919 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2920 
   2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2922 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2923 if test -z "$MKDIR_P"; then
   2924   if test "${ac_cv_path_mkdir+set}" = set; then :
   2925   $as_echo_n "(cached) " >&6
   2926 else
   2927   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2928 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2929 do
   2930   IFS=$as_save_IFS
   2931   test -z "$as_dir" && as_dir=.
   2932     for ac_prog in mkdir gmkdir; do
   2933 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2934 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2935 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2936 	     'mkdir (GNU coreutils) '* | \
   2937 	     'mkdir (coreutils) '* | \
   2938 	     'mkdir (fileutils) '4.1*)
   2939 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2940 	       break 3;;
   2941 	   esac
   2942 	 done
   2943        done
   2944   done
   2945 IFS=$as_save_IFS
   2946 
   2947 fi
   2948 
   2949   test -d ./--version && rmdir ./--version
   2950   if test "${ac_cv_path_mkdir+set}" = set; then
   2951     MKDIR_P="$ac_cv_path_mkdir -p"
   2952   else
   2953     # As a last resort, use the slow shell script.  Don't cache a
   2954     # value for MKDIR_P within a source directory, because that will
   2955     # break other packages using the cache if that directory is
   2956     # removed, or if the value is a relative name.
   2957     MKDIR_P="$ac_install_sh -d"
   2958   fi
   2959 fi
   2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2961 $as_echo "$MKDIR_P" >&6; }
   2962 
   2963 mkdir_p="$MKDIR_P"
   2964 case $mkdir_p in
   2965   [\\/$]* | ?:[\\/]*) ;;
   2966   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2967 esac
   2968 
   2969 for ac_prog in gawk mawk nawk awk
   2970 do
   2971   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2972 set dummy $ac_prog; ac_word=$2
   2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2974 $as_echo_n "checking for $ac_word... " >&6; }
   2975 if test "${ac_cv_prog_AWK+set}" = set; then :
   2976   $as_echo_n "(cached) " >&6
   2977 else
   2978   if test -n "$AWK"; then
   2979   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2980 else
   2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2982 for as_dir in $PATH
   2983 do
   2984   IFS=$as_save_IFS
   2985   test -z "$as_dir" && as_dir=.
   2986     for ac_exec_ext in '' $ac_executable_extensions; do
   2987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2988     ac_cv_prog_AWK="$ac_prog"
   2989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2990     break 2
   2991   fi
   2992 done
   2993   done
   2994 IFS=$as_save_IFS
   2995 
   2996 fi
   2997 fi
   2998 AWK=$ac_cv_prog_AWK
   2999 if test -n "$AWK"; then
   3000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3001 $as_echo "$AWK" >&6; }
   3002 else
   3003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3004 $as_echo "no" >&6; }
   3005 fi
   3006 
   3007 
   3008   test -n "$AWK" && break
   3009 done
   3010 
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3012 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3013 set x ${MAKE-make}
   3014 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3015 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   3016   $as_echo_n "(cached) " >&6
   3017 else
   3018   cat >conftest.make <<\_ACEOF
   3019 SHELL = /bin/sh
   3020 all:
   3021 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3022 _ACEOF
   3023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   3024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3025   *@@@%%%=?*=@@@%%%*)
   3026     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3027   *)
   3028     eval ac_cv_prog_make_${ac_make}_set=no;;
   3029 esac
   3030 rm -f conftest.make
   3031 fi
   3032 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3034 $as_echo "yes" >&6; }
   3035   SET_MAKE=
   3036 else
   3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3038 $as_echo "no" >&6; }
   3039   SET_MAKE="MAKE=${MAKE-make}"
   3040 fi
   3041 
   3042 rm -rf .tst 2>/dev/null
   3043 mkdir .tst 2>/dev/null
   3044 if test -d .tst; then
   3045   am__leading_dot=.
   3046 else
   3047   am__leading_dot=_
   3048 fi
   3049 rmdir .tst 2>/dev/null
   3050 
   3051 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3052   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3053   # is not polluted with repeated "-I."
   3054   am__isrc=' -I$(srcdir)'
   3055   # test to see if srcdir already configured
   3056   if test -f $srcdir/config.status; then
   3057     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3058   fi
   3059 fi
   3060 
   3061 # test whether we have cygpath
   3062 if test -z "$CYGPATH_W"; then
   3063   if (cygpath --version) >/dev/null 2>/dev/null; then
   3064     CYGPATH_W='cygpath -w'
   3065   else
   3066     CYGPATH_W=echo
   3067   fi
   3068 fi
   3069 
   3070 
   3071 # Define the identity of the package.
   3072  PACKAGE=libxml2
   3073  VERSION=$VERSION
   3074 
   3075 
   3076 cat >>confdefs.h <<_ACEOF
   3077 #define PACKAGE "$PACKAGE"
   3078 _ACEOF
   3079 
   3080 
   3081 cat >>confdefs.h <<_ACEOF
   3082 #define VERSION "$VERSION"
   3083 _ACEOF
   3084 
   3085 # Some tools Automake needs.
   3086 
   3087 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3088 
   3089 
   3090 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3091 
   3092 
   3093 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3094 
   3095 
   3096 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3097 
   3098 
   3099 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3100 
   3101 # We need awk for the "check" target.  The system "awk" is bad on
   3102 # some platforms.
   3103 # Always define AMTAR for backward compatibility.
   3104 
   3105 AMTAR=${AMTAR-"${am_missing_run}tar"}
   3106 
   3107 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3108 
   3109 
   3110 
   3111 
   3112 
   3113 
   3114 ac_ext=c
   3115 ac_cpp='$CPP $CPPFLAGS'
   3116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3119 if test -n "$ac_tool_prefix"; then
   3120   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3121 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3123 $as_echo_n "checking for $ac_word... " >&6; }
   3124 if test "${ac_cv_prog_CC+set}" = set; then :
   3125   $as_echo_n "(cached) " >&6
   3126 else
   3127   if test -n "$CC"; then
   3128   ac_cv_prog_CC="$CC" # Let the user override the test.
   3129 else
   3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3131 for as_dir in $PATH
   3132 do
   3133   IFS=$as_save_IFS
   3134   test -z "$as_dir" && as_dir=.
   3135     for ac_exec_ext in '' $ac_executable_extensions; do
   3136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3137     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3139     break 2
   3140   fi
   3141 done
   3142   done
   3143 IFS=$as_save_IFS
   3144 
   3145 fi
   3146 fi
   3147 CC=$ac_cv_prog_CC
   3148 if test -n "$CC"; then
   3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3150 $as_echo "$CC" >&6; }
   3151 else
   3152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3153 $as_echo "no" >&6; }
   3154 fi
   3155 
   3156 
   3157 fi
   3158 if test -z "$ac_cv_prog_CC"; then
   3159   ac_ct_CC=$CC
   3160   # Extract the first word of "gcc", so it can be a program name with args.
   3161 set dummy gcc; ac_word=$2
   3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3163 $as_echo_n "checking for $ac_word... " >&6; }
   3164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3165   $as_echo_n "(cached) " >&6
   3166 else
   3167   if test -n "$ac_ct_CC"; then
   3168   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3169 else
   3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3171 for as_dir in $PATH
   3172 do
   3173   IFS=$as_save_IFS
   3174   test -z "$as_dir" && as_dir=.
   3175     for ac_exec_ext in '' $ac_executable_extensions; do
   3176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3177     ac_cv_prog_ac_ct_CC="gcc"
   3178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3179     break 2
   3180   fi
   3181 done
   3182   done
   3183 IFS=$as_save_IFS
   3184 
   3185 fi
   3186 fi
   3187 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3188 if test -n "$ac_ct_CC"; then
   3189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3190 $as_echo "$ac_ct_CC" >&6; }
   3191 else
   3192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3193 $as_echo "no" >&6; }
   3194 fi
   3195 
   3196   if test "x$ac_ct_CC" = x; then
   3197     CC=""
   3198   else
   3199     case $cross_compiling:$ac_tool_warned in
   3200 yes:)
   3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3203 ac_tool_warned=yes ;;
   3204 esac
   3205     CC=$ac_ct_CC
   3206   fi
   3207 else
   3208   CC="$ac_cv_prog_CC"
   3209 fi
   3210 
   3211 if test -z "$CC"; then
   3212           if test -n "$ac_tool_prefix"; then
   3213     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3214 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3216 $as_echo_n "checking for $ac_word... " >&6; }
   3217 if test "${ac_cv_prog_CC+set}" = set; then :
   3218   $as_echo_n "(cached) " >&6
   3219 else
   3220   if test -n "$CC"; then
   3221   ac_cv_prog_CC="$CC" # Let the user override the test.
   3222 else
   3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3224 for as_dir in $PATH
   3225 do
   3226   IFS=$as_save_IFS
   3227   test -z "$as_dir" && as_dir=.
   3228     for ac_exec_ext in '' $ac_executable_extensions; do
   3229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3230     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3232     break 2
   3233   fi
   3234 done
   3235   done
   3236 IFS=$as_save_IFS
   3237 
   3238 fi
   3239 fi
   3240 CC=$ac_cv_prog_CC
   3241 if test -n "$CC"; then
   3242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3243 $as_echo "$CC" >&6; }
   3244 else
   3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3246 $as_echo "no" >&6; }
   3247 fi
   3248 
   3249 
   3250   fi
   3251 fi
   3252 if test -z "$CC"; then
   3253   # Extract the first word of "cc", so it can be a program name with args.
   3254 set dummy cc; ac_word=$2
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3256 $as_echo_n "checking for $ac_word... " >&6; }
   3257 if test "${ac_cv_prog_CC+set}" = set; then :
   3258   $as_echo_n "(cached) " >&6
   3259 else
   3260   if test -n "$CC"; then
   3261   ac_cv_prog_CC="$CC" # Let the user override the test.
   3262 else
   3263   ac_prog_rejected=no
   3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3265 for as_dir in $PATH
   3266 do
   3267   IFS=$as_save_IFS
   3268   test -z "$as_dir" && as_dir=.
   3269     for ac_exec_ext in '' $ac_executable_extensions; do
   3270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3271     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3272        ac_prog_rejected=yes
   3273        continue
   3274      fi
   3275     ac_cv_prog_CC="cc"
   3276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3277     break 2
   3278   fi
   3279 done
   3280   done
   3281 IFS=$as_save_IFS
   3282 
   3283 if test $ac_prog_rejected = yes; then
   3284   # We found a bogon in the path, so make sure we never use it.
   3285   set dummy $ac_cv_prog_CC
   3286   shift
   3287   if test $# != 0; then
   3288     # We chose a different compiler from the bogus one.
   3289     # However, it has the same basename, so the bogon will be chosen
   3290     # first if we set CC to just the basename; use the full file name.
   3291     shift
   3292     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3293   fi
   3294 fi
   3295 fi
   3296 fi
   3297 CC=$ac_cv_prog_CC
   3298 if test -n "$CC"; then
   3299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3300 $as_echo "$CC" >&6; }
   3301 else
   3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3303 $as_echo "no" >&6; }
   3304 fi
   3305 
   3306 
   3307 fi
   3308 if test -z "$CC"; then
   3309   if test -n "$ac_tool_prefix"; then
   3310   for ac_prog in cl.exe
   3311   do
   3312     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3313 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3315 $as_echo_n "checking for $ac_word... " >&6; }
   3316 if test "${ac_cv_prog_CC+set}" = set; then :
   3317   $as_echo_n "(cached) " >&6
   3318 else
   3319   if test -n "$CC"; then
   3320   ac_cv_prog_CC="$CC" # Let the user override the test.
   3321 else
   3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3323 for as_dir in $PATH
   3324 do
   3325   IFS=$as_save_IFS
   3326   test -z "$as_dir" && as_dir=.
   3327     for ac_exec_ext in '' $ac_executable_extensions; do
   3328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3329     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3331     break 2
   3332   fi
   3333 done
   3334   done
   3335 IFS=$as_save_IFS
   3336 
   3337 fi
   3338 fi
   3339 CC=$ac_cv_prog_CC
   3340 if test -n "$CC"; then
   3341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3342 $as_echo "$CC" >&6; }
   3343 else
   3344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3345 $as_echo "no" >&6; }
   3346 fi
   3347 
   3348 
   3349     test -n "$CC" && break
   3350   done
   3351 fi
   3352 if test -z "$CC"; then
   3353   ac_ct_CC=$CC
   3354   for ac_prog in cl.exe
   3355 do
   3356   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3357 set dummy $ac_prog; ac_word=$2
   3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3359 $as_echo_n "checking for $ac_word... " >&6; }
   3360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3361   $as_echo_n "(cached) " >&6
   3362 else
   3363   if test -n "$ac_ct_CC"; then
   3364   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3365 else
   3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3367 for as_dir in $PATH
   3368 do
   3369   IFS=$as_save_IFS
   3370   test -z "$as_dir" && as_dir=.
   3371     for ac_exec_ext in '' $ac_executable_extensions; do
   3372   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3373     ac_cv_prog_ac_ct_CC="$ac_prog"
   3374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3375     break 2
   3376   fi
   3377 done
   3378   done
   3379 IFS=$as_save_IFS
   3380 
   3381 fi
   3382 fi
   3383 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3384 if test -n "$ac_ct_CC"; then
   3385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3386 $as_echo "$ac_ct_CC" >&6; }
   3387 else
   3388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3389 $as_echo "no" >&6; }
   3390 fi
   3391 
   3392 
   3393   test -n "$ac_ct_CC" && break
   3394 done
   3395 
   3396   if test "x$ac_ct_CC" = x; then
   3397     CC=""
   3398   else
   3399     case $cross_compiling:$ac_tool_warned in
   3400 yes:)
   3401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3403 ac_tool_warned=yes ;;
   3404 esac
   3405     CC=$ac_ct_CC
   3406   fi
   3407 fi
   3408 
   3409 fi
   3410 
   3411 
   3412 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3414 as_fn_error "no acceptable C compiler found in \$PATH
   3415 See \`config.log' for more details." "$LINENO" 5; }
   3416 
   3417 # Provide some information about the compiler.
   3418 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3419 set X $ac_compile
   3420 ac_compiler=$2
   3421 for ac_option in --version -v -V -qversion; do
   3422   { { ac_try="$ac_compiler $ac_option >&5"
   3423 case "(($ac_try" in
   3424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3425   *) ac_try_echo=$ac_try;;
   3426 esac
   3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3428 $as_echo "$ac_try_echo"; } >&5
   3429   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3430   ac_status=$?
   3431   if test -s conftest.err; then
   3432     sed '10a\
   3433 ... rest of stderr output deleted ...
   3434          10q' conftest.err >conftest.er1
   3435     cat conftest.er1 >&5
   3436   fi
   3437   rm -f conftest.er1 conftest.err
   3438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3439   test $ac_status = 0; }
   3440 done
   3441 
   3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3443 /* end confdefs.h.  */
   3444 
   3445 int
   3446 main ()
   3447 {
   3448 
   3449   ;
   3450   return 0;
   3451 }
   3452 _ACEOF
   3453 ac_clean_files_save=$ac_clean_files
   3454 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3455 # Try to create an executable without -o first, disregard a.out.
   3456 # It will help us diagnose broken compilers, and finding out an intuition
   3457 # of exeext.
   3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3459 $as_echo_n "checking whether the C compiler works... " >&6; }
   3460 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3461 
   3462 # The possible output files:
   3463 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3464 
   3465 ac_rmfiles=
   3466 for ac_file in $ac_files
   3467 do
   3468   case $ac_file in
   3469     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3470     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3471   esac
   3472 done
   3473 rm -f $ac_rmfiles
   3474 
   3475 if { { ac_try="$ac_link_default"
   3476 case "(($ac_try" in
   3477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3478   *) ac_try_echo=$ac_try;;
   3479 esac
   3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3481 $as_echo "$ac_try_echo"; } >&5
   3482   (eval "$ac_link_default") 2>&5
   3483   ac_status=$?
   3484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3485   test $ac_status = 0; }; then :
   3486   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3487 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3488 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3489 # so that the user can short-circuit this test for compilers unknown to
   3490 # Autoconf.
   3491 for ac_file in $ac_files ''
   3492 do
   3493   test -f "$ac_file" || continue
   3494   case $ac_file in
   3495     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3496 	;;
   3497     [ab].out )
   3498 	# We found the default executable, but exeext='' is most
   3499 	# certainly right.
   3500 	break;;
   3501     *.* )
   3502 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3503 	then :; else
   3504 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3505 	fi
   3506 	# We set ac_cv_exeext here because the later test for it is not
   3507 	# safe: cross compilers may not add the suffix if given an `-o'
   3508 	# argument, so we may need to know it at that point already.
   3509 	# Even if this section looks crufty: it has the advantage of
   3510 	# actually working.
   3511 	break;;
   3512     * )
   3513 	break;;
   3514   esac
   3515 done
   3516 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3517 
   3518 else
   3519   ac_file=''
   3520 fi
   3521 if test -z "$ac_file"; then :
   3522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3523 $as_echo "no" >&6; }
   3524 $as_echo "$as_me: failed program was:" >&5
   3525 sed 's/^/| /' conftest.$ac_ext >&5
   3526 
   3527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3529 { as_fn_set_status 77
   3530 as_fn_error "C compiler cannot create executables
   3531 See \`config.log' for more details." "$LINENO" 5; }; }
   3532 else
   3533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3534 $as_echo "yes" >&6; }
   3535 fi
   3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3537 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3539 $as_echo "$ac_file" >&6; }
   3540 ac_exeext=$ac_cv_exeext
   3541 
   3542 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3543 ac_clean_files=$ac_clean_files_save
   3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3545 $as_echo_n "checking for suffix of executables... " >&6; }
   3546 if { { ac_try="$ac_link"
   3547 case "(($ac_try" in
   3548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3549   *) ac_try_echo=$ac_try;;
   3550 esac
   3551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3552 $as_echo "$ac_try_echo"; } >&5
   3553   (eval "$ac_link") 2>&5
   3554   ac_status=$?
   3555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3556   test $ac_status = 0; }; then :
   3557   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3558 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3559 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3560 # `rm'.
   3561 for ac_file in conftest.exe conftest conftest.*; do
   3562   test -f "$ac_file" || continue
   3563   case $ac_file in
   3564     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3565     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3566 	  break;;
   3567     * ) break;;
   3568   esac
   3569 done
   3570 else
   3571   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3573 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3574 See \`config.log' for more details." "$LINENO" 5; }
   3575 fi
   3576 rm -f conftest conftest$ac_cv_exeext
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3578 $as_echo "$ac_cv_exeext" >&6; }
   3579 
   3580 rm -f conftest.$ac_ext
   3581 EXEEXT=$ac_cv_exeext
   3582 ac_exeext=$EXEEXT
   3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3584 /* end confdefs.h.  */
   3585 #include <stdio.h>
   3586 int
   3587 main ()
   3588 {
   3589 FILE *f = fopen ("conftest.out", "w");
   3590  return ferror (f) || fclose (f) != 0;
   3591 
   3592   ;
   3593   return 0;
   3594 }
   3595 _ACEOF
   3596 ac_clean_files="$ac_clean_files conftest.out"
   3597 # Check that the compiler produces executables we can run.  If not, either
   3598 # the compiler is broken, or we cross compile.
   3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3600 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3601 if test "$cross_compiling" != yes; then
   3602   { { ac_try="$ac_link"
   3603 case "(($ac_try" in
   3604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3605   *) ac_try_echo=$ac_try;;
   3606 esac
   3607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3608 $as_echo "$ac_try_echo"; } >&5
   3609   (eval "$ac_link") 2>&5
   3610   ac_status=$?
   3611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3612   test $ac_status = 0; }
   3613   if { ac_try='./conftest$ac_cv_exeext'
   3614   { { case "(($ac_try" in
   3615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3616   *) ac_try_echo=$ac_try;;
   3617 esac
   3618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3619 $as_echo "$ac_try_echo"; } >&5
   3620   (eval "$ac_try") 2>&5
   3621   ac_status=$?
   3622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3623   test $ac_status = 0; }; }; then
   3624     cross_compiling=no
   3625   else
   3626     if test "$cross_compiling" = maybe; then
   3627 	cross_compiling=yes
   3628     else
   3629 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3631 as_fn_error "cannot run C compiled programs.
   3632 If you meant to cross compile, use \`--host'.
   3633 See \`config.log' for more details." "$LINENO" 5; }
   3634     fi
   3635   fi
   3636 fi
   3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3638 $as_echo "$cross_compiling" >&6; }
   3639 
   3640 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3641 ac_clean_files=$ac_clean_files_save
   3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3643 $as_echo_n "checking for suffix of object files... " >&6; }
   3644 if test "${ac_cv_objext+set}" = set; then :
   3645   $as_echo_n "(cached) " >&6
   3646 else
   3647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3648 /* end confdefs.h.  */
   3649 
   3650 int
   3651 main ()
   3652 {
   3653 
   3654   ;
   3655   return 0;
   3656 }
   3657 _ACEOF
   3658 rm -f conftest.o conftest.obj
   3659 if { { ac_try="$ac_compile"
   3660 case "(($ac_try" in
   3661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3662   *) ac_try_echo=$ac_try;;
   3663 esac
   3664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3665 $as_echo "$ac_try_echo"; } >&5
   3666   (eval "$ac_compile") 2>&5
   3667   ac_status=$?
   3668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3669   test $ac_status = 0; }; then :
   3670   for ac_file in conftest.o conftest.obj conftest.*; do
   3671   test -f "$ac_file" || continue;
   3672   case $ac_file in
   3673     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3674     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3675        break;;
   3676   esac
   3677 done
   3678 else
   3679   $as_echo "$as_me: failed program was:" >&5
   3680 sed 's/^/| /' conftest.$ac_ext >&5
   3681 
   3682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3684 as_fn_error "cannot compute suffix of object files: cannot compile
   3685 See \`config.log' for more details." "$LINENO" 5; }
   3686 fi
   3687 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3688 fi
   3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3690 $as_echo "$ac_cv_objext" >&6; }
   3691 OBJEXT=$ac_cv_objext
   3692 ac_objext=$OBJEXT
   3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3694 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3695 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3696   $as_echo_n "(cached) " >&6
   3697 else
   3698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3699 /* end confdefs.h.  */
   3700 
   3701 int
   3702 main ()
   3703 {
   3704 #ifndef __GNUC__
   3705        choke me
   3706 #endif
   3707 
   3708   ;
   3709   return 0;
   3710 }
   3711 _ACEOF
   3712 if ac_fn_c_try_compile "$LINENO"; then :
   3713   ac_compiler_gnu=yes
   3714 else
   3715   ac_compiler_gnu=no
   3716 fi
   3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3718 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3719 
   3720 fi
   3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3722 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3723 if test $ac_compiler_gnu = yes; then
   3724   GCC=yes
   3725 else
   3726   GCC=
   3727 fi
   3728 ac_test_CFLAGS=${CFLAGS+set}
   3729 ac_save_CFLAGS=$CFLAGS
   3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3731 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3732 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3733   $as_echo_n "(cached) " >&6
   3734 else
   3735   ac_save_c_werror_flag=$ac_c_werror_flag
   3736    ac_c_werror_flag=yes
   3737    ac_cv_prog_cc_g=no
   3738    CFLAGS="-g"
   3739    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3740 /* end confdefs.h.  */
   3741 
   3742 int
   3743 main ()
   3744 {
   3745 
   3746   ;
   3747   return 0;
   3748 }
   3749 _ACEOF
   3750 if ac_fn_c_try_compile "$LINENO"; then :
   3751   ac_cv_prog_cc_g=yes
   3752 else
   3753   CFLAGS=""
   3754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3755 /* end confdefs.h.  */
   3756 
   3757 int
   3758 main ()
   3759 {
   3760 
   3761   ;
   3762   return 0;
   3763 }
   3764 _ACEOF
   3765 if ac_fn_c_try_compile "$LINENO"; then :
   3766 
   3767 else
   3768   ac_c_werror_flag=$ac_save_c_werror_flag
   3769 	 CFLAGS="-g"
   3770 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3771 /* end confdefs.h.  */
   3772 
   3773 int
   3774 main ()
   3775 {
   3776 
   3777   ;
   3778   return 0;
   3779 }
   3780 _ACEOF
   3781 if ac_fn_c_try_compile "$LINENO"; then :
   3782   ac_cv_prog_cc_g=yes
   3783 fi
   3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3785 fi
   3786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3787 fi
   3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3789    ac_c_werror_flag=$ac_save_c_werror_flag
   3790 fi
   3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3792 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3793 if test "$ac_test_CFLAGS" = set; then
   3794   CFLAGS=$ac_save_CFLAGS
   3795 elif test $ac_cv_prog_cc_g = yes; then
   3796   if test "$GCC" = yes; then
   3797     CFLAGS="-g -O2"
   3798   else
   3799     CFLAGS="-g"
   3800   fi
   3801 else
   3802   if test "$GCC" = yes; then
   3803     CFLAGS="-O2"
   3804   else
   3805     CFLAGS=
   3806   fi
   3807 fi
   3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3809 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3810 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3811   $as_echo_n "(cached) " >&6
   3812 else
   3813   ac_cv_prog_cc_c89=no
   3814 ac_save_CC=$CC
   3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3816 /* end confdefs.h.  */
   3817 #include <stdarg.h>
   3818 #include <stdio.h>
   3819 #include <sys/types.h>
   3820 #include <sys/stat.h>
   3821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3822 struct buf { int x; };
   3823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3824 static char *e (p, i)
   3825      char **p;
   3826      int i;
   3827 {
   3828   return p[i];
   3829 }
   3830 static char *f (char * (*g) (char **, int), char **p, ...)
   3831 {
   3832   char *s;
   3833   va_list v;
   3834   va_start (v,p);
   3835   s = g (p, va_arg (v,int));
   3836   va_end (v);
   3837   return s;
   3838 }
   3839 
   3840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3841    function prototypes and stuff, but not '\xHH' hex character constants.
   3842    These don't provoke an error unfortunately, instead are silently treated
   3843    as 'x'.  The following induces an error, until -std is added to get
   3844    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3845    array size at least.  It's necessary to write '\x00'==0 to get something
   3846    that's true only with -std.  */
   3847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3848 
   3849 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3850    inside strings and character constants.  */
   3851 #define FOO(x) 'x'
   3852 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3853 
   3854 int test (int i, double x);
   3855 struct s1 {int (*f) (int a);};
   3856 struct s2 {int (*f) (double a);};
   3857 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3858 int argc;
   3859 char **argv;
   3860 int
   3861 main ()
   3862 {
   3863 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3864   ;
   3865   return 0;
   3866 }
   3867 _ACEOF
   3868 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3869 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3870 do
   3871   CC="$ac_save_CC $ac_arg"
   3872   if ac_fn_c_try_compile "$LINENO"; then :
   3873   ac_cv_prog_cc_c89=$ac_arg
   3874 fi
   3875 rm -f core conftest.err conftest.$ac_objext
   3876   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3877 done
   3878 rm -f conftest.$ac_ext
   3879 CC=$ac_save_CC
   3880 
   3881 fi
   3882 # AC_CACHE_VAL
   3883 case "x$ac_cv_prog_cc_c89" in
   3884   x)
   3885     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3886 $as_echo "none needed" >&6; } ;;
   3887   xno)
   3888     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3889 $as_echo "unsupported" >&6; } ;;
   3890   *)
   3891     CC="$CC $ac_cv_prog_cc_c89"
   3892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3893 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3894 esac
   3895 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3896 
   3897 fi
   3898 
   3899 ac_ext=c
   3900 ac_cpp='$CPP $CPPFLAGS'
   3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3904 DEPDIR="${am__leading_dot}deps"
   3905 
   3906 ac_config_commands="$ac_config_commands depfiles"
   3907 
   3908 
   3909 am_make=${MAKE-make}
   3910 cat > confinc << 'END'
   3911 am__doit:
   3912 	@echo this is the am__doit target
   3913 .PHONY: am__doit
   3914 END
   3915 # If we don't find an include directive, just comment out the code.
   3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3917 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3918 am__include="#"
   3919 am__quote=
   3920 _am_result=none
   3921 # First try GNU make style include.
   3922 echo "include confinc" > confmf
   3923 # Ignore all kinds of additional output from `make'.
   3924 case `$am_make -s -f confmf 2> /dev/null` in #(
   3925 *the\ am__doit\ target*)
   3926   am__include=include
   3927   am__quote=
   3928   _am_result=GNU
   3929   ;;
   3930 esac
   3931 # Now try BSD make style include.
   3932 if test "$am__include" = "#"; then
   3933    echo '.include "confinc"' > confmf
   3934    case `$am_make -s -f confmf 2> /dev/null` in #(
   3935    *the\ am__doit\ target*)
   3936      am__include=.include
   3937      am__quote="\""
   3938      _am_result=BSD
   3939      ;;
   3940    esac
   3941 fi
   3942 
   3943 
   3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3945 $as_echo "$_am_result" >&6; }
   3946 rm -f confinc confmf
   3947 
   3948 # Check whether --enable-dependency-tracking was given.
   3949 if test "${enable_dependency_tracking+set}" = set; then :
   3950   enableval=$enable_dependency_tracking;
   3951 fi
   3952 
   3953 if test "x$enable_dependency_tracking" != xno; then
   3954   am_depcomp="$ac_aux_dir/depcomp"
   3955   AMDEPBACKSLASH='\'
   3956 fi
   3957  if test "x$enable_dependency_tracking" != xno; then
   3958   AMDEP_TRUE=
   3959   AMDEP_FALSE='#'
   3960 else
   3961   AMDEP_TRUE='#'
   3962   AMDEP_FALSE=
   3963 fi
   3964 
   3965 
   3966 
   3967 depcc="$CC"   am_compiler_list=
   3968 
   3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3970 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3971 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3972   $as_echo_n "(cached) " >&6
   3973 else
   3974   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3975   # We make a subdir and do the tests there.  Otherwise we can end up
   3976   # making bogus files that we don't know about and never remove.  For
   3977   # instance it was reported that on HP-UX the gcc test will end up
   3978   # making a dummy file named `D' -- because `-MD' means `put the output
   3979   # in D'.
   3980   mkdir conftest.dir
   3981   # Copy depcomp to subdir because otherwise we won't find it if we're
   3982   # using a relative directory.
   3983   cp "$am_depcomp" conftest.dir
   3984   cd conftest.dir
   3985   # We will build objects and dependencies in a subdirectory because
   3986   # it helps to detect inapplicable dependency modes.  For instance
   3987   # both Tru64's cc and ICC support -MD to output dependencies as a
   3988   # side effect of compilation, but ICC will put the dependencies in
   3989   # the current directory while Tru64 will put them in the object
   3990   # directory.
   3991   mkdir sub
   3992 
   3993   am_cv_CC_dependencies_compiler_type=none
   3994   if test "$am_compiler_list" = ""; then
   3995      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3996   fi
   3997   am__universal=false
   3998   case " $depcc " in #(
   3999      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4000      esac
   4001 
   4002   for depmode in $am_compiler_list; do
   4003     # Setup a source with many dependencies, because some compilers
   4004     # like to wrap large dependency lists on column 80 (with \), and
   4005     # we should not choose a depcomp mode which is confused by this.
   4006     #
   4007     # We need to recreate these files for each test, as the compiler may
   4008     # overwrite some of them when testing with obscure command lines.
   4009     # This happens at least with the AIX C compiler.
   4010     : > sub/conftest.c
   4011     for i in 1 2 3 4 5 6; do
   4012       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4013       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4014       # Solaris 8's {/usr,}/bin/sh.
   4015       touch sub/conftst$i.h
   4016     done
   4017     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4018 
   4019     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4020     # mode.  It turns out that the SunPro C++ compiler does not properly
   4021     # handle `-M -o', and we need to detect this.  Also, some Intel
   4022     # versions had trouble with output in subdirs
   4023     am__obj=sub/conftest.${OBJEXT-o}
   4024     am__minus_obj="-o $am__obj"
   4025     case $depmode in
   4026     gcc)
   4027       # This depmode causes a compiler race in universal mode.
   4028       test "$am__universal" = false || continue
   4029       ;;
   4030     nosideeffect)
   4031       # after this tag, mechanisms are not by side-effect, so they'll
   4032       # only be used when explicitly requested
   4033       if test "x$enable_dependency_tracking" = xyes; then
   4034 	continue
   4035       else
   4036 	break
   4037       fi
   4038       ;;
   4039     msvisualcpp | msvcmsys)
   4040       # This compiler won't grok `-c -o', but also, the minuso test has
   4041       # not run yet.  These depmodes are late enough in the game, and
   4042       # so weak that their functioning should not be impacted.
   4043       am__obj=conftest.${OBJEXT-o}
   4044       am__minus_obj=
   4045       ;;
   4046     none) break ;;
   4047     esac
   4048     if depmode=$depmode \
   4049        source=sub/conftest.c object=$am__obj \
   4050        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4051        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4052          >/dev/null 2>conftest.err &&
   4053        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4054        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4055        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4056        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4057       # icc doesn't choke on unknown options, it will just issue warnings
   4058       # or remarks (even with -Werror).  So we grep stderr for any message
   4059       # that says an option was ignored or not supported.
   4060       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4061       #   icc: Command line warning: ignoring option '-M'; no argument required
   4062       # The diagnosis changed in icc 8.0:
   4063       #   icc: Command line remark: option '-MP' not supported
   4064       if (grep 'ignoring option' conftest.err ||
   4065           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4066         am_cv_CC_dependencies_compiler_type=$depmode
   4067         break
   4068       fi
   4069     fi
   4070   done
   4071 
   4072   cd ..
   4073   rm -rf conftest.dir
   4074 else
   4075   am_cv_CC_dependencies_compiler_type=none
   4076 fi
   4077 
   4078 fi
   4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4080 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4081 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4082 
   4083  if
   4084   test "x$enable_dependency_tracking" != xno \
   4085   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4086   am__fastdepCC_TRUE=
   4087   am__fastdepCC_FALSE='#'
   4088 else
   4089   am__fastdepCC_TRUE='#'
   4090   am__fastdepCC_FALSE=
   4091 fi
   4092 
   4093 
   4094 
   4095 ac_ext=c
   4096 ac_cpp='$CPP $CPPFLAGS'
   4097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4101 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4102 # On Suns, sometimes $CPP names a directory.
   4103 if test -n "$CPP" && test -d "$CPP"; then
   4104   CPP=
   4105 fi
   4106 if test -z "$CPP"; then
   4107   if test "${ac_cv_prog_CPP+set}" = set; then :
   4108   $as_echo_n "(cached) " >&6
   4109 else
   4110       # Double quotes because CPP needs to be expanded
   4111     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4112     do
   4113       ac_preproc_ok=false
   4114 for ac_c_preproc_warn_flag in '' yes
   4115 do
   4116   # Use a header file that comes with gcc, so configuring glibc
   4117   # with a fresh cross-compiler works.
   4118   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4119   # <limits.h> exists even on freestanding compilers.
   4120   # On the NeXT, cc -E runs the code through the compiler's parser,
   4121   # not just through cpp. "Syntax error" is here to catch this case.
   4122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4123 /* end confdefs.h.  */
   4124 #ifdef __STDC__
   4125 # include <limits.h>
   4126 #else
   4127 # include <assert.h>
   4128 #endif
   4129 		     Syntax error
   4130 _ACEOF
   4131 if ac_fn_c_try_cpp "$LINENO"; then :
   4132 
   4133 else
   4134   # Broken: fails on valid input.
   4135 continue
   4136 fi
   4137 rm -f conftest.err conftest.$ac_ext
   4138 
   4139   # OK, works on sane cases.  Now check whether nonexistent headers
   4140   # can be detected and how.
   4141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4142 /* end confdefs.h.  */
   4143 #include <ac_nonexistent.h>
   4144 _ACEOF
   4145 if ac_fn_c_try_cpp "$LINENO"; then :
   4146   # Broken: success on invalid input.
   4147 continue
   4148 else
   4149   # Passes both tests.
   4150 ac_preproc_ok=:
   4151 break
   4152 fi
   4153 rm -f conftest.err conftest.$ac_ext
   4154 
   4155 done
   4156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4157 rm -f conftest.err conftest.$ac_ext
   4158 if $ac_preproc_ok; then :
   4159   break
   4160 fi
   4161 
   4162     done
   4163     ac_cv_prog_CPP=$CPP
   4164 
   4165 fi
   4166   CPP=$ac_cv_prog_CPP
   4167 else
   4168   ac_cv_prog_CPP=$CPP
   4169 fi
   4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4171 $as_echo "$CPP" >&6; }
   4172 ac_preproc_ok=false
   4173 for ac_c_preproc_warn_flag in '' yes
   4174 do
   4175   # Use a header file that comes with gcc, so configuring glibc
   4176   # with a fresh cross-compiler works.
   4177   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4178   # <limits.h> exists even on freestanding compilers.
   4179   # On the NeXT, cc -E runs the code through the compiler's parser,
   4180   # not just through cpp. "Syntax error" is here to catch this case.
   4181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4182 /* end confdefs.h.  */
   4183 #ifdef __STDC__
   4184 # include <limits.h>
   4185 #else
   4186 # include <assert.h>
   4187 #endif
   4188 		     Syntax error
   4189 _ACEOF
   4190 if ac_fn_c_try_cpp "$LINENO"; then :
   4191 
   4192 else
   4193   # Broken: fails on valid input.
   4194 continue
   4195 fi
   4196 rm -f conftest.err conftest.$ac_ext
   4197 
   4198   # OK, works on sane cases.  Now check whether nonexistent headers
   4199   # can be detected and how.
   4200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4201 /* end confdefs.h.  */
   4202 #include <ac_nonexistent.h>
   4203 _ACEOF
   4204 if ac_fn_c_try_cpp "$LINENO"; then :
   4205   # Broken: success on invalid input.
   4206 continue
   4207 else
   4208   # Passes both tests.
   4209 ac_preproc_ok=:
   4210 break
   4211 fi
   4212 rm -f conftest.err conftest.$ac_ext
   4213 
   4214 done
   4215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4216 rm -f conftest.err conftest.$ac_ext
   4217 if $ac_preproc_ok; then :
   4218 
   4219 else
   4220   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4222 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   4223 See \`config.log' for more details." "$LINENO" 5; }
   4224 fi
   4225 
   4226 ac_ext=c
   4227 ac_cpp='$CPP $CPPFLAGS'
   4228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4231 
   4232 # Extract the first word of "rm", so it can be a program name with args.
   4233 set dummy rm; ac_word=$2
   4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4235 $as_echo_n "checking for $ac_word... " >&6; }
   4236 if test "${ac_cv_path_RM+set}" = set; then :
   4237   $as_echo_n "(cached) " >&6
   4238 else
   4239   case $RM in
   4240   [\\/]* | ?:[\\/]*)
   4241   ac_cv_path_RM="$RM" # Let the user override the test with a path.
   4242   ;;
   4243   *)
   4244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4245 for as_dir in $PATH
   4246 do
   4247   IFS=$as_save_IFS
   4248   test -z "$as_dir" && as_dir=.
   4249     for ac_exec_ext in '' $ac_executable_extensions; do
   4250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4251     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
   4252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4253     break 2
   4254   fi
   4255 done
   4256   done
   4257 IFS=$as_save_IFS
   4258 
   4259   test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
   4260   ;;
   4261 esac
   4262 fi
   4263 RM=$ac_cv_path_RM
   4264 if test -n "$RM"; then
   4265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   4266 $as_echo "$RM" >&6; }
   4267 else
   4268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4269 $as_echo "no" >&6; }
   4270 fi
   4271 
   4272 
   4273 # Extract the first word of "mv", so it can be a program name with args.
   4274 set dummy mv; ac_word=$2
   4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4276 $as_echo_n "checking for $ac_word... " >&6; }
   4277 if test "${ac_cv_path_MV+set}" = set; then :
   4278   $as_echo_n "(cached) " >&6
   4279 else
   4280   case $MV in
   4281   [\\/]* | ?:[\\/]*)
   4282   ac_cv_path_MV="$MV" # Let the user override the test with a path.
   4283   ;;
   4284   *)
   4285   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4286 for as_dir in $PATH
   4287 do
   4288   IFS=$as_save_IFS
   4289   test -z "$as_dir" && as_dir=.
   4290     for ac_exec_ext in '' $ac_executable_extensions; do
   4291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4292     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
   4293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4294     break 2
   4295   fi
   4296 done
   4297   done
   4298 IFS=$as_save_IFS
   4299 
   4300   test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
   4301   ;;
   4302 esac
   4303 fi
   4304 MV=$ac_cv_path_MV
   4305 if test -n "$MV"; then
   4306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
   4307 $as_echo "$MV" >&6; }
   4308 else
   4309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4310 $as_echo "no" >&6; }
   4311 fi
   4312 
   4313 
   4314 # Extract the first word of "tar", so it can be a program name with args.
   4315 set dummy tar; ac_word=$2
   4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4317 $as_echo_n "checking for $ac_word... " >&6; }
   4318 if test "${ac_cv_path_TAR+set}" = set; then :
   4319   $as_echo_n "(cached) " >&6
   4320 else
   4321   case $TAR in
   4322   [\\/]* | ?:[\\/]*)
   4323   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
   4324   ;;
   4325   *)
   4326   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4327 for as_dir in $PATH
   4328 do
   4329   IFS=$as_save_IFS
   4330   test -z "$as_dir" && as_dir=.
   4331     for ac_exec_ext in '' $ac_executable_extensions; do
   4332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4333     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
   4334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4335     break 2
   4336   fi
   4337 done
   4338   done
   4339 IFS=$as_save_IFS
   4340 
   4341   test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
   4342   ;;
   4343 esac
   4344 fi
   4345 TAR=$ac_cv_path_TAR
   4346 if test -n "$TAR"; then
   4347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
   4348 $as_echo "$TAR" >&6; }
   4349 else
   4350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4351 $as_echo "no" >&6; }
   4352 fi
   4353 
   4354 
   4355 # Extract the first word of "perl", so it can be a program name with args.
   4356 set dummy perl; ac_word=$2
   4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4358 $as_echo_n "checking for $ac_word... " >&6; }
   4359 if test "${ac_cv_path_PERL+set}" = set; then :
   4360   $as_echo_n "(cached) " >&6
   4361 else
   4362   case $PERL in
   4363   [\\/]* | ?:[\\/]*)
   4364   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   4365   ;;
   4366   *)
   4367   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4368 for as_dir in $PATH
   4369 do
   4370   IFS=$as_save_IFS
   4371   test -z "$as_dir" && as_dir=.
   4372     for ac_exec_ext in '' $ac_executable_extensions; do
   4373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4374     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   4375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4376     break 2
   4377   fi
   4378 done
   4379   done
   4380 IFS=$as_save_IFS
   4381 
   4382   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
   4383   ;;
   4384 esac
   4385 fi
   4386 PERL=$ac_cv_path_PERL
   4387 if test -n "$PERL"; then
   4388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   4389 $as_echo "$PERL" >&6; }
   4390 else
   4391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4392 $as_echo "no" >&6; }
   4393 fi
   4394 
   4395 
   4396 # Extract the first word of "wget", so it can be a program name with args.
   4397 set dummy wget; ac_word=$2
   4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4399 $as_echo_n "checking for $ac_word... " >&6; }
   4400 if test "${ac_cv_path_WGET+set}" = set; then :
   4401   $as_echo_n "(cached) " >&6
   4402 else
   4403   case $WGET in
   4404   [\\/]* | ?:[\\/]*)
   4405   ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
   4406   ;;
   4407   *)
   4408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4409 for as_dir in $PATH
   4410 do
   4411   IFS=$as_save_IFS
   4412   test -z "$as_dir" && as_dir=.
   4413     for ac_exec_ext in '' $ac_executable_extensions; do
   4414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4415     ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
   4416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4417     break 2
   4418   fi
   4419 done
   4420   done
   4421 IFS=$as_save_IFS
   4422 
   4423   test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
   4424   ;;
   4425 esac
   4426 fi
   4427 WGET=$ac_cv_path_WGET
   4428 if test -n "$WGET"; then
   4429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
   4430 $as_echo "$WGET" >&6; }
   4431 else
   4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4433 $as_echo "no" >&6; }
   4434 fi
   4435 
   4436 
   4437 # Extract the first word of "xmllint", so it can be a program name with args.
   4438 set dummy xmllint; ac_word=$2
   4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4440 $as_echo_n "checking for $ac_word... " >&6; }
   4441 if test "${ac_cv_path_XMLLINT+set}" = set; then :
   4442   $as_echo_n "(cached) " >&6
   4443 else
   4444   case $XMLLINT in
   4445   [\\/]* | ?:[\\/]*)
   4446   ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
   4447   ;;
   4448   *)
   4449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4450 for as_dir in $PATH
   4451 do
   4452   IFS=$as_save_IFS
   4453   test -z "$as_dir" && as_dir=.
   4454     for ac_exec_ext in '' $ac_executable_extensions; do
   4455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4456     ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
   4457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4458     break 2
   4459   fi
   4460 done
   4461   done
   4462 IFS=$as_save_IFS
   4463 
   4464   test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
   4465   ;;
   4466 esac
   4467 fi
   4468 XMLLINT=$ac_cv_path_XMLLINT
   4469 if test -n "$XMLLINT"; then
   4470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
   4471 $as_echo "$XMLLINT" >&6; }
   4472 else
   4473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4474 $as_echo "no" >&6; }
   4475 fi
   4476 
   4477 
   4478 # Extract the first word of "xsltproc", so it can be a program name with args.
   4479 set dummy xsltproc; ac_word=$2
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4481 $as_echo_n "checking for $ac_word... " >&6; }
   4482 if test "${ac_cv_path_XSLTPROC+set}" = set; then :
   4483   $as_echo_n "(cached) " >&6
   4484 else
   4485   case $XSLTPROC in
   4486   [\\/]* | ?:[\\/]*)
   4487   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   4488   ;;
   4489   *)
   4490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4491 for as_dir in $PATH
   4492 do
   4493   IFS=$as_save_IFS
   4494   test -z "$as_dir" && as_dir=.
   4495     for ac_exec_ext in '' $ac_executable_extensions; do
   4496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4497     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   4498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4499     break 2
   4500   fi
   4501 done
   4502   done
   4503 IFS=$as_save_IFS
   4504 
   4505   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
   4506   ;;
   4507 esac
   4508 fi
   4509 XSLTPROC=$ac_cv_path_XSLTPROC
   4510 if test -n "$XSLTPROC"; then
   4511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   4512 $as_echo "$XSLTPROC" >&6; }
   4513 else
   4514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4515 $as_echo "no" >&6; }
   4516 fi
   4517 
   4518 
   4519 
   4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
   4521 $as_echo_n "checking for function prototypes... " >&6; }
   4522 if test "$ac_cv_prog_cc_c89" != no; then
   4523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4524 $as_echo "yes" >&6; }
   4525 
   4526 $as_echo "#define PROTOTYPES 1" >>confdefs.h
   4527 
   4528 
   4529 $as_echo "#define __PROTOTYPES 1" >>confdefs.h
   4530 
   4531 else
   4532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4533 $as_echo "no" >&6; }
   4534 fi
   4535 
   4536 
   4537 
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4539 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4540 if test "${ac_cv_path_GREP+set}" = set; then :
   4541   $as_echo_n "(cached) " >&6
   4542 else
   4543   if test -z "$GREP"; then
   4544   ac_path_GREP_found=false
   4545   # Loop through the user's path and test for each of PROGNAME-LIST
   4546   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4547 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4548 do
   4549   IFS=$as_save_IFS
   4550   test -z "$as_dir" && as_dir=.
   4551     for ac_prog in grep ggrep; do
   4552     for ac_exec_ext in '' $ac_executable_extensions; do
   4553       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4554       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4555 # Check for GNU ac_path_GREP and select it if it is found.
   4556   # Check for GNU $ac_path_GREP
   4557 case `"$ac_path_GREP" --version 2>&1` in
   4558 *GNU*)
   4559   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4560 *)
   4561   ac_count=0
   4562   $as_echo_n 0123456789 >"conftest.in"
   4563   while :
   4564   do
   4565     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4566     mv "conftest.tmp" "conftest.in"
   4567     cp "conftest.in" "conftest.nl"
   4568     $as_echo 'GREP' >> "conftest.nl"
   4569     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4570     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4571     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4572     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4573       # Best one so far, save it but keep looking for a better one
   4574       ac_cv_path_GREP="$ac_path_GREP"
   4575       ac_path_GREP_max=$ac_count
   4576     fi
   4577     # 10*(2^10) chars as input seems more than enough
   4578     test $ac_count -gt 10 && break
   4579   done
   4580   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4581 esac
   4582 
   4583       $ac_path_GREP_found && break 3
   4584     done
   4585   done
   4586   done
   4587 IFS=$as_save_IFS
   4588   if test -z "$ac_cv_path_GREP"; then
   4589     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4590   fi
   4591 else
   4592   ac_cv_path_GREP=$GREP
   4593 fi
   4594 
   4595 fi
   4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4597 $as_echo "$ac_cv_path_GREP" >&6; }
   4598  GREP="$ac_cv_path_GREP"
   4599 
   4600 
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4602 $as_echo_n "checking for egrep... " >&6; }
   4603 if test "${ac_cv_path_EGREP+set}" = set; then :
   4604   $as_echo_n "(cached) " >&6
   4605 else
   4606   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4607    then ac_cv_path_EGREP="$GREP -E"
   4608    else
   4609      if test -z "$EGREP"; then
   4610   ac_path_EGREP_found=false
   4611   # Loop through the user's path and test for each of PROGNAME-LIST
   4612   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4613 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4614 do
   4615   IFS=$as_save_IFS
   4616   test -z "$as_dir" && as_dir=.
   4617     for ac_prog in egrep; do
   4618     for ac_exec_ext in '' $ac_executable_extensions; do
   4619       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4620       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4621 # Check for GNU ac_path_EGREP and select it if it is found.
   4622   # Check for GNU $ac_path_EGREP
   4623 case `"$ac_path_EGREP" --version 2>&1` in
   4624 *GNU*)
   4625   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4626 *)
   4627   ac_count=0
   4628   $as_echo_n 0123456789 >"conftest.in"
   4629   while :
   4630   do
   4631     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4632     mv "conftest.tmp" "conftest.in"
   4633     cp "conftest.in" "conftest.nl"
   4634     $as_echo 'EGREP' >> "conftest.nl"
   4635     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4636     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4637     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4638     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4639       # Best one so far, save it but keep looking for a better one
   4640       ac_cv_path_EGREP="$ac_path_EGREP"
   4641       ac_path_EGREP_max=$ac_count
   4642     fi
   4643     # 10*(2^10) chars as input seems more than enough
   4644     test $ac_count -gt 10 && break
   4645   done
   4646   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4647 esac
   4648 
   4649       $ac_path_EGREP_found && break 3
   4650     done
   4651   done
   4652   done
   4653 IFS=$as_save_IFS
   4654   if test -z "$ac_cv_path_EGREP"; then
   4655     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4656   fi
   4657 else
   4658   ac_cv_path_EGREP=$EGREP
   4659 fi
   4660 
   4661    fi
   4662 fi
   4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4664 $as_echo "$ac_cv_path_EGREP" >&6; }
   4665  EGREP="$ac_cv_path_EGREP"
   4666 
   4667 
   4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4669 $as_echo_n "checking for ANSI C header files... " >&6; }
   4670 if test "${ac_cv_header_stdc+set}" = set; then :
   4671   $as_echo_n "(cached) " >&6
   4672 else
   4673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4674 /* end confdefs.h.  */
   4675 #include <stdlib.h>
   4676 #include <stdarg.h>
   4677 #include <string.h>
   4678 #include <float.h>
   4679 
   4680 int
   4681 main ()
   4682 {
   4683 
   4684   ;
   4685   return 0;
   4686 }
   4687 _ACEOF
   4688 if ac_fn_c_try_compile "$LINENO"; then :
   4689   ac_cv_header_stdc=yes
   4690 else
   4691   ac_cv_header_stdc=no
   4692 fi
   4693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4694 
   4695 if test $ac_cv_header_stdc = yes; then
   4696   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4698 /* end confdefs.h.  */
   4699 #include <string.h>
   4700 
   4701 _ACEOF
   4702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4703   $EGREP "memchr" >/dev/null 2>&1; then :
   4704 
   4705 else
   4706   ac_cv_header_stdc=no
   4707 fi
   4708 rm -f conftest*
   4709 
   4710 fi
   4711 
   4712 if test $ac_cv_header_stdc = yes; then
   4713   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4715 /* end confdefs.h.  */
   4716 #include <stdlib.h>
   4717 
   4718 _ACEOF
   4719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4720   $EGREP "free" >/dev/null 2>&1; then :
   4721 
   4722 else
   4723   ac_cv_header_stdc=no
   4724 fi
   4725 rm -f conftest*
   4726 
   4727 fi
   4728 
   4729 if test $ac_cv_header_stdc = yes; then
   4730   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4731   if test "$cross_compiling" = yes; then :
   4732   :
   4733 else
   4734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4735 /* end confdefs.h.  */
   4736 #include <ctype.h>
   4737 #include <stdlib.h>
   4738 #if ((' ' & 0x0FF) == 0x020)
   4739 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4740 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4741 #else
   4742 # define ISLOWER(c) \
   4743 		   (('a' <= (c) && (c) <= 'i') \
   4744 		     || ('j' <= (c) && (c) <= 'r') \
   4745 		     || ('s' <= (c) && (c) <= 'z'))
   4746 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4747 #endif
   4748 
   4749 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4750 int
   4751 main ()
   4752 {
   4753   int i;
   4754   for (i = 0; i < 256; i++)
   4755     if (XOR (islower (i), ISLOWER (i))
   4756 	|| toupper (i) != TOUPPER (i))
   4757       return 2;
   4758   return 0;
   4759 }
   4760 _ACEOF
   4761 if ac_fn_c_try_run "$LINENO"; then :
   4762 
   4763 else
   4764   ac_cv_header_stdc=no
   4765 fi
   4766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4767   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4768 fi
   4769 
   4770 fi
   4771 fi
   4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4773 $as_echo "$ac_cv_header_stdc" >&6; }
   4774 if test $ac_cv_header_stdc = yes; then
   4775 
   4776 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4777 
   4778 fi
   4779 
   4780 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4781 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4782 		  inttypes.h stdint.h unistd.h
   4783 do :
   4784   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4785 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4786 "
   4787 eval as_val=\$$as_ac_Header
   4788    if test "x$as_val" = x""yes; then :
   4789   cat >>confdefs.h <<_ACEOF
   4790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4791 _ACEOF
   4792 
   4793 fi
   4794 
   4795 done
   4796 
   4797 
   4798 
   4799 if test "$ac_cv_prog_cc_stdc" != no; then
   4800   U= ANSI2KNR=
   4801 else
   4802   U=_ ANSI2KNR=./ansi2knr
   4803 fi
   4804 # Ensure some checks needed by ansi2knr itself.
   4805 
   4806 for ac_header in string.h
   4807 do :
   4808   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
   4809 if test "x$ac_cv_header_string_h" = x""yes; then :
   4810   cat >>confdefs.h <<_ACEOF
   4811 #define HAVE_STRING_H 1
   4812 _ACEOF
   4813 
   4814 fi
   4815 
   4816 done
   4817 
   4818 
   4819 test "x$U" != "x" && as_fn_error "Compiler not ANSI compliant" "$LINENO" 5
   4820 
   4821 enable_win32_dll=yes
   4822 
   4823 case $host in
   4824 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
   4825   if test -n "$ac_tool_prefix"; then
   4826   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4827 set dummy ${ac_tool_prefix}as; ac_word=$2
   4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4829 $as_echo_n "checking for $ac_word... " >&6; }
   4830 if test "${ac_cv_prog_AS+set}" = set; then :
   4831   $as_echo_n "(cached) " >&6
   4832 else
   4833   if test -n "$AS"; then
   4834   ac_cv_prog_AS="$AS" # Let the user override the test.
   4835 else
   4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4837 for as_dir in $PATH
   4838 do
   4839   IFS=$as_save_IFS
   4840   test -z "$as_dir" && as_dir=.
   4841     for ac_exec_ext in '' $ac_executable_extensions; do
   4842   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4843     ac_cv_prog_AS="${ac_tool_prefix}as"
   4844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4845     break 2
   4846   fi
   4847 done
   4848   done
   4849 IFS=$as_save_IFS
   4850 
   4851 fi
   4852 fi
   4853 AS=$ac_cv_prog_AS
   4854 if test -n "$AS"; then
   4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   4856 $as_echo "$AS" >&6; }
   4857 else
   4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4859 $as_echo "no" >&6; }
   4860 fi
   4861 
   4862 
   4863 fi
   4864 if test -z "$ac_cv_prog_AS"; then
   4865   ac_ct_AS=$AS
   4866   # Extract the first word of "as", so it can be a program name with args.
   4867 set dummy as; ac_word=$2
   4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4869 $as_echo_n "checking for $ac_word... " >&6; }
   4870 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
   4871   $as_echo_n "(cached) " >&6
   4872 else
   4873   if test -n "$ac_ct_AS"; then
   4874   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4875 else
   4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4877 for as_dir in $PATH
   4878 do
   4879   IFS=$as_save_IFS
   4880   test -z "$as_dir" && as_dir=.
   4881     for ac_exec_ext in '' $ac_executable_extensions; do
   4882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4883     ac_cv_prog_ac_ct_AS="as"
   4884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4885     break 2
   4886   fi
   4887 done
   4888   done
   4889 IFS=$as_save_IFS
   4890 
   4891 fi
   4892 fi
   4893 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4894 if test -n "$ac_ct_AS"; then
   4895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   4896 $as_echo "$ac_ct_AS" >&6; }
   4897 else
   4898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4899 $as_echo "no" >&6; }
   4900 fi
   4901 
   4902   if test "x$ac_ct_AS" = x; then
   4903     AS="false"
   4904   else
   4905     case $cross_compiling:$ac_tool_warned in
   4906 yes:)
   4907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4909 ac_tool_warned=yes ;;
   4910 esac
   4911     AS=$ac_ct_AS
   4912   fi
   4913 else
   4914   AS="$ac_cv_prog_AS"
   4915 fi
   4916 
   4917   if test -n "$ac_tool_prefix"; then
   4918   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4919 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4921 $as_echo_n "checking for $ac_word... " >&6; }
   4922 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   if test -n "$DLLTOOL"; then
   4926   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4927 else
   4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4929 for as_dir in $PATH
   4930 do
   4931   IFS=$as_save_IFS
   4932   test -z "$as_dir" && as_dir=.
   4933     for ac_exec_ext in '' $ac_executable_extensions; do
   4934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4935     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4937     break 2
   4938   fi
   4939 done
   4940   done
   4941 IFS=$as_save_IFS
   4942 
   4943 fi
   4944 fi
   4945 DLLTOOL=$ac_cv_prog_DLLTOOL
   4946 if test -n "$DLLTOOL"; then
   4947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   4948 $as_echo "$DLLTOOL" >&6; }
   4949 else
   4950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4951 $as_echo "no" >&6; }
   4952 fi
   4953 
   4954 
   4955 fi
   4956 if test -z "$ac_cv_prog_DLLTOOL"; then
   4957   ac_ct_DLLTOOL=$DLLTOOL
   4958   # Extract the first word of "dlltool", so it can be a program name with args.
   4959 set dummy dlltool; ac_word=$2
   4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4961 $as_echo_n "checking for $ac_word... " >&6; }
   4962 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
   4963   $as_echo_n "(cached) " >&6
   4964 else
   4965   if test -n "$ac_ct_DLLTOOL"; then
   4966   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4967 else
   4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4969 for as_dir in $PATH
   4970 do
   4971   IFS=$as_save_IFS
   4972   test -z "$as_dir" && as_dir=.
   4973     for ac_exec_ext in '' $ac_executable_extensions; do
   4974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4975     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4977     break 2
   4978   fi
   4979 done
   4980   done
   4981 IFS=$as_save_IFS
   4982 
   4983 fi
   4984 fi
   4985 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4986 if test -n "$ac_ct_DLLTOOL"; then
   4987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   4988 $as_echo "$ac_ct_DLLTOOL" >&6; }
   4989 else
   4990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4991 $as_echo "no" >&6; }
   4992 fi
   4993 
   4994   if test "x$ac_ct_DLLTOOL" = x; then
   4995     DLLTOOL="false"
   4996   else
   4997     case $cross_compiling:$ac_tool_warned in
   4998 yes:)
   4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5001 ac_tool_warned=yes ;;
   5002 esac
   5003     DLLTOOL=$ac_ct_DLLTOOL
   5004   fi
   5005 else
   5006   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5007 fi
   5008 
   5009   if test -n "$ac_tool_prefix"; then
   5010   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5011 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5013 $as_echo_n "checking for $ac_word... " >&6; }
   5014 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5015   $as_echo_n "(cached) " >&6
   5016 else
   5017   if test -n "$OBJDUMP"; then
   5018   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5019 else
   5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5021 for as_dir in $PATH
   5022 do
   5023   IFS=$as_save_IFS
   5024   test -z "$as_dir" && as_dir=.
   5025     for ac_exec_ext in '' $ac_executable_extensions; do
   5026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5027     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5029     break 2
   5030   fi
   5031 done
   5032   done
   5033 IFS=$as_save_IFS
   5034 
   5035 fi
   5036 fi
   5037 OBJDUMP=$ac_cv_prog_OBJDUMP
   5038 if test -n "$OBJDUMP"; then
   5039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5040 $as_echo "$OBJDUMP" >&6; }
   5041 else
   5042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5043 $as_echo "no" >&6; }
   5044 fi
   5045 
   5046 
   5047 fi
   5048 if test -z "$ac_cv_prog_OBJDUMP"; then
   5049   ac_ct_OBJDUMP=$OBJDUMP
   5050   # Extract the first word of "objdump", so it can be a program name with args.
   5051 set dummy objdump; ac_word=$2
   5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5053 $as_echo_n "checking for $ac_word... " >&6; }
   5054 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5055   $as_echo_n "(cached) " >&6
   5056 else
   5057   if test -n "$ac_ct_OBJDUMP"; then
   5058   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5059 else
   5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5061 for as_dir in $PATH
   5062 do
   5063   IFS=$as_save_IFS
   5064   test -z "$as_dir" && as_dir=.
   5065     for ac_exec_ext in '' $ac_executable_extensions; do
   5066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5067     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5069     break 2
   5070   fi
   5071 done
   5072   done
   5073 IFS=$as_save_IFS
   5074 
   5075 fi
   5076 fi
   5077 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5078 if test -n "$ac_ct_OBJDUMP"; then
   5079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5080 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5081 else
   5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5083 $as_echo "no" >&6; }
   5084 fi
   5085 
   5086   if test "x$ac_ct_OBJDUMP" = x; then
   5087     OBJDUMP="false"
   5088   else
   5089     case $cross_compiling:$ac_tool_warned in
   5090 yes:)
   5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5093 ac_tool_warned=yes ;;
   5094 esac
   5095     OBJDUMP=$ac_ct_OBJDUMP
   5096   fi
   5097 else
   5098   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5099 fi
   5100 
   5101   ;;
   5102 esac
   5103 
   5104 test -z "$AS" && AS=as
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 test -z "$OBJDUMP" && OBJDUMP=objdump
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 case `pwd` in
   5125   *\ * | *\	*)
   5126     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5127 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5128 esac
   5129 
   5130 
   5131 
   5132 macro_version='2.2.6b'
   5133 macro_revision='1.3017'
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 ltmain="$ac_aux_dir/ltmain.sh"
   5148 
   5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5150 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5151 if test "${ac_cv_path_SED+set}" = set; then :
   5152   $as_echo_n "(cached) " >&6
   5153 else
   5154             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5155      for ac_i in 1 2 3 4 5 6 7; do
   5156        ac_script="$ac_script$as_nl$ac_script"
   5157      done
   5158      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5159      { ac_script=; unset ac_script;}
   5160      if test -z "$SED"; then
   5161   ac_path_SED_found=false
   5162   # Loop through the user's path and test for each of PROGNAME-LIST
   5163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5164 for as_dir in $PATH
   5165 do
   5166   IFS=$as_save_IFS
   5167   test -z "$as_dir" && as_dir=.
   5168     for ac_prog in sed gsed; do
   5169     for ac_exec_ext in '' $ac_executable_extensions; do
   5170       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5171       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5172 # Check for GNU ac_path_SED and select it if it is found.
   5173   # Check for GNU $ac_path_SED
   5174 case `"$ac_path_SED" --version 2>&1` in
   5175 *GNU*)
   5176   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5177 *)
   5178   ac_count=0
   5179   $as_echo_n 0123456789 >"conftest.in"
   5180   while :
   5181   do
   5182     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5183     mv "conftest.tmp" "conftest.in"
   5184     cp "conftest.in" "conftest.nl"
   5185     $as_echo '' >> "conftest.nl"
   5186     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5187     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5188     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5189     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5190       # Best one so far, save it but keep looking for a better one
   5191       ac_cv_path_SED="$ac_path_SED"
   5192       ac_path_SED_max=$ac_count
   5193     fi
   5194     # 10*(2^10) chars as input seems more than enough
   5195     test $ac_count -gt 10 && break
   5196   done
   5197   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5198 esac
   5199 
   5200       $ac_path_SED_found && break 3
   5201     done
   5202   done
   5203   done
   5204 IFS=$as_save_IFS
   5205   if test -z "$ac_cv_path_SED"; then
   5206     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5207   fi
   5208 else
   5209   ac_cv_path_SED=$SED
   5210 fi
   5211 
   5212 fi
   5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5214 $as_echo "$ac_cv_path_SED" >&6; }
   5215  SED="$ac_cv_path_SED"
   5216   rm -f conftest.sed
   5217 
   5218 test -z "$SED" && SED=sed
   5219 Xsed="$SED -e 1s/^X//"
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5232 $as_echo_n "checking for fgrep... " >&6; }
   5233 if test "${ac_cv_path_FGREP+set}" = set; then :
   5234   $as_echo_n "(cached) " >&6
   5235 else
   5236   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5237    then ac_cv_path_FGREP="$GREP -F"
   5238    else
   5239      if test -z "$FGREP"; then
   5240   ac_path_FGREP_found=false
   5241   # Loop through the user's path and test for each of PROGNAME-LIST
   5242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5243 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5244 do
   5245   IFS=$as_save_IFS
   5246   test -z "$as_dir" && as_dir=.
   5247     for ac_prog in fgrep; do
   5248     for ac_exec_ext in '' $ac_executable_extensions; do
   5249       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5250       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5251 # Check for GNU ac_path_FGREP and select it if it is found.
   5252   # Check for GNU $ac_path_FGREP
   5253 case `"$ac_path_FGREP" --version 2>&1` in
   5254 *GNU*)
   5255   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5256 *)
   5257   ac_count=0
   5258   $as_echo_n 0123456789 >"conftest.in"
   5259   while :
   5260   do
   5261     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5262     mv "conftest.tmp" "conftest.in"
   5263     cp "conftest.in" "conftest.nl"
   5264     $as_echo 'FGREP' >> "conftest.nl"
   5265     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5266     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5267     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5268     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5269       # Best one so far, save it but keep looking for a better one
   5270       ac_cv_path_FGREP="$ac_path_FGREP"
   5271       ac_path_FGREP_max=$ac_count
   5272     fi
   5273     # 10*(2^10) chars as input seems more than enough
   5274     test $ac_count -gt 10 && break
   5275   done
   5276   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5277 esac
   5278 
   5279       $ac_path_FGREP_found && break 3
   5280     done
   5281   done
   5282   done
   5283 IFS=$as_save_IFS
   5284   if test -z "$ac_cv_path_FGREP"; then
   5285     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5286   fi
   5287 else
   5288   ac_cv_path_FGREP=$FGREP
   5289 fi
   5290 
   5291    fi
   5292 fi
   5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5294 $as_echo "$ac_cv_path_FGREP" >&6; }
   5295  FGREP="$ac_cv_path_FGREP"
   5296 
   5297 
   5298 test -z "$GREP" && GREP=grep
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 # Check whether --with-gnu-ld was given.
   5319 if test "${with_gnu_ld+set}" = set; then :
   5320   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5321 else
   5322   with_gnu_ld=no
   5323 fi
   5324 
   5325 ac_prog=ld
   5326 if test "$GCC" = yes; then
   5327   # Check if gcc -print-prog-name=ld gives a path.
   5328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5329 $as_echo_n "checking for ld used by $CC... " >&6; }
   5330   case $host in
   5331   *-*-mingw*)
   5332     # gcc leaves a trailing carriage return which upsets mingw
   5333     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5334   *)
   5335     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5336   esac
   5337   case $ac_prog in
   5338     # Accept absolute paths.
   5339     [\\/]* | ?:[\\/]*)
   5340       re_direlt='/[^/][^/]*/\.\./'
   5341       # Canonicalize the pathname of ld
   5342       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5343       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5344 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5345       done
   5346       test -z "$LD" && LD="$ac_prog"
   5347       ;;
   5348   "")
   5349     # If it fails, then pretend we aren't using GCC.
   5350     ac_prog=ld
   5351     ;;
   5352   *)
   5353     # If it is relative, then search for the first ld in PATH.
   5354     with_gnu_ld=unknown
   5355     ;;
   5356   esac
   5357 elif test "$with_gnu_ld" = yes; then
   5358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5359 $as_echo_n "checking for GNU ld... " >&6; }
   5360 else
   5361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5362 $as_echo_n "checking for non-GNU ld... " >&6; }
   5363 fi
   5364 if test "${lt_cv_path_LD+set}" = set; then :
   5365   $as_echo_n "(cached) " >&6
   5366 else
   5367   if test -z "$LD"; then
   5368   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5369   for ac_dir in $PATH; do
   5370     IFS="$lt_save_ifs"
   5371     test -z "$ac_dir" && ac_dir=.
   5372     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5373       lt_cv_path_LD="$ac_dir/$ac_prog"
   5374       # Check to see if the program is GNU ld.  I'd rather use --version,
   5375       # but apparently some variants of GNU ld only accept -v.
   5376       # Break only if it was the GNU/non-GNU ld that we prefer.
   5377       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5378       *GNU* | *'with BFD'*)
   5379 	test "$with_gnu_ld" != no && break
   5380 	;;
   5381       *)
   5382 	test "$with_gnu_ld" != yes && break
   5383 	;;
   5384       esac
   5385     fi
   5386   done
   5387   IFS="$lt_save_ifs"
   5388 else
   5389   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5390 fi
   5391 fi
   5392 
   5393 LD="$lt_cv_path_LD"
   5394 if test -n "$LD"; then
   5395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5396 $as_echo "$LD" >&6; }
   5397 else
   5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5399 $as_echo "no" >&6; }
   5400 fi
   5401 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5403 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5404 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   5405   $as_echo_n "(cached) " >&6
   5406 else
   5407   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5408 case `$LD -v 2>&1 </dev/null` in
   5409 *GNU* | *'with BFD'*)
   5410   lt_cv_prog_gnu_ld=yes
   5411   ;;
   5412 *)
   5413   lt_cv_prog_gnu_ld=no
   5414   ;;
   5415 esac
   5416 fi
   5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5418 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5419 with_gnu_ld=$lt_cv_prog_gnu_ld
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5430 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5431 if test "${lt_cv_path_NM+set}" = set; then :
   5432   $as_echo_n "(cached) " >&6
   5433 else
   5434   if test -n "$NM"; then
   5435   # Let the user override the test.
   5436   lt_cv_path_NM="$NM"
   5437 else
   5438   lt_nm_to_check="${ac_tool_prefix}nm"
   5439   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5440     lt_nm_to_check="$lt_nm_to_check nm"
   5441   fi
   5442   for lt_tmp_nm in $lt_nm_to_check; do
   5443     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5444     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5445       IFS="$lt_save_ifs"
   5446       test -z "$ac_dir" && ac_dir=.
   5447       tmp_nm="$ac_dir/$lt_tmp_nm"
   5448       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5449 	# Check to see if the nm accepts a BSD-compat flag.
   5450 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5451 	#   nm: unknown option "B" ignored
   5452 	# Tru64's nm complains that /dev/null is an invalid object file
   5453 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5454 	*/dev/null* | *'Invalid file or object type'*)
   5455 	  lt_cv_path_NM="$tmp_nm -B"
   5456 	  break
   5457 	  ;;
   5458 	*)
   5459 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5460 	  */dev/null*)
   5461 	    lt_cv_path_NM="$tmp_nm -p"
   5462 	    break
   5463 	    ;;
   5464 	  *)
   5465 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5466 	    continue # so that we can try to find one that supports BSD flags
   5467 	    ;;
   5468 	  esac
   5469 	  ;;
   5470 	esac
   5471       fi
   5472     done
   5473     IFS="$lt_save_ifs"
   5474   done
   5475   : ${lt_cv_path_NM=no}
   5476 fi
   5477 fi
   5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5479 $as_echo "$lt_cv_path_NM" >&6; }
   5480 if test "$lt_cv_path_NM" != "no"; then
   5481   NM="$lt_cv_path_NM"
   5482 else
   5483   # Didn't find any BSD compatible name lister, look for dumpbin.
   5484   if test -n "$ac_tool_prefix"; then
   5485   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5486   do
   5487     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5490 $as_echo_n "checking for $ac_word... " >&6; }
   5491 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5492   $as_echo_n "(cached) " >&6
   5493 else
   5494   if test -n "$DUMPBIN"; then
   5495   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5496 else
   5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5498 for as_dir in $PATH
   5499 do
   5500   IFS=$as_save_IFS
   5501   test -z "$as_dir" && as_dir=.
   5502     for ac_exec_ext in '' $ac_executable_extensions; do
   5503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5504     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5506     break 2
   5507   fi
   5508 done
   5509   done
   5510 IFS=$as_save_IFS
   5511 
   5512 fi
   5513 fi
   5514 DUMPBIN=$ac_cv_prog_DUMPBIN
   5515 if test -n "$DUMPBIN"; then
   5516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5517 $as_echo "$DUMPBIN" >&6; }
   5518 else
   5519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5520 $as_echo "no" >&6; }
   5521 fi
   5522 
   5523 
   5524     test -n "$DUMPBIN" && break
   5525   done
   5526 fi
   5527 if test -z "$DUMPBIN"; then
   5528   ac_ct_DUMPBIN=$DUMPBIN
   5529   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5530 do
   5531   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5532 set dummy $ac_prog; ac_word=$2
   5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5534 $as_echo_n "checking for $ac_word... " >&6; }
   5535 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   if test -n "$ac_ct_DUMPBIN"; then
   5539   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5540 else
   5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5542 for as_dir in $PATH
   5543 do
   5544   IFS=$as_save_IFS
   5545   test -z "$as_dir" && as_dir=.
   5546     for ac_exec_ext in '' $ac_executable_extensions; do
   5547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5548     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5550     break 2
   5551   fi
   5552 done
   5553   done
   5554 IFS=$as_save_IFS
   5555 
   5556 fi
   5557 fi
   5558 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5559 if test -n "$ac_ct_DUMPBIN"; then
   5560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5561 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5562 else
   5563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5564 $as_echo "no" >&6; }
   5565 fi
   5566 
   5567 
   5568   test -n "$ac_ct_DUMPBIN" && break
   5569 done
   5570 
   5571   if test "x$ac_ct_DUMPBIN" = x; then
   5572     DUMPBIN=":"
   5573   else
   5574     case $cross_compiling:$ac_tool_warned in
   5575 yes:)
   5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5578 ac_tool_warned=yes ;;
   5579 esac
   5580     DUMPBIN=$ac_ct_DUMPBIN
   5581   fi
   5582 fi
   5583 
   5584 
   5585   if test "$DUMPBIN" != ":"; then
   5586     NM="$DUMPBIN"
   5587   fi
   5588 fi
   5589 test -z "$NM" && NM=nm
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5597 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5598 if test "${lt_cv_nm_interface+set}" = set; then :
   5599   $as_echo_n "(cached) " >&6
   5600 else
   5601   lt_cv_nm_interface="BSD nm"
   5602   echo "int some_variable = 0;" > conftest.$ac_ext
   5603   (eval echo "\"\$as_me:5603: $ac_compile\"" >&5)
   5604   (eval "$ac_compile" 2>conftest.err)
   5605   cat conftest.err >&5
   5606   (eval echo "\"\$as_me:5606: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5607   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5608   cat conftest.err >&5
   5609   (eval echo "\"\$as_me:5609: output\"" >&5)
   5610   cat conftest.out >&5
   5611   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5612     lt_cv_nm_interface="MS dumpbin"
   5613   fi
   5614   rm -f conftest*
   5615 fi
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5617 $as_echo "$lt_cv_nm_interface" >&6; }
   5618 
   5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5620 $as_echo_n "checking whether ln -s works... " >&6; }
   5621 LN_S=$as_ln_s
   5622 if test "$LN_S" = "ln -s"; then
   5623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5624 $as_echo "yes" >&6; }
   5625 else
   5626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5627 $as_echo "no, using $LN_S" >&6; }
   5628 fi
   5629 
   5630 # find the maximum length of command line arguments
   5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5632 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5633 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5634   $as_echo_n "(cached) " >&6
   5635 else
   5636     i=0
   5637   teststring="ABCD"
   5638 
   5639   case $build_os in
   5640   msdosdjgpp*)
   5641     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5642     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5643     # during glob expansion).  Even if it were fixed, the result of this
   5644     # check would be larger than it should be.
   5645     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5646     ;;
   5647 
   5648   gnu*)
   5649     # Under GNU Hurd, this test is not required because there is
   5650     # no limit to the length of command line arguments.
   5651     # Libtool will interpret -1 as no limit whatsoever
   5652     lt_cv_sys_max_cmd_len=-1;
   5653     ;;
   5654 
   5655   cygwin* | mingw* | cegcc*)
   5656     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5657     # about 5 minutes as the teststring grows exponentially.
   5658     # Worse, since 9x/ME are not pre-emptively multitasking,
   5659     # you end up with a "frozen" computer, even though with patience
   5660     # the test eventually succeeds (with a max line length of 256k).
   5661     # Instead, let's just punt: use the minimum linelength reported by
   5662     # all of the supported platforms: 8192 (on NT/2K/XP).
   5663     lt_cv_sys_max_cmd_len=8192;
   5664     ;;
   5665 
   5666   amigaos*)
   5667     # On AmigaOS with pdksh, this test takes hours, literally.
   5668     # So we just punt and use a minimum line length of 8192.
   5669     lt_cv_sys_max_cmd_len=8192;
   5670     ;;
   5671 
   5672   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5673     # This has been around since 386BSD, at least.  Likely further.
   5674     if test -x /sbin/sysctl; then
   5675       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5676     elif test -x /usr/sbin/sysctl; then
   5677       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5678     else
   5679       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5680     fi
   5681     # And add a safety zone
   5682     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5683     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5684     ;;
   5685 
   5686   interix*)
   5687     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5688     lt_cv_sys_max_cmd_len=196608
   5689     ;;
   5690 
   5691   osf*)
   5692     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5693     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5694     # nice to cause kernel panics so lets avoid the loop below.
   5695     # First set a reasonable default.
   5696     lt_cv_sys_max_cmd_len=16384
   5697     #
   5698     if test -x /sbin/sysconfig; then
   5699       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5700         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5701       esac
   5702     fi
   5703     ;;
   5704   sco3.2v5*)
   5705     lt_cv_sys_max_cmd_len=102400
   5706     ;;
   5707   sysv5* | sco5v6* | sysv4.2uw2*)
   5708     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5709     if test -n "$kargmax"; then
   5710       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5711     else
   5712       lt_cv_sys_max_cmd_len=32768
   5713     fi
   5714     ;;
   5715   *)
   5716     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5717     if test -n "$lt_cv_sys_max_cmd_len"; then
   5718       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5719       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5720     else
   5721       # Make teststring a little bigger before we do anything with it.
   5722       # a 1K string should be a reasonable start.
   5723       for i in 1 2 3 4 5 6 7 8 ; do
   5724         teststring=$teststring$teststring
   5725       done
   5726       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5727       # If test is not a shell built-in, we'll probably end up computing a
   5728       # maximum length that is only half of the actual maximum length, but
   5729       # we can't tell.
   5730       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5731 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5732 	      test $i != 17 # 1/2 MB should be enough
   5733       do
   5734         i=`expr $i + 1`
   5735         teststring=$teststring$teststring
   5736       done
   5737       # Only check the string length outside the loop.
   5738       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5739       teststring=
   5740       # Add a significant safety factor because C++ compilers can tack on
   5741       # massive amounts of additional arguments before passing them to the
   5742       # linker.  It appears as though 1/2 is a usable value.
   5743       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5744     fi
   5745     ;;
   5746   esac
   5747 
   5748 fi
   5749 
   5750 if test -n $lt_cv_sys_max_cmd_len ; then
   5751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5752 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5753 else
   5754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5755 $as_echo "none" >&6; }
   5756 fi
   5757 max_cmd_len=$lt_cv_sys_max_cmd_len
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 : ${CP="cp -f"}
   5765 : ${MV="mv -f"}
   5766 : ${RM="rm -f"}
   5767 
   5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5769 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5770 # Try some XSI features
   5771 xsi_shell=no
   5772 ( _lt_dummy="a/b/c"
   5773   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5774       = c,a/b,, \
   5775     && eval 'test $(( 1 + 1 )) -eq 2 \
   5776     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5777   && xsi_shell=yes
   5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5779 $as_echo "$xsi_shell" >&6; }
   5780 
   5781 
   5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5783 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5784 lt_shell_append=no
   5785 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5786     >/dev/null 2>&1 \
   5787   && lt_shell_append=yes
   5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5789 $as_echo "$lt_shell_append" >&6; }
   5790 
   5791 
   5792 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5793   lt_unset=unset
   5794 else
   5795   lt_unset=false
   5796 fi
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 # test EBCDIC or ASCII
   5803 case `echo X|tr X '\101'` in
   5804  A) # ASCII based system
   5805     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5806   lt_SP2NL='tr \040 \012'
   5807   lt_NL2SP='tr \015\012 \040\040'
   5808   ;;
   5809  *) # EBCDIC based system
   5810   lt_SP2NL='tr \100 \n'
   5811   lt_NL2SP='tr \r\n \100\100'
   5812   ;;
   5813 esac
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5824 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5825 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5826   $as_echo_n "(cached) " >&6
   5827 else
   5828   lt_cv_ld_reload_flag='-r'
   5829 fi
   5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5831 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5832 reload_flag=$lt_cv_ld_reload_flag
   5833 case $reload_flag in
   5834 "" | " "*) ;;
   5835 *) reload_flag=" $reload_flag" ;;
   5836 esac
   5837 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5838 case $host_os in
   5839   darwin*)
   5840     if test "$GCC" = yes; then
   5841       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5842     else
   5843       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5844     fi
   5845     ;;
   5846 esac
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 if test -n "$ac_tool_prefix"; then
   5857   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5858 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5860 $as_echo_n "checking for $ac_word... " >&6; }
   5861 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5862   $as_echo_n "(cached) " >&6
   5863 else
   5864   if test -n "$OBJDUMP"; then
   5865   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5866 else
   5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5868 for as_dir in $PATH
   5869 do
   5870   IFS=$as_save_IFS
   5871   test -z "$as_dir" && as_dir=.
   5872     for ac_exec_ext in '' $ac_executable_extensions; do
   5873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5874     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5876     break 2
   5877   fi
   5878 done
   5879   done
   5880 IFS=$as_save_IFS
   5881 
   5882 fi
   5883 fi
   5884 OBJDUMP=$ac_cv_prog_OBJDUMP
   5885 if test -n "$OBJDUMP"; then
   5886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5887 $as_echo "$OBJDUMP" >&6; }
   5888 else
   5889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5890 $as_echo "no" >&6; }
   5891 fi
   5892 
   5893 
   5894 fi
   5895 if test -z "$ac_cv_prog_OBJDUMP"; then
   5896   ac_ct_OBJDUMP=$OBJDUMP
   5897   # Extract the first word of "objdump", so it can be a program name with args.
   5898 set dummy objdump; ac_word=$2
   5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5900 $as_echo_n "checking for $ac_word... " >&6; }
   5901 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5902   $as_echo_n "(cached) " >&6
   5903 else
   5904   if test -n "$ac_ct_OBJDUMP"; then
   5905   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5906 else
   5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5908 for as_dir in $PATH
   5909 do
   5910   IFS=$as_save_IFS
   5911   test -z "$as_dir" && as_dir=.
   5912     for ac_exec_ext in '' $ac_executable_extensions; do
   5913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5914     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5916     break 2
   5917   fi
   5918 done
   5919   done
   5920 IFS=$as_save_IFS
   5921 
   5922 fi
   5923 fi
   5924 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5925 if test -n "$ac_ct_OBJDUMP"; then
   5926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5927 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5928 else
   5929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5930 $as_echo "no" >&6; }
   5931 fi
   5932 
   5933   if test "x$ac_ct_OBJDUMP" = x; then
   5934     OBJDUMP="false"
   5935   else
   5936     case $cross_compiling:$ac_tool_warned in
   5937 yes:)
   5938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5940 ac_tool_warned=yes ;;
   5941 esac
   5942     OBJDUMP=$ac_ct_OBJDUMP
   5943   fi
   5944 else
   5945   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5946 fi
   5947 
   5948 test -z "$OBJDUMP" && OBJDUMP=objdump
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5956 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5957 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5958   $as_echo_n "(cached) " >&6
   5959 else
   5960   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5961 lt_cv_file_magic_test_file=
   5962 lt_cv_deplibs_check_method='unknown'
   5963 # Need to set the preceding variable on all platforms that support
   5964 # interlibrary dependencies.
   5965 # 'none' -- dependencies not supported.
   5966 # `unknown' -- same as none, but documents that we really don't know.
   5967 # 'pass_all' -- all dependencies passed with no checks.
   5968 # 'test_compile' -- check by making test program.
   5969 # 'file_magic [[regex]]' -- check by looking for files in library path
   5970 # which responds to the $file_magic_cmd with a given extended regex.
   5971 # If you have `file' or equivalent on your system and you're not sure
   5972 # whether `pass_all' will *always* work, you probably want this one.
   5973 
   5974 case $host_os in
   5975 aix[4-9]*)
   5976   lt_cv_deplibs_check_method=pass_all
   5977   ;;
   5978 
   5979 beos*)
   5980   lt_cv_deplibs_check_method=pass_all
   5981   ;;
   5982 
   5983 bsdi[45]*)
   5984   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5985   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5986   lt_cv_file_magic_test_file=/shlib/libc.so
   5987   ;;
   5988 
   5989 cygwin*)
   5990   # func_win32_libid is a shell function defined in ltmain.sh
   5991   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5992   lt_cv_file_magic_cmd='func_win32_libid'
   5993   ;;
   5994 
   5995 mingw* | pw32*)
   5996   # Base MSYS/MinGW do not provide the 'file' command needed by
   5997   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5998   # unless we find 'file', for example because we are cross-compiling.
   5999   if ( file / ) >/dev/null 2>&1; then
   6000     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6001     lt_cv_file_magic_cmd='func_win32_libid'
   6002   else
   6003     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6004     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6005   fi
   6006   ;;
   6007 
   6008 cegcc)
   6009   # use the weaker test based on 'objdump'. See mingw*.
   6010   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6011   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6012   ;;
   6013 
   6014 darwin* | rhapsody*)
   6015   lt_cv_deplibs_check_method=pass_all
   6016   ;;
   6017 
   6018 freebsd* | dragonfly*)
   6019   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6020     case $host_cpu in
   6021     i*86 )
   6022       # Not sure whether the presence of OpenBSD here was a mistake.
   6023       # Let's accept both of them until this is cleared up.
   6024       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6025       lt_cv_file_magic_cmd=/usr/bin/file
   6026       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6027       ;;
   6028     esac
   6029   else
   6030     lt_cv_deplibs_check_method=pass_all
   6031   fi
   6032   ;;
   6033 
   6034 gnu*)
   6035   lt_cv_deplibs_check_method=pass_all
   6036   ;;
   6037 
   6038 hpux10.20* | hpux11*)
   6039   lt_cv_file_magic_cmd=/usr/bin/file
   6040   case $host_cpu in
   6041   ia64*)
   6042     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6043     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6044     ;;
   6045   hppa*64*)
   6046     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   6047     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6048     ;;
   6049   *)
   6050     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6051     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6052     ;;
   6053   esac
   6054   ;;
   6055 
   6056 interix[3-9]*)
   6057   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6058   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6059   ;;
   6060 
   6061 irix5* | irix6* | nonstopux*)
   6062   case $LD in
   6063   *-32|*"-32 ") libmagic=32-bit;;
   6064   *-n32|*"-n32 ") libmagic=N32;;
   6065   *-64|*"-64 ") libmagic=64-bit;;
   6066   *) libmagic=never-match;;
   6067   esac
   6068   lt_cv_deplibs_check_method=pass_all
   6069   ;;
   6070 
   6071 # This must be Linux ELF.
   6072 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6073   lt_cv_deplibs_check_method=pass_all
   6074   ;;
   6075 
   6076 netbsd* | netbsdelf*-gnu)
   6077   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6078     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6079   else
   6080     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6081   fi
   6082   ;;
   6083 
   6084 newos6*)
   6085   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6086   lt_cv_file_magic_cmd=/usr/bin/file
   6087   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6088   ;;
   6089 
   6090 *nto* | *qnx*)
   6091   lt_cv_deplibs_check_method=pass_all
   6092   ;;
   6093 
   6094 openbsd*)
   6095   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6096     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6097   else
   6098     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6099   fi
   6100   ;;
   6101 
   6102 osf3* | osf4* | osf5*)
   6103   lt_cv_deplibs_check_method=pass_all
   6104   ;;
   6105 
   6106 rdos*)
   6107   lt_cv_deplibs_check_method=pass_all
   6108   ;;
   6109 
   6110 solaris*)
   6111   lt_cv_deplibs_check_method=pass_all
   6112   ;;
   6113 
   6114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6115   lt_cv_deplibs_check_method=pass_all
   6116   ;;
   6117 
   6118 sysv4 | sysv4.3*)
   6119   case $host_vendor in
   6120   motorola)
   6121     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   6122     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6123     ;;
   6124   ncr)
   6125     lt_cv_deplibs_check_method=pass_all
   6126     ;;
   6127   sequent)
   6128     lt_cv_file_magic_cmd='/bin/file'
   6129     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6130     ;;
   6131   sni)
   6132     lt_cv_file_magic_cmd='/bin/file'
   6133     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6134     lt_cv_file_magic_test_file=/lib/libc.so
   6135     ;;
   6136   siemens)
   6137     lt_cv_deplibs_check_method=pass_all
   6138     ;;
   6139   pc)
   6140     lt_cv_deplibs_check_method=pass_all
   6141     ;;
   6142   esac
   6143   ;;
   6144 
   6145 tpf*)
   6146   lt_cv_deplibs_check_method=pass_all
   6147   ;;
   6148 esac
   6149 
   6150 fi
   6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6152 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6153 file_magic_cmd=$lt_cv_file_magic_cmd
   6154 deplibs_check_method=$lt_cv_deplibs_check_method
   6155 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 if test -n "$ac_tool_prefix"; then
   6169   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6170 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6172 $as_echo_n "checking for $ac_word... " >&6; }
   6173 if test "${ac_cv_prog_AR+set}" = set; then :
   6174   $as_echo_n "(cached) " >&6
   6175 else
   6176   if test -n "$AR"; then
   6177   ac_cv_prog_AR="$AR" # Let the user override the test.
   6178 else
   6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6180 for as_dir in $PATH
   6181 do
   6182   IFS=$as_save_IFS
   6183   test -z "$as_dir" && as_dir=.
   6184     for ac_exec_ext in '' $ac_executable_extensions; do
   6185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6186     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6188     break 2
   6189   fi
   6190 done
   6191   done
   6192 IFS=$as_save_IFS
   6193 
   6194 fi
   6195 fi
   6196 AR=$ac_cv_prog_AR
   6197 if test -n "$AR"; then
   6198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6199 $as_echo "$AR" >&6; }
   6200 else
   6201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6202 $as_echo "no" >&6; }
   6203 fi
   6204 
   6205 
   6206 fi
   6207 if test -z "$ac_cv_prog_AR"; then
   6208   ac_ct_AR=$AR
   6209   # Extract the first word of "ar", so it can be a program name with args.
   6210 set dummy ar; ac_word=$2
   6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6212 $as_echo_n "checking for $ac_word... " >&6; }
   6213 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   6214   $as_echo_n "(cached) " >&6
   6215 else
   6216   if test -n "$ac_ct_AR"; then
   6217   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6218 else
   6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6220 for as_dir in $PATH
   6221 do
   6222   IFS=$as_save_IFS
   6223   test -z "$as_dir" && as_dir=.
   6224     for ac_exec_ext in '' $ac_executable_extensions; do
   6225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6226     ac_cv_prog_ac_ct_AR="ar"
   6227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6228     break 2
   6229   fi
   6230 done
   6231   done
   6232 IFS=$as_save_IFS
   6233 
   6234 fi
   6235 fi
   6236 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6237 if test -n "$ac_ct_AR"; then
   6238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6239 $as_echo "$ac_ct_AR" >&6; }
   6240 else
   6241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6242 $as_echo "no" >&6; }
   6243 fi
   6244 
   6245   if test "x$ac_ct_AR" = x; then
   6246     AR="false"
   6247   else
   6248     case $cross_compiling:$ac_tool_warned in
   6249 yes:)
   6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6252 ac_tool_warned=yes ;;
   6253 esac
   6254     AR=$ac_ct_AR
   6255   fi
   6256 else
   6257   AR="$ac_cv_prog_AR"
   6258 fi
   6259 
   6260 test -z "$AR" && AR=ar
   6261 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 if test -n "$ac_tool_prefix"; then
   6274   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6275 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6277 $as_echo_n "checking for $ac_word... " >&6; }
   6278 if test "${ac_cv_prog_STRIP+set}" = set; then :
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   if test -n "$STRIP"; then
   6282   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6283 else
   6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6285 for as_dir in $PATH
   6286 do
   6287   IFS=$as_save_IFS
   6288   test -z "$as_dir" && as_dir=.
   6289     for ac_exec_ext in '' $ac_executable_extensions; do
   6290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6291     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6293     break 2
   6294   fi
   6295 done
   6296   done
   6297 IFS=$as_save_IFS
   6298 
   6299 fi
   6300 fi
   6301 STRIP=$ac_cv_prog_STRIP
   6302 if test -n "$STRIP"; then
   6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6304 $as_echo "$STRIP" >&6; }
   6305 else
   6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6307 $as_echo "no" >&6; }
   6308 fi
   6309 
   6310 
   6311 fi
   6312 if test -z "$ac_cv_prog_STRIP"; then
   6313   ac_ct_STRIP=$STRIP
   6314   # Extract the first word of "strip", so it can be a program name with args.
   6315 set dummy strip; ac_word=$2
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6317 $as_echo_n "checking for $ac_word... " >&6; }
   6318 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   6319   $as_echo_n "(cached) " >&6
   6320 else
   6321   if test -n "$ac_ct_STRIP"; then
   6322   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6323 else
   6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6325 for as_dir in $PATH
   6326 do
   6327   IFS=$as_save_IFS
   6328   test -z "$as_dir" && as_dir=.
   6329     for ac_exec_ext in '' $ac_executable_extensions; do
   6330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6331     ac_cv_prog_ac_ct_STRIP="strip"
   6332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6333     break 2
   6334   fi
   6335 done
   6336   done
   6337 IFS=$as_save_IFS
   6338 
   6339 fi
   6340 fi
   6341 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6342 if test -n "$ac_ct_STRIP"; then
   6343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6344 $as_echo "$ac_ct_STRIP" >&6; }
   6345 else
   6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6347 $as_echo "no" >&6; }
   6348 fi
   6349 
   6350   if test "x$ac_ct_STRIP" = x; then
   6351     STRIP=":"
   6352   else
   6353     case $cross_compiling:$ac_tool_warned in
   6354 yes:)
   6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6357 ac_tool_warned=yes ;;
   6358 esac
   6359     STRIP=$ac_ct_STRIP
   6360   fi
   6361 else
   6362   STRIP="$ac_cv_prog_STRIP"
   6363 fi
   6364 
   6365 test -z "$STRIP" && STRIP=:
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 if test -n "$ac_tool_prefix"; then
   6373   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6374 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6376 $as_echo_n "checking for $ac_word... " >&6; }
   6377 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   6378   $as_echo_n "(cached) " >&6
   6379 else
   6380   if test -n "$RANLIB"; then
   6381   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6382 else
   6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6384 for as_dir in $PATH
   6385 do
   6386   IFS=$as_save_IFS
   6387   test -z "$as_dir" && as_dir=.
   6388     for ac_exec_ext in '' $ac_executable_extensions; do
   6389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6390     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6392     break 2
   6393   fi
   6394 done
   6395   done
   6396 IFS=$as_save_IFS
   6397 
   6398 fi
   6399 fi
   6400 RANLIB=$ac_cv_prog_RANLIB
   6401 if test -n "$RANLIB"; then
   6402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6403 $as_echo "$RANLIB" >&6; }
   6404 else
   6405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6406 $as_echo "no" >&6; }
   6407 fi
   6408 
   6409 
   6410 fi
   6411 if test -z "$ac_cv_prog_RANLIB"; then
   6412   ac_ct_RANLIB=$RANLIB
   6413   # Extract the first word of "ranlib", so it can be a program name with args.
   6414 set dummy ranlib; ac_word=$2
   6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6416 $as_echo_n "checking for $ac_word... " >&6; }
   6417 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6418   $as_echo_n "(cached) " >&6
   6419 else
   6420   if test -n "$ac_ct_RANLIB"; then
   6421   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6422 else
   6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6424 for as_dir in $PATH
   6425 do
   6426   IFS=$as_save_IFS
   6427   test -z "$as_dir" && as_dir=.
   6428     for ac_exec_ext in '' $ac_executable_extensions; do
   6429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6430     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6432     break 2
   6433   fi
   6434 done
   6435   done
   6436 IFS=$as_save_IFS
   6437 
   6438 fi
   6439 fi
   6440 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6441 if test -n "$ac_ct_RANLIB"; then
   6442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6443 $as_echo "$ac_ct_RANLIB" >&6; }
   6444 else
   6445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6446 $as_echo "no" >&6; }
   6447 fi
   6448 
   6449   if test "x$ac_ct_RANLIB" = x; then
   6450     RANLIB=":"
   6451   else
   6452     case $cross_compiling:$ac_tool_warned in
   6453 yes:)
   6454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6456 ac_tool_warned=yes ;;
   6457 esac
   6458     RANLIB=$ac_ct_RANLIB
   6459   fi
   6460 else
   6461   RANLIB="$ac_cv_prog_RANLIB"
   6462 fi
   6463 
   6464 test -z "$RANLIB" && RANLIB=:
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 # Determine commands to create old-style static archives.
   6472 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6473 old_postinstall_cmds='chmod 644 $oldlib'
   6474 old_postuninstall_cmds=
   6475 
   6476 if test -n "$RANLIB"; then
   6477   case $host_os in
   6478   openbsd*)
   6479     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6480     ;;
   6481   *)
   6482     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6483     ;;
   6484   esac
   6485   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6486 fi
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 # If no C compiler was specified, use CC.
   6522 LTCC=${LTCC-"$CC"}
   6523 
   6524 # If no C compiler flags were specified, use CFLAGS.
   6525 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6526 
   6527 # Allow CC to be a program name with arguments.
   6528 compiler=$CC
   6529 
   6530 
   6531 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6533 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6534 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537 
   6538 # These are sane defaults that work on at least a few old systems.
   6539 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6540 
   6541 # Character class describing NM global symbol codes.
   6542 symcode='[BCDEGRST]'
   6543 
   6544 # Regexp to match symbols that can be accessed directly from C.
   6545 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6546 
   6547 # Define system-specific variables.
   6548 case $host_os in
   6549 aix*)
   6550   symcode='[BCDT]'
   6551   ;;
   6552 cygwin* | mingw* | pw32* | cegcc*)
   6553   symcode='[ABCDGISTW]'
   6554   ;;
   6555 hpux*)
   6556   if test "$host_cpu" = ia64; then
   6557     symcode='[ABCDEGRST]'
   6558   fi
   6559   ;;
   6560 irix* | nonstopux*)
   6561   symcode='[BCDEGRST]'
   6562   ;;
   6563 osf*)
   6564   symcode='[BCDEGQRST]'
   6565   ;;
   6566 solaris*)
   6567   symcode='[BDRT]'
   6568   ;;
   6569 sco3.2v5*)
   6570   symcode='[DT]'
   6571   ;;
   6572 sysv4.2uw2*)
   6573   symcode='[DT]'
   6574   ;;
   6575 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6576   symcode='[ABDT]'
   6577   ;;
   6578 sysv4)
   6579   symcode='[DFNSTU]'
   6580   ;;
   6581 esac
   6582 
   6583 # If we're using GNU nm, then use its standard symbol codes.
   6584 case `$NM -V 2>&1` in
   6585 *GNU* | *'with BFD'*)
   6586   symcode='[ABCDGIRSTW]' ;;
   6587 esac
   6588 
   6589 # Transform an extracted symbol line into a proper C declaration.
   6590 # Some systems (esp. on ia64) link data and code symbols differently,
   6591 # so use this general approach.
   6592 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6593 
   6594 # Transform an extracted symbol line into symbol name and symbol address
   6595 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6596 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'"
   6597 
   6598 # Handle CRLF in mingw tool chain
   6599 opt_cr=
   6600 case $build_os in
   6601 mingw*)
   6602   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6603   ;;
   6604 esac
   6605 
   6606 # Try without a prefix underscore, then with it.
   6607 for ac_symprfx in "" "_"; do
   6608 
   6609   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6610   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6611 
   6612   # Write the raw and C identifiers.
   6613   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6614     # Fake it for dumpbin and say T for any non-static function
   6615     # and D for any global variable.
   6616     # Also find C++ and __fastcall symbols from MSVC++,
   6617     # which start with @ or ?.
   6618     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6619 "     {last_section=section; section=\$ 3};"\
   6620 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6621 "     \$ 0!~/External *\|/{next};"\
   6622 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6623 "     {if(hide[section]) next};"\
   6624 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6625 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6626 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6627 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6628 "     ' prfx=^$ac_symprfx"
   6629   else
   6630     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6631   fi
   6632 
   6633   # Check to see that the pipe works correctly.
   6634   pipe_works=no
   6635 
   6636   rm -f conftest*
   6637   cat > conftest.$ac_ext <<_LT_EOF
   6638 #ifdef __cplusplus
   6639 extern "C" {
   6640 #endif
   6641 char nm_test_var;
   6642 void nm_test_func(void);
   6643 void nm_test_func(void){}
   6644 #ifdef __cplusplus
   6645 }
   6646 #endif
   6647 int main(){nm_test_var='a';nm_test_func();return(0);}
   6648 _LT_EOF
   6649 
   6650   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6651   (eval $ac_compile) 2>&5
   6652   ac_status=$?
   6653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6654   test $ac_status = 0; }; then
   6655     # Now try to grab the symbols.
   6656     nlist=conftest.nm
   6657     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6658   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6659   ac_status=$?
   6660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6661   test $ac_status = 0; } && test -s "$nlist"; then
   6662       # Try sorting and uniquifying the output.
   6663       if sort "$nlist" | uniq > "$nlist"T; then
   6664 	mv -f "$nlist"T "$nlist"
   6665       else
   6666 	rm -f "$nlist"T
   6667       fi
   6668 
   6669       # Make sure that we snagged all the symbols we need.
   6670       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6671 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6672 	  cat <<_LT_EOF > conftest.$ac_ext
   6673 #ifdef __cplusplus
   6674 extern "C" {
   6675 #endif
   6676 
   6677 _LT_EOF
   6678 	  # Now generate the symbol file.
   6679 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6680 
   6681 	  cat <<_LT_EOF >> conftest.$ac_ext
   6682 
   6683 /* The mapping between symbol names and symbols.  */
   6684 const struct {
   6685   const char *name;
   6686   void       *address;
   6687 }
   6688 lt__PROGRAM__LTX_preloaded_symbols[] =
   6689 {
   6690   { "@PROGRAM@", (void *) 0 },
   6691 _LT_EOF
   6692 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6693 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6694   {0, (void *) 0}
   6695 };
   6696 
   6697 /* This works around a problem in FreeBSD linker */
   6698 #ifdef FREEBSD_WORKAROUND
   6699 static const void *lt_preloaded_setup() {
   6700   return lt__PROGRAM__LTX_preloaded_symbols;
   6701 }
   6702 #endif
   6703 
   6704 #ifdef __cplusplus
   6705 }
   6706 #endif
   6707 _LT_EOF
   6708 	  # Now try linking the two files.
   6709 	  mv conftest.$ac_objext conftstm.$ac_objext
   6710 	  lt_save_LIBS="$LIBS"
   6711 	  lt_save_CFLAGS="$CFLAGS"
   6712 	  LIBS="conftstm.$ac_objext"
   6713 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6714 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6715   (eval $ac_link) 2>&5
   6716   ac_status=$?
   6717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6718   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6719 	    pipe_works=yes
   6720 	  fi
   6721 	  LIBS="$lt_save_LIBS"
   6722 	  CFLAGS="$lt_save_CFLAGS"
   6723 	else
   6724 	  echo "cannot find nm_test_func in $nlist" >&5
   6725 	fi
   6726       else
   6727 	echo "cannot find nm_test_var in $nlist" >&5
   6728       fi
   6729     else
   6730       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6731     fi
   6732   else
   6733     echo "$progname: failed program was:" >&5
   6734     cat conftest.$ac_ext >&5
   6735   fi
   6736   rm -rf conftest* conftst*
   6737 
   6738   # Do not use the global_symbol_pipe unless it works.
   6739   if test "$pipe_works" = yes; then
   6740     break
   6741   else
   6742     lt_cv_sys_global_symbol_pipe=
   6743   fi
   6744 done
   6745 
   6746 fi
   6747 
   6748 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6749   lt_cv_sys_global_symbol_to_cdecl=
   6750 fi
   6751 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6753 $as_echo "failed" >&6; }
   6754 else
   6755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6756 $as_echo "ok" >&6; }
   6757 fi
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 # Check whether --enable-libtool-lock was given.
   6781 if test "${enable_libtool_lock+set}" = set; then :
   6782   enableval=$enable_libtool_lock;
   6783 fi
   6784 
   6785 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6786 
   6787 # Some flags need to be propagated to the compiler or linker for good
   6788 # libtool support.
   6789 case $host in
   6790 ia64-*-hpux*)
   6791   # Find out which ABI we are using.
   6792   echo 'int i;' > conftest.$ac_ext
   6793   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6794   (eval $ac_compile) 2>&5
   6795   ac_status=$?
   6796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6797   test $ac_status = 0; }; then
   6798     case `/usr/bin/file conftest.$ac_objext` in
   6799       *ELF-32*)
   6800 	HPUX_IA64_MODE="32"
   6801 	;;
   6802       *ELF-64*)
   6803 	HPUX_IA64_MODE="64"
   6804 	;;
   6805     esac
   6806   fi
   6807   rm -rf conftest*
   6808   ;;
   6809 *-*-irix6*)
   6810   # Find out which ABI we are using.
   6811   echo '#line 6811 "configure"' > conftest.$ac_ext
   6812   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6813   (eval $ac_compile) 2>&5
   6814   ac_status=$?
   6815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6816   test $ac_status = 0; }; then
   6817     if test "$lt_cv_prog_gnu_ld" = yes; then
   6818       case `/usr/bin/file conftest.$ac_objext` in
   6819 	*32-bit*)
   6820 	  LD="${LD-ld} -melf32bsmip"
   6821 	  ;;
   6822 	*N32*)
   6823 	  LD="${LD-ld} -melf32bmipn32"
   6824 	  ;;
   6825 	*64-bit*)
   6826 	  LD="${LD-ld} -melf64bmip"
   6827 	;;
   6828       esac
   6829     else
   6830       case `/usr/bin/file conftest.$ac_objext` in
   6831 	*32-bit*)
   6832 	  LD="${LD-ld} -32"
   6833 	  ;;
   6834 	*N32*)
   6835 	  LD="${LD-ld} -n32"
   6836 	  ;;
   6837 	*64-bit*)
   6838 	  LD="${LD-ld} -64"
   6839 	  ;;
   6840       esac
   6841     fi
   6842   fi
   6843   rm -rf conftest*
   6844   ;;
   6845 
   6846 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6847 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6848   # Find out which ABI we are using.
   6849   echo 'int i;' > conftest.$ac_ext
   6850   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6851   (eval $ac_compile) 2>&5
   6852   ac_status=$?
   6853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6854   test $ac_status = 0; }; then
   6855     case `/usr/bin/file conftest.o` in
   6856       *32-bit*)
   6857 	case $host in
   6858 	  x86_64-*kfreebsd*-gnu)
   6859 	    LD="${LD-ld} -m elf_i386_fbsd"
   6860 	    ;;
   6861 	  x86_64-*linux*)
   6862 	    LD="${LD-ld} -m elf_i386"
   6863 	    ;;
   6864 	  ppc64-*linux*|powerpc64-*linux*)
   6865 	    LD="${LD-ld} -m elf32ppclinux"
   6866 	    ;;
   6867 	  s390x-*linux*)
   6868 	    LD="${LD-ld} -m elf_s390"
   6869 	    ;;
   6870 	  sparc64-*linux*)
   6871 	    LD="${LD-ld} -m elf32_sparc"
   6872 	    ;;
   6873 	esac
   6874 	;;
   6875       *64-bit*)
   6876 	case $host in
   6877 	  x86_64-*kfreebsd*-gnu)
   6878 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6879 	    ;;
   6880 	  x86_64-*linux*)
   6881 	    LD="${LD-ld} -m elf_x86_64"
   6882 	    ;;
   6883 	  ppc*-*linux*|powerpc*-*linux*)
   6884 	    LD="${LD-ld} -m elf64ppc"
   6885 	    ;;
   6886 	  s390*-*linux*|s390*-*tpf*)
   6887 	    LD="${LD-ld} -m elf64_s390"
   6888 	    ;;
   6889 	  sparc*-*linux*)
   6890 	    LD="${LD-ld} -m elf64_sparc"
   6891 	    ;;
   6892 	esac
   6893 	;;
   6894     esac
   6895   fi
   6896   rm -rf conftest*
   6897   ;;
   6898 
   6899 *-*-sco3.2v5*)
   6900   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6901   SAVE_CFLAGS="$CFLAGS"
   6902   CFLAGS="$CFLAGS -belf"
   6903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6904 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6905 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6906   $as_echo_n "(cached) " >&6
   6907 else
   6908   ac_ext=c
   6909 ac_cpp='$CPP $CPPFLAGS'
   6910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6913 
   6914      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6915 /* end confdefs.h.  */
   6916 
   6917 int
   6918 main ()
   6919 {
   6920 
   6921   ;
   6922   return 0;
   6923 }
   6924 _ACEOF
   6925 if ac_fn_c_try_link "$LINENO"; then :
   6926   lt_cv_cc_needs_belf=yes
   6927 else
   6928   lt_cv_cc_needs_belf=no
   6929 fi
   6930 rm -f core conftest.err conftest.$ac_objext \
   6931     conftest$ac_exeext conftest.$ac_ext
   6932      ac_ext=c
   6933 ac_cpp='$CPP $CPPFLAGS'
   6934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6937 
   6938 fi
   6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6940 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6941   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6942     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6943     CFLAGS="$SAVE_CFLAGS"
   6944   fi
   6945   ;;
   6946 sparc*-*solaris*)
   6947   # Find out which ABI we are using.
   6948   echo 'int i;' > conftest.$ac_ext
   6949   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6950   (eval $ac_compile) 2>&5
   6951   ac_status=$?
   6952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6953   test $ac_status = 0; }; then
   6954     case `/usr/bin/file conftest.o` in
   6955     *64-bit*)
   6956       case $lt_cv_prog_gnu_ld in
   6957       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6958       *)
   6959 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6960 	  LD="${LD-ld} -64"
   6961 	fi
   6962 	;;
   6963       esac
   6964       ;;
   6965     esac
   6966   fi
   6967   rm -rf conftest*
   6968   ;;
   6969 esac
   6970 
   6971 need_locks="$enable_libtool_lock"
   6972 
   6973 
   6974   case $host_os in
   6975     rhapsody* | darwin*)
   6976     if test -n "$ac_tool_prefix"; then
   6977   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6978 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6980 $as_echo_n "checking for $ac_word... " >&6; }
   6981 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6982   $as_echo_n "(cached) " >&6
   6983 else
   6984   if test -n "$DSYMUTIL"; then
   6985   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6986 else
   6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6988 for as_dir in $PATH
   6989 do
   6990   IFS=$as_save_IFS
   6991   test -z "$as_dir" && as_dir=.
   6992     for ac_exec_ext in '' $ac_executable_extensions; do
   6993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6994     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6996     break 2
   6997   fi
   6998 done
   6999   done
   7000 IFS=$as_save_IFS
   7001 
   7002 fi
   7003 fi
   7004 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7005 if test -n "$DSYMUTIL"; then
   7006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7007 $as_echo "$DSYMUTIL" >&6; }
   7008 else
   7009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7010 $as_echo "no" >&6; }
   7011 fi
   7012 
   7013 
   7014 fi
   7015 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7016   ac_ct_DSYMUTIL=$DSYMUTIL
   7017   # Extract the first word of "dsymutil", so it can be a program name with args.
   7018 set dummy dsymutil; ac_word=$2
   7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7020 $as_echo_n "checking for $ac_word... " >&6; }
   7021 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   7022   $as_echo_n "(cached) " >&6
   7023 else
   7024   if test -n "$ac_ct_DSYMUTIL"; then
   7025   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7026 else
   7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7028 for as_dir in $PATH
   7029 do
   7030   IFS=$as_save_IFS
   7031   test -z "$as_dir" && as_dir=.
   7032     for ac_exec_ext in '' $ac_executable_extensions; do
   7033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7034     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7036     break 2
   7037   fi
   7038 done
   7039   done
   7040 IFS=$as_save_IFS
   7041 
   7042 fi
   7043 fi
   7044 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7045 if test -n "$ac_ct_DSYMUTIL"; then
   7046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7047 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7048 else
   7049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7050 $as_echo "no" >&6; }
   7051 fi
   7052 
   7053   if test "x$ac_ct_DSYMUTIL" = x; then
   7054     DSYMUTIL=":"
   7055   else
   7056     case $cross_compiling:$ac_tool_warned in
   7057 yes:)
   7058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7060 ac_tool_warned=yes ;;
   7061 esac
   7062     DSYMUTIL=$ac_ct_DSYMUTIL
   7063   fi
   7064 else
   7065   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7066 fi
   7067 
   7068     if test -n "$ac_tool_prefix"; then
   7069   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7070 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7072 $as_echo_n "checking for $ac_word... " >&6; }
   7073 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   7074   $as_echo_n "(cached) " >&6
   7075 else
   7076   if test -n "$NMEDIT"; then
   7077   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7078 else
   7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7080 for as_dir in $PATH
   7081 do
   7082   IFS=$as_save_IFS
   7083   test -z "$as_dir" && as_dir=.
   7084     for ac_exec_ext in '' $ac_executable_extensions; do
   7085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7086     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7088     break 2
   7089   fi
   7090 done
   7091   done
   7092 IFS=$as_save_IFS
   7093 
   7094 fi
   7095 fi
   7096 NMEDIT=$ac_cv_prog_NMEDIT
   7097 if test -n "$NMEDIT"; then
   7098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7099 $as_echo "$NMEDIT" >&6; }
   7100 else
   7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7102 $as_echo "no" >&6; }
   7103 fi
   7104 
   7105 
   7106 fi
   7107 if test -z "$ac_cv_prog_NMEDIT"; then
   7108   ac_ct_NMEDIT=$NMEDIT
   7109   # Extract the first word of "nmedit", so it can be a program name with args.
   7110 set dummy nmedit; ac_word=$2
   7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7112 $as_echo_n "checking for $ac_word... " >&6; }
   7113 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   if test -n "$ac_ct_NMEDIT"; then
   7117   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7118 else
   7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7120 for as_dir in $PATH
   7121 do
   7122   IFS=$as_save_IFS
   7123   test -z "$as_dir" && as_dir=.
   7124     for ac_exec_ext in '' $ac_executable_extensions; do
   7125   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7126     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7128     break 2
   7129   fi
   7130 done
   7131   done
   7132 IFS=$as_save_IFS
   7133 
   7134 fi
   7135 fi
   7136 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7137 if test -n "$ac_ct_NMEDIT"; then
   7138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7139 $as_echo "$ac_ct_NMEDIT" >&6; }
   7140 else
   7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7142 $as_echo "no" >&6; }
   7143 fi
   7144 
   7145   if test "x$ac_ct_NMEDIT" = x; then
   7146     NMEDIT=":"
   7147   else
   7148     case $cross_compiling:$ac_tool_warned in
   7149 yes:)
   7150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7152 ac_tool_warned=yes ;;
   7153 esac
   7154     NMEDIT=$ac_ct_NMEDIT
   7155   fi
   7156 else
   7157   NMEDIT="$ac_cv_prog_NMEDIT"
   7158 fi
   7159 
   7160     if test -n "$ac_tool_prefix"; then
   7161   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7162 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7164 $as_echo_n "checking for $ac_word... " >&6; }
   7165 if test "${ac_cv_prog_LIPO+set}" = set; then :
   7166   $as_echo_n "(cached) " >&6
   7167 else
   7168   if test -n "$LIPO"; then
   7169   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7170 else
   7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7172 for as_dir in $PATH
   7173 do
   7174   IFS=$as_save_IFS
   7175   test -z "$as_dir" && as_dir=.
   7176     for ac_exec_ext in '' $ac_executable_extensions; do
   7177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7178     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7180     break 2
   7181   fi
   7182 done
   7183   done
   7184 IFS=$as_save_IFS
   7185 
   7186 fi
   7187 fi
   7188 LIPO=$ac_cv_prog_LIPO
   7189 if test -n "$LIPO"; then
   7190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7191 $as_echo "$LIPO" >&6; }
   7192 else
   7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7194 $as_echo "no" >&6; }
   7195 fi
   7196 
   7197 
   7198 fi
   7199 if test -z "$ac_cv_prog_LIPO"; then
   7200   ac_ct_LIPO=$LIPO
   7201   # Extract the first word of "lipo", so it can be a program name with args.
   7202 set dummy lipo; ac_word=$2
   7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7204 $as_echo_n "checking for $ac_word... " >&6; }
   7205 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   7206   $as_echo_n "(cached) " >&6
   7207 else
   7208   if test -n "$ac_ct_LIPO"; then
   7209   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7210 else
   7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7212 for as_dir in $PATH
   7213 do
   7214   IFS=$as_save_IFS
   7215   test -z "$as_dir" && as_dir=.
   7216     for ac_exec_ext in '' $ac_executable_extensions; do
   7217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7218     ac_cv_prog_ac_ct_LIPO="lipo"
   7219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7220     break 2
   7221   fi
   7222 done
   7223   done
   7224 IFS=$as_save_IFS
   7225 
   7226 fi
   7227 fi
   7228 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7229 if test -n "$ac_ct_LIPO"; then
   7230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7231 $as_echo "$ac_ct_LIPO" >&6; }
   7232 else
   7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7234 $as_echo "no" >&6; }
   7235 fi
   7236 
   7237   if test "x$ac_ct_LIPO" = x; then
   7238     LIPO=":"
   7239   else
   7240     case $cross_compiling:$ac_tool_warned in
   7241 yes:)
   7242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7244 ac_tool_warned=yes ;;
   7245 esac
   7246     LIPO=$ac_ct_LIPO
   7247   fi
   7248 else
   7249   LIPO="$ac_cv_prog_LIPO"
   7250 fi
   7251 
   7252     if test -n "$ac_tool_prefix"; then
   7253   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7254 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7256 $as_echo_n "checking for $ac_word... " >&6; }
   7257 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   7258   $as_echo_n "(cached) " >&6
   7259 else
   7260   if test -n "$OTOOL"; then
   7261   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7262 else
   7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7264 for as_dir in $PATH
   7265 do
   7266   IFS=$as_save_IFS
   7267   test -z "$as_dir" && as_dir=.
   7268     for ac_exec_ext in '' $ac_executable_extensions; do
   7269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7270     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7272     break 2
   7273   fi
   7274 done
   7275   done
   7276 IFS=$as_save_IFS
   7277 
   7278 fi
   7279 fi
   7280 OTOOL=$ac_cv_prog_OTOOL
   7281 if test -n "$OTOOL"; then
   7282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7283 $as_echo "$OTOOL" >&6; }
   7284 else
   7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7286 $as_echo "no" >&6; }
   7287 fi
   7288 
   7289 
   7290 fi
   7291 if test -z "$ac_cv_prog_OTOOL"; then
   7292   ac_ct_OTOOL=$OTOOL
   7293   # Extract the first word of "otool", so it can be a program name with args.
   7294 set dummy otool; ac_word=$2
   7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7296 $as_echo_n "checking for $ac_word... " >&6; }
   7297 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   7298   $as_echo_n "(cached) " >&6
   7299 else
   7300   if test -n "$ac_ct_OTOOL"; then
   7301   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7302 else
   7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7304 for as_dir in $PATH
   7305 do
   7306   IFS=$as_save_IFS
   7307   test -z "$as_dir" && as_dir=.
   7308     for ac_exec_ext in '' $ac_executable_extensions; do
   7309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7310     ac_cv_prog_ac_ct_OTOOL="otool"
   7311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7312     break 2
   7313   fi
   7314 done
   7315   done
   7316 IFS=$as_save_IFS
   7317 
   7318 fi
   7319 fi
   7320 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7321 if test -n "$ac_ct_OTOOL"; then
   7322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7323 $as_echo "$ac_ct_OTOOL" >&6; }
   7324 else
   7325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7326 $as_echo "no" >&6; }
   7327 fi
   7328 
   7329   if test "x$ac_ct_OTOOL" = x; then
   7330     OTOOL=":"
   7331   else
   7332     case $cross_compiling:$ac_tool_warned in
   7333 yes:)
   7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7336 ac_tool_warned=yes ;;
   7337 esac
   7338     OTOOL=$ac_ct_OTOOL
   7339   fi
   7340 else
   7341   OTOOL="$ac_cv_prog_OTOOL"
   7342 fi
   7343 
   7344     if test -n "$ac_tool_prefix"; then
   7345   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7346 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7348 $as_echo_n "checking for $ac_word... " >&6; }
   7349 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   if test -n "$OTOOL64"; then
   7353   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7354 else
   7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7356 for as_dir in $PATH
   7357 do
   7358   IFS=$as_save_IFS
   7359   test -z "$as_dir" && as_dir=.
   7360     for ac_exec_ext in '' $ac_executable_extensions; do
   7361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7362     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7364     break 2
   7365   fi
   7366 done
   7367   done
   7368 IFS=$as_save_IFS
   7369 
   7370 fi
   7371 fi
   7372 OTOOL64=$ac_cv_prog_OTOOL64
   7373 if test -n "$OTOOL64"; then
   7374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7375 $as_echo "$OTOOL64" >&6; }
   7376 else
   7377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7378 $as_echo "no" >&6; }
   7379 fi
   7380 
   7381 
   7382 fi
   7383 if test -z "$ac_cv_prog_OTOOL64"; then
   7384   ac_ct_OTOOL64=$OTOOL64
   7385   # Extract the first word of "otool64", so it can be a program name with args.
   7386 set dummy otool64; ac_word=$2
   7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7388 $as_echo_n "checking for $ac_word... " >&6; }
   7389 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   7390   $as_echo_n "(cached) " >&6
   7391 else
   7392   if test -n "$ac_ct_OTOOL64"; then
   7393   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7394 else
   7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7396 for as_dir in $PATH
   7397 do
   7398   IFS=$as_save_IFS
   7399   test -z "$as_dir" && as_dir=.
   7400     for ac_exec_ext in '' $ac_executable_extensions; do
   7401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7402     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7404     break 2
   7405   fi
   7406 done
   7407   done
   7408 IFS=$as_save_IFS
   7409 
   7410 fi
   7411 fi
   7412 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7413 if test -n "$ac_ct_OTOOL64"; then
   7414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7415 $as_echo "$ac_ct_OTOOL64" >&6; }
   7416 else
   7417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7418 $as_echo "no" >&6; }
   7419 fi
   7420 
   7421   if test "x$ac_ct_OTOOL64" = x; then
   7422     OTOOL64=":"
   7423   else
   7424     case $cross_compiling:$ac_tool_warned in
   7425 yes:)
   7426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7428 ac_tool_warned=yes ;;
   7429 esac
   7430     OTOOL64=$ac_ct_OTOOL64
   7431   fi
   7432 else
   7433   OTOOL64="$ac_cv_prog_OTOOL64"
   7434 fi
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7463 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7464 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7465   $as_echo_n "(cached) " >&6
   7466 else
   7467   lt_cv_apple_cc_single_mod=no
   7468       if test -z "${LT_MULTI_MODULE}"; then
   7469 	# By default we will add the -single_module flag. You can override
   7470 	# by either setting the environment variable LT_MULTI_MODULE
   7471 	# non-empty at configure time, or by adding -multi_module to the
   7472 	# link flags.
   7473 	rm -rf libconftest.dylib*
   7474 	echo "int foo(void){return 1;}" > conftest.c
   7475 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7476 -dynamiclib -Wl,-single_module conftest.c" >&5
   7477 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7478 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7479         _lt_result=$?
   7480 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7481 	  lt_cv_apple_cc_single_mod=yes
   7482 	else
   7483 	  cat conftest.err >&5
   7484 	fi
   7485 	rm -rf libconftest.dylib*
   7486 	rm -f conftest.*
   7487       fi
   7488 fi
   7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7490 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7491     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7492 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7493 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7494   $as_echo_n "(cached) " >&6
   7495 else
   7496   lt_cv_ld_exported_symbols_list=no
   7497       save_LDFLAGS=$LDFLAGS
   7498       echo "_main" > conftest.sym
   7499       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7501 /* end confdefs.h.  */
   7502 
   7503 int
   7504 main ()
   7505 {
   7506 
   7507   ;
   7508   return 0;
   7509 }
   7510 _ACEOF
   7511 if ac_fn_c_try_link "$LINENO"; then :
   7512   lt_cv_ld_exported_symbols_list=yes
   7513 else
   7514   lt_cv_ld_exported_symbols_list=no
   7515 fi
   7516 rm -f core conftest.err conftest.$ac_objext \
   7517     conftest$ac_exeext conftest.$ac_ext
   7518 	LDFLAGS="$save_LDFLAGS"
   7519 
   7520 fi
   7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7522 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7523     case $host_os in
   7524     rhapsody* | darwin1.[012])
   7525       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7526     darwin1.*)
   7527       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7528     darwin*) # darwin 5.x on
   7529       # if running on 10.5 or later, the deployment target defaults
   7530       # to the OS version, if on x86, and 10.4, the deployment
   7531       # target defaults to 10.4. Don't you love it?
   7532       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7533 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7534 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7535 	10.[012]*)
   7536 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7537 	10.*)
   7538 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7539       esac
   7540     ;;
   7541   esac
   7542     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7543       _lt_dar_single_mod='$single_module'
   7544     fi
   7545     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7546       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7547     else
   7548       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7549     fi
   7550     if test "$DSYMUTIL" != ":"; then
   7551       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7552     else
   7553       _lt_dsymutil=
   7554     fi
   7555     ;;
   7556   esac
   7557 
   7558 for ac_header in dlfcn.h
   7559 do :
   7560   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7561 "
   7562 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7563   cat >>confdefs.h <<_ACEOF
   7564 #define HAVE_DLFCN_H 1
   7565 _ACEOF
   7566 
   7567 fi
   7568 
   7569 done
   7570 
   7571 
   7572 
   7573 # Set options
   7574 
   7575 
   7576 
   7577         enable_dlopen=no
   7578 
   7579 
   7580 
   7581             # Check whether --enable-shared was given.
   7582 if test "${enable_shared+set}" = set; then :
   7583   enableval=$enable_shared; p=${PACKAGE-default}
   7584     case $enableval in
   7585     yes) enable_shared=yes ;;
   7586     no) enable_shared=no ;;
   7587     *)
   7588       enable_shared=no
   7589       # Look at the argument we got.  We use all the common list separators.
   7590       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7591       for pkg in $enableval; do
   7592 	IFS="$lt_save_ifs"
   7593 	if test "X$pkg" = "X$p"; then
   7594 	  enable_shared=yes
   7595 	fi
   7596       done
   7597       IFS="$lt_save_ifs"
   7598       ;;
   7599     esac
   7600 else
   7601   enable_shared=yes
   7602 fi
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612   # Check whether --enable-static was given.
   7613 if test "${enable_static+set}" = set; then :
   7614   enableval=$enable_static; p=${PACKAGE-default}
   7615     case $enableval in
   7616     yes) enable_static=yes ;;
   7617     no) enable_static=no ;;
   7618     *)
   7619      enable_static=no
   7620       # Look at the argument we got.  We use all the common list separators.
   7621       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7622       for pkg in $enableval; do
   7623 	IFS="$lt_save_ifs"
   7624 	if test "X$pkg" = "X$p"; then
   7625 	  enable_static=yes
   7626 	fi
   7627       done
   7628       IFS="$lt_save_ifs"
   7629       ;;
   7630     esac
   7631 else
   7632   enable_static=yes
   7633 fi
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 # Check whether --with-pic was given.
   7645 if test "${with_pic+set}" = set; then :
   7646   withval=$with_pic; pic_mode="$withval"
   7647 else
   7648   pic_mode=default
   7649 fi
   7650 
   7651 
   7652 test -z "$pic_mode" && pic_mode=default
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660   # Check whether --enable-fast-install was given.
   7661 if test "${enable_fast_install+set}" = set; then :
   7662   enableval=$enable_fast_install; p=${PACKAGE-default}
   7663     case $enableval in
   7664     yes) enable_fast_install=yes ;;
   7665     no) enable_fast_install=no ;;
   7666     *)
   7667       enable_fast_install=no
   7668       # Look at the argument we got.  We use all the common list separators.
   7669       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7670       for pkg in $enableval; do
   7671 	IFS="$lt_save_ifs"
   7672 	if test "X$pkg" = "X$p"; then
   7673 	  enable_fast_install=yes
   7674 	fi
   7675       done
   7676       IFS="$lt_save_ifs"
   7677       ;;
   7678     esac
   7679 else
   7680   enable_fast_install=yes
   7681 fi
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 # This can be used to rebuild libtool when needed
   7694 LIBTOOL_DEPS="$ltmain"
   7695 
   7696 # Always use our own libtool.
   7697 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 test -z "$LN_S" && LN_S="ln -s"
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 if test -n "${ZSH_VERSION+set}" ; then
   7739    setopt NO_GLOB_SUBST
   7740 fi
   7741 
   7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7743 $as_echo_n "checking for objdir... " >&6; }
   7744 if test "${lt_cv_objdir+set}" = set; then :
   7745   $as_echo_n "(cached) " >&6
   7746 else
   7747   rm -f .libs 2>/dev/null
   7748 mkdir .libs 2>/dev/null
   7749 if test -d .libs; then
   7750   lt_cv_objdir=.libs
   7751 else
   7752   # MS-DOS does not allow filenames that begin with a dot.
   7753   lt_cv_objdir=_libs
   7754 fi
   7755 rmdir .libs 2>/dev/null
   7756 fi
   7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7758 $as_echo "$lt_cv_objdir" >&6; }
   7759 objdir=$lt_cv_objdir
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 cat >>confdefs.h <<_ACEOF
   7766 #define LT_OBJDIR "$lt_cv_objdir/"
   7767 _ACEOF
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 case $host_os in
   7786 aix3*)
   7787   # AIX sometimes has problems with the GCC collect2 program.  For some
   7788   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7789   # vanish in a puff of smoke.
   7790   if test "X${COLLECT_NAMES+set}" != Xset; then
   7791     COLLECT_NAMES=
   7792     export COLLECT_NAMES
   7793   fi
   7794   ;;
   7795 esac
   7796 
   7797 # Sed substitution that helps us do robust quoting.  It backslashifies
   7798 # metacharacters that are still active within double-quoted strings.
   7799 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7800 
   7801 # Same as above, but do not quote variable references.
   7802 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7803 
   7804 # Sed substitution to delay expansion of an escaped shell variable in a
   7805 # double_quote_subst'ed string.
   7806 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7807 
   7808 # Sed substitution to delay expansion of an escaped single quote.
   7809 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7810 
   7811 # Sed substitution to avoid accidental globbing in evaled expressions
   7812 no_glob_subst='s/\*/\\\*/g'
   7813 
   7814 # Global variables:
   7815 ofile=libtool
   7816 can_build_shared=yes
   7817 
   7818 # All known linkers require a `.a' archive for static linking (except MSVC,
   7819 # which needs '.lib').
   7820 libext=a
   7821 
   7822 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7823 
   7824 old_CC="$CC"
   7825 old_CFLAGS="$CFLAGS"
   7826 
   7827 # Set sane defaults for various variables
   7828 test -z "$CC" && CC=cc
   7829 test -z "$LTCC" && LTCC=$CC
   7830 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7831 test -z "$LD" && LD=ld
   7832 test -z "$ac_objext" && ac_objext=o
   7833 
   7834 for cc_temp in $compiler""; do
   7835   case $cc_temp in
   7836     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7837     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7838     \-*) ;;
   7839     *) break;;
   7840   esac
   7841 done
   7842 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7843 
   7844 
   7845 # Only perform the check for file, if the check method requires it
   7846 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7847 case $deplibs_check_method in
   7848 file_magic*)
   7849   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7851 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7852 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7853   $as_echo_n "(cached) " >&6
   7854 else
   7855   case $MAGIC_CMD in
   7856 [\\/*] |  ?:[\\/]*)
   7857   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7858   ;;
   7859 *)
   7860   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7861   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7862   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7863   for ac_dir in $ac_dummy; do
   7864     IFS="$lt_save_ifs"
   7865     test -z "$ac_dir" && ac_dir=.
   7866     if test -f $ac_dir/${ac_tool_prefix}file; then
   7867       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7868       if test -n "$file_magic_test_file"; then
   7869 	case $deplibs_check_method in
   7870 	"file_magic "*)
   7871 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7872 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7873 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7874 	    $EGREP "$file_magic_regex" > /dev/null; then
   7875 	    :
   7876 	  else
   7877 	    cat <<_LT_EOF 1>&2
   7878 
   7879 *** Warning: the command libtool uses to detect shared libraries,
   7880 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7881 *** The result is that libtool may fail to recognize shared libraries
   7882 *** as such.  This will affect the creation of libtool libraries that
   7883 *** depend on shared libraries, but programs linked with such libtool
   7884 *** libraries will work regardless of this problem.  Nevertheless, you
   7885 *** may want to report the problem to your system manager and/or to
   7886 *** bug-libtool@gnu.org
   7887 
   7888 _LT_EOF
   7889 	  fi ;;
   7890 	esac
   7891       fi
   7892       break
   7893     fi
   7894   done
   7895   IFS="$lt_save_ifs"
   7896   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7897   ;;
   7898 esac
   7899 fi
   7900 
   7901 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7902 if test -n "$MAGIC_CMD"; then
   7903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7904 $as_echo "$MAGIC_CMD" >&6; }
   7905 else
   7906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7907 $as_echo "no" >&6; }
   7908 fi
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7915   if test -n "$ac_tool_prefix"; then
   7916     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7917 $as_echo_n "checking for file... " >&6; }
   7918 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7919   $as_echo_n "(cached) " >&6
   7920 else
   7921   case $MAGIC_CMD in
   7922 [\\/*] |  ?:[\\/]*)
   7923   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7924   ;;
   7925 *)
   7926   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7927   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7928   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7929   for ac_dir in $ac_dummy; do
   7930     IFS="$lt_save_ifs"
   7931     test -z "$ac_dir" && ac_dir=.
   7932     if test -f $ac_dir/file; then
   7933       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7934       if test -n "$file_magic_test_file"; then
   7935 	case $deplibs_check_method in
   7936 	"file_magic "*)
   7937 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7938 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7939 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7940 	    $EGREP "$file_magic_regex" > /dev/null; then
   7941 	    :
   7942 	  else
   7943 	    cat <<_LT_EOF 1>&2
   7944 
   7945 *** Warning: the command libtool uses to detect shared libraries,
   7946 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7947 *** The result is that libtool may fail to recognize shared libraries
   7948 *** as such.  This will affect the creation of libtool libraries that
   7949 *** depend on shared libraries, but programs linked with such libtool
   7950 *** libraries will work regardless of this problem.  Nevertheless, you
   7951 *** may want to report the problem to your system manager and/or to
   7952 *** bug-libtool@gnu.org
   7953 
   7954 _LT_EOF
   7955 	  fi ;;
   7956 	esac
   7957       fi
   7958       break
   7959     fi
   7960   done
   7961   IFS="$lt_save_ifs"
   7962   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7963   ;;
   7964 esac
   7965 fi
   7966 
   7967 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7968 if test -n "$MAGIC_CMD"; then
   7969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7970 $as_echo "$MAGIC_CMD" >&6; }
   7971 else
   7972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7973 $as_echo "no" >&6; }
   7974 fi
   7975 
   7976 
   7977   else
   7978     MAGIC_CMD=:
   7979   fi
   7980 fi
   7981 
   7982   fi
   7983   ;;
   7984 esac
   7985 
   7986 # Use C for the default configuration in the libtool script
   7987 
   7988 lt_save_CC="$CC"
   7989 ac_ext=c
   7990 ac_cpp='$CPP $CPPFLAGS'
   7991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7994 
   7995 
   7996 # Source file extension for C test sources.
   7997 ac_ext=c
   7998 
   7999 # Object file extension for compiled C test sources.
   8000 objext=o
   8001 objext=$objext
   8002 
   8003 # Code to be used in simple compile tests
   8004 lt_simple_compile_test_code="int some_variable = 0;"
   8005 
   8006 # Code to be used in simple link tests
   8007 lt_simple_link_test_code='int main(){return(0);}'
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 # If no C compiler was specified, use CC.
   8016 LTCC=${LTCC-"$CC"}
   8017 
   8018 # If no C compiler flags were specified, use CFLAGS.
   8019 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8020 
   8021 # Allow CC to be a program name with arguments.
   8022 compiler=$CC
   8023 
   8024 # Save the default compiler, since it gets overwritten when the other
   8025 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8026 compiler_DEFAULT=$CC
   8027 
   8028 # save warnings/boilerplate of simple test code
   8029 ac_outfile=conftest.$ac_objext
   8030 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8031 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8032 _lt_compiler_boilerplate=`cat conftest.err`
   8033 $RM conftest*
   8034 
   8035 ac_outfile=conftest.$ac_objext
   8036 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8037 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8038 _lt_linker_boilerplate=`cat conftest.err`
   8039 $RM -r conftest*
   8040 
   8041 
   8042 if test -n "$compiler"; then
   8043 
   8044 lt_prog_compiler_no_builtin_flag=
   8045 
   8046 if test "$GCC" = yes; then
   8047   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8048 
   8049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8050 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8051 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   8052   $as_echo_n "(cached) " >&6
   8053 else
   8054   lt_cv_prog_compiler_rtti_exceptions=no
   8055    ac_outfile=conftest.$ac_objext
   8056    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8057    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8058    # Insert the option either (1) after the last *FLAGS variable, or
   8059    # (2) before a word containing "conftest.", or (3) at the end.
   8060    # Note that $ac_compile itself does not contain backslashes and begins
   8061    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8062    # The option is referenced via a variable to avoid confusing sed.
   8063    lt_compile=`echo "$ac_compile" | $SED \
   8064    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8065    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8066    -e 's:$: $lt_compiler_flag:'`
   8067    (eval echo "\"\$as_me:8067: $lt_compile\"" >&5)
   8068    (eval "$lt_compile" 2>conftest.err)
   8069    ac_status=$?
   8070    cat conftest.err >&5
   8071    echo "$as_me:8071: \$? = $ac_status" >&5
   8072    if (exit $ac_status) && test -s "$ac_outfile"; then
   8073      # The compiler can only warn and ignore the option if not recognized
   8074      # So say no if there are warnings other than the usual output.
   8075      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8076      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8077      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8078        lt_cv_prog_compiler_rtti_exceptions=yes
   8079      fi
   8080    fi
   8081    $RM conftest*
   8082 
   8083 fi
   8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8085 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8086 
   8087 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8088     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8089 else
   8090     :
   8091 fi
   8092 
   8093 fi
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100   lt_prog_compiler_wl=
   8101 lt_prog_compiler_pic=
   8102 lt_prog_compiler_static=
   8103 
   8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8105 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8106 
   8107   if test "$GCC" = yes; then
   8108     lt_prog_compiler_wl='-Wl,'
   8109     lt_prog_compiler_static='-static'
   8110 
   8111     case $host_os in
   8112       aix*)
   8113       # All AIX code is PIC.
   8114       if test "$host_cpu" = ia64; then
   8115 	# AIX 5 now supports IA64 processor
   8116 	lt_prog_compiler_static='-Bstatic'
   8117       fi
   8118       ;;
   8119 
   8120     amigaos*)
   8121       case $host_cpu in
   8122       powerpc)
   8123             # see comment about AmigaOS4 .so support
   8124             lt_prog_compiler_pic='-fPIC'
   8125         ;;
   8126       m68k)
   8127             # FIXME: we need at least 68020 code to build shared libraries, but
   8128             # adding the `-m68020' flag to GCC prevents building anything better,
   8129             # like `-m68040'.
   8130             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8131         ;;
   8132       esac
   8133       ;;
   8134 
   8135     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8136       # PIC is the default for these OSes.
   8137       ;;
   8138 
   8139     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8140       # This hack is so that the source file can tell whether it is being
   8141       # built for inclusion in a dll (and should export symbols for example).
   8142       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8143       # (--disable-auto-import) libraries
   8144       lt_prog_compiler_pic='-DDLL_EXPORT'
   8145       ;;
   8146 
   8147     darwin* | rhapsody*)
   8148       # PIC is the default on this platform
   8149       # Common symbols not allowed in MH_DYLIB files
   8150       lt_prog_compiler_pic='-fno-common'
   8151       ;;
   8152 
   8153     hpux*)
   8154       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8155       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8156       # sets the default TLS model and affects inlining.
   8157       case $host_cpu in
   8158       hppa*64*)
   8159 	# +Z the default
   8160 	;;
   8161       *)
   8162 	lt_prog_compiler_pic='-fPIC'
   8163 	;;
   8164       esac
   8165       ;;
   8166 
   8167     interix[3-9]*)
   8168       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8169       # Instead, we relocate shared libraries at runtime.
   8170       ;;
   8171 
   8172     msdosdjgpp*)
   8173       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8174       # on systems that don't support them.
   8175       lt_prog_compiler_can_build_shared=no
   8176       enable_shared=no
   8177       ;;
   8178 
   8179     *nto* | *qnx*)
   8180       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8181       # it will coredump.
   8182       lt_prog_compiler_pic='-fPIC -shared'
   8183       ;;
   8184 
   8185     sysv4*MP*)
   8186       if test -d /usr/nec; then
   8187 	lt_prog_compiler_pic=-Kconform_pic
   8188       fi
   8189       ;;
   8190 
   8191     *)
   8192       lt_prog_compiler_pic='-fPIC'
   8193       ;;
   8194     esac
   8195   else
   8196     # PORTME Check for flag to pass linker flags through the system compiler.
   8197     case $host_os in
   8198     aix*)
   8199       lt_prog_compiler_wl='-Wl,'
   8200       if test "$host_cpu" = ia64; then
   8201 	# AIX 5 now supports IA64 processor
   8202 	lt_prog_compiler_static='-Bstatic'
   8203       else
   8204 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8205       fi
   8206       ;;
   8207 
   8208     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8209       # This hack is so that the source file can tell whether it is being
   8210       # built for inclusion in a dll (and should export symbols for example).
   8211       lt_prog_compiler_pic='-DDLL_EXPORT'
   8212       ;;
   8213 
   8214     hpux9* | hpux10* | hpux11*)
   8215       lt_prog_compiler_wl='-Wl,'
   8216       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8217       # not for PA HP-UX.
   8218       case $host_cpu in
   8219       hppa*64*|ia64*)
   8220 	# +Z the default
   8221 	;;
   8222       *)
   8223 	lt_prog_compiler_pic='+Z'
   8224 	;;
   8225       esac
   8226       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8227       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8228       ;;
   8229 
   8230     irix5* | irix6* | nonstopux*)
   8231       lt_prog_compiler_wl='-Wl,'
   8232       # PIC (with -KPIC) is the default.
   8233       lt_prog_compiler_static='-non_shared'
   8234       ;;
   8235 
   8236     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8237       case $cc_basename in
   8238       # old Intel for x86_64 which still supported -KPIC.
   8239       ecc*)
   8240 	lt_prog_compiler_wl='-Wl,'
   8241 	lt_prog_compiler_pic='-KPIC'
   8242 	lt_prog_compiler_static='-static'
   8243         ;;
   8244       # icc used to be incompatible with GCC.
   8245       # ICC 10 doesn't accept -KPIC any more.
   8246       icc* | ifort*)
   8247 	lt_prog_compiler_wl='-Wl,'
   8248 	lt_prog_compiler_pic='-fPIC'
   8249 	lt_prog_compiler_static='-static'
   8250         ;;
   8251       # Lahey Fortran 8.1.
   8252       lf95*)
   8253 	lt_prog_compiler_wl='-Wl,'
   8254 	lt_prog_compiler_pic='--shared'
   8255 	lt_prog_compiler_static='--static'
   8256 	;;
   8257       pgcc* | pgf77* | pgf90* | pgf95*)
   8258         # Portland Group compilers (*not* the Pentium gcc compiler,
   8259 	# which looks to be a dead project)
   8260 	lt_prog_compiler_wl='-Wl,'
   8261 	lt_prog_compiler_pic='-fpic'
   8262 	lt_prog_compiler_static='-Bstatic'
   8263         ;;
   8264       ccc*)
   8265         lt_prog_compiler_wl='-Wl,'
   8266         # All Alpha code is PIC.
   8267         lt_prog_compiler_static='-non_shared'
   8268         ;;
   8269       xl*)
   8270 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8271 	lt_prog_compiler_wl='-Wl,'
   8272 	lt_prog_compiler_pic='-qpic'
   8273 	lt_prog_compiler_static='-qstaticlink'
   8274 	;;
   8275       *)
   8276 	case `$CC -V 2>&1 | sed 5q` in
   8277 	*Sun\ C*)
   8278 	  # Sun C 5.9
   8279 	  lt_prog_compiler_pic='-KPIC'
   8280 	  lt_prog_compiler_static='-Bstatic'
   8281 	  lt_prog_compiler_wl='-Wl,'
   8282 	  ;;
   8283 	*Sun\ F*)
   8284 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8285 	  lt_prog_compiler_pic='-KPIC'
   8286 	  lt_prog_compiler_static='-Bstatic'
   8287 	  lt_prog_compiler_wl=''
   8288 	  ;;
   8289 	esac
   8290 	;;
   8291       esac
   8292       ;;
   8293 
   8294     newsos6)
   8295       lt_prog_compiler_pic='-KPIC'
   8296       lt_prog_compiler_static='-Bstatic'
   8297       ;;
   8298 
   8299     *nto* | *qnx*)
   8300       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8301       # it will coredump.
   8302       lt_prog_compiler_pic='-fPIC -shared'
   8303       ;;
   8304 
   8305     osf3* | osf4* | osf5*)
   8306       lt_prog_compiler_wl='-Wl,'
   8307       # All OSF/1 code is PIC.
   8308       lt_prog_compiler_static='-non_shared'
   8309       ;;
   8310 
   8311     rdos*)
   8312       lt_prog_compiler_static='-non_shared'
   8313       ;;
   8314 
   8315     solaris*)
   8316       lt_prog_compiler_pic='-KPIC'
   8317       lt_prog_compiler_static='-Bstatic'
   8318       case $cc_basename in
   8319       f77* | f90* | f95*)
   8320 	lt_prog_compiler_wl='-Qoption ld ';;
   8321       *)
   8322 	lt_prog_compiler_wl='-Wl,';;
   8323       esac
   8324       ;;
   8325 
   8326     sunos4*)
   8327       lt_prog_compiler_wl='-Qoption ld '
   8328       lt_prog_compiler_pic='-PIC'
   8329       lt_prog_compiler_static='-Bstatic'
   8330       ;;
   8331 
   8332     sysv4 | sysv4.2uw2* | sysv4.3*)
   8333       lt_prog_compiler_wl='-Wl,'
   8334       lt_prog_compiler_pic='-KPIC'
   8335       lt_prog_compiler_static='-Bstatic'
   8336       ;;
   8337 
   8338     sysv4*MP*)
   8339       if test -d /usr/nec ;then
   8340 	lt_prog_compiler_pic='-Kconform_pic'
   8341 	lt_prog_compiler_static='-Bstatic'
   8342       fi
   8343       ;;
   8344 
   8345     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8346       lt_prog_compiler_wl='-Wl,'
   8347       lt_prog_compiler_pic='-KPIC'
   8348       lt_prog_compiler_static='-Bstatic'
   8349       ;;
   8350 
   8351     unicos*)
   8352       lt_prog_compiler_wl='-Wl,'
   8353       lt_prog_compiler_can_build_shared=no
   8354       ;;
   8355 
   8356     uts4*)
   8357       lt_prog_compiler_pic='-pic'
   8358       lt_prog_compiler_static='-Bstatic'
   8359       ;;
   8360 
   8361     *)
   8362       lt_prog_compiler_can_build_shared=no
   8363       ;;
   8364     esac
   8365   fi
   8366 
   8367 case $host_os in
   8368   # For platforms which do not support PIC, -DPIC is meaningless:
   8369   *djgpp*)
   8370     lt_prog_compiler_pic=
   8371     ;;
   8372   *)
   8373     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8374     ;;
   8375 esac
   8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8377 $as_echo "$lt_prog_compiler_pic" >&6; }
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 #
   8385 # Check to make sure the PIC flag actually works.
   8386 #
   8387 if test -n "$lt_prog_compiler_pic"; then
   8388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8389 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8390 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   8391   $as_echo_n "(cached) " >&6
   8392 else
   8393   lt_cv_prog_compiler_pic_works=no
   8394    ac_outfile=conftest.$ac_objext
   8395    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8396    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8397    # Insert the option either (1) after the last *FLAGS variable, or
   8398    # (2) before a word containing "conftest.", or (3) at the end.
   8399    # Note that $ac_compile itself does not contain backslashes and begins
   8400    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8401    # The option is referenced via a variable to avoid confusing sed.
   8402    lt_compile=`echo "$ac_compile" | $SED \
   8403    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8404    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8405    -e 's:$: $lt_compiler_flag:'`
   8406    (eval echo "\"\$as_me:8406: $lt_compile\"" >&5)
   8407    (eval "$lt_compile" 2>conftest.err)
   8408    ac_status=$?
   8409    cat conftest.err >&5
   8410    echo "$as_me:8410: \$? = $ac_status" >&5
   8411    if (exit $ac_status) && test -s "$ac_outfile"; then
   8412      # The compiler can only warn and ignore the option if not recognized
   8413      # So say no if there are warnings other than the usual output.
   8414      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8415      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8416      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8417        lt_cv_prog_compiler_pic_works=yes
   8418      fi
   8419    fi
   8420    $RM conftest*
   8421 
   8422 fi
   8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8424 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8425 
   8426 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8427     case $lt_prog_compiler_pic in
   8428      "" | " "*) ;;
   8429      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8430      esac
   8431 else
   8432     lt_prog_compiler_pic=
   8433      lt_prog_compiler_can_build_shared=no
   8434 fi
   8435 
   8436 fi
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 #
   8444 # Check to make sure the static flag actually works.
   8445 #
   8446 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8448 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8449 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   8450   $as_echo_n "(cached) " >&6
   8451 else
   8452   lt_cv_prog_compiler_static_works=no
   8453    save_LDFLAGS="$LDFLAGS"
   8454    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8455    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8456    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8457      # The linker can only warn and ignore the option if not recognized
   8458      # So say no if there are warnings
   8459      if test -s conftest.err; then
   8460        # Append any errors to the config.log.
   8461        cat conftest.err 1>&5
   8462        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8463        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8464        if diff conftest.exp conftest.er2 >/dev/null; then
   8465          lt_cv_prog_compiler_static_works=yes
   8466        fi
   8467      else
   8468        lt_cv_prog_compiler_static_works=yes
   8469      fi
   8470    fi
   8471    $RM -r conftest*
   8472    LDFLAGS="$save_LDFLAGS"
   8473 
   8474 fi
   8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8476 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8477 
   8478 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8479     :
   8480 else
   8481     lt_prog_compiler_static=
   8482 fi
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8491 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8492 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8493   $as_echo_n "(cached) " >&6
   8494 else
   8495   lt_cv_prog_compiler_c_o=no
   8496    $RM -r conftest 2>/dev/null
   8497    mkdir conftest
   8498    cd conftest
   8499    mkdir out
   8500    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8501 
   8502    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8503    # Insert the option either (1) after the last *FLAGS variable, or
   8504    # (2) before a word containing "conftest.", or (3) at the end.
   8505    # Note that $ac_compile itself does not contain backslashes and begins
   8506    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8507    lt_compile=`echo "$ac_compile" | $SED \
   8508    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8509    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8510    -e 's:$: $lt_compiler_flag:'`
   8511    (eval echo "\"\$as_me:8511: $lt_compile\"" >&5)
   8512    (eval "$lt_compile" 2>out/conftest.err)
   8513    ac_status=$?
   8514    cat out/conftest.err >&5
   8515    echo "$as_me:8515: \$? = $ac_status" >&5
   8516    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8517    then
   8518      # The compiler can only warn and ignore the option if not recognized
   8519      # So say no if there are warnings
   8520      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8521      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8522      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8523        lt_cv_prog_compiler_c_o=yes
   8524      fi
   8525    fi
   8526    chmod u+w . 2>&5
   8527    $RM conftest*
   8528    # SGI C++ compiler will create directory out/ii_files/ for
   8529    # template instantiation
   8530    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8531    $RM out/* && rmdir out
   8532    cd ..
   8533    $RM -r conftest
   8534    $RM conftest*
   8535 
   8536 fi
   8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8538 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8546 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8547 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8548   $as_echo_n "(cached) " >&6
   8549 else
   8550   lt_cv_prog_compiler_c_o=no
   8551    $RM -r conftest 2>/dev/null
   8552    mkdir conftest
   8553    cd conftest
   8554    mkdir out
   8555    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8556 
   8557    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8558    # Insert the option either (1) after the last *FLAGS variable, or
   8559    # (2) before a word containing "conftest.", or (3) at the end.
   8560    # Note that $ac_compile itself does not contain backslashes and begins
   8561    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8562    lt_compile=`echo "$ac_compile" | $SED \
   8563    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8564    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8565    -e 's:$: $lt_compiler_flag:'`
   8566    (eval echo "\"\$as_me:8566: $lt_compile\"" >&5)
   8567    (eval "$lt_compile" 2>out/conftest.err)
   8568    ac_status=$?
   8569    cat out/conftest.err >&5
   8570    echo "$as_me:8570: \$? = $ac_status" >&5
   8571    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8572    then
   8573      # The compiler can only warn and ignore the option if not recognized
   8574      # So say no if there are warnings
   8575      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8576      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8577      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8578        lt_cv_prog_compiler_c_o=yes
   8579      fi
   8580    fi
   8581    chmod u+w . 2>&5
   8582    $RM conftest*
   8583    # SGI C++ compiler will create directory out/ii_files/ for
   8584    # template instantiation
   8585    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8586    $RM out/* && rmdir out
   8587    cd ..
   8588    $RM -r conftest
   8589    $RM conftest*
   8590 
   8591 fi
   8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8593 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8594 
   8595 
   8596 
   8597 
   8598 hard_links="nottested"
   8599 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8600   # do not overwrite the value of need_locks provided by the user
   8601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8602 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8603   hard_links=yes
   8604   $RM conftest*
   8605   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8606   touch conftest.a
   8607   ln conftest.a conftest.b 2>&5 || hard_links=no
   8608   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8610 $as_echo "$hard_links" >&6; }
   8611   if test "$hard_links" = no; then
   8612     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8613 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8614     need_locks=warn
   8615   fi
   8616 else
   8617   need_locks=no
   8618 fi
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8626 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8627 
   8628   runpath_var=
   8629   allow_undefined_flag=
   8630   always_export_symbols=no
   8631   archive_cmds=
   8632   archive_expsym_cmds=
   8633   compiler_needs_object=no
   8634   enable_shared_with_static_runtimes=no
   8635   export_dynamic_flag_spec=
   8636   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8637   hardcode_automatic=no
   8638   hardcode_direct=no
   8639   hardcode_direct_absolute=no
   8640   hardcode_libdir_flag_spec=
   8641   hardcode_libdir_flag_spec_ld=
   8642   hardcode_libdir_separator=
   8643   hardcode_minus_L=no
   8644   hardcode_shlibpath_var=unsupported
   8645   inherit_rpath=no
   8646   link_all_deplibs=unknown
   8647   module_cmds=
   8648   module_expsym_cmds=
   8649   old_archive_from_new_cmds=
   8650   old_archive_from_expsyms_cmds=
   8651   thread_safe_flag_spec=
   8652   whole_archive_flag_spec=
   8653   # include_expsyms should be a list of space-separated symbols to be *always*
   8654   # included in the symbol list
   8655   include_expsyms=
   8656   # exclude_expsyms can be an extended regexp of symbols to exclude
   8657   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8658   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8659   # as well as any symbol that contains `d'.
   8660   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8661   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8662   # platforms (ab)use it in PIC code, but their linkers get confused if
   8663   # the symbol is explicitly referenced.  Since portable code cannot
   8664   # rely on this symbol name, it's probably fine to never include it in
   8665   # preloaded symbol tables.
   8666   # Exclude shared library initialization/finalization symbols.
   8667   extract_expsyms_cmds=
   8668 
   8669   case $host_os in
   8670   cygwin* | mingw* | pw32* | cegcc*)
   8671     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8672     # When not using gcc, we currently assume that we are using
   8673     # Microsoft Visual C++.
   8674     if test "$GCC" != yes; then
   8675       with_gnu_ld=no
   8676     fi
   8677     ;;
   8678   interix*)
   8679     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8680     with_gnu_ld=yes
   8681     ;;
   8682   openbsd*)
   8683     with_gnu_ld=no
   8684     ;;
   8685   linux* | k*bsd*-gnu)
   8686     link_all_deplibs=no
   8687     ;;
   8688   esac
   8689 
   8690   ld_shlibs=yes
   8691   if test "$with_gnu_ld" = yes; then
   8692     # If archive_cmds runs LD, not CC, wlarc should be empty
   8693     wlarc='${wl}'
   8694 
   8695     # Set some defaults for GNU ld with shared library support. These
   8696     # are reset later if shared libraries are not supported. Putting them
   8697     # here allows them to be overridden if necessary.
   8698     runpath_var=LD_RUN_PATH
   8699     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8700     export_dynamic_flag_spec='${wl}--export-dynamic'
   8701     # ancient GNU ld didn't support --whole-archive et. al.
   8702     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8703       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8704     else
   8705       whole_archive_flag_spec=
   8706     fi
   8707     supports_anon_versioning=no
   8708     case `$LD -v 2>&1` in
   8709       *GNU\ gold*) supports_anon_versioning=yes ;;
   8710       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8711       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8712       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8713       *\ 2.11.*) ;; # other 2.11 versions
   8714       *) supports_anon_versioning=yes ;;
   8715     esac
   8716 
   8717     # See if GNU ld supports shared libraries.
   8718     case $host_os in
   8719     aix[3-9]*)
   8720       # On AIX/PPC, the GNU linker is very broken
   8721       if test "$host_cpu" != ia64; then
   8722 	ld_shlibs=no
   8723 	cat <<_LT_EOF 1>&2
   8724 
   8725 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8726 *** to be unable to reliably create shared libraries on AIX.
   8727 *** Therefore, libtool is disabling shared libraries support.  If you
   8728 *** really care for shared libraries, you may want to modify your PATH
   8729 *** so that a non-GNU linker is found, and then restart.
   8730 
   8731 _LT_EOF
   8732       fi
   8733       ;;
   8734 
   8735     amigaos*)
   8736       case $host_cpu in
   8737       powerpc)
   8738             # see comment about AmigaOS4 .so support
   8739             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8740             archive_expsym_cmds=''
   8741         ;;
   8742       m68k)
   8743             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   8744             hardcode_libdir_flag_spec='-L$libdir'
   8745             hardcode_minus_L=yes
   8746         ;;
   8747       esac
   8748       ;;
   8749 
   8750     beos*)
   8751       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8752 	allow_undefined_flag=unsupported
   8753 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8754 	# support --undefined.  This deserves some investigation.  FIXME
   8755 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8756       else
   8757 	ld_shlibs=no
   8758       fi
   8759       ;;
   8760 
   8761     cygwin* | mingw* | pw32* | cegcc*)
   8762       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8763       # as there is no search path for DLLs.
   8764       hardcode_libdir_flag_spec='-L$libdir'
   8765       allow_undefined_flag=unsupported
   8766       always_export_symbols=no
   8767       enable_shared_with_static_runtimes=yes
   8768       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8769 
   8770       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8771         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8772 	# If the export-symbols file already is a .def file (1st line
   8773 	# is EXPORTS), use it as is; otherwise, prepend...
   8774 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8775 	  cp $export_symbols $output_objdir/$soname.def;
   8776 	else
   8777 	  echo EXPORTS > $output_objdir/$soname.def;
   8778 	  cat $export_symbols >> $output_objdir/$soname.def;
   8779 	fi~
   8780 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8781       else
   8782 	ld_shlibs=no
   8783       fi
   8784       ;;
   8785 
   8786     interix[3-9]*)
   8787       hardcode_direct=no
   8788       hardcode_shlibpath_var=no
   8789       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8790       export_dynamic_flag_spec='${wl}-E'
   8791       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8792       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8793       # default) and relocated if they conflict, which is a slow very memory
   8794       # consuming and fragmenting process.  To avoid this, we pick a random,
   8795       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8796       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8797       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8798       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8799       ;;
   8800 
   8801     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8802       tmp_diet=no
   8803       if test "$host_os" = linux-dietlibc; then
   8804 	case $cc_basename in
   8805 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8806 	esac
   8807       fi
   8808       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8809 	 && test "$tmp_diet" = no
   8810       then
   8811 	tmp_addflag=
   8812 	tmp_sharedflag='-shared'
   8813 	case $cc_basename,$host_cpu in
   8814         pgcc*)				# Portland Group C compiler
   8815 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8816 	  tmp_addflag=' $pic_flag'
   8817 	  ;;
   8818 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8819 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8820 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8821 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8822 	  tmp_addflag=' -i_dynamic' ;;
   8823 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8824 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8825 	ifc* | ifort*)			# Intel Fortran compiler
   8826 	  tmp_addflag=' -nofor_main' ;;
   8827 	lf95*)				# Lahey Fortran 8.1
   8828 	  whole_archive_flag_spec=
   8829 	  tmp_sharedflag='--shared' ;;
   8830 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8831 	  tmp_sharedflag='-qmkshrobj'
   8832 	  tmp_addflag= ;;
   8833 	esac
   8834 	case `$CC -V 2>&1 | sed 5q` in
   8835 	*Sun\ C*)			# Sun C 5.9
   8836 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8837 	  compiler_needs_object=yes
   8838 	  tmp_sharedflag='-G' ;;
   8839 	*Sun\ F*)			# Sun Fortran 8.3
   8840 	  tmp_sharedflag='-G' ;;
   8841 	esac
   8842 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8843 
   8844         if test "x$supports_anon_versioning" = xyes; then
   8845           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8846 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8847 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8848 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8849         fi
   8850 
   8851 	case $cc_basename in
   8852 	xlf*)
   8853 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8854 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8855 	  hardcode_libdir_flag_spec=
   8856 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8857 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8858 	  if test "x$supports_anon_versioning" = xyes; then
   8859 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8860 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8861 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8862 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8863 	  fi
   8864 	  ;;
   8865 	esac
   8866       else
   8867         ld_shlibs=no
   8868       fi
   8869       ;;
   8870 
   8871     netbsd* | netbsdelf*-gnu)
   8872       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8873 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8874 	wlarc=
   8875       else
   8876 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8877 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8878       fi
   8879       ;;
   8880 
   8881     solaris*)
   8882       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8883 	ld_shlibs=no
   8884 	cat <<_LT_EOF 1>&2
   8885 
   8886 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8887 *** create shared libraries on Solaris systems.  Therefore, libtool
   8888 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8889 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8890 *** your PATH or compiler configuration so that the native linker is
   8891 *** used, and then restart.
   8892 
   8893 _LT_EOF
   8894       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8895 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8896 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8897       else
   8898 	ld_shlibs=no
   8899       fi
   8900       ;;
   8901 
   8902     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8903       case `$LD -v 2>&1` in
   8904         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8905 	ld_shlibs=no
   8906 	cat <<_LT_EOF 1>&2
   8907 
   8908 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8909 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8910 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8911 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8912 *** your PATH or compiler configuration so that the native linker is
   8913 *** used, and then restart.
   8914 
   8915 _LT_EOF
   8916 	;;
   8917 	*)
   8918 	  # For security reasons, it is highly recommended that you always
   8919 	  # use absolute paths for naming shared libraries, and exclude the
   8920 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8921 	  # requires that you compile everything twice, which is a pain.
   8922 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8923 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8924 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8925 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8926 	  else
   8927 	    ld_shlibs=no
   8928 	  fi
   8929 	;;
   8930       esac
   8931       ;;
   8932 
   8933     sunos4*)
   8934       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8935       wlarc=
   8936       hardcode_direct=yes
   8937       hardcode_shlibpath_var=no
   8938       ;;
   8939 
   8940     *)
   8941       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8942 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8943 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8944       else
   8945 	ld_shlibs=no
   8946       fi
   8947       ;;
   8948     esac
   8949 
   8950     if test "$ld_shlibs" = no; then
   8951       runpath_var=
   8952       hardcode_libdir_flag_spec=
   8953       export_dynamic_flag_spec=
   8954       whole_archive_flag_spec=
   8955     fi
   8956   else
   8957     # PORTME fill in a description of your system's linker (not GNU ld)
   8958     case $host_os in
   8959     aix3*)
   8960       allow_undefined_flag=unsupported
   8961       always_export_symbols=yes
   8962       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   8963       # Note: this linker hardcodes the directories in LIBPATH if there
   8964       # are no directories specified by -L.
   8965       hardcode_minus_L=yes
   8966       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8967 	# Neither direct hardcoding nor static linking is supported with a
   8968 	# broken collect2.
   8969 	hardcode_direct=unsupported
   8970       fi
   8971       ;;
   8972 
   8973     aix[4-9]*)
   8974       if test "$host_cpu" = ia64; then
   8975 	# On IA64, the linker does run time linking by default, so we don't
   8976 	# have to do anything special.
   8977 	aix_use_runtimelinking=no
   8978 	exp_sym_flag='-Bexport'
   8979 	no_entry_flag=""
   8980       else
   8981 	# If we're using GNU nm, then we don't want the "-C" option.
   8982 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8983 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8984 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8985 	else
   8986 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8987 	fi
   8988 	aix_use_runtimelinking=no
   8989 
   8990 	# Test if we are trying to use run time linking or normal
   8991 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8992 	# need to do runtime linking.
   8993 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8994 	  for ld_flag in $LDFLAGS; do
   8995 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8996 	    aix_use_runtimelinking=yes
   8997 	    break
   8998 	  fi
   8999 	  done
   9000 	  ;;
   9001 	esac
   9002 
   9003 	exp_sym_flag='-bexport'
   9004 	no_entry_flag='-bnoentry'
   9005       fi
   9006 
   9007       # When large executables or shared objects are built, AIX ld can
   9008       # have problems creating the table of contents.  If linking a library
   9009       # or program results in "error TOC overflow" add -mminimal-toc to
   9010       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9011       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9012 
   9013       archive_cmds=''
   9014       hardcode_direct=yes
   9015       hardcode_direct_absolute=yes
   9016       hardcode_libdir_separator=':'
   9017       link_all_deplibs=yes
   9018       file_list_spec='${wl}-f,'
   9019 
   9020       if test "$GCC" = yes; then
   9021 	case $host_os in aix4.[012]|aix4.[012].*)
   9022 	# We only want to do this on AIX 4.2 and lower, the check
   9023 	# below for broken collect2 doesn't work under 4.3+
   9024 	  collect2name=`${CC} -print-prog-name=collect2`
   9025 	  if test -f "$collect2name" &&
   9026 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9027 	  then
   9028 	  # We have reworked collect2
   9029 	  :
   9030 	  else
   9031 	  # We have old collect2
   9032 	  hardcode_direct=unsupported
   9033 	  # It fails to find uninstalled libraries when the uninstalled
   9034 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9035 	  # to unsupported forces relinking
   9036 	  hardcode_minus_L=yes
   9037 	  hardcode_libdir_flag_spec='-L$libdir'
   9038 	  hardcode_libdir_separator=
   9039 	  fi
   9040 	  ;;
   9041 	esac
   9042 	shared_flag='-shared'
   9043 	if test "$aix_use_runtimelinking" = yes; then
   9044 	  shared_flag="$shared_flag "'${wl}-G'
   9045 	fi
   9046 	link_all_deplibs=no
   9047       else
   9048 	# not using gcc
   9049 	if test "$host_cpu" = ia64; then
   9050 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9051 	# chokes on -Wl,-G. The following line is correct:
   9052 	  shared_flag='-G'
   9053 	else
   9054 	  if test "$aix_use_runtimelinking" = yes; then
   9055 	    shared_flag='${wl}-G'
   9056 	  else
   9057 	    shared_flag='${wl}-bM:SRE'
   9058 	  fi
   9059 	fi
   9060       fi
   9061 
   9062       export_dynamic_flag_spec='${wl}-bexpall'
   9063       # It seems that -bexpall does not export symbols beginning with
   9064       # underscore (_), so it is better to generate a list of symbols to export.
   9065       always_export_symbols=yes
   9066       if test "$aix_use_runtimelinking" = yes; then
   9067 	# Warning - without using the other runtime loading flags (-brtl),
   9068 	# -berok will link without error, but may produce a broken library.
   9069 	allow_undefined_flag='-berok'
   9070         # Determine the default libpath from the value encoded in an
   9071         # empty executable.
   9072         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9073 /* end confdefs.h.  */
   9074 
   9075 int
   9076 main ()
   9077 {
   9078 
   9079   ;
   9080   return 0;
   9081 }
   9082 _ACEOF
   9083 if ac_fn_c_try_link "$LINENO"; then :
   9084 
   9085 lt_aix_libpath_sed='
   9086     /Import File Strings/,/^$/ {
   9087 	/^0/ {
   9088 	    s/^0  *\(.*\)$/\1/
   9089 	    p
   9090 	}
   9091     }'
   9092 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9093 # Check for a 64-bit object if we didn't find anything.
   9094 if test -z "$aix_libpath"; then
   9095   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9096 fi
   9097 fi
   9098 rm -f core conftest.err conftest.$ac_objext \
   9099     conftest$ac_exeext conftest.$ac_ext
   9100 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9101 
   9102         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9103         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9104       else
   9105 	if test "$host_cpu" = ia64; then
   9106 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9107 	  allow_undefined_flag="-z nodefs"
   9108 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   9109 	else
   9110 	 # Determine the default libpath from the value encoded in an
   9111 	 # empty executable.
   9112 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9113 /* end confdefs.h.  */
   9114 
   9115 int
   9116 main ()
   9117 {
   9118 
   9119   ;
   9120   return 0;
   9121 }
   9122 _ACEOF
   9123 if ac_fn_c_try_link "$LINENO"; then :
   9124 
   9125 lt_aix_libpath_sed='
   9126     /Import File Strings/,/^$/ {
   9127 	/^0/ {
   9128 	    s/^0  *\(.*\)$/\1/
   9129 	    p
   9130 	}
   9131     }'
   9132 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9133 # Check for a 64-bit object if we didn't find anything.
   9134 if test -z "$aix_libpath"; then
   9135   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9136 fi
   9137 fi
   9138 rm -f core conftest.err conftest.$ac_objext \
   9139     conftest$ac_exeext conftest.$ac_ext
   9140 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9141 
   9142 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9143 	  # Warning - without using the other run time loading flags,
   9144 	  # -berok will link without error, but may produce a broken library.
   9145 	  no_undefined_flag=' ${wl}-bernotok'
   9146 	  allow_undefined_flag=' ${wl}-berok'
   9147 	  # Exported symbols can be pulled into shared objects from archives
   9148 	  whole_archive_flag_spec='$convenience'
   9149 	  archive_cmds_need_lc=yes
   9150 	  # This is similar to how AIX traditionally builds its shared libraries.
   9151 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9152 	fi
   9153       fi
   9154       ;;
   9155 
   9156     amigaos*)
   9157       case $host_cpu in
   9158       powerpc)
   9159             # see comment about AmigaOS4 .so support
   9160             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9161             archive_expsym_cmds=''
   9162         ;;
   9163       m68k)
   9164             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9165             hardcode_libdir_flag_spec='-L$libdir'
   9166             hardcode_minus_L=yes
   9167         ;;
   9168       esac
   9169       ;;
   9170 
   9171     bsdi[45]*)
   9172       export_dynamic_flag_spec=-rdynamic
   9173       ;;
   9174 
   9175     cygwin* | mingw* | pw32* | cegcc*)
   9176       # When not using gcc, we currently assume that we are using
   9177       # Microsoft Visual C++.
   9178       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9179       # no search path for DLLs.
   9180       hardcode_libdir_flag_spec=' '
   9181       allow_undefined_flag=unsupported
   9182       # Tell ltmain to make .lib files, not .a files.
   9183       libext=lib
   9184       # Tell ltmain to make .dll files, not .so files.
   9185       shrext_cmds=".dll"
   9186       # FIXME: Setting linknames here is a bad hack.
   9187       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9188       # The linker will automatically build a .lib file if we build a DLL.
   9189       old_archive_from_new_cmds='true'
   9190       # FIXME: Should let the user specify the lib program.
   9191       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9192       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9193       enable_shared_with_static_runtimes=yes
   9194       ;;
   9195 
   9196     darwin* | rhapsody*)
   9197 
   9198 
   9199   archive_cmds_need_lc=no
   9200   hardcode_direct=no
   9201   hardcode_automatic=yes
   9202   hardcode_shlibpath_var=unsupported
   9203   whole_archive_flag_spec=''
   9204   link_all_deplibs=yes
   9205   allow_undefined_flag="$_lt_dar_allow_undefined"
   9206   case $cc_basename in
   9207      ifort*) _lt_dar_can_shared=yes ;;
   9208      *) _lt_dar_can_shared=$GCC ;;
   9209   esac
   9210   if test "$_lt_dar_can_shared" = "yes"; then
   9211     output_verbose_link_cmd=echo
   9212     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9213     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9214     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   9215     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   9216 
   9217   else
   9218   ld_shlibs=no
   9219   fi
   9220 
   9221       ;;
   9222 
   9223     dgux*)
   9224       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9225       hardcode_libdir_flag_spec='-L$libdir'
   9226       hardcode_shlibpath_var=no
   9227       ;;
   9228 
   9229     freebsd1*)
   9230       ld_shlibs=no
   9231       ;;
   9232 
   9233     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9234     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9235     # does not break anything, and helps significantly (at the cost of a little
   9236     # extra space).
   9237     freebsd2.2*)
   9238       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9239       hardcode_libdir_flag_spec='-R$libdir'
   9240       hardcode_direct=yes
   9241       hardcode_shlibpath_var=no
   9242       ;;
   9243 
   9244     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9245     freebsd2*)
   9246       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9247       hardcode_direct=yes
   9248       hardcode_minus_L=yes
   9249       hardcode_shlibpath_var=no
   9250       ;;
   9251 
   9252     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9253     freebsd* | dragonfly*)
   9254       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9255       hardcode_libdir_flag_spec='-R$libdir'
   9256       hardcode_direct=yes
   9257       hardcode_shlibpath_var=no
   9258       ;;
   9259 
   9260     hpux9*)
   9261       if test "$GCC" = yes; then
   9262 	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'
   9263       else
   9264 	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'
   9265       fi
   9266       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9267       hardcode_libdir_separator=:
   9268       hardcode_direct=yes
   9269 
   9270       # hardcode_minus_L: Not really in the search PATH,
   9271       # but as the default location of the library.
   9272       hardcode_minus_L=yes
   9273       export_dynamic_flag_spec='${wl}-E'
   9274       ;;
   9275 
   9276     hpux10*)
   9277       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9278 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9279       else
   9280 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9281       fi
   9282       if test "$with_gnu_ld" = no; then
   9283 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9284 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9285 	hardcode_libdir_separator=:
   9286 	hardcode_direct=yes
   9287 	hardcode_direct_absolute=yes
   9288 	export_dynamic_flag_spec='${wl}-E'
   9289 	# hardcode_minus_L: Not really in the search PATH,
   9290 	# but as the default location of the library.
   9291 	hardcode_minus_L=yes
   9292       fi
   9293       ;;
   9294 
   9295     hpux11*)
   9296       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9297 	case $host_cpu in
   9298 	hppa*64*)
   9299 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9300 	  ;;
   9301 	ia64*)
   9302 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9303 	  ;;
   9304 	*)
   9305 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9306 	  ;;
   9307 	esac
   9308       else
   9309 	case $host_cpu in
   9310 	hppa*64*)
   9311 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9312 	  ;;
   9313 	ia64*)
   9314 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9315 	  ;;
   9316 	*)
   9317 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9318 	  ;;
   9319 	esac
   9320       fi
   9321       if test "$with_gnu_ld" = no; then
   9322 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9323 	hardcode_libdir_separator=:
   9324 
   9325 	case $host_cpu in
   9326 	hppa*64*|ia64*)
   9327 	  hardcode_direct=no
   9328 	  hardcode_shlibpath_var=no
   9329 	  ;;
   9330 	*)
   9331 	  hardcode_direct=yes
   9332 	  hardcode_direct_absolute=yes
   9333 	  export_dynamic_flag_spec='${wl}-E'
   9334 
   9335 	  # hardcode_minus_L: Not really in the search PATH,
   9336 	  # but as the default location of the library.
   9337 	  hardcode_minus_L=yes
   9338 	  ;;
   9339 	esac
   9340       fi
   9341       ;;
   9342 
   9343     irix5* | irix6* | nonstopux*)
   9344       if test "$GCC" = yes; then
   9345 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9346 	# Try to use the -exported_symbol ld option, if it does not
   9347 	# work, assume that -exports_file does not work either and
   9348 	# implicitly export all symbols.
   9349         save_LDFLAGS="$LDFLAGS"
   9350         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9351         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9352 /* end confdefs.h.  */
   9353 int foo(void) {}
   9354 _ACEOF
   9355 if ac_fn_c_try_link "$LINENO"; then :
   9356   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9357 
   9358 fi
   9359 rm -f core conftest.err conftest.$ac_objext \
   9360     conftest$ac_exeext conftest.$ac_ext
   9361         LDFLAGS="$save_LDFLAGS"
   9362       else
   9363 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9364 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9365       fi
   9366       archive_cmds_need_lc='no'
   9367       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9368       hardcode_libdir_separator=:
   9369       inherit_rpath=yes
   9370       link_all_deplibs=yes
   9371       ;;
   9372 
   9373     netbsd* | netbsdelf*-gnu)
   9374       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9375 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9376       else
   9377 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9378       fi
   9379       hardcode_libdir_flag_spec='-R$libdir'
   9380       hardcode_direct=yes
   9381       hardcode_shlibpath_var=no
   9382       ;;
   9383 
   9384     newsos6)
   9385       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9386       hardcode_direct=yes
   9387       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9388       hardcode_libdir_separator=:
   9389       hardcode_shlibpath_var=no
   9390       ;;
   9391 
   9392     *nto* | *qnx*)
   9393       ;;
   9394 
   9395     openbsd*)
   9396       if test -f /usr/libexec/ld.so; then
   9397 	hardcode_direct=yes
   9398 	hardcode_shlibpath_var=no
   9399 	hardcode_direct_absolute=yes
   9400 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9401 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9402 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9403 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9404 	  export_dynamic_flag_spec='${wl}-E'
   9405 	else
   9406 	  case $host_os in
   9407 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9408 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9409 	     hardcode_libdir_flag_spec='-R$libdir'
   9410 	     ;;
   9411 	   *)
   9412 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9413 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9414 	     ;;
   9415 	  esac
   9416 	fi
   9417       else
   9418 	ld_shlibs=no
   9419       fi
   9420       ;;
   9421 
   9422     os2*)
   9423       hardcode_libdir_flag_spec='-L$libdir'
   9424       hardcode_minus_L=yes
   9425       allow_undefined_flag=unsupported
   9426       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9427       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9428       ;;
   9429 
   9430     osf3*)
   9431       if test "$GCC" = yes; then
   9432 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9433 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9434       else
   9435 	allow_undefined_flag=' -expect_unresolved \*'
   9436 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9437       fi
   9438       archive_cmds_need_lc='no'
   9439       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9440       hardcode_libdir_separator=:
   9441       ;;
   9442 
   9443     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9444       if test "$GCC" = yes; then
   9445 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9446 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9447 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9448       else
   9449 	allow_undefined_flag=' -expect_unresolved \*'
   9450 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9451 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   9452 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9453 
   9454 	# Both c and cxx compiler support -rpath directly
   9455 	hardcode_libdir_flag_spec='-rpath $libdir'
   9456       fi
   9457       archive_cmds_need_lc='no'
   9458       hardcode_libdir_separator=:
   9459       ;;
   9460 
   9461     solaris*)
   9462       no_undefined_flag=' -z defs'
   9463       if test "$GCC" = yes; then
   9464 	wlarc='${wl}'
   9465 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9466 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9467 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9468       else
   9469 	case `$CC -V 2>&1` in
   9470 	*"Compilers 5.0"*)
   9471 	  wlarc=''
   9472 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9473 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9474 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9475 	  ;;
   9476 	*)
   9477 	  wlarc='${wl}'
   9478 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9479 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9480 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9481 	  ;;
   9482 	esac
   9483       fi
   9484       hardcode_libdir_flag_spec='-R$libdir'
   9485       hardcode_shlibpath_var=no
   9486       case $host_os in
   9487       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9488       *)
   9489 	# The compiler driver will combine and reorder linker options,
   9490 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9491 	# but is careful enough not to reorder.
   9492 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9493 	if test "$GCC" = yes; then
   9494 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9495 	else
   9496 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9497 	fi
   9498 	;;
   9499       esac
   9500       link_all_deplibs=yes
   9501       ;;
   9502 
   9503     sunos4*)
   9504       if test "x$host_vendor" = xsequent; then
   9505 	# Use $CC to link under sequent, because it throws in some extra .o
   9506 	# files that make .init and .fini sections work.
   9507 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9508       else
   9509 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9510       fi
   9511       hardcode_libdir_flag_spec='-L$libdir'
   9512       hardcode_direct=yes
   9513       hardcode_minus_L=yes
   9514       hardcode_shlibpath_var=no
   9515       ;;
   9516 
   9517     sysv4)
   9518       case $host_vendor in
   9519 	sni)
   9520 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9521 	  hardcode_direct=yes # is this really true???
   9522 	;;
   9523 	siemens)
   9524 	  ## LD is ld it makes a PLAMLIB
   9525 	  ## CC just makes a GrossModule.
   9526 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9527 	  reload_cmds='$CC -r -o $output$reload_objs'
   9528 	  hardcode_direct=no
   9529         ;;
   9530 	motorola)
   9531 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9532 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9533 	;;
   9534       esac
   9535       runpath_var='LD_RUN_PATH'
   9536       hardcode_shlibpath_var=no
   9537       ;;
   9538 
   9539     sysv4.3*)
   9540       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9541       hardcode_shlibpath_var=no
   9542       export_dynamic_flag_spec='-Bexport'
   9543       ;;
   9544 
   9545     sysv4*MP*)
   9546       if test -d /usr/nec; then
   9547 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9548 	hardcode_shlibpath_var=no
   9549 	runpath_var=LD_RUN_PATH
   9550 	hardcode_runpath_var=yes
   9551 	ld_shlibs=yes
   9552       fi
   9553       ;;
   9554 
   9555     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9556       no_undefined_flag='${wl}-z,text'
   9557       archive_cmds_need_lc=no
   9558       hardcode_shlibpath_var=no
   9559       runpath_var='LD_RUN_PATH'
   9560 
   9561       if test "$GCC" = yes; then
   9562 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9563 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9564       else
   9565 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9566 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9567       fi
   9568       ;;
   9569 
   9570     sysv5* | sco3.2v5* | sco5v6*)
   9571       # Note: We can NOT use -z defs as we might desire, because we do not
   9572       # link with -lc, and that would cause any symbols used from libc to
   9573       # always be unresolved, which means just about no library would
   9574       # ever link correctly.  If we're not using GNU ld we use -z text
   9575       # though, which does catch some bad symbols but isn't as heavy-handed
   9576       # as -z defs.
   9577       no_undefined_flag='${wl}-z,text'
   9578       allow_undefined_flag='${wl}-z,nodefs'
   9579       archive_cmds_need_lc=no
   9580       hardcode_shlibpath_var=no
   9581       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9582       hardcode_libdir_separator=':'
   9583       link_all_deplibs=yes
   9584       export_dynamic_flag_spec='${wl}-Bexport'
   9585       runpath_var='LD_RUN_PATH'
   9586 
   9587       if test "$GCC" = yes; then
   9588 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9589 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9590       else
   9591 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9592 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9593       fi
   9594       ;;
   9595 
   9596     uts4*)
   9597       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9598       hardcode_libdir_flag_spec='-L$libdir'
   9599       hardcode_shlibpath_var=no
   9600       ;;
   9601 
   9602     *)
   9603       ld_shlibs=no
   9604       ;;
   9605     esac
   9606 
   9607     if test x$host_vendor = xsni; then
   9608       case $host in
   9609       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9610 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9611 	;;
   9612       esac
   9613     fi
   9614   fi
   9615 
   9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9617 $as_echo "$ld_shlibs" >&6; }
   9618 test "$ld_shlibs" = no && can_build_shared=no
   9619 
   9620 with_gnu_ld=$with_gnu_ld
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 #
   9637 # Do we need to explicitly link libc?
   9638 #
   9639 case "x$archive_cmds_need_lc" in
   9640 x|xyes)
   9641   # Assume -lc should be added
   9642   archive_cmds_need_lc=yes
   9643 
   9644   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9645     case $archive_cmds in
   9646     *'~'*)
   9647       # FIXME: we may have to deal with multi-command sequences.
   9648       ;;
   9649     '$CC '*)
   9650       # Test whether the compiler implicitly links with -lc since on some
   9651       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9652       # to ld, don't add -lc before -lgcc.
   9653       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9654 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9655       $RM conftest*
   9656       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9657 
   9658       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9659   (eval $ac_compile) 2>&5
   9660   ac_status=$?
   9661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9662   test $ac_status = 0; } 2>conftest.err; then
   9663         soname=conftest
   9664         lib=conftest
   9665         libobjs=conftest.$ac_objext
   9666         deplibs=
   9667         wl=$lt_prog_compiler_wl
   9668 	pic_flag=$lt_prog_compiler_pic
   9669         compiler_flags=-v
   9670         linker_flags=-v
   9671         verstring=
   9672         output_objdir=.
   9673         libname=conftest
   9674         lt_save_allow_undefined_flag=$allow_undefined_flag
   9675         allow_undefined_flag=
   9676         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9677   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9678   ac_status=$?
   9679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9680   test $ac_status = 0; }
   9681         then
   9682 	  archive_cmds_need_lc=no
   9683         else
   9684 	  archive_cmds_need_lc=yes
   9685         fi
   9686         allow_undefined_flag=$lt_save_allow_undefined_flag
   9687       else
   9688         cat conftest.err 1>&5
   9689       fi
   9690       $RM conftest*
   9691       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   9692 $as_echo "$archive_cmds_need_lc" >&6; }
   9693       ;;
   9694     esac
   9695   fi
   9696   ;;
   9697 esac
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9856 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9857 
   9858 if test "$GCC" = yes; then
   9859   case $host_os in
   9860     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9861     *) lt_awk_arg="/^libraries:/" ;;
   9862   esac
   9863   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9864   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9865     # if the path contains ";" then we assume it to be the separator
   9866     # otherwise default to the standard path separator (i.e. ":") - it is
   9867     # assumed that no part of a normal pathname contains ";" but that should
   9868     # okay in the real world where ";" in dirpaths is itself problematic.
   9869     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9870   else
   9871     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9872   fi
   9873   # Ok, now we have the path, separated by spaces, we can step through it
   9874   # and add multilib dir if necessary.
   9875   lt_tmp_lt_search_path_spec=
   9876   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9877   for lt_sys_path in $lt_search_path_spec; do
   9878     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9879       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9880     else
   9881       test -d "$lt_sys_path" && \
   9882 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9883     fi
   9884   done
   9885   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9886 BEGIN {RS=" "; FS="/|\n";} {
   9887   lt_foo="";
   9888   lt_count=0;
   9889   for (lt_i = NF; lt_i > 0; lt_i--) {
   9890     if ($lt_i != "" && $lt_i != ".") {
   9891       if ($lt_i == "..") {
   9892         lt_count++;
   9893       } else {
   9894         if (lt_count == 0) {
   9895           lt_foo="/" $lt_i lt_foo;
   9896         } else {
   9897           lt_count--;
   9898         }
   9899       }
   9900     }
   9901   }
   9902   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9903   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9904 }'`
   9905   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9906 else
   9907   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9908 fi
   9909 library_names_spec=
   9910 libname_spec='lib$name'
   9911 soname_spec=
   9912 shrext_cmds=".so"
   9913 postinstall_cmds=
   9914 postuninstall_cmds=
   9915 finish_cmds=
   9916 finish_eval=
   9917 shlibpath_var=
   9918 shlibpath_overrides_runpath=unknown
   9919 version_type=none
   9920 dynamic_linker="$host_os ld.so"
   9921 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9922 need_lib_prefix=unknown
   9923 hardcode_into_libs=no
   9924 
   9925 # when you set need_version to no, make sure it does not cause -set_version
   9926 # flags to be left without arguments
   9927 need_version=unknown
   9928 
   9929 case $host_os in
   9930 aix3*)
   9931   version_type=linux
   9932   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9933   shlibpath_var=LIBPATH
   9934 
   9935   # AIX 3 has no versioning support, so we append a major version to the name.
   9936   soname_spec='${libname}${release}${shared_ext}$major'
   9937   ;;
   9938 
   9939 aix[4-9]*)
   9940   version_type=linux
   9941   need_lib_prefix=no
   9942   need_version=no
   9943   hardcode_into_libs=yes
   9944   if test "$host_cpu" = ia64; then
   9945     # AIX 5 supports IA64
   9946     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9947     shlibpath_var=LD_LIBRARY_PATH
   9948   else
   9949     # With GCC up to 2.95.x, collect2 would create an import file
   9950     # for dependence libraries.  The import file would start with
   9951     # the line `#! .'.  This would cause the generated library to
   9952     # depend on `.', always an invalid library.  This was fixed in
   9953     # development snapshots of GCC prior to 3.0.
   9954     case $host_os in
   9955       aix4 | aix4.[01] | aix4.[01].*)
   9956       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9957 	   echo ' yes '
   9958 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9959 	:
   9960       else
   9961 	can_build_shared=no
   9962       fi
   9963       ;;
   9964     esac
   9965     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9966     # soname into executable. Probably we can add versioning support to
   9967     # collect2, so additional links can be useful in future.
   9968     if test "$aix_use_runtimelinking" = yes; then
   9969       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9970       # instead of lib<name>.a to let people know that these are not
   9971       # typical AIX shared libraries.
   9972       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9973     else
   9974       # We preserve .a as extension for shared libraries through AIX4.2
   9975       # and later when we are not doing run time linking.
   9976       library_names_spec='${libname}${release}.a $libname.a'
   9977       soname_spec='${libname}${release}${shared_ext}$major'
   9978     fi
   9979     shlibpath_var=LIBPATH
   9980   fi
   9981   ;;
   9982 
   9983 amigaos*)
   9984   case $host_cpu in
   9985   powerpc)
   9986     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9987     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9988     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9989     ;;
   9990   m68k)
   9991     library_names_spec='$libname.ixlibrary $libname.a'
   9992     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9993     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   9994     ;;
   9995   esac
   9996   ;;
   9997 
   9998 beos*)
   9999   library_names_spec='${libname}${shared_ext}'
   10000   dynamic_linker="$host_os ld.so"
   10001   shlibpath_var=LIBRARY_PATH
   10002   ;;
   10003 
   10004 bsdi[45]*)
   10005   version_type=linux
   10006   need_version=no
   10007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10008   soname_spec='${libname}${release}${shared_ext}$major'
   10009   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10010   shlibpath_var=LD_LIBRARY_PATH
   10011   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10012   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10013   # the default ld.so.conf also contains /usr/contrib/lib and
   10014   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10015   # libtool to hard-code these into programs
   10016   ;;
   10017 
   10018 cygwin* | mingw* | pw32* | cegcc*)
   10019   version_type=windows
   10020   shrext_cmds=".dll"
   10021   need_version=no
   10022   need_lib_prefix=no
   10023 
   10024   case $GCC,$host_os in
   10025   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10026     library_names_spec='$libname.dll.a'
   10027     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10028     postinstall_cmds='base_file=`basename \${file}`~
   10029       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10030       dldir=$destdir/`dirname \$dlpath`~
   10031       test -d \$dldir || mkdir -p \$dldir~
   10032       $install_prog $dir/$dlname \$dldir/$dlname~
   10033       chmod a+x \$dldir/$dlname~
   10034       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10035         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10036       fi'
   10037     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10038       dlpath=$dir/\$dldll~
   10039        $RM \$dlpath'
   10040     shlibpath_overrides_runpath=yes
   10041 
   10042     case $host_os in
   10043     cygwin*)
   10044       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10045       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10046       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10047       ;;
   10048     mingw* | cegcc*)
   10049       # MinGW DLLs use traditional 'lib' prefix
   10050       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10051       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10052       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10053         # It is most probably a Windows format PATH printed by
   10054         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10055         # path with ; separators, and with drive letters. We can handle the
   10056         # drive letters (cygwin fileutils understands them), so leave them,
   10057         # especially as we might pass files found there to a mingw objdump,
   10058         # which wouldn't understand a cygwinified path. Ahh.
   10059         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10060       else
   10061         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10062       fi
   10063       ;;
   10064     pw32*)
   10065       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10066       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10067       ;;
   10068     esac
   10069     ;;
   10070 
   10071   *)
   10072     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10073     ;;
   10074   esac
   10075   dynamic_linker='Win32 ld.exe'
   10076   # FIXME: first we should search . and the directory the executable is in
   10077   shlibpath_var=PATH
   10078   ;;
   10079 
   10080 darwin* | rhapsody*)
   10081   dynamic_linker="$host_os dyld"
   10082   version_type=darwin
   10083   need_lib_prefix=no
   10084   need_version=no
   10085   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10086   soname_spec='${libname}${release}${major}$shared_ext'
   10087   shlibpath_overrides_runpath=yes
   10088   shlibpath_var=DYLD_LIBRARY_PATH
   10089   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10090 
   10091   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10092   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10093   ;;
   10094 
   10095 dgux*)
   10096   version_type=linux
   10097   need_lib_prefix=no
   10098   need_version=no
   10099   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10100   soname_spec='${libname}${release}${shared_ext}$major'
   10101   shlibpath_var=LD_LIBRARY_PATH
   10102   ;;
   10103 
   10104 freebsd1*)
   10105   dynamic_linker=no
   10106   ;;
   10107 
   10108 freebsd* | dragonfly*)
   10109   # DragonFly does not have aout.  When/if they implement a new
   10110   # versioning mechanism, adjust this.
   10111   if test -x /usr/bin/objformat; then
   10112     objformat=`/usr/bin/objformat`
   10113   else
   10114     case $host_os in
   10115     freebsd[123]*) objformat=aout ;;
   10116     *) objformat=elf ;;
   10117     esac
   10118   fi
   10119   version_type=freebsd-$objformat
   10120   case $version_type in
   10121     freebsd-elf*)
   10122       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10123       need_version=no
   10124       need_lib_prefix=no
   10125       ;;
   10126     freebsd-*)
   10127       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10128       need_version=yes
   10129       ;;
   10130   esac
   10131   shlibpath_var=LD_LIBRARY_PATH
   10132   case $host_os in
   10133   freebsd2*)
   10134     shlibpath_overrides_runpath=yes
   10135     ;;
   10136   freebsd3.[01]* | freebsdelf3.[01]*)
   10137     shlibpath_overrides_runpath=yes
   10138     hardcode_into_libs=yes
   10139     ;;
   10140   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10141   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10142     shlibpath_overrides_runpath=no
   10143     hardcode_into_libs=yes
   10144     ;;
   10145   *) # from 4.6 on, and DragonFly
   10146     shlibpath_overrides_runpath=yes
   10147     hardcode_into_libs=yes
   10148     ;;
   10149   esac
   10150   ;;
   10151 
   10152 gnu*)
   10153   version_type=linux
   10154   need_lib_prefix=no
   10155   need_version=no
   10156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10157   soname_spec='${libname}${release}${shared_ext}$major'
   10158   shlibpath_var=LD_LIBRARY_PATH
   10159   hardcode_into_libs=yes
   10160   ;;
   10161 
   10162 hpux9* | hpux10* | hpux11*)
   10163   # Give a soname corresponding to the major version so that dld.sl refuses to
   10164   # link against other versions.
   10165   version_type=sunos
   10166   need_lib_prefix=no
   10167   need_version=no
   10168   case $host_cpu in
   10169   ia64*)
   10170     shrext_cmds='.so'
   10171     hardcode_into_libs=yes
   10172     dynamic_linker="$host_os dld.so"
   10173     shlibpath_var=LD_LIBRARY_PATH
   10174     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10175     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10176     soname_spec='${libname}${release}${shared_ext}$major'
   10177     if test "X$HPUX_IA64_MODE" = X32; then
   10178       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10179     else
   10180       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10181     fi
   10182     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10183     ;;
   10184   hppa*64*)
   10185     shrext_cmds='.sl'
   10186     hardcode_into_libs=yes
   10187     dynamic_linker="$host_os dld.sl"
   10188     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10189     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10190     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10191     soname_spec='${libname}${release}${shared_ext}$major'
   10192     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10193     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10194     ;;
   10195   *)
   10196     shrext_cmds='.sl'
   10197     dynamic_linker="$host_os dld.sl"
   10198     shlibpath_var=SHLIB_PATH
   10199     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10200     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10201     soname_spec='${libname}${release}${shared_ext}$major'
   10202     ;;
   10203   esac
   10204   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10205   postinstall_cmds='chmod 555 $lib'
   10206   ;;
   10207 
   10208 interix[3-9]*)
   10209   version_type=linux
   10210   need_lib_prefix=no
   10211   need_version=no
   10212   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10213   soname_spec='${libname}${release}${shared_ext}$major'
   10214   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10215   shlibpath_var=LD_LIBRARY_PATH
   10216   shlibpath_overrides_runpath=no
   10217   hardcode_into_libs=yes
   10218   ;;
   10219 
   10220 irix5* | irix6* | nonstopux*)
   10221   case $host_os in
   10222     nonstopux*) version_type=nonstopux ;;
   10223     *)
   10224 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10225 		version_type=linux
   10226 	else
   10227 		version_type=irix
   10228 	fi ;;
   10229   esac
   10230   need_lib_prefix=no
   10231   need_version=no
   10232   soname_spec='${libname}${release}${shared_ext}$major'
   10233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10234   case $host_os in
   10235   irix5* | nonstopux*)
   10236     libsuff= shlibsuff=
   10237     ;;
   10238   *)
   10239     case $LD in # libtool.m4 will add one of these switches to LD
   10240     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10241       libsuff= shlibsuff= libmagic=32-bit;;
   10242     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10243       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10244     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10245       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10246     *) libsuff= shlibsuff= libmagic=never-match;;
   10247     esac
   10248     ;;
   10249   esac
   10250   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10251   shlibpath_overrides_runpath=no
   10252   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10253   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10254   hardcode_into_libs=yes
   10255   ;;
   10256 
   10257 # No shared lib support for Linux oldld, aout, or coff.
   10258 linux*oldld* | linux*aout* | linux*coff*)
   10259   dynamic_linker=no
   10260   ;;
   10261 
   10262 # This must be Linux ELF.
   10263 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10264   version_type=linux
   10265   need_lib_prefix=no
   10266   need_version=no
   10267   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10268   soname_spec='${libname}${release}${shared_ext}$major'
   10269   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10270   shlibpath_var=LD_LIBRARY_PATH
   10271   shlibpath_overrides_runpath=no
   10272   # Some binutils ld are patched to set DT_RUNPATH
   10273   save_LDFLAGS=$LDFLAGS
   10274   save_libdir=$libdir
   10275   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10276        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10278 /* end confdefs.h.  */
   10279 
   10280 int
   10281 main ()
   10282 {
   10283 
   10284   ;
   10285   return 0;
   10286 }
   10287 _ACEOF
   10288 if ac_fn_c_try_link "$LINENO"; then :
   10289   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10290   shlibpath_overrides_runpath=yes
   10291 fi
   10292 fi
   10293 rm -f core conftest.err conftest.$ac_objext \
   10294     conftest$ac_exeext conftest.$ac_ext
   10295   LDFLAGS=$save_LDFLAGS
   10296   libdir=$save_libdir
   10297 
   10298   # This implies no fast_install, which is unacceptable.
   10299   # Some rework will be needed to allow for fast_install
   10300   # before this can be enabled.
   10301   hardcode_into_libs=yes
   10302 
   10303   # Append ld.so.conf contents to the search path
   10304   if test -f /etc/ld.so.conf; then
   10305     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   10306     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10307   fi
   10308 
   10309   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10310   # powerpc, because MkLinux only supported shared libraries with the
   10311   # GNU dynamic linker.  Since this was broken with cross compilers,
   10312   # most powerpc-linux boxes support dynamic linking these days and
   10313   # people can always --disable-shared, the test was removed, and we
   10314   # assume the GNU/Linux dynamic linker is in use.
   10315   dynamic_linker='GNU/Linux ld.so'
   10316   ;;
   10317 
   10318 netbsdelf*-gnu)
   10319   version_type=linux
   10320   need_lib_prefix=no
   10321   need_version=no
   10322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10323   soname_spec='${libname}${release}${shared_ext}$major'
   10324   shlibpath_var=LD_LIBRARY_PATH
   10325   shlibpath_overrides_runpath=no
   10326   hardcode_into_libs=yes
   10327   dynamic_linker='NetBSD ld.elf_so'
   10328   ;;
   10329 
   10330 netbsd*)
   10331   version_type=sunos
   10332   need_lib_prefix=no
   10333   need_version=no
   10334   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10335     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10336     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10337     dynamic_linker='NetBSD (a.out) ld.so'
   10338   else
   10339     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10340     soname_spec='${libname}${release}${shared_ext}$major'
   10341     dynamic_linker='NetBSD ld.elf_so'
   10342   fi
   10343   shlibpath_var=LD_LIBRARY_PATH
   10344   shlibpath_overrides_runpath=yes
   10345   hardcode_into_libs=yes
   10346   ;;
   10347 
   10348 newsos6)
   10349   version_type=linux
   10350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10351   shlibpath_var=LD_LIBRARY_PATH
   10352   shlibpath_overrides_runpath=yes
   10353   ;;
   10354 
   10355 *nto* | *qnx*)
   10356   version_type=qnx
   10357   need_lib_prefix=no
   10358   need_version=no
   10359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10360   soname_spec='${libname}${release}${shared_ext}$major'
   10361   shlibpath_var=LD_LIBRARY_PATH
   10362   shlibpath_overrides_runpath=no
   10363   hardcode_into_libs=yes
   10364   dynamic_linker='ldqnx.so'
   10365   ;;
   10366 
   10367 openbsd*)
   10368   version_type=sunos
   10369   sys_lib_dlsearch_path_spec="/usr/lib"
   10370   need_lib_prefix=no
   10371   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10372   case $host_os in
   10373     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10374     *)				need_version=no  ;;
   10375   esac
   10376   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10377   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10378   shlibpath_var=LD_LIBRARY_PATH
   10379   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10380     case $host_os in
   10381       openbsd2.[89] | openbsd2.[89].*)
   10382 	shlibpath_overrides_runpath=no
   10383 	;;
   10384       *)
   10385 	shlibpath_overrides_runpath=yes
   10386 	;;
   10387       esac
   10388   else
   10389     shlibpath_overrides_runpath=yes
   10390   fi
   10391   ;;
   10392 
   10393 os2*)
   10394   libname_spec='$name'
   10395   shrext_cmds=".dll"
   10396   need_lib_prefix=no
   10397   library_names_spec='$libname${shared_ext} $libname.a'
   10398   dynamic_linker='OS/2 ld.exe'
   10399   shlibpath_var=LIBPATH
   10400   ;;
   10401 
   10402 osf3* | osf4* | osf5*)
   10403   version_type=osf
   10404   need_lib_prefix=no
   10405   need_version=no
   10406   soname_spec='${libname}${release}${shared_ext}$major'
   10407   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10408   shlibpath_var=LD_LIBRARY_PATH
   10409   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10410   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10411   ;;
   10412 
   10413 rdos*)
   10414   dynamic_linker=no
   10415   ;;
   10416 
   10417 solaris*)
   10418   version_type=linux
   10419   need_lib_prefix=no
   10420   need_version=no
   10421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10422   soname_spec='${libname}${release}${shared_ext}$major'
   10423   shlibpath_var=LD_LIBRARY_PATH
   10424   shlibpath_overrides_runpath=yes
   10425   hardcode_into_libs=yes
   10426   # ldd complains unless libraries are executable
   10427   postinstall_cmds='chmod +x $lib'
   10428   ;;
   10429 
   10430 sunos4*)
   10431   version_type=sunos
   10432   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10433   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10434   shlibpath_var=LD_LIBRARY_PATH
   10435   shlibpath_overrides_runpath=yes
   10436   if test "$with_gnu_ld" = yes; then
   10437     need_lib_prefix=no
   10438   fi
   10439   need_version=yes
   10440   ;;
   10441 
   10442 sysv4 | sysv4.3*)
   10443   version_type=linux
   10444   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10445   soname_spec='${libname}${release}${shared_ext}$major'
   10446   shlibpath_var=LD_LIBRARY_PATH
   10447   case $host_vendor in
   10448     sni)
   10449       shlibpath_overrides_runpath=no
   10450       need_lib_prefix=no
   10451       runpath_var=LD_RUN_PATH
   10452       ;;
   10453     siemens)
   10454       need_lib_prefix=no
   10455       ;;
   10456     motorola)
   10457       need_lib_prefix=no
   10458       need_version=no
   10459       shlibpath_overrides_runpath=no
   10460       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10461       ;;
   10462   esac
   10463   ;;
   10464 
   10465 sysv4*MP*)
   10466   if test -d /usr/nec ;then
   10467     version_type=linux
   10468     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10469     soname_spec='$libname${shared_ext}.$major'
   10470     shlibpath_var=LD_LIBRARY_PATH
   10471   fi
   10472   ;;
   10473 
   10474 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10475   version_type=freebsd-elf
   10476   need_lib_prefix=no
   10477   need_version=no
   10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10479   soname_spec='${libname}${release}${shared_ext}$major'
   10480   shlibpath_var=LD_LIBRARY_PATH
   10481   shlibpath_overrides_runpath=yes
   10482   hardcode_into_libs=yes
   10483   if test "$with_gnu_ld" = yes; then
   10484     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10485   else
   10486     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10487     case $host_os in
   10488       sco3.2v5*)
   10489         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10490 	;;
   10491     esac
   10492   fi
   10493   sys_lib_dlsearch_path_spec='/usr/lib'
   10494   ;;
   10495 
   10496 tpf*)
   10497   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10498   version_type=linux
   10499   need_lib_prefix=no
   10500   need_version=no
   10501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10502   shlibpath_var=LD_LIBRARY_PATH
   10503   shlibpath_overrides_runpath=no
   10504   hardcode_into_libs=yes
   10505   ;;
   10506 
   10507 uts4*)
   10508   version_type=linux
   10509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10510   soname_spec='${libname}${release}${shared_ext}$major'
   10511   shlibpath_var=LD_LIBRARY_PATH
   10512   ;;
   10513 
   10514 *)
   10515   dynamic_linker=no
   10516   ;;
   10517 esac
   10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10519 $as_echo "$dynamic_linker" >&6; }
   10520 test "$dynamic_linker" = no && can_build_shared=no
   10521 
   10522 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10523 if test "$GCC" = yes; then
   10524   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10525 fi
   10526 
   10527 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10528   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10529 fi
   10530 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10531   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10532 fi
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10621 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10622 hardcode_action=
   10623 if test -n "$hardcode_libdir_flag_spec" ||
   10624    test -n "$runpath_var" ||
   10625    test "X$hardcode_automatic" = "Xyes" ; then
   10626 
   10627   # We can hardcode non-existent directories.
   10628   if test "$hardcode_direct" != no &&
   10629      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10630      # have to relink, otherwise we might link with an installed library
   10631      # when we should be linking with a yet-to-be-installed one
   10632      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10633      test "$hardcode_minus_L" != no; then
   10634     # Linking always hardcodes the temporary library directory.
   10635     hardcode_action=relink
   10636   else
   10637     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10638     hardcode_action=immediate
   10639   fi
   10640 else
   10641   # We cannot hardcode anything, or else we can only hardcode existing
   10642   # directories.
   10643   hardcode_action=unsupported
   10644 fi
   10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10646 $as_echo "$hardcode_action" >&6; }
   10647 
   10648 if test "$hardcode_action" = relink ||
   10649    test "$inherit_rpath" = yes; then
   10650   # Fast installation is not supported
   10651   enable_fast_install=no
   10652 elif test "$shlibpath_overrides_runpath" = yes ||
   10653      test "$enable_shared" = no; then
   10654   # Fast installation is not necessary
   10655   enable_fast_install=needless
   10656 fi
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663   if test "x$enable_dlopen" != xyes; then
   10664   enable_dlopen=unknown
   10665   enable_dlopen_self=unknown
   10666   enable_dlopen_self_static=unknown
   10667 else
   10668   lt_cv_dlopen=no
   10669   lt_cv_dlopen_libs=
   10670 
   10671   case $host_os in
   10672   beos*)
   10673     lt_cv_dlopen="load_add_on"
   10674     lt_cv_dlopen_libs=
   10675     lt_cv_dlopen_self=yes
   10676     ;;
   10677 
   10678   mingw* | pw32* | cegcc*)
   10679     lt_cv_dlopen="LoadLibrary"
   10680     lt_cv_dlopen_libs=
   10681     ;;
   10682 
   10683   cygwin*)
   10684     lt_cv_dlopen="dlopen"
   10685     lt_cv_dlopen_libs=
   10686     ;;
   10687 
   10688   darwin*)
   10689   # if libdl is installed we need to link against it
   10690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10691 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10692 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10693   $as_echo_n "(cached) " >&6
   10694 else
   10695   ac_check_lib_save_LIBS=$LIBS
   10696 LIBS="-ldl  $LIBS"
   10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10698 /* end confdefs.h.  */
   10699 
   10700 /* Override any GCC internal prototype to avoid an error.
   10701    Use char because int might match the return type of a GCC
   10702    builtin and then its argument prototype would still apply.  */
   10703 #ifdef __cplusplus
   10704 extern "C"
   10705 #endif
   10706 char dlopen ();
   10707 int
   10708 main ()
   10709 {
   10710 return dlopen ();
   10711   ;
   10712   return 0;
   10713 }
   10714 _ACEOF
   10715 if ac_fn_c_try_link "$LINENO"; then :
   10716   ac_cv_lib_dl_dlopen=yes
   10717 else
   10718   ac_cv_lib_dl_dlopen=no
   10719 fi
   10720 rm -f core conftest.err conftest.$ac_objext \
   10721     conftest$ac_exeext conftest.$ac_ext
   10722 LIBS=$ac_check_lib_save_LIBS
   10723 fi
   10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10725 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10726 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10727   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10728 else
   10729 
   10730     lt_cv_dlopen="dyld"
   10731     lt_cv_dlopen_libs=
   10732     lt_cv_dlopen_self=yes
   10733 
   10734 fi
   10735 
   10736     ;;
   10737 
   10738   *)
   10739     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10740 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10741   lt_cv_dlopen="shl_load"
   10742 else
   10743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10744 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10745 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10746   $as_echo_n "(cached) " >&6
   10747 else
   10748   ac_check_lib_save_LIBS=$LIBS
   10749 LIBS="-ldld  $LIBS"
   10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10751 /* end confdefs.h.  */
   10752 
   10753 /* Override any GCC internal prototype to avoid an error.
   10754    Use char because int might match the return type of a GCC
   10755    builtin and then its argument prototype would still apply.  */
   10756 #ifdef __cplusplus
   10757 extern "C"
   10758 #endif
   10759 char shl_load ();
   10760 int
   10761 main ()
   10762 {
   10763 return shl_load ();
   10764   ;
   10765   return 0;
   10766 }
   10767 _ACEOF
   10768 if ac_fn_c_try_link "$LINENO"; then :
   10769   ac_cv_lib_dld_shl_load=yes
   10770 else
   10771   ac_cv_lib_dld_shl_load=no
   10772 fi
   10773 rm -f core conftest.err conftest.$ac_objext \
   10774     conftest$ac_exeext conftest.$ac_ext
   10775 LIBS=$ac_check_lib_save_LIBS
   10776 fi
   10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10778 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10779 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10780   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10781 else
   10782   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10783 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10784   lt_cv_dlopen="dlopen"
   10785 else
   10786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10787 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10789   $as_echo_n "(cached) " >&6
   10790 else
   10791   ac_check_lib_save_LIBS=$LIBS
   10792 LIBS="-ldl  $LIBS"
   10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10794 /* end confdefs.h.  */
   10795 
   10796 /* Override any GCC internal prototype to avoid an error.
   10797    Use char because int might match the return type of a GCC
   10798    builtin and then its argument prototype would still apply.  */
   10799 #ifdef __cplusplus
   10800 extern "C"
   10801 #endif
   10802 char dlopen ();
   10803 int
   10804 main ()
   10805 {
   10806 return dlopen ();
   10807   ;
   10808   return 0;
   10809 }
   10810 _ACEOF
   10811 if ac_fn_c_try_link "$LINENO"; then :
   10812   ac_cv_lib_dl_dlopen=yes
   10813 else
   10814   ac_cv_lib_dl_dlopen=no
   10815 fi
   10816 rm -f core conftest.err conftest.$ac_objext \
   10817     conftest$ac_exeext conftest.$ac_ext
   10818 LIBS=$ac_check_lib_save_LIBS
   10819 fi
   10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10821 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10822 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10823   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10824 else
   10825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10826 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10827 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   10828   $as_echo_n "(cached) " >&6
   10829 else
   10830   ac_check_lib_save_LIBS=$LIBS
   10831 LIBS="-lsvld  $LIBS"
   10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10833 /* end confdefs.h.  */
   10834 
   10835 /* Override any GCC internal prototype to avoid an error.
   10836    Use char because int might match the return type of a GCC
   10837    builtin and then its argument prototype would still apply.  */
   10838 #ifdef __cplusplus
   10839 extern "C"
   10840 #endif
   10841 char dlopen ();
   10842 int
   10843 main ()
   10844 {
   10845 return dlopen ();
   10846   ;
   10847   return 0;
   10848 }
   10849 _ACEOF
   10850 if ac_fn_c_try_link "$LINENO"; then :
   10851   ac_cv_lib_svld_dlopen=yes
   10852 else
   10853   ac_cv_lib_svld_dlopen=no
   10854 fi
   10855 rm -f core conftest.err conftest.$ac_objext \
   10856     conftest$ac_exeext conftest.$ac_ext
   10857 LIBS=$ac_check_lib_save_LIBS
   10858 fi
   10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10860 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10861 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10862   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10863 else
   10864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10865 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10866 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10867   $as_echo_n "(cached) " >&6
   10868 else
   10869   ac_check_lib_save_LIBS=$LIBS
   10870 LIBS="-ldld  $LIBS"
   10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10872 /* end confdefs.h.  */
   10873 
   10874 /* Override any GCC internal prototype to avoid an error.
   10875    Use char because int might match the return type of a GCC
   10876    builtin and then its argument prototype would still apply.  */
   10877 #ifdef __cplusplus
   10878 extern "C"
   10879 #endif
   10880 char dld_link ();
   10881 int
   10882 main ()
   10883 {
   10884 return dld_link ();
   10885   ;
   10886   return 0;
   10887 }
   10888 _ACEOF
   10889 if ac_fn_c_try_link "$LINENO"; then :
   10890   ac_cv_lib_dld_dld_link=yes
   10891 else
   10892   ac_cv_lib_dld_dld_link=no
   10893 fi
   10894 rm -f core conftest.err conftest.$ac_objext \
   10895     conftest$ac_exeext conftest.$ac_ext
   10896 LIBS=$ac_check_lib_save_LIBS
   10897 fi
   10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10899 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10900 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10901   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10902 fi
   10903 
   10904 
   10905 fi
   10906 
   10907 
   10908 fi
   10909 
   10910 
   10911 fi
   10912 
   10913 
   10914 fi
   10915 
   10916 
   10917 fi
   10918 
   10919     ;;
   10920   esac
   10921 
   10922   if test "x$lt_cv_dlopen" != xno; then
   10923     enable_dlopen=yes
   10924   else
   10925     enable_dlopen=no
   10926   fi
   10927 
   10928   case $lt_cv_dlopen in
   10929   dlopen)
   10930     save_CPPFLAGS="$CPPFLAGS"
   10931     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10932 
   10933     save_LDFLAGS="$LDFLAGS"
   10934     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10935 
   10936     save_LIBS="$LIBS"
   10937     LIBS="$lt_cv_dlopen_libs $LIBS"
   10938 
   10939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10940 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10941 if test "${lt_cv_dlopen_self+set}" = set; then :
   10942   $as_echo_n "(cached) " >&6
   10943 else
   10944   	  if test "$cross_compiling" = yes; then :
   10945   lt_cv_dlopen_self=cross
   10946 else
   10947   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10948   lt_status=$lt_dlunknown
   10949   cat > conftest.$ac_ext <<_LT_EOF
   10950 #line 10950 "configure"
   10951 #include "confdefs.h"
   10952 
   10953 #if HAVE_DLFCN_H
   10954 #include <dlfcn.h>
   10955 #endif
   10956 
   10957 #include <stdio.h>
   10958 
   10959 #ifdef RTLD_GLOBAL
   10960 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10961 #else
   10962 #  ifdef DL_GLOBAL
   10963 #    define LT_DLGLOBAL		DL_GLOBAL
   10964 #  else
   10965 #    define LT_DLGLOBAL		0
   10966 #  endif
   10967 #endif
   10968 
   10969 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10970    find out it does not work in some platform. */
   10971 #ifndef LT_DLLAZY_OR_NOW
   10972 #  ifdef RTLD_LAZY
   10973 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10974 #  else
   10975 #    ifdef DL_LAZY
   10976 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10977 #    else
   10978 #      ifdef RTLD_NOW
   10979 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10980 #      else
   10981 #        ifdef DL_NOW
   10982 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10983 #        else
   10984 #          define LT_DLLAZY_OR_NOW	0
   10985 #        endif
   10986 #      endif
   10987 #    endif
   10988 #  endif
   10989 #endif
   10990 
   10991 void fnord() { int i=42;}
   10992 int main ()
   10993 {
   10994   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10995   int status = $lt_dlunknown;
   10996 
   10997   if (self)
   10998     {
   10999       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11000       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11001       /* dlclose (self); */
   11002     }
   11003   else
   11004     puts (dlerror ());
   11005 
   11006   return status;
   11007 }
   11008 _LT_EOF
   11009   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11010   (eval $ac_link) 2>&5
   11011   ac_status=$?
   11012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11013   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11014     (./conftest; exit; ) >&5 2>/dev/null
   11015     lt_status=$?
   11016     case x$lt_status in
   11017       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11018       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11019       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11020     esac
   11021   else :
   11022     # compilation failed
   11023     lt_cv_dlopen_self=no
   11024   fi
   11025 fi
   11026 rm -fr conftest*
   11027 
   11028 
   11029 fi
   11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11031 $as_echo "$lt_cv_dlopen_self" >&6; }
   11032 
   11033     if test "x$lt_cv_dlopen_self" = xyes; then
   11034       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11035       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11036 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11037 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   11038   $as_echo_n "(cached) " >&6
   11039 else
   11040   	  if test "$cross_compiling" = yes; then :
   11041   lt_cv_dlopen_self_static=cross
   11042 else
   11043   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11044   lt_status=$lt_dlunknown
   11045   cat > conftest.$ac_ext <<_LT_EOF
   11046 #line 11046 "configure"
   11047 #include "confdefs.h"
   11048 
   11049 #if HAVE_DLFCN_H
   11050 #include <dlfcn.h>
   11051 #endif
   11052 
   11053 #include <stdio.h>
   11054 
   11055 #ifdef RTLD_GLOBAL
   11056 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11057 #else
   11058 #  ifdef DL_GLOBAL
   11059 #    define LT_DLGLOBAL		DL_GLOBAL
   11060 #  else
   11061 #    define LT_DLGLOBAL		0
   11062 #  endif
   11063 #endif
   11064 
   11065 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11066    find out it does not work in some platform. */
   11067 #ifndef LT_DLLAZY_OR_NOW
   11068 #  ifdef RTLD_LAZY
   11069 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11070 #  else
   11071 #    ifdef DL_LAZY
   11072 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11073 #    else
   11074 #      ifdef RTLD_NOW
   11075 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11076 #      else
   11077 #        ifdef DL_NOW
   11078 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11079 #        else
   11080 #          define LT_DLLAZY_OR_NOW	0
   11081 #        endif
   11082 #      endif
   11083 #    endif
   11084 #  endif
   11085 #endif
   11086 
   11087 void fnord() { int i=42;}
   11088 int main ()
   11089 {
   11090   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11091   int status = $lt_dlunknown;
   11092 
   11093   if (self)
   11094     {
   11095       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11096       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11097       /* dlclose (self); */
   11098     }
   11099   else
   11100     puts (dlerror ());
   11101 
   11102   return status;
   11103 }
   11104 _LT_EOF
   11105   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11106   (eval $ac_link) 2>&5
   11107   ac_status=$?
   11108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11109   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11110     (./conftest; exit; ) >&5 2>/dev/null
   11111     lt_status=$?
   11112     case x$lt_status in
   11113       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11114       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11115       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11116     esac
   11117   else :
   11118     # compilation failed
   11119     lt_cv_dlopen_self_static=no
   11120   fi
   11121 fi
   11122 rm -fr conftest*
   11123 
   11124 
   11125 fi
   11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11127 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11128     fi
   11129 
   11130     CPPFLAGS="$save_CPPFLAGS"
   11131     LDFLAGS="$save_LDFLAGS"
   11132     LIBS="$save_LIBS"
   11133     ;;
   11134   esac
   11135 
   11136   case $lt_cv_dlopen_self in
   11137   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11138   *) enable_dlopen_self=unknown ;;
   11139   esac
   11140 
   11141   case $lt_cv_dlopen_self_static in
   11142   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11143   *) enable_dlopen_self_static=unknown ;;
   11144   esac
   11145 fi
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 striplib=
   11164 old_striplib=
   11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11166 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11167 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11168   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11169   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11171 $as_echo "yes" >&6; }
   11172 else
   11173 # FIXME - insert some real tests, host_os isn't really good enough
   11174   case $host_os in
   11175   darwin*)
   11176     if test -n "$STRIP" ; then
   11177       striplib="$STRIP -x"
   11178       old_striplib="$STRIP -S"
   11179       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11180 $as_echo "yes" >&6; }
   11181     else
   11182       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11183 $as_echo "no" >&6; }
   11184     fi
   11185     ;;
   11186   *)
   11187     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11188 $as_echo "no" >&6; }
   11189     ;;
   11190   esac
   11191 fi
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204   # Report which library types will actually be built
   11205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11206 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11208 $as_echo "$can_build_shared" >&6; }
   11209 
   11210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11211 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11212   test "$can_build_shared" = "no" && enable_shared=no
   11213 
   11214   # On AIX, shared libraries and static libraries use the same namespace, and
   11215   # are all built from PIC.
   11216   case $host_os in
   11217   aix3*)
   11218     test "$enable_shared" = yes && enable_static=no
   11219     if test -n "$RANLIB"; then
   11220       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11221       postinstall_cmds='$RANLIB $lib'
   11222     fi
   11223     ;;
   11224 
   11225   aix[4-9]*)
   11226     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11227       test "$enable_shared" = yes && enable_static=no
   11228     fi
   11229     ;;
   11230   esac
   11231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11232 $as_echo "$enable_shared" >&6; }
   11233 
   11234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11235 $as_echo_n "checking whether to build static libraries... " >&6; }
   11236   # Make sure either enable_shared or enable_static is yes.
   11237   test "$enable_shared" = yes || enable_static=yes
   11238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11239 $as_echo "$enable_static" >&6; }
   11240 
   11241 
   11242 
   11243 
   11244 fi
   11245 ac_ext=c
   11246 ac_cpp='$CPP $CPPFLAGS'
   11247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11250 
   11251 CC="$lt_save_CC"
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265         ac_config_commands="$ac_config_commands libtool"
   11266 
   11267 
   11268 
   11269 
   11270 # Only expand once:
   11271 
   11272 
   11273 
   11274 VERSION_SCRIPT_FLAGS=
   11275 # lt_cv_prog_gnu_ld is from libtool 2.+
   11276 if test "$lt_cv_prog_gnu_ld" = yes; then
   11277   VERSION_SCRIPT_FLAGS=-Wl,--version-script=
   11278 else
   11279   case $host in
   11280   *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
   11281   esac
   11282 fi
   11283 
   11284  if test -n "$VERSION_SCRIPT_FLAGS"; then
   11285   USE_VERSION_SCRIPT_TRUE=
   11286   USE_VERSION_SCRIPT_FALSE='#'
   11287 else
   11288   USE_VERSION_SCRIPT_TRUE='#'
   11289   USE_VERSION_SCRIPT_FALSE=
   11290 fi
   11291 
   11292 
   11293 
   11294 _cppflags="${CPPFLAGS}"
   11295 _ldflags="${LDFLAGS}"
   11296 
   11297 
   11298 # Check whether --with-c14n was given.
   11299 if test "${with_c14n+set}" = set; then :
   11300   withval=$with_c14n;
   11301 fi
   11302 
   11303 
   11304 # Check whether --with-catalog was given.
   11305 if test "${with_catalog+set}" = set; then :
   11306   withval=$with_catalog;
   11307 fi
   11308 
   11309 
   11310 # Check whether --with-debug was given.
   11311 if test "${with_debug+set}" = set; then :
   11312   withval=$with_debug;
   11313 fi
   11314 
   11315 
   11316 # Check whether --with-docbook was given.
   11317 if test "${with_docbook+set}" = set; then :
   11318   withval=$with_docbook;
   11319 fi
   11320 
   11321 
   11322 # Check whether --with-fexceptions was given.
   11323 if test "${with_fexceptions+set}" = set; then :
   11324   withval=$with_fexceptions;
   11325 fi
   11326 
   11327 
   11328 # Check whether --with-ftp was given.
   11329 if test "${with_ftp+set}" = set; then :
   11330   withval=$with_ftp;
   11331 fi
   11332 
   11333 
   11334 # Check whether --with-history was given.
   11335 if test "${with_history+set}" = set; then :
   11336   withval=$with_history;
   11337 fi
   11338 
   11339 
   11340 # Check whether --with-html was given.
   11341 if test "${with_html+set}" = set; then :
   11342   withval=$with_html;
   11343 fi
   11344 
   11345 
   11346 # Check whether --with-html-dir was given.
   11347 if test "${with_html_dir+set}" = set; then :
   11348   withval=$with_html_dir; HTML_DIR=$withval
   11349 else
   11350   HTML_DIR='$(datadir)/doc'
   11351 fi
   11352 
   11353 
   11354 
   11355 # Check whether --with-html-subdir was given.
   11356 if test "${with_html_subdir+set}" = set; then :
   11357   withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
   11358 else
   11359   HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
   11360 fi
   11361 
   11362 
   11363 
   11364 # Check whether --with-http was given.
   11365 if test "${with_http+set}" = set; then :
   11366   withval=$with_http;
   11367 fi
   11368 
   11369 
   11370 # Check whether --with-iconv was given.
   11371 if test "${with_iconv+set}" = set; then :
   11372   withval=$with_iconv;
   11373 fi
   11374 
   11375 
   11376 # Check whether --with-iso8859x was given.
   11377 if test "${with_iso8859x+set}" = set; then :
   11378   withval=$with_iso8859x;
   11379 fi
   11380 
   11381 
   11382 # Check whether --with-legacy was given.
   11383 if test "${with_legacy+set}" = set; then :
   11384   withval=$with_legacy;
   11385 fi
   11386 
   11387 
   11388 # Check whether --with-mem_debug was given.
   11389 if test "${with_mem_debug+set}" = set; then :
   11390   withval=$with_mem_debug;
   11391 fi
   11392 
   11393 
   11394 # Check whether --with-minimum was given.
   11395 if test "${with_minimum+set}" = set; then :
   11396   withval=$with_minimum;
   11397 fi
   11398 
   11399 
   11400 # Check whether --with-output was given.
   11401 if test "${with_output+set}" = set; then :
   11402   withval=$with_output;
   11403 fi
   11404 
   11405 
   11406 # Check whether --with-pattern was given.
   11407 if test "${with_pattern+set}" = set; then :
   11408   withval=$with_pattern;
   11409 fi
   11410 
   11411 
   11412 # Check whether --with-push was given.
   11413 if test "${with_push+set}" = set; then :
   11414   withval=$with_push;
   11415 fi
   11416 
   11417 
   11418 # Check whether --with-python was given.
   11419 if test "${with_python+set}" = set; then :
   11420   withval=$with_python;
   11421 fi
   11422 
   11423 
   11424 # Check whether --with-reader was given.
   11425 if test "${with_reader+set}" = set; then :
   11426   withval=$with_reader;
   11427 fi
   11428 
   11429 
   11430 # Check whether --with-readline was given.
   11431 if test "${with_readline+set}" = set; then :
   11432   withval=$with_readline;
   11433   if test "$withval" != "no" -a "$withval" != "yes"; then
   11434     RDL_DIR=$withval
   11435     CPPFLAGS="${CPPFLAGS} -I$withval/include"
   11436     LDFLAGS="${LDFLAGS} -L$withval/lib"
   11437   fi
   11438 
   11439 fi
   11440 
   11441 
   11442 # Check whether --with-regexps was given.
   11443 if test "${with_regexps+set}" = set; then :
   11444   withval=$with_regexps;
   11445 fi
   11446 
   11447 
   11448 # Check whether --with-run_debug was given.
   11449 if test "${with_run_debug+set}" = set; then :
   11450   withval=$with_run_debug;
   11451 fi
   11452 
   11453 
   11454 # Check whether --with-sax1 was given.
   11455 if test "${with_sax1+set}" = set; then :
   11456   withval=$with_sax1;
   11457 fi
   11458 
   11459 
   11460 # Check whether --with-schemas was given.
   11461 if test "${with_schemas+set}" = set; then :
   11462   withval=$with_schemas;
   11463 fi
   11464 
   11465 
   11466 # Check whether --with-schematron was given.
   11467 if test "${with_schematron+set}" = set; then :
   11468   withval=$with_schematron;
   11469 fi
   11470 
   11471 
   11472 # Check whether --with-threads was given.
   11473 if test "${with_threads+set}" = set; then :
   11474   withval=$with_threads;
   11475 fi
   11476 
   11477 
   11478 # Check whether --with-thread-alloc was given.
   11479 if test "${with_thread_alloc+set}" = set; then :
   11480   withval=$with_thread_alloc;
   11481 fi
   11482 
   11483 
   11484 # Check whether --with-tree was given.
   11485 if test "${with_tree+set}" = set; then :
   11486   withval=$with_tree;
   11487 fi
   11488 
   11489 
   11490 # Check whether --with-valid was given.
   11491 if test "${with_valid+set}" = set; then :
   11492   withval=$with_valid;
   11493 fi
   11494 
   11495 
   11496 # Check whether --with-writer was given.
   11497 if test "${with_writer+set}" = set; then :
   11498   withval=$with_writer;
   11499 fi
   11500 
   11501 
   11502 # Check whether --with-xinclude was given.
   11503 if test "${with_xinclude+set}" = set; then :
   11504   withval=$with_xinclude;
   11505 fi
   11506 
   11507 
   11508 # Check whether --with-xpath was given.
   11509 if test "${with_xpath+set}" = set; then :
   11510   withval=$with_xpath;
   11511 fi
   11512 
   11513 
   11514 # Check whether --with-xptr was given.
   11515 if test "${with_xptr+set}" = set; then :
   11516   withval=$with_xptr;
   11517 fi
   11518 
   11519 
   11520 # Check whether --with-modules was given.
   11521 if test "${with_modules+set}" = set; then :
   11522   withval=$with_modules;
   11523 fi
   11524 
   11525 
   11526 # Check whether --with-zlib was given.
   11527 if test "${with_zlib+set}" = set; then :
   11528   withval=$with_zlib;
   11529   if test "$withval" != "no" -a "$withval" != "yes"; then
   11530     Z_DIR=$withval
   11531     CPPFLAGS="${CPPFLAGS} -I$withval/include"
   11532     LDFLAGS="${LDFLAGS} -L$withval/lib"
   11533   fi
   11534 
   11535 fi
   11536 
   11537 
   11538 # Check whether --with-coverage was given.
   11539 if test "${with_coverage+set}" = set; then :
   11540   withval=$with_coverage;
   11541 fi
   11542 
   11543 
   11544 # Check whether --enable-rebuild-docs was given.
   11545 if test "${enable_rebuild_docs+set}" = set; then :
   11546   enableval=$enable_rebuild_docs;
   11547 fi
   11548 
   11549  if test "$enable_rebuild_docs" = "no"; then
   11550   REBUILD_DOCS_TRUE=
   11551   REBUILD_DOCS_FALSE='#'
   11552 else
   11553   REBUILD_DOCS_TRUE='#'
   11554   REBUILD_DOCS_FALSE=
   11555 fi
   11556 
   11557 
   11558 if test "$with_schemas" = "yes"
   11559 then
   11560     with_pattern=yes
   11561     with_regexps=yes
   11562 fi
   11563 if test "$with_schematron" = "yes"
   11564 then
   11565     with_pattern=yes
   11566     with_xpath=yes
   11567 fi
   11568 if test "$with_reader" = "yes"
   11569 then
   11570     with_push=yes
   11571 fi
   11572 if test "$with_xptr" = "yes"
   11573 then
   11574     with_xpath=yes
   11575 fi
   11576 if test "$with_minimum" = "yes"
   11577 then
   11578     echo "Configuring for a minimal library"
   11579     if test "$with_c14n" = ""
   11580     then
   11581       with_c14n=no
   11582     fi
   11583     if test "$with_catalog" = ""
   11584     then
   11585       with_catalog=no
   11586     fi
   11587     echo So far so good!
   11588     if test "$with_debug" = ""
   11589     then
   11590       with_debug=no
   11591     fi
   11592     if test "$with_docbook" = ""
   11593     then
   11594       with_docbook=no
   11595     fi
   11596     if test "$with_fexceptions" = ""
   11597     then
   11598       with_fexceptions=no
   11599     fi
   11600     if test "$with_ftp" = ""
   11601     then
   11602       with_ftp=no
   11603     fi
   11604     if test "$with_history" = ""
   11605     then
   11606       with_history=no
   11607     fi
   11608     if test "$with_html" = ""
   11609     then
   11610       with_html=no
   11611     fi
   11612     if test "$with_http" = ""
   11613     then
   11614       with_http=no
   11615     fi
   11616     if test "$with_iconv" = ""
   11617     then
   11618       with_iconv=no
   11619     fi
   11620     if test "$with_iso8859x" = ""
   11621     then
   11622       with_iso8859x=no
   11623     fi
   11624     if test "$with_legacy" = ""
   11625     then
   11626       with_legacy=no
   11627     fi
   11628     if test "$with_mem_debug" = ""
   11629     then
   11630       with_mem_debug=no
   11631     fi
   11632     if test "$with_output" = ""
   11633     then
   11634       with_output=no
   11635     fi
   11636     if test "$with_pattern" = ""
   11637     then
   11638       with_pattern=no
   11639     fi
   11640     if test "$with_push" = ""
   11641     then
   11642       with_push=no
   11643     fi
   11644     if test "$with_python" = ""
   11645     then
   11646       with_python=no
   11647     fi
   11648     if test "$with_reader" = ""
   11649     then
   11650       with_reader=no
   11651     fi
   11652     if test "$with_readline" = ""
   11653     then
   11654       with_readline=no
   11655     fi
   11656     if test "$with_regexps" = ""
   11657     then
   11658       with_regexps=no
   11659     fi
   11660     if test "$with_run_debug" = ""
   11661     then
   11662       with_run_debug=no
   11663     fi
   11664     if test "$with_sax1" = ""
   11665     then
   11666       with_sax1=no
   11667     fi
   11668     if test "$with_schemas" = ""
   11669     then
   11670       with_schemas=no
   11671     fi
   11672     if test "$with_schematron" = ""
   11673     then
   11674       with_schematron=no
   11675     fi
   11676     if test "$with_threads" = ""
   11677     then
   11678       with_threads=no
   11679     fi
   11680     if test "$with_thread_alloc" = ""
   11681     then
   11682       with_thread_alloc=no
   11683    fi
   11684     if test "$with_tree" = ""
   11685     then
   11686       with_tree=no
   11687     fi
   11688     if test "$with_valid" = ""
   11689     then
   11690       with_valid=no
   11691     fi
   11692     if test "$with_writer" = ""
   11693     then
   11694       with_writer=no
   11695     fi
   11696     if test "$with_xinclude" = ""
   11697     then
   11698       with_xinclude=no
   11699     fi
   11700     if test "$with_xpath" = ""
   11701     then
   11702       with_xpath=no
   11703     fi
   11704     if test "$with_xptr" = ""
   11705     then
   11706       with_xptr=no
   11707     fi
   11708     if test "$with_zlib" = ""
   11709     then
   11710       with_zlib=no
   11711     fi
   11712     if test "$with_modules" = ""
   11713     then
   11714       with_modules=no
   11715     fi
   11716 fi
   11717 
   11718 echo Checking zlib
   11719 
   11720 
   11721 WITH_ZLIB=0
   11722 if test "$with_zlib" = "no"; then
   11723     echo "Disabling compression support"
   11724 else
   11725     for ac_header in zlib.h
   11726 do :
   11727   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   11728 if test "x$ac_cv_header_zlib_h" = x""yes; then :
   11729   cat >>confdefs.h <<_ACEOF
   11730 #define HAVE_ZLIB_H 1
   11731 _ACEOF
   11732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
   11733 $as_echo_n "checking for gzread in -lz... " >&6; }
   11734 if test "${ac_cv_lib_z_gzread+set}" = set; then :
   11735   $as_echo_n "(cached) " >&6
   11736 else
   11737   ac_check_lib_save_LIBS=$LIBS
   11738 LIBS="-lz  $LIBS"
   11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11740 /* end confdefs.h.  */
   11741 
   11742 /* Override any GCC internal prototype to avoid an error.
   11743    Use char because int might match the return type of a GCC
   11744    builtin and then its argument prototype would still apply.  */
   11745 #ifdef __cplusplus
   11746 extern "C"
   11747 #endif
   11748 char gzread ();
   11749 int
   11750 main ()
   11751 {
   11752 return gzread ();
   11753   ;
   11754   return 0;
   11755 }
   11756 _ACEOF
   11757 if ac_fn_c_try_link "$LINENO"; then :
   11758   ac_cv_lib_z_gzread=yes
   11759 else
   11760   ac_cv_lib_z_gzread=no
   11761 fi
   11762 rm -f core conftest.err conftest.$ac_objext \
   11763     conftest$ac_exeext conftest.$ac_ext
   11764 LIBS=$ac_check_lib_save_LIBS
   11765 fi
   11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
   11767 $as_echo "$ac_cv_lib_z_gzread" >&6; }
   11768 if test "x$ac_cv_lib_z_gzread" = x""yes; then :
   11769 
   11770 
   11771 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
   11772 
   11773 	    WITH_ZLIB=1
   11774 	    if test "x${Z_DIR}" != "x"; then
   11775 		Z_CFLAGS="-I${Z_DIR}/include"
   11776 		Z_LIBS="-L${Z_DIR}/lib -lz"
   11777 		case ${host} in
   11778 		    *-*-solaris*)
   11779 			Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
   11780 			;;
   11781 		esac
   11782 	    else
   11783 		Z_LIBS="-lz"
   11784 	    fi
   11785 fi
   11786 
   11787 fi
   11788 
   11789 done
   11790 
   11791 fi
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 CPPFLAGS=${_cppflags}
   11798 LDFLAGS=${_ldflags}
   11799 
   11800 echo Checking headers
   11801 
   11802 ac_header_dirent=no
   11803 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   11804   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   11806 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   11807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
   11808   $as_echo_n "(cached) " >&6
   11809 else
   11810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11811 /* end confdefs.h.  */
   11812 #include <sys/types.h>
   11813 #include <$ac_hdr>
   11814 
   11815 int
   11816 main ()
   11817 {
   11818 if ((DIR *) 0)
   11819 return 0;
   11820   ;
   11821   return 0;
   11822 }
   11823 _ACEOF
   11824 if ac_fn_c_try_compile "$LINENO"; then :
   11825   eval "$as_ac_Header=yes"
   11826 else
   11827   eval "$as_ac_Header=no"
   11828 fi
   11829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11830 fi
   11831 eval ac_res=\$$as_ac_Header
   11832 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11833 $as_echo "$ac_res" >&6; }
   11834 eval as_val=\$$as_ac_Header
   11835    if test "x$as_val" = x""yes; then :
   11836   cat >>confdefs.h <<_ACEOF
   11837 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   11838 _ACEOF
   11839 
   11840 ac_header_dirent=$ac_hdr; break
   11841 fi
   11842 
   11843 done
   11844 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   11845 if test $ac_header_dirent = dirent.h; then
   11846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   11847 $as_echo_n "checking for library containing opendir... " >&6; }
   11848 if test "${ac_cv_search_opendir+set}" = set; then :
   11849   $as_echo_n "(cached) " >&6
   11850 else
   11851   ac_func_search_save_LIBS=$LIBS
   11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11853 /* end confdefs.h.  */
   11854 
   11855 /* Override any GCC internal prototype to avoid an error.
   11856    Use char because int might match the return type of a GCC
   11857    builtin and then its argument prototype would still apply.  */
   11858 #ifdef __cplusplus
   11859 extern "C"
   11860 #endif
   11861 char opendir ();
   11862 int
   11863 main ()
   11864 {
   11865 return opendir ();
   11866   ;
   11867   return 0;
   11868 }
   11869 _ACEOF
   11870 for ac_lib in '' dir; do
   11871   if test -z "$ac_lib"; then
   11872     ac_res="none required"
   11873   else
   11874     ac_res=-l$ac_lib
   11875     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11876   fi
   11877   if ac_fn_c_try_link "$LINENO"; then :
   11878   ac_cv_search_opendir=$ac_res
   11879 fi
   11880 rm -f core conftest.err conftest.$ac_objext \
   11881     conftest$ac_exeext
   11882   if test "${ac_cv_search_opendir+set}" = set; then :
   11883   break
   11884 fi
   11885 done
   11886 if test "${ac_cv_search_opendir+set}" = set; then :
   11887 
   11888 else
   11889   ac_cv_search_opendir=no
   11890 fi
   11891 rm conftest.$ac_ext
   11892 LIBS=$ac_func_search_save_LIBS
   11893 fi
   11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   11895 $as_echo "$ac_cv_search_opendir" >&6; }
   11896 ac_res=$ac_cv_search_opendir
   11897 if test "$ac_res" != no; then :
   11898   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11899 
   11900 fi
   11901 
   11902 else
   11903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   11904 $as_echo_n "checking for library containing opendir... " >&6; }
   11905 if test "${ac_cv_search_opendir+set}" = set; then :
   11906   $as_echo_n "(cached) " >&6
   11907 else
   11908   ac_func_search_save_LIBS=$LIBS
   11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11910 /* end confdefs.h.  */
   11911 
   11912 /* Override any GCC internal prototype to avoid an error.
   11913    Use char because int might match the return type of a GCC
   11914    builtin and then its argument prototype would still apply.  */
   11915 #ifdef __cplusplus
   11916 extern "C"
   11917 #endif
   11918 char opendir ();
   11919 int
   11920 main ()
   11921 {
   11922 return opendir ();
   11923   ;
   11924   return 0;
   11925 }
   11926 _ACEOF
   11927 for ac_lib in '' x; do
   11928   if test -z "$ac_lib"; then
   11929     ac_res="none required"
   11930   else
   11931     ac_res=-l$ac_lib
   11932     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11933   fi
   11934   if ac_fn_c_try_link "$LINENO"; then :
   11935   ac_cv_search_opendir=$ac_res
   11936 fi
   11937 rm -f core conftest.err conftest.$ac_objext \
   11938     conftest$ac_exeext
   11939   if test "${ac_cv_search_opendir+set}" = set; then :
   11940   break
   11941 fi
   11942 done
   11943 if test "${ac_cv_search_opendir+set}" = set; then :
   11944 
   11945 else
   11946   ac_cv_search_opendir=no
   11947 fi
   11948 rm conftest.$ac_ext
   11949 LIBS=$ac_func_search_save_LIBS
   11950 fi
   11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   11952 $as_echo "$ac_cv_search_opendir" >&6; }
   11953 ac_res=$ac_cv_search_opendir
   11954 if test "$ac_res" != no; then :
   11955   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11956 
   11957 fi
   11958 
   11959 fi
   11960 
   11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   11962 $as_echo_n "checking for ANSI C header files... " >&6; }
   11963 if test "${ac_cv_header_stdc+set}" = set; then :
   11964   $as_echo_n "(cached) " >&6
   11965 else
   11966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11967 /* end confdefs.h.  */
   11968 #include <stdlib.h>
   11969 #include <stdarg.h>
   11970 #include <string.h>
   11971 #include <float.h>
   11972 
   11973 int
   11974 main ()
   11975 {
   11976 
   11977   ;
   11978   return 0;
   11979 }
   11980 _ACEOF
   11981 if ac_fn_c_try_compile "$LINENO"; then :
   11982   ac_cv_header_stdc=yes
   11983 else
   11984   ac_cv_header_stdc=no
   11985 fi
   11986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11987 
   11988 if test $ac_cv_header_stdc = yes; then
   11989   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   11990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11991 /* end confdefs.h.  */
   11992 #include <string.h>
   11993 
   11994 _ACEOF
   11995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11996   $EGREP "memchr" >/dev/null 2>&1; then :
   11997 
   11998 else
   11999   ac_cv_header_stdc=no
   12000 fi
   12001 rm -f conftest*
   12002 
   12003 fi
   12004 
   12005 if test $ac_cv_header_stdc = yes; then
   12006   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12008 /* end confdefs.h.  */
   12009 #include <stdlib.h>
   12010 
   12011 _ACEOF
   12012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12013   $EGREP "free" >/dev/null 2>&1; then :
   12014 
   12015 else
   12016   ac_cv_header_stdc=no
   12017 fi
   12018 rm -f conftest*
   12019 
   12020 fi
   12021 
   12022 if test $ac_cv_header_stdc = yes; then
   12023   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12024   if test "$cross_compiling" = yes; then :
   12025   :
   12026 else
   12027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12028 /* end confdefs.h.  */
   12029 #include <ctype.h>
   12030 #include <stdlib.h>
   12031 #if ((' ' & 0x0FF) == 0x020)
   12032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12034 #else
   12035 # define ISLOWER(c) \
   12036 		   (('a' <= (c) && (c) <= 'i') \
   12037 		     || ('j' <= (c) && (c) <= 'r') \
   12038 		     || ('s' <= (c) && (c) <= 'z'))
   12039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12040 #endif
   12041 
   12042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12043 int
   12044 main ()
   12045 {
   12046   int i;
   12047   for (i = 0; i < 256; i++)
   12048     if (XOR (islower (i), ISLOWER (i))
   12049 	|| toupper (i) != TOUPPER (i))
   12050       return 2;
   12051   return 0;
   12052 }
   12053 _ACEOF
   12054 if ac_fn_c_try_run "$LINENO"; then :
   12055 
   12056 else
   12057   ac_cv_header_stdc=no
   12058 fi
   12059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12060   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12061 fi
   12062 
   12063 fi
   12064 fi
   12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   12066 $as_echo "$ac_cv_header_stdc" >&6; }
   12067 if test $ac_cv_header_stdc = yes; then
   12068 
   12069 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   12070 
   12071 fi
   12072 
   12073 for ac_header in fcntl.h
   12074 do :
   12075   ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
   12076 if test "x$ac_cv_header_fcntl_h" = x""yes; then :
   12077   cat >>confdefs.h <<_ACEOF
   12078 #define HAVE_FCNTL_H 1
   12079 _ACEOF
   12080 
   12081 fi
   12082 
   12083 done
   12084 
   12085 for ac_header in unistd.h
   12086 do :
   12087   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
   12088 if test "x$ac_cv_header_unistd_h" = x""yes; then :
   12089   cat >>confdefs.h <<_ACEOF
   12090 #define HAVE_UNISTD_H 1
   12091 _ACEOF
   12092 
   12093 fi
   12094 
   12095 done
   12096 
   12097 for ac_header in ctype.h
   12098 do :
   12099   ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
   12100 if test "x$ac_cv_header_ctype_h" = x""yes; then :
   12101   cat >>confdefs.h <<_ACEOF
   12102 #define HAVE_CTYPE_H 1
   12103 _ACEOF
   12104 
   12105 fi
   12106 
   12107 done
   12108 
   12109 for ac_header in dirent.h
   12110 do :
   12111   ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
   12112 if test "x$ac_cv_header_dirent_h" = x""yes; then :
   12113   cat >>confdefs.h <<_ACEOF
   12114 #define HAVE_DIRENT_H 1
   12115 _ACEOF
   12116 
   12117 fi
   12118 
   12119 done
   12120 
   12121 for ac_header in errno.h
   12122 do :
   12123   ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
   12124 if test "x$ac_cv_header_errno_h" = x""yes; then :
   12125   cat >>confdefs.h <<_ACEOF
   12126 #define HAVE_ERRNO_H 1
   12127 _ACEOF
   12128 
   12129 fi
   12130 
   12131 done
   12132 
   12133 for ac_header in malloc.h
   12134 do :
   12135   ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
   12136 if test "x$ac_cv_header_malloc_h" = x""yes; then :
   12137   cat >>confdefs.h <<_ACEOF
   12138 #define HAVE_MALLOC_H 1
   12139 _ACEOF
   12140 
   12141 fi
   12142 
   12143 done
   12144 
   12145 for ac_header in stdarg.h
   12146 do :
   12147   ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
   12148 if test "x$ac_cv_header_stdarg_h" = x""yes; then :
   12149   cat >>confdefs.h <<_ACEOF
   12150 #define HAVE_STDARG_H 1
   12151 _ACEOF
   12152 
   12153 fi
   12154 
   12155 done
   12156 
   12157 for ac_header in sys/stat.h
   12158 do :
   12159   ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
   12160 if test "x$ac_cv_header_sys_stat_h" = x""yes; then :
   12161   cat >>confdefs.h <<_ACEOF
   12162 #define HAVE_SYS_STAT_H 1
   12163 _ACEOF
   12164 
   12165 fi
   12166 
   12167 done
   12168 
   12169 for ac_header in sys/types.h
   12170 do :
   12171   ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
   12172 if test "x$ac_cv_header_sys_types_h" = x""yes; then :
   12173   cat >>confdefs.h <<_ACEOF
   12174 #define HAVE_SYS_TYPES_H 1
   12175 _ACEOF
   12176 
   12177 fi
   12178 
   12179 done
   12180 
   12181 for ac_header in stdint.h
   12182 do :
   12183   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   12184 if test "x$ac_cv_header_stdint_h" = x""yes; then :
   12185   cat >>confdefs.h <<_ACEOF
   12186 #define HAVE_STDINT_H 1
   12187 _ACEOF
   12188 
   12189 fi
   12190 
   12191 done
   12192 
   12193 for ac_header in inttypes.h.h
   12194 do :
   12195   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h.h" "ac_cv_header_inttypes_h_h" "$ac_includes_default"
   12196 if test "x$ac_cv_header_inttypes_h_h" = x""yes; then :
   12197   cat >>confdefs.h <<_ACEOF
   12198 #define HAVE_INTTYPES_H_H 1
   12199 _ACEOF
   12200 
   12201 fi
   12202 
   12203 done
   12204 
   12205 for ac_header in time.h
   12206 do :
   12207   ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
   12208 if test "x$ac_cv_header_time_h" = x""yes; then :
   12209   cat >>confdefs.h <<_ACEOF
   12210 #define HAVE_TIME_H 1
   12211 _ACEOF
   12212 
   12213 fi
   12214 
   12215 done
   12216 
   12217 for ac_header in ansidecl.h
   12218 do :
   12219   ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
   12220 if test "x$ac_cv_header_ansidecl_h" = x""yes; then :
   12221   cat >>confdefs.h <<_ACEOF
   12222 #define HAVE_ANSIDECL_H 1
   12223 _ACEOF
   12224 
   12225 fi
   12226 
   12227 done
   12228 
   12229 for ac_header in ieeefp.h
   12230 do :
   12231   ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
   12232 if test "x$ac_cv_header_ieeefp_h" = x""yes; then :
   12233   cat >>confdefs.h <<_ACEOF
   12234 #define HAVE_IEEEFP_H 1
   12235 _ACEOF
   12236 
   12237 fi
   12238 
   12239 done
   12240 
   12241 for ac_header in nan.h
   12242 do :
   12243   ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
   12244 if test "x$ac_cv_header_nan_h" = x""yes; then :
   12245   cat >>confdefs.h <<_ACEOF
   12246 #define HAVE_NAN_H 1
   12247 _ACEOF
   12248 
   12249 fi
   12250 
   12251 done
   12252 
   12253 for ac_header in math.h
   12254 do :
   12255   ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
   12256 if test "x$ac_cv_header_math_h" = x""yes; then :
   12257   cat >>confdefs.h <<_ACEOF
   12258 #define HAVE_MATH_H 1
   12259 _ACEOF
   12260 
   12261 fi
   12262 
   12263 done
   12264 
   12265 for ac_header in limits.h
   12266 do :
   12267   ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
   12268 if test "x$ac_cv_header_limits_h" = x""yes; then :
   12269   cat >>confdefs.h <<_ACEOF
   12270 #define HAVE_LIMITS_H 1
   12271 _ACEOF
   12272 
   12273 fi
   12274 
   12275 done
   12276 
   12277 for ac_header in fp_class.h
   12278 do :
   12279   ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
   12280 if test "x$ac_cv_header_fp_class_h" = x""yes; then :
   12281   cat >>confdefs.h <<_ACEOF
   12282 #define HAVE_FP_CLASS_H 1
   12283 _ACEOF
   12284 
   12285 fi
   12286 
   12287 done
   12288 
   12289 for ac_header in float.h
   12290 do :
   12291   ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
   12292 if test "x$ac_cv_header_float_h" = x""yes; then :
   12293   cat >>confdefs.h <<_ACEOF
   12294 #define HAVE_FLOAT_H 1
   12295 _ACEOF
   12296 
   12297 fi
   12298 
   12299 done
   12300 
   12301 for ac_header in stdlib.h
   12302 do :
   12303   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
   12304 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
   12305   cat >>confdefs.h <<_ACEOF
   12306 #define HAVE_STDLIB_H 1
   12307 _ACEOF
   12308 
   12309 fi
   12310 
   12311 done
   12312 
   12313 for ac_header in sys/socket.h
   12314 do :
   12315   ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H
   12316 # include <sys/types.h>
   12317 # endif
   12318 
   12319 "
   12320 if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
   12321   cat >>confdefs.h <<_ACEOF
   12322 #define HAVE_SYS_SOCKET_H 1
   12323 _ACEOF
   12324 
   12325 fi
   12326 
   12327 done
   12328 
   12329 for ac_header in netinet/in.h
   12330 do :
   12331   ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H
   12332 # include <sys/types.h>
   12333 # endif
   12334 
   12335 "
   12336 if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
   12337   cat >>confdefs.h <<_ACEOF
   12338 #define HAVE_NETINET_IN_H 1
   12339 _ACEOF
   12340 
   12341 fi
   12342 
   12343 done
   12344 
   12345 for ac_header in arpa/inet.h
   12346 do :
   12347   ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H
   12348 # include <sys/types.h>
   12349 # endif
   12350 #if HAVE_ARPA_INET_H
   12351 # include <arpa/inet.h>
   12352 # endif
   12353 
   12354 "
   12355 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then :
   12356   cat >>confdefs.h <<_ACEOF
   12357 #define HAVE_ARPA_INET_H 1
   12358 _ACEOF
   12359 
   12360 fi
   12361 
   12362 done
   12363 
   12364 for ac_header in netdb.h
   12365 do :
   12366   ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
   12367 if test "x$ac_cv_header_netdb_h" = x""yes; then :
   12368   cat >>confdefs.h <<_ACEOF
   12369 #define HAVE_NETDB_H 1
   12370 _ACEOF
   12371 
   12372 fi
   12373 
   12374 done
   12375 
   12376 for ac_header in sys/time.h
   12377 do :
   12378   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
   12379 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
   12380   cat >>confdefs.h <<_ACEOF
   12381 #define HAVE_SYS_TIME_H 1
   12382 _ACEOF
   12383 
   12384 fi
   12385 
   12386 done
   12387 
   12388 for ac_header in sys/select.h
   12389 do :
   12390   ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   12391 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
   12392   cat >>confdefs.h <<_ACEOF
   12393 #define HAVE_SYS_SELECT_H 1
   12394 _ACEOF
   12395 
   12396 fi
   12397 
   12398 done
   12399 
   12400 for ac_header in poll.h
   12401 do :
   12402   ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
   12403 if test "x$ac_cv_header_poll_h" = x""yes; then :
   12404   cat >>confdefs.h <<_ACEOF
   12405 #define HAVE_POLL_H 1
   12406 _ACEOF
   12407 
   12408 fi
   12409 
   12410 done
   12411 
   12412 for ac_header in sys/mman.h
   12413 do :
   12414   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
   12415 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
   12416   cat >>confdefs.h <<_ACEOF
   12417 #define HAVE_SYS_MMAN_H 1
   12418 _ACEOF
   12419 
   12420 fi
   12421 
   12422 done
   12423 
   12424 for ac_header in sys/timeb.h
   12425 do :
   12426   ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
   12427 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
   12428   cat >>confdefs.h <<_ACEOF
   12429 #define HAVE_SYS_TIMEB_H 1
   12430 _ACEOF
   12431 
   12432 fi
   12433 
   12434 done
   12435 
   12436 for ac_header in signal.h
   12437 do :
   12438   ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
   12439 if test "x$ac_cv_header_signal_h" = x""yes; then :
   12440   cat >>confdefs.h <<_ACEOF
   12441 #define HAVE_SIGNAL_H 1
   12442 _ACEOF
   12443 
   12444 fi
   12445 
   12446 done
   12447 
   12448 for ac_header in arpa/nameser.h
   12449 do :
   12450   ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H
   12451 # include <sys/types.h>
   12452 # endif
   12453 
   12454 "
   12455 if test "x$ac_cv_header_arpa_nameser_h" = x""yes; then :
   12456   cat >>confdefs.h <<_ACEOF
   12457 #define HAVE_ARPA_NAMESER_H 1
   12458 _ACEOF
   12459 
   12460 fi
   12461 
   12462 done
   12463 
   12464 for ac_header in resolv.h
   12465 do :
   12466   ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H
   12467 # include <sys/types.h>
   12468 # endif
   12469 #if HAVE_NETINET_IN_H
   12470 # include <netinet/in.h>
   12471 # endif
   12472 #if HAVE_ARPA_NAMESER_H
   12473 # include <arpa/nameser.h>
   12474 # endif
   12475 
   12476 "
   12477 if test "x$ac_cv_header_resolv_h" = x""yes; then :
   12478   cat >>confdefs.h <<_ACEOF
   12479 #define HAVE_RESOLV_H 1
   12480 _ACEOF
   12481 
   12482 fi
   12483 
   12484 done
   12485 
   12486 for ac_header in dl.h
   12487 do :
   12488   ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
   12489 if test "x$ac_cv_header_dl_h" = x""yes; then :
   12490   cat >>confdefs.h <<_ACEOF
   12491 #define HAVE_DL_H 1
   12492 _ACEOF
   12493 
   12494 fi
   12495 
   12496 done
   12497 
   12498 for ac_header in dlfcn.h
   12499 do :
   12500   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   12501 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   12502   cat >>confdefs.h <<_ACEOF
   12503 #define HAVE_DLFCN_H 1
   12504 _ACEOF
   12505 
   12506 fi
   12507 
   12508 done
   12509 
   12510 
   12511 
   12512 echo Checking libraries
   12513 
   12514 for ac_func in strftime
   12515 do :
   12516   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
   12517 if test "x$ac_cv_func_strftime" = x""yes; then :
   12518   cat >>confdefs.h <<_ACEOF
   12519 #define HAVE_STRFTIME 1
   12520 _ACEOF
   12521 
   12522 else
   12523   # strftime is in -lintl on SCO UNIX.
   12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
   12525 $as_echo_n "checking for strftime in -lintl... " >&6; }
   12526 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
   12527   $as_echo_n "(cached) " >&6
   12528 else
   12529   ac_check_lib_save_LIBS=$LIBS
   12530 LIBS="-lintl  $LIBS"
   12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12532 /* end confdefs.h.  */
   12533 
   12534 /* Override any GCC internal prototype to avoid an error.
   12535    Use char because int might match the return type of a GCC
   12536    builtin and then its argument prototype would still apply.  */
   12537 #ifdef __cplusplus
   12538 extern "C"
   12539 #endif
   12540 char strftime ();
   12541 int
   12542 main ()
   12543 {
   12544 return strftime ();
   12545   ;
   12546   return 0;
   12547 }
   12548 _ACEOF
   12549 if ac_fn_c_try_link "$LINENO"; then :
   12550   ac_cv_lib_intl_strftime=yes
   12551 else
   12552   ac_cv_lib_intl_strftime=no
   12553 fi
   12554 rm -f core conftest.err conftest.$ac_objext \
   12555     conftest$ac_exeext conftest.$ac_ext
   12556 LIBS=$ac_check_lib_save_LIBS
   12557 fi
   12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
   12559 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
   12560 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
   12561   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
   12562 
   12563 LIBS="-lintl $LIBS"
   12564 fi
   12565 
   12566 fi
   12567 done
   12568 
   12569 for ac_func in strdup strndup strerror
   12570 do :
   12571   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12573 eval as_val=\$$as_ac_var
   12574    if test "x$as_val" = x""yes; then :
   12575   cat >>confdefs.h <<_ACEOF
   12576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12577 _ACEOF
   12578 
   12579 fi
   12580 done
   12581 
   12582 for ac_func in finite isnand fp_class class fpclass
   12583 do :
   12584   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12586 eval as_val=\$$as_ac_var
   12587    if test "x$as_val" = x""yes; then :
   12588   cat >>confdefs.h <<_ACEOF
   12589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12590 _ACEOF
   12591 
   12592 fi
   12593 done
   12594 
   12595 for ac_func in strftime localtime gettimeofday ftime
   12596 do :
   12597   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12599 eval as_val=\$$as_ac_var
   12600    if test "x$as_val" = x""yes; then :
   12601   cat >>confdefs.h <<_ACEOF
   12602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12603 _ACEOF
   12604 
   12605 fi
   12606 done
   12607 
   12608 for ac_func in stat _stat signal
   12609 do :
   12610   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12612 eval as_val=\$$as_ac_var
   12613    if test "x$as_val" = x""yes; then :
   12614   cat >>confdefs.h <<_ACEOF
   12615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12616 _ACEOF
   12617 
   12618 fi
   12619 done
   12620 
   12621 
   12622 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
   12623 do :
   12624   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12626 eval as_val=\$$as_ac_var
   12627    if test "x$as_val" = x""yes; then :
   12628   cat >>confdefs.h <<_ACEOF
   12629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12630 _ACEOF
   12631 
   12632 else
   12633   NEED_TRIO=1
   12634 fi
   12635 done
   12636 
   12637 
   12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
   12639 $as_echo_n "checking for va_copy... " >&6; }
   12640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12641 /* end confdefs.h.  */
   12642 #include <stdarg.h>
   12643 va_list ap1,ap2;
   12644 int
   12645 main ()
   12646 {
   12647 va_copy(ap1,ap2);
   12648   ;
   12649   return 0;
   12650 }
   12651 _ACEOF
   12652 if ac_fn_c_try_link "$LINENO"; then :
   12653   have_va_copy=yes
   12654 else
   12655   have_va_copy=no
   12656 fi
   12657 rm -f core conftest.err conftest.$ac_objext \
   12658     conftest$ac_exeext conftest.$ac_ext
   12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5
   12660 $as_echo "$have_va_copy" >&6; }
   12661 if test x"$have_va_copy" = x"yes"; then
   12662 
   12663 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
   12664 
   12665 else
   12666     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
   12667 $as_echo_n "checking for __va_copy... " >&6; }
   12668     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12669 /* end confdefs.h.  */
   12670 #include <stdarg.h>
   12671     va_list ap1,ap2;
   12672 int
   12673 main ()
   12674 {
   12675 __va_copy(ap1,ap2);
   12676   ;
   12677   return 0;
   12678 }
   12679 _ACEOF
   12680 if ac_fn_c_try_link "$LINENO"; then :
   12681   have___va_copy=yes
   12682 else
   12683   have___va_copy=no
   12684 fi
   12685 rm -f core conftest.err conftest.$ac_objext \
   12686     conftest$ac_exeext conftest.$ac_ext
   12687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5
   12688 $as_echo "$have___va_copy" >&6; }
   12689     if test x"$have___va_copy" = x"yes"; then
   12690 
   12691 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
   12692 
   12693     fi
   12694 fi
   12695 
   12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
   12697 $as_echo_n "checking for library containing gethostent... " >&6; }
   12698 if test "${ac_cv_search_gethostent+set}" = set; then :
   12699   $as_echo_n "(cached) " >&6
   12700 else
   12701   ac_func_search_save_LIBS=$LIBS
   12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12703 /* end confdefs.h.  */
   12704 
   12705 /* Override any GCC internal prototype to avoid an error.
   12706    Use char because int might match the return type of a GCC
   12707    builtin and then its argument prototype would still apply.  */
   12708 #ifdef __cplusplus
   12709 extern "C"
   12710 #endif
   12711 char gethostent ();
   12712 int
   12713 main ()
   12714 {
   12715 return gethostent ();
   12716   ;
   12717   return 0;
   12718 }
   12719 _ACEOF
   12720 for ac_lib in '' nsl; do
   12721   if test -z "$ac_lib"; then
   12722     ac_res="none required"
   12723   else
   12724     ac_res=-l$ac_lib
   12725     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12726   fi
   12727   if ac_fn_c_try_link "$LINENO"; then :
   12728   ac_cv_search_gethostent=$ac_res
   12729 fi
   12730 rm -f core conftest.err conftest.$ac_objext \
   12731     conftest$ac_exeext
   12732   if test "${ac_cv_search_gethostent+set}" = set; then :
   12733   break
   12734 fi
   12735 done
   12736 if test "${ac_cv_search_gethostent+set}" = set; then :
   12737 
   12738 else
   12739   ac_cv_search_gethostent=no
   12740 fi
   12741 rm conftest.$ac_ext
   12742 LIBS=$ac_func_search_save_LIBS
   12743 fi
   12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
   12745 $as_echo "$ac_cv_search_gethostent" >&6; }
   12746 ac_res=$ac_cv_search_gethostent
   12747 if test "$ac_res" != no; then :
   12748   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12749 
   12750 fi
   12751 
   12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
   12753 $as_echo_n "checking for library containing setsockopt... " >&6; }
   12754 if test "${ac_cv_search_setsockopt+set}" = set; then :
   12755   $as_echo_n "(cached) " >&6
   12756 else
   12757   ac_func_search_save_LIBS=$LIBS
   12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12759 /* end confdefs.h.  */
   12760 
   12761 /* Override any GCC internal prototype to avoid an error.
   12762    Use char because int might match the return type of a GCC
   12763    builtin and then its argument prototype would still apply.  */
   12764 #ifdef __cplusplus
   12765 extern "C"
   12766 #endif
   12767 char setsockopt ();
   12768 int
   12769 main ()
   12770 {
   12771 return setsockopt ();
   12772   ;
   12773   return 0;
   12774 }
   12775 _ACEOF
   12776 for ac_lib in '' socket net network; do
   12777   if test -z "$ac_lib"; then
   12778     ac_res="none required"
   12779   else
   12780     ac_res=-l$ac_lib
   12781     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12782   fi
   12783   if ac_fn_c_try_link "$LINENO"; then :
   12784   ac_cv_search_setsockopt=$ac_res
   12785 fi
   12786 rm -f core conftest.err conftest.$ac_objext \
   12787     conftest$ac_exeext
   12788   if test "${ac_cv_search_setsockopt+set}" = set; then :
   12789   break
   12790 fi
   12791 done
   12792 if test "${ac_cv_search_setsockopt+set}" = set; then :
   12793 
   12794 else
   12795   ac_cv_search_setsockopt=no
   12796 fi
   12797 rm conftest.$ac_ext
   12798 LIBS=$ac_func_search_save_LIBS
   12799 fi
   12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
   12801 $as_echo "$ac_cv_search_setsockopt" >&6; }
   12802 ac_res=$ac_cv_search_setsockopt
   12803 if test "$ac_res" != no; then :
   12804   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12805 
   12806 fi
   12807 
   12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
   12809 $as_echo_n "checking for library containing connect... " >&6; }
   12810 if test "${ac_cv_search_connect+set}" = set; then :
   12811   $as_echo_n "(cached) " >&6
   12812 else
   12813   ac_func_search_save_LIBS=$LIBS
   12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12815 /* end confdefs.h.  */
   12816 
   12817 /* Override any GCC internal prototype to avoid an error.
   12818    Use char because int might match the return type of a GCC
   12819    builtin and then its argument prototype would still apply.  */
   12820 #ifdef __cplusplus
   12821 extern "C"
   12822 #endif
   12823 char connect ();
   12824 int
   12825 main ()
   12826 {
   12827 return connect ();
   12828   ;
   12829   return 0;
   12830 }
   12831 _ACEOF
   12832 for ac_lib in '' inet; do
   12833   if test -z "$ac_lib"; then
   12834     ac_res="none required"
   12835   else
   12836     ac_res=-l$ac_lib
   12837     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12838   fi
   12839   if ac_fn_c_try_link "$LINENO"; then :
   12840   ac_cv_search_connect=$ac_res
   12841 fi
   12842 rm -f core conftest.err conftest.$ac_objext \
   12843     conftest$ac_exeext
   12844   if test "${ac_cv_search_connect+set}" = set; then :
   12845   break
   12846 fi
   12847 done
   12848 if test "${ac_cv_search_connect+set}" = set; then :
   12849 
   12850 else
   12851   ac_cv_search_connect=no
   12852 fi
   12853 rm conftest.$ac_ext
   12854 LIBS=$ac_func_search_save_LIBS
   12855 fi
   12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
   12857 $as_echo "$ac_cv_search_connect" >&6; }
   12858 ac_res=$ac_cv_search_connect
   12859 if test "$ac_res" != no; then :
   12860   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12861 
   12862 fi
   12863 
   12864 
   12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
   12866 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
   12867 cat > conftest.$ac_ext <<EOF
   12868 #line 12868 "configure"
   12869 #include "confdefs.h"
   12870 
   12871 #include <stddef.h>
   12872 #include <sys/types.h>
   12873 #include <sys/socket.h>
   12874 int main(void) {
   12875 
   12876 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
   12877 ; return 0; }
   12878 EOF
   12879 if { (eval echo configure:12879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
   12880   rm -rf conftest*
   12881 
   12882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
   12883 $as_echo "socklen_t *" >&6; }
   12884   XML_SOCKLEN_T=socklen_t
   12885 else
   12886   echo "configure: failed program was:" >&5
   12887   cat conftest.$ac_ext >&5
   12888   rm -rf conftest*
   12889 
   12890   cat > conftest.$ac_ext <<EOF
   12891 #line 12891 "configure"
   12892 #include "confdefs.h"
   12893 
   12894 #include <stddef.h>
   12895 #include <sys/types.h>
   12896 #include <sys/socket.h>
   12897 int main(void) {
   12898 
   12899 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
   12900 ; return 0; }
   12901 EOF
   12902 if { (eval echo configure:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
   12903   rm -rf conftest*
   12904 
   12905     { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
   12906 $as_echo "size_t *" >&6; }
   12907     XML_SOCKLEN_T=size_t
   12908 else
   12909   echo "configure: failed program was:" >&5
   12910   cat conftest.$ac_ext >&5
   12911   rm -rf conftest*
   12912 
   12913     cat > conftest.$ac_ext <<EOF
   12914 #line 12914 "configure"
   12915 #include "confdefs.h"
   12916 
   12917 #include <stddef.h>
   12918 #include <sys/types.h>
   12919 #include <sys/socket.h>
   12920 int main(void) {
   12921 
   12922 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
   12923 ; return 0; }
   12924 EOF
   12925 if { (eval echo configure:12925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
   12926   rm -rf conftest*
   12927 
   12928       { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
   12929 $as_echo "int *" >&6; }
   12930       XML_SOCKLEN_T=int
   12931 else
   12932   echo "configure: failed program was:" >&5
   12933   cat conftest.$ac_ext >&5
   12934   rm -rf conftest*
   12935 
   12936       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5
   12937 $as_echo "$as_me: WARNING: could not determine" >&2;}
   12938       XML_SOCKLEN_T="int"
   12939 fi
   12940 rm -f conftest*
   12941 fi
   12942 rm -f conftest*
   12943 fi
   12944 rm -f conftest*
   12945 
   12946 cat >>confdefs.h <<_ACEOF
   12947 #define XML_SOCKLEN_T $XML_SOCKLEN_T
   12948 _ACEOF
   12949 
   12950 
   12951 
   12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
   12953 $as_echo_n "checking whether to enable IPv6... " >&6; }
   12954 # Check whether --enable-ipv6 was given.
   12955 if test "${enable_ipv6+set}" = set; then :
   12956   enableval=$enable_ipv6;
   12957 else
   12958   enable_ipv6=yes
   12959 fi
   12960 
   12961 if test "$with_minimum" = "yes"
   12962 then
   12963     enable_ipv6=no
   12964 fi
   12965 if test $enable_ipv6 = yes; then
   12966   have_ipv6=no
   12967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12968 /* end confdefs.h.  */
   12969 
   12970     #include <sys/types.h>
   12971     #include <sys/socket.h>
   12972 
   12973 int
   12974 main ()
   12975 {
   12976 
   12977     struct sockaddr_storage ss;
   12978     socket(AF_INET6, SOCK_STREAM, 0)
   12979 
   12980   ;
   12981   return 0;
   12982 }
   12983 _ACEOF
   12984 if ac_fn_c_try_compile "$LINENO"; then :
   12985   have_ipv6=yes
   12986 else
   12987   have_ipv6=no
   12988 
   12989 fi
   12990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5
   12992 $as_echo "$have_ipv6" >&6; }
   12993 
   12994   if test $have_ipv6 = yes; then
   12995 
   12996 $as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h
   12997 
   12998     have_broken_ss_family=no
   12999 
   13000                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5
   13001 $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
   13002     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13003 /* end confdefs.h.  */
   13004 
   13005       #include <sys/types.h>
   13006       #include <sys/socket.h>
   13007 
   13008 int
   13009 main ()
   13010 {
   13011 
   13012       struct sockaddr_storage ss ;
   13013       ss.ss_family = 0 ;
   13014 
   13015   ;
   13016   return 0;
   13017 }
   13018 _ACEOF
   13019 if ac_fn_c_try_compile "$LINENO"; then :
   13020   have_ss_family=yes
   13021 else
   13022   have_ss_family=no
   13023 
   13024 fi
   13025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13026     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5
   13027 $as_echo "$have_ss_family" >&6; }
   13028     if test x$have_ss_family = xno ; then
   13029       { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5
   13030 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
   13031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13032 /* end confdefs.h.  */
   13033 
   13034         #include <sys/types.h>
   13035         #include <sys/socket.h>
   13036 
   13037 int
   13038 main ()
   13039 {
   13040 
   13041         struct sockaddr_storage ss ;
   13042         ss.__ss_family = 0 ;
   13043 
   13044   ;
   13045   return 0;
   13046 }
   13047 _ACEOF
   13048 if ac_fn_c_try_compile "$LINENO"; then :
   13049   have_broken_ss_family=yes
   13050 else
   13051   have_broken_ss_family=no
   13052 
   13053 fi
   13054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13055       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5
   13056 $as_echo "$have_broken_ss_family" >&6; }
   13057       if test x$have_broken_ss_family = xyes ; then
   13058 
   13059 $as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h
   13060 
   13061 
   13062 $as_echo "#define ss_family __ss_family" >>confdefs.h
   13063 
   13064       else
   13065         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5
   13066 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
   13067       fi
   13068     fi
   13069 
   13070     have_getaddrinfo=no
   13071     ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   13072 if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
   13073   have_getaddrinfo=yes
   13074 fi
   13075 
   13076     if test $have_getaddrinfo != yes; then
   13077       for lib in bsd socket inet; do
   13078         as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
   13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
   13080 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
   13081 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
   13082   $as_echo_n "(cached) " >&6
   13083 else
   13084   ac_check_lib_save_LIBS=$LIBS
   13085 LIBS="-l$lib  $LIBS"
   13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13087 /* end confdefs.h.  */
   13088 
   13089 /* Override any GCC internal prototype to avoid an error.
   13090    Use char because int might match the return type of a GCC
   13091    builtin and then its argument prototype would still apply.  */
   13092 #ifdef __cplusplus
   13093 extern "C"
   13094 #endif
   13095 char getaddrinfo ();
   13096 int
   13097 main ()
   13098 {
   13099 return getaddrinfo ();
   13100   ;
   13101   return 0;
   13102 }
   13103 _ACEOF
   13104 if ac_fn_c_try_link "$LINENO"; then :
   13105   eval "$as_ac_Lib=yes"
   13106 else
   13107   eval "$as_ac_Lib=no"
   13108 fi
   13109 rm -f core conftest.err conftest.$ac_objext \
   13110     conftest$ac_exeext conftest.$ac_ext
   13111 LIBS=$ac_check_lib_save_LIBS
   13112 fi
   13113 eval ac_res=\$$as_ac_Lib
   13114 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13115 $as_echo "$ac_res" >&6; }
   13116 eval as_val=\$$as_ac_Lib
   13117    if test "x$as_val" = x""yes; then :
   13118   LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
   13119 fi
   13120 
   13121       done
   13122     fi
   13123 
   13124     if test $have_getaddrinfo = yes; then
   13125 
   13126 $as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h
   13127 
   13128     fi
   13129   fi
   13130 fi
   13131 
   13132 
   13133 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
   13134 if test "x$ac_cv_func_isnan" = x""yes; then :
   13135 
   13136 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
   13137 
   13138 else
   13139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
   13140 $as_echo_n "checking for isnan in -lm... " >&6; }
   13141 if test "${ac_cv_lib_m_isnan+set}" = set; then :
   13142   $as_echo_n "(cached) " >&6
   13143 else
   13144   ac_check_lib_save_LIBS=$LIBS
   13145 LIBS="-lm  $LIBS"
   13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13147 /* end confdefs.h.  */
   13148 
   13149 /* Override any GCC internal prototype to avoid an error.
   13150    Use char because int might match the return type of a GCC
   13151    builtin and then its argument prototype would still apply.  */
   13152 #ifdef __cplusplus
   13153 extern "C"
   13154 #endif
   13155 char isnan ();
   13156 int
   13157 main ()
   13158 {
   13159 return isnan ();
   13160   ;
   13161   return 0;
   13162 }
   13163 _ACEOF
   13164 if ac_fn_c_try_link "$LINENO"; then :
   13165   ac_cv_lib_m_isnan=yes
   13166 else
   13167   ac_cv_lib_m_isnan=no
   13168 fi
   13169 rm -f core conftest.err conftest.$ac_objext \
   13170     conftest$ac_exeext conftest.$ac_ext
   13171 LIBS=$ac_check_lib_save_LIBS
   13172 fi
   13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
   13174 $as_echo "$ac_cv_lib_m_isnan" >&6; }
   13175 if test "x$ac_cv_lib_m_isnan" = x""yes; then :
   13176 
   13177 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
   13178 
   13179 fi
   13180 
   13181 fi
   13182 
   13183 
   13184 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
   13185 if test "x$ac_cv_func_isinf" = x""yes; then :
   13186 
   13187 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
   13188 
   13189 else
   13190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
   13191 $as_echo_n "checking for isinf in -lm... " >&6; }
   13192 if test "${ac_cv_lib_m_isinf+set}" = set; then :
   13193   $as_echo_n "(cached) " >&6
   13194 else
   13195   ac_check_lib_save_LIBS=$LIBS
   13196 LIBS="-lm  $LIBS"
   13197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13198 /* end confdefs.h.  */
   13199 
   13200 /* Override any GCC internal prototype to avoid an error.
   13201    Use char because int might match the return type of a GCC
   13202    builtin and then its argument prototype would still apply.  */
   13203 #ifdef __cplusplus
   13204 extern "C"
   13205 #endif
   13206 char isinf ();
   13207 int
   13208 main ()
   13209 {
   13210 return isinf ();
   13211   ;
   13212   return 0;
   13213 }
   13214 _ACEOF
   13215 if ac_fn_c_try_link "$LINENO"; then :
   13216   ac_cv_lib_m_isinf=yes
   13217 else
   13218   ac_cv_lib_m_isinf=no
   13219 fi
   13220 rm -f core conftest.err conftest.$ac_objext \
   13221     conftest$ac_exeext conftest.$ac_ext
   13222 LIBS=$ac_check_lib_save_LIBS
   13223 fi
   13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
   13225 $as_echo "$ac_cv_lib_m_isinf" >&6; }
   13226 if test "x$ac_cv_lib_m_isinf" = x""yes; then :
   13227 
   13228 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
   13229 
   13230 fi
   13231 
   13232 fi
   13233 
   13234 
   13235 XML_LIBDIR='-L${libdir}'
   13236 XML_INCLUDEDIR='-I${includedir}/libxml2'
   13237 
   13238 XML_CFLAGS=""
   13239 RDL_LIBS=""
   13240 
   13241 if test "${GCC}" != "yes" ; then
   13242     case "${host}" in
   13243           hppa*-*-hpux* )
   13244 	       CFLAGS="${CFLAGS} -Wp,-H30000"
   13245 	       ;;
   13246           *-dec-osf* )
   13247                CFLAGS="${CFLAGS} -ieee"
   13248                ;;
   13249 	  alpha*-*-linux* )
   13250 	       CFLAGS="${CFLAGS} -ieee"
   13251 	       ;;
   13252     esac
   13253 else
   13254     if test "$with_fexceptions" = "yes"
   13255     then
   13256         #
   13257 	# Not activated by default because this inflates the code size
   13258 	# Used to allow propagation of C++ exceptions through the library
   13259 	#
   13260 	CFLAGS="${CFLAGS} -fexceptions"
   13261     fi
   13262 
   13263     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"
   13264     case "${host}" in
   13265           alpha*-*-linux* )
   13266 	       CFLAGS="${CFLAGS} -mieee"
   13267 	       ;;
   13268 	  alpha*-*-osf* )
   13269 	       CFLAGS="${CFLAGS} -mieee"
   13270 	       ;;
   13271     esac
   13272 fi
   13273 case ${host} in
   13274     *-*-solaris*)
   13275         XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
   13276         ;;
   13277     hppa*-hp-mpeix)
   13278         NEED_TRIO=1
   13279 	;;
   13280     *-*-mingw* | *-*-cygwin* | *-*-msvc* )
   13281         # If the host is Windows, and shared libraries are disabled, we
   13282         # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
   13283         # work properly (without it, xmlexports.h would force the use of
   13284         # DLL imports, which obviously aren't present in a static
   13285         # library).
   13286         if test "x$enable_shared" = "xno"; then
   13287             XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
   13288             CFLAGS="$CFLAGS -DLIBXML_STATIC"
   13289         fi
   13290         ;;
   13291 esac
   13292 
   13293 
   13294 
   13295 PYTHON_VERSION=
   13296 PYTHON_INCLUDES=
   13297 PYTHON_SITE_PACKAGES=
   13298 PYTHON_TESTS=
   13299 pythondir=
   13300 if test "$with_python" != "no" ; then
   13301     if test -x "$with_python/bin/python"
   13302     then
   13303         echo Found python in $with_python/bin/python
   13304         PYTHON="$with_python/bin/python"
   13305     else
   13306 	if test -x "$with_python"
   13307 	then
   13308 	    echo Found python in $with_python
   13309 	    PYTHON="$with_python"
   13310 	else
   13311 	    if test -x "$PYTHON"
   13312 	    then
   13313 	        echo Found python in environment PYTHON=$PYTHON
   13314 		with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
   13315 	    else
   13316 		# 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.
   13317 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
   13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13319 $as_echo_n "checking for $ac_word... " >&6; }
   13320 if test "${ac_cv_path_PYTHON+set}" = set; then :
   13321   $as_echo_n "(cached) " >&6
   13322 else
   13323   case $PYTHON in
   13324   [\\/]* | ?:[\\/]*)
   13325   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   13326   ;;
   13327   *)
   13328   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13329 for as_dir in $PATH
   13330 do
   13331   IFS=$as_save_IFS
   13332   test -z "$as_dir" && as_dir=.
   13333     for ac_exec_ext in '' $ac_executable_extensions; do
   13334   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13335     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
   13336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13337     break 2
   13338   fi
   13339 done
   13340   done
   13341 IFS=$as_save_IFS
   13342 
   13343   ;;
   13344 esac
   13345 fi
   13346 PYTHON=$ac_cv_path_PYTHON
   13347 if test -n "$PYTHON"; then
   13348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   13349 $as_echo "$PYTHON" >&6; }
   13350 else
   13351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13352 $as_echo "no" >&6; }
   13353 fi
   13354 
   13355 
   13356 	    fi
   13357 	fi
   13358     fi
   13359     if test "$PYTHON" != ""
   13360     then
   13361         PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
   13362 	echo Found Python version $PYTHON_VERSION
   13363     fi
   13364     if test "$PYTHON_VERSION" != ""
   13365     then
   13366 	if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
   13367 	   -d $with_python/lib/python$PYTHON_VERSION/site-packages
   13368 	then
   13369 	    PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
   13370 	    PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
   13371 	else
   13372 	    if test -r $prefix/include/python$PYTHON_VERSION/Python.h
   13373 	    then
   13374 	        PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
   13375 	        PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
   13376 	    else
   13377 		if test -r /usr/include/python$PYTHON_VERSION/Python.h
   13378 		then
   13379 		    PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
   13380 	            PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
   13381 		else
   13382 		    echo could not find python$PYTHON_VERSION/Python.h
   13383 		fi
   13384 	    fi
   13385 	    if test ! -d "$PYTHON_SITE_PACKAGES"
   13386 	    then
   13387 		    PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
   13388 	    fi
   13389 	fi
   13390 	PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
   13391     fi
   13392     if test "$with_python" != ""
   13393     then
   13394         pythondir='$(PYTHON_SITE_PACKAGES)'
   13395     else
   13396         pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
   13397     fi
   13398 else
   13399     PYTHON=
   13400 fi
   13401  if test "$PYTHON_INCLUDES" != ""; then
   13402   WITH_PYTHON_TRUE=
   13403   WITH_PYTHON_FALSE='#'
   13404 else
   13405   WITH_PYTHON_TRUE='#'
   13406   WITH_PYTHON_FALSE=
   13407 fi
   13408 
   13409 if test "$PYTHON_INCLUDES" != ""
   13410 then
   13411     PYTHON_SUBDIR=python
   13412 else
   13413     PYTHON_SUBDIR=
   13414 fi
   13415 
   13416 
   13417 
   13418 
   13419 WITH_MODULES=0
   13420 TEST_MODULES=
   13421 
   13422 if test "$with_modules" != "no" ; then
   13423  case "$host" in
   13424   *-*-cygwin*)
   13425   MODULE_EXTENSION=".dll"
   13426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
   13427 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
   13428 if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then :
   13429   $as_echo_n "(cached) " >&6
   13430 else
   13431   ac_check_lib_save_LIBS=$LIBS
   13432 LIBS="-lcygwin  $LIBS"
   13433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13434 /* end confdefs.h.  */
   13435 
   13436 /* Override any GCC internal prototype to avoid an error.
   13437    Use char because int might match the return type of a GCC
   13438    builtin and then its argument prototype would still apply.  */
   13439 #ifdef __cplusplus
   13440 extern "C"
   13441 #endif
   13442 char dlopen ();
   13443 int
   13444 main ()
   13445 {
   13446 return dlopen ();
   13447   ;
   13448   return 0;
   13449 }
   13450 _ACEOF
   13451 if ac_fn_c_try_link "$LINENO"; then :
   13452   ac_cv_lib_cygwin_dlopen=yes
   13453 else
   13454   ac_cv_lib_cygwin_dlopen=no
   13455 fi
   13456 rm -f core conftest.err conftest.$ac_objext \
   13457     conftest$ac_exeext conftest.$ac_ext
   13458 LIBS=$ac_check_lib_save_LIBS
   13459 fi
   13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
   13461 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
   13462 if test "x$ac_cv_lib_cygwin_dlopen" = x""yes; then :
   13463 
   13464     WITH_MODULES=1
   13465     MODULE_PLATFORM_LIBS=
   13466 
   13467 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
   13468 
   13469 
   13470 fi
   13471 
   13472   ;;
   13473   *-*-mingw*)
   13474   MODULE_EXTENSION=".dll"
   13475   WITH_MODULES=1
   13476   ;;
   13477   *)
   13478   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13479 if test "x$ac_cv_func_shl_load" = x""yes; then :
   13480   libxml_have_shl_load=yes
   13481 else
   13482 
   13483     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13484 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   13485 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   13486   $as_echo_n "(cached) " >&6
   13487 else
   13488   ac_check_lib_save_LIBS=$LIBS
   13489 LIBS="-ldld  $LIBS"
   13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13491 /* end confdefs.h.  */
   13492 
   13493 /* Override any GCC internal prototype to avoid an error.
   13494    Use char because int might match the return type of a GCC
   13495    builtin and then its argument prototype would still apply.  */
   13496 #ifdef __cplusplus
   13497 extern "C"
   13498 #endif
   13499 char shl_load ();
   13500 int
   13501 main ()
   13502 {
   13503 return shl_load ();
   13504   ;
   13505   return 0;
   13506 }
   13507 _ACEOF
   13508 if ac_fn_c_try_link "$LINENO"; then :
   13509   ac_cv_lib_dld_shl_load=yes
   13510 else
   13511   ac_cv_lib_dld_shl_load=no
   13512 fi
   13513 rm -f core conftest.err conftest.$ac_objext \
   13514     conftest$ac_exeext conftest.$ac_ext
   13515 LIBS=$ac_check_lib_save_LIBS
   13516 fi
   13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13518 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   13519 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   13520 
   13521       MODULE_PLATFORM_LIBS="-ldld"
   13522       libxml_have_shl_load=yes
   13523 else
   13524 
   13525       ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13526 if test "x$ac_cv_func_dlopen" = x""yes; then :
   13527   libxml_have_dlopen=yes
   13528 else
   13529 
   13530         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13531 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   13532 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   13533   $as_echo_n "(cached) " >&6
   13534 else
   13535   ac_check_lib_save_LIBS=$LIBS
   13536 LIBS="-ldl  $LIBS"
   13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13538 /* end confdefs.h.  */
   13539 
   13540 /* Override any GCC internal prototype to avoid an error.
   13541    Use char because int might match the return type of a GCC
   13542    builtin and then its argument prototype would still apply.  */
   13543 #ifdef __cplusplus
   13544 extern "C"
   13545 #endif
   13546 char dlopen ();
   13547 int
   13548 main ()
   13549 {
   13550 return dlopen ();
   13551   ;
   13552   return 0;
   13553 }
   13554 _ACEOF
   13555 if ac_fn_c_try_link "$LINENO"; then :
   13556   ac_cv_lib_dl_dlopen=yes
   13557 else
   13558   ac_cv_lib_dl_dlopen=no
   13559 fi
   13560 rm -f core conftest.err conftest.$ac_objext \
   13561     conftest$ac_exeext conftest.$ac_ext
   13562 LIBS=$ac_check_lib_save_LIBS
   13563 fi
   13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13565 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   13566 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   13567 
   13568           MODULE_PLATFORM_LIBS="-ldl"
   13569           libxml_have_dlopen=yes
   13570 fi
   13571 
   13572 fi
   13573 
   13574 fi
   13575 
   13576 fi
   13577 
   13578 
   13579   if test "${libxml_have_shl_load}" = "yes"; then
   13580     MODULE_EXTENSION=".sl"
   13581     WITH_MODULES=1
   13582 
   13583 $as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h
   13584 
   13585   fi
   13586 
   13587   if test "${libxml_have_dlopen}" = "yes"; then
   13588     case "${host}" in
   13589       *-*-hpux* )
   13590 	MODULE_EXTENSION=".sl"
   13591 	;;
   13592       * )
   13593 	MODULE_EXTENSION=".so"
   13594 	;;
   13595     esac
   13596 
   13597     WITH_MODULES=1
   13598 
   13599 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
   13600 
   13601   fi
   13602  ;;
   13603  esac
   13604 fi
   13605 
   13606 if test "${WITH_MODULES}" = "1"; then
   13607   TEST_MODULES="ModuleTests"
   13608 fi
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
   13617    [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
   13618    [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
   13619    then
   13620     if test "$with_minimum" != "yes"
   13621     then
   13622 	if test "${with_mem_debug}" = "" ; then
   13623 	    echo Activating memory debugging
   13624 	    with_mem_debug="yes"
   13625 	    with_run_debug="yes"
   13626 	fi
   13627 	if test "${with_docbook}" = "" ; then
   13628 	    with_docbook="yes"
   13629 	fi
   13630     fi
   13631     if test "${GCC}" = "yes" ; then
   13632     CFLAGS="-g -O -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 -Wall"
   13633     fi
   13634     STATIC_BINARIES="-static"
   13635 else
   13636     STATIC_BINARIES=
   13637 fi
   13638 
   13639 
   13640 
   13641 if test "${NEED_TRIO}" = "1" ; then
   13642     echo Adding trio library for string functions
   13643     WITH_TRIO=1
   13644 else
   13645     WITH_TRIO=0
   13646 fi
   13647  if test "${NEED_TRIO}" = "1"; then
   13648   WITH_TRIO_SOURCES_TRUE=
   13649   WITH_TRIO_SOURCES_FALSE='#'
   13650 else
   13651   WITH_TRIO_SOURCES_TRUE='#'
   13652   WITH_TRIO_SOURCES_FALSE=
   13653 fi
   13654 
   13655 
   13656 
   13657 echo Checking configuration requirements
   13658 
   13659 THREAD_LIBS=""
   13660 BASE_THREAD_LIBS=""
   13661 WITH_THREADS=0
   13662 THREAD_CFLAGS=""
   13663 TEST_THREADS=""
   13664 THREADS_W32=""
   13665 
   13666 if test "$with_threads" = "no" ; then
   13667     echo Disabling multithreaded support
   13668 else
   13669     echo Enabling multithreaded support
   13670         if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
   13671         ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
   13672 if test "x$ac_cv_header_pthread_h" = x""yes; then :
   13673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
   13674 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
   13675 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then :
   13676   $as_echo_n "(cached) " >&6
   13677 else
   13678   ac_check_lib_save_LIBS=$LIBS
   13679 LIBS="-lpthread  $LIBS"
   13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13681 /* end confdefs.h.  */
   13682 
   13683 /* Override any GCC internal prototype to avoid an error.
   13684    Use char because int might match the return type of a GCC
   13685    builtin and then its argument prototype would still apply.  */
   13686 #ifdef __cplusplus
   13687 extern "C"
   13688 #endif
   13689 char pthread_join ();
   13690 int
   13691 main ()
   13692 {
   13693 return pthread_join ();
   13694   ;
   13695   return 0;
   13696 }
   13697 _ACEOF
   13698 if ac_fn_c_try_link "$LINENO"; then :
   13699   ac_cv_lib_pthread_pthread_join=yes
   13700 else
   13701   ac_cv_lib_pthread_pthread_join=no
   13702 fi
   13703 rm -f core conftest.err conftest.$ac_objext \
   13704     conftest$ac_exeext conftest.$ac_ext
   13705 LIBS=$ac_check_lib_save_LIBS
   13706 fi
   13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
   13708 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
   13709 if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then :
   13710 
   13711 	       THREAD_LIBS="-lpthread"
   13712 
   13713 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
   13714 
   13715 
   13716 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
   13717 
   13718 	       WITH_THREADS="1"
   13719 fi
   13720 
   13721 fi
   13722 
   13723 
   13724     fi
   13725     case $host_os in
   13726        *mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then
   13727                WITH_THREADS="1"
   13728                THREADS_W32="Win32"
   13729 	       THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
   13730            fi
   13731        ;;
   13732        *cygwin*) THREAD_LIBS=""
   13733        ;;
   13734        *beos*) WITH_THREADS="1"
   13735 	   THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
   13736        ;;
   13737        *linux*)
   13738            if test "${GCC}" = "yes" ; then
   13739 	       GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
   13740 	       GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
   13741 	       GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
   13742 	       if test "${THREAD_LIBS}" = "-lpthread" ; then
   13743 	           if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
   13744 		   then
   13745 		       THREAD_LIBS=""
   13746 		       BASE_THREAD_LIBS="-lpthread"
   13747 		   else
   13748 		   if expr ${GCC_MAJOR} \> 3 > /dev/null
   13749 		   then
   13750 		       THREAD_LIBS=""
   13751 		       BASE_THREAD_LIBS="-lpthread"
   13752 		   else
   13753 		       echo old GCC disabling weak symbols for pthread
   13754 		   fi
   13755 		   fi
   13756 	       fi
   13757 	   fi
   13758        ;;
   13759     esac
   13760     if test "$WITH_THREADS" = "1" ; then
   13761 	THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
   13762 	TEST_THREADS="Threadtests"
   13763     fi
   13764 fi
   13765 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
   13766     THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
   13767 fi
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 if test "$with_history" = "yes" ; then
   13777     echo Enabling xmllint shell history
   13778             unset tcap
   13779     for termlib in ncurses curses termcap terminfo termlib; do
   13780 	as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
   13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
   13782 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
   13783 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
   13784   $as_echo_n "(cached) " >&6
   13785 else
   13786   ac_check_lib_save_LIBS=$LIBS
   13787 LIBS="-l${termlib}  $LIBS"
   13788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13789 /* end confdefs.h.  */
   13790 
   13791 /* Override any GCC internal prototype to avoid an error.
   13792    Use char because int might match the return type of a GCC
   13793    builtin and then its argument prototype would still apply.  */
   13794 #ifdef __cplusplus
   13795 extern "C"
   13796 #endif
   13797 char tputs ();
   13798 int
   13799 main ()
   13800 {
   13801 return tputs ();
   13802   ;
   13803   return 0;
   13804 }
   13805 _ACEOF
   13806 if ac_fn_c_try_link "$LINENO"; then :
   13807   eval "$as_ac_Lib=yes"
   13808 else
   13809   eval "$as_ac_Lib=no"
   13810 fi
   13811 rm -f core conftest.err conftest.$ac_objext \
   13812     conftest$ac_exeext conftest.$ac_ext
   13813 LIBS=$ac_check_lib_save_LIBS
   13814 fi
   13815 eval ac_res=\$$as_ac_Lib
   13816 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13817 $as_echo "$ac_res" >&6; }
   13818 eval as_val=\$$as_ac_Lib
   13819    if test "x$as_val" = x""yes; then :
   13820   tcap="-l$termlib"
   13821 fi
   13822 
   13823 	test -n "$tcap" && break
   13824     done
   13825 
   13826     ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
   13827 if test "x$ac_cv_header_readline_history_h" = x""yes; then :
   13828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
   13829 $as_echo_n "checking for append_history in -lhistory... " >&6; }
   13830 if test "${ac_cv_lib_history_append_history+set}" = set; then :
   13831   $as_echo_n "(cached) " >&6
   13832 else
   13833   ac_check_lib_save_LIBS=$LIBS
   13834 LIBS="-lhistory  $LIBS"
   13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13836 /* end confdefs.h.  */
   13837 
   13838 /* Override any GCC internal prototype to avoid an error.
   13839    Use char because int might match the return type of a GCC
   13840    builtin and then its argument prototype would still apply.  */
   13841 #ifdef __cplusplus
   13842 extern "C"
   13843 #endif
   13844 char append_history ();
   13845 int
   13846 main ()
   13847 {
   13848 return append_history ();
   13849   ;
   13850   return 0;
   13851 }
   13852 _ACEOF
   13853 if ac_fn_c_try_link "$LINENO"; then :
   13854   ac_cv_lib_history_append_history=yes
   13855 else
   13856   ac_cv_lib_history_append_history=no
   13857 fi
   13858 rm -f core conftest.err conftest.$ac_objext \
   13859     conftest$ac_exeext conftest.$ac_ext
   13860 LIBS=$ac_check_lib_save_LIBS
   13861 fi
   13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
   13863 $as_echo "$ac_cv_lib_history_append_history" >&6; }
   13864 if test "x$ac_cv_lib_history_append_history" = x""yes; then :
   13865 
   13866 	   RDL_LIBS="-lhistory"
   13867 
   13868 $as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h
   13869 
   13870 fi
   13871 
   13872 fi
   13873 
   13874 
   13875     ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
   13876 if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
   13877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   13878 $as_echo_n "checking for readline in -lreadline... " >&6; }
   13879 if test "${ac_cv_lib_readline_readline+set}" = set; then :
   13880   $as_echo_n "(cached) " >&6
   13881 else
   13882   ac_check_lib_save_LIBS=$LIBS
   13883 LIBS="-lreadline $tcap $LIBS"
   13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13885 /* end confdefs.h.  */
   13886 
   13887 /* Override any GCC internal prototype to avoid an error.
   13888    Use char because int might match the return type of a GCC
   13889    builtin and then its argument prototype would still apply.  */
   13890 #ifdef __cplusplus
   13891 extern "C"
   13892 #endif
   13893 char readline ();
   13894 int
   13895 main ()
   13896 {
   13897 return readline ();
   13898   ;
   13899   return 0;
   13900 }
   13901 _ACEOF
   13902 if ac_fn_c_try_link "$LINENO"; then :
   13903   ac_cv_lib_readline_readline=yes
   13904 else
   13905   ac_cv_lib_readline_readline=no
   13906 fi
   13907 rm -f core conftest.err conftest.$ac_objext \
   13908     conftest$ac_exeext conftest.$ac_ext
   13909 LIBS=$ac_check_lib_save_LIBS
   13910 fi
   13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   13912 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   13913 if test "x$ac_cv_lib_readline_readline" = x""yes; then :
   13914 
   13915 	   RDL_LIBS="-lreadline $RDL_LIBS $tcap"
   13916 
   13917 $as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h
   13918 
   13919 fi
   13920 
   13921 fi
   13922 
   13923 
   13924     if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
   13925 	CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
   13926 	RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
   13927     fi
   13928 fi
   13929 
   13930 if test "$with_tree" = "no" ; then
   13931     echo Disabling DOM like tree manipulation APIs
   13932     WITH_TREE=0
   13933 else
   13934     WITH_TREE=1
   13935 fi
   13936 
   13937 
   13938 if test "$with_ftp" = "no" ; then
   13939     echo Disabling FTP support
   13940     WITH_FTP=0
   13941     FTP_OBJ=
   13942 else
   13943     WITH_FTP=1
   13944     FTP_OBJ=nanoftp.o
   13945 fi
   13946 
   13947 
   13948 
   13949 if test "$with_http" = "no" ; then
   13950     echo Disabling HTTP support
   13951     WITH_HTTP=0
   13952     HTTP_OBJ=
   13953 else
   13954     WITH_HTTP=1
   13955     HTTP_OBJ=nanohttp.o
   13956 fi
   13957 
   13958 
   13959 
   13960 if test "$with_legacy" = "no" ; then
   13961     echo Disabling deprecated APIs
   13962     WITH_LEGACY=0
   13963 else
   13964     WITH_LEGACY=1
   13965 fi
   13966 
   13967 
   13968 if test "$with_reader" = "no" ; then
   13969     echo Disabling the xmlReader parsing interface
   13970     WITH_READER=0
   13971     READER_TEST=
   13972 else
   13973     WITH_READER=1
   13974     READER_TEST=Readertests
   13975     if test "$with_push" = "no" ; then
   13976         echo xmlReader requires Push interface - enabling it
   13977 	with_push=yes
   13978     fi
   13979 fi
   13980 
   13981 
   13982 
   13983 if test "$with_writer" = "no" ; then
   13984     echo Disabling the xmlWriter saving interface
   13985     WITH_WRITER=0
   13986 #    WRITER_TEST=
   13987 else
   13988     WITH_WRITER=1
   13989 #    WRITER_TEST=Writertests
   13990     if test "$with_push" = "no" ; then
   13991         echo xmlWriter requires Push interface - enabling it
   13992 	with_push=yes
   13993     fi
   13994     if test "$with_output" = "no" ; then
   13995         echo xmlWriter requires Output interface - enabling it
   13996 	with_output=yes
   13997     fi
   13998 fi
   13999 
   14000 #AC_SUBST(WRITER_TEST)
   14001 
   14002 if test "$with_pattern" = "no" ; then
   14003     echo Disabling the xmlPattern parsing interface
   14004     WITH_PATTERN=0
   14005     TEST_PATTERN=
   14006 else
   14007     WITH_PATTERN=1
   14008     TEST_PATTERN=Patterntests
   14009 fi
   14010 
   14011 
   14012 
   14013 if test "$with_sax1" = "no" ; then
   14014     echo Disabling the older SAX1 interface
   14015     WITH_SAX1=0
   14016     TEST_SAX=
   14017 else
   14018     WITH_SAX1=1
   14019     TEST_SAX=SAXtests
   14020 fi
   14021 
   14022 
   14023 
   14024 if test "$with_push" = "no" ; then
   14025     echo Disabling the PUSH parser interfaces
   14026     WITH_PUSH=0
   14027     TEST_PUSH=
   14028 else
   14029     WITH_PUSH=1
   14030     TEST_PUSH="XMLPushtests"
   14031 fi
   14032 
   14033 
   14034 
   14035 if test "$with_html" = "no" ; then
   14036     echo Disabling HTML support
   14037     WITH_HTML=0
   14038     HTML_OBJ=
   14039     TEST_HTML=
   14040 else
   14041     WITH_HTML=1
   14042     HTML_OBJ="HTMLparser.o HTMLtree.o"
   14043     TEST_HTML=HTMLtests
   14044     if test "$with_push" != "no" ; then
   14045         TEST_PHTML=HTMLPushtests
   14046     else
   14047         TEST_PHTML=
   14048     fi
   14049 fi
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 if test "$with_valid" = "no" ; then
   14056     echo Disabling DTD validation support
   14057     WITH_VALID=0
   14058     TEST_VALID=
   14059     TEST_VTIME=
   14060 else
   14061     WITH_VALID=1
   14062     TEST_VALID=Validtests
   14063     TEST_VTIME=VTimingtests
   14064 fi
   14065 
   14066 
   14067 
   14068 
   14069 if test "$with_catalog" = "no" ; then
   14070     echo Disabling Catalog support
   14071     WITH_CATALOG=0
   14072     CATALOG_OBJ=
   14073     TEST_CATALOG=
   14074 else
   14075     WITH_CATALOG=1
   14076     CATALOG_OBJ="catalog.o"
   14077     TEST_CATALOG=Catatests
   14078 fi
   14079 
   14080 
   14081 
   14082 
   14083 if test "$with_docbook" = "no" ; then
   14084     echo Disabling Docbook support
   14085     WITH_DOCB=0
   14086     DOCB_OBJ=
   14087 else
   14088     WITH_DOCB=1
   14089     DOCB_OBJ="DOCBparser.o"
   14090 fi
   14091 
   14092 
   14093 
   14094 
   14095 if test "$with_xptr" = "no" ; then
   14096     echo Disabling XPointer support
   14097     WITH_XPTR=0
   14098     XPTR_OBJ=
   14099     TEST_XPTR=
   14100 else
   14101     WITH_XPTR=1
   14102     XPTR_OBJ=xpointer.o
   14103     TEST_XPTR=XPtrtests
   14104     if test "$with_xpath" = "no" ; then
   14105         echo XPointer requires XPath support - enabling it
   14106 	with_xpath=yes
   14107     fi
   14108 fi
   14109 
   14110 
   14111 
   14112 
   14113 if test "$with_c14n" = "no" ; then
   14114     echo Disabling C14N support
   14115     WITH_C14N=0
   14116     C14N_OBJ=
   14117     TEST_C14N=
   14118 else
   14119     WITH_C14N=1
   14120     C14N_OBJ="c14n.c"
   14121     TEST_C14N=C14Ntests
   14122     if test "$with_xpath" = "no" ; then
   14123         echo C14N requires XPath support - enabling it
   14124 	with_xpath=yes
   14125     fi
   14126 fi
   14127 
   14128 
   14129 
   14130 
   14131 if test "$with_xinclude" = "no" ; then
   14132     echo Disabling XInclude support
   14133     WITH_XINCLUDE=0
   14134     XINCLUDE_OBJ=
   14135     with_xinclude="no"
   14136     TEST_XINCLUDE=
   14137 else
   14138     WITH_XINCLUDE=1
   14139     XINCLUDE_OBJ=xinclude.o
   14140     TEST_XINCLUDE=XIncludetests
   14141     if test "$with_xpath" = "no" ; then
   14142         echo XInclude requires XPath support - enabling it
   14143 	with_xpath=yes
   14144     fi
   14145 fi
   14146 
   14147 
   14148 
   14149 
   14150 if test "$with_xpath" = "no" ; then
   14151     echo Disabling XPATH support
   14152     WITH_XPATH=0
   14153     XPATH_OBJ=
   14154     TEST_XPATH=
   14155 else
   14156     WITH_XPATH=1
   14157     XPATH_OBJ=xpath.o
   14158     TEST_XPATH=XPathtests
   14159 fi
   14160 
   14161 
   14162 
   14163 
   14164 if test "$with_output" = "no" ; then
   14165     echo Disabling serialization/saving support
   14166     WITH_OUTPUT=0
   14167 else
   14168     WITH_OUTPUT=1
   14169 fi
   14170 
   14171 
   14172 WITH_ICU=1
   14173 
   14174 
   14175 WITH_ICONV=0
   14176 if test "$with_iconv" = "no" ; then
   14177     echo Disabling ICONV support
   14178 else
   14179     if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
   14180 	CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
   14181 	# Export this since our headers include iconv.h
   14182 	XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
   14183 	ICONV_LIBS="-L$with_iconv/lib"
   14184     fi
   14185 
   14186     ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
   14187 if test "x$ac_cv_header_iconv_h" = x""yes; then :
   14188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   14189 $as_echo_n "checking for iconv... " >&6; }
   14190 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14191 /* end confdefs.h.  */
   14192 #include <stdlib.h>
   14193 #include <iconv.h>
   14194 int
   14195 main ()
   14196 {
   14197 
   14198 iconv_t cd = iconv_open ("","");
   14199 iconv (cd, NULL, NULL, NULL, NULL);
   14200   ;
   14201   return 0;
   14202 }
   14203 _ACEOF
   14204 if ac_fn_c_try_link "$LINENO"; then :
   14205 
   14206 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14207 $as_echo "yes" >&6; }
   14208 	    WITH_ICONV=1
   14209 else
   14210 
   14211 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14212 $as_echo "no" >&6; }
   14213 	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5
   14214 $as_echo_n "checking for iconv in -liconv... " >&6; }
   14215 
   14216 	    _ldflags="${LDFLAGS}"
   14217 	    _libs="${LIBS}"
   14218 	    LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
   14219 	    LIBS="${LIBS} -liconv"
   14220 
   14221 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14222 /* end confdefs.h.  */
   14223 #include <stdlib.h>
   14224 #include <iconv.h>
   14225 int
   14226 main ()
   14227 {
   14228 
   14229 iconv_t cd = iconv_open ("","");
   14230 iconv (cd, NULL, NULL, NULL, NULL);
   14231   ;
   14232   return 0;
   14233 }
   14234 _ACEOF
   14235 if ac_fn_c_try_link "$LINENO"; then :
   14236 
   14237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14238 $as_echo "yes" >&6; }
   14239 		WITH_ICONV=1
   14240 		ICONV_LIBS="${ICONV_LIBS} -liconv"
   14241 		LIBS="${_libs}"
   14242 		LDFLAGS="${_ldflags}"
   14243 else
   14244 
   14245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14246 $as_echo "no" >&6; }
   14247 		LIBS="${_libs}"
   14248 		LDFLAGS="${_ldflags}"
   14249 fi
   14250 rm -f core conftest.err conftest.$ac_objext \
   14251     conftest$ac_exeext conftest.$ac_ext
   14252 fi
   14253 rm -f core conftest.err conftest.$ac_objext \
   14254     conftest$ac_exeext conftest.$ac_ext
   14255 fi
   14256 
   14257 
   14258 
   14259 	if test "$WITH_ICONV" = "1" ; then
   14260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   14261 $as_echo_n "checking for iconv declaration... " >&6; }
   14262 		if test "${xml_cv_iconv_arg2+set}" = set; then :
   14263   $as_echo_n "(cached) " >&6
   14264 else
   14265 
   14266 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14267 /* end confdefs.h.  */
   14268 #include <stdlib.h>
   14269 #include <iconv.h>
   14270 extern
   14271 #ifdef __cplusplus
   14272 "C"
   14273 #endif
   14274 #if defined(__STDC__) || defined(__cplusplus)
   14275 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   14276 #else
   14277 size_t iconv();
   14278 #endif
   14279 
   14280 int
   14281 main ()
   14282 {
   14283 
   14284   ;
   14285   return 0;
   14286 }
   14287 _ACEOF
   14288 if ac_fn_c_try_compile "$LINENO"; then :
   14289   xml_cv_iconv_arg2=""
   14290 else
   14291   xml_cv_iconv_arg2="const"
   14292 fi
   14293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14294 fi
   14295 
   14296 
   14297 		xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_iconv_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
   14298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:-
   14299 	}$xml_cv_iconv_decl" >&5
   14300 $as_echo "${xml_xxx:-
   14301 	}$xml_cv_iconv_decl" >&6; }
   14302 
   14303 cat >>confdefs.h <<_ACEOF
   14304 #define ICONV_CONST $xml_cv_iconv_arg2
   14305 _ACEOF
   14306 
   14307 	fi
   14308 fi
   14309 case "$host" in
   14310 	*mingw*) M_LIBS=""
   14311 	;;
   14312 	*beos*) M_LIBS=""
   14313 	;;
   14314         *haiku*) M_LIBS=""
   14315         ;;
   14316 	*) M_LIBS="-lm"
   14317 	;;
   14318 esac
   14319 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
   14320 XML_LIBTOOLLIBS="libxml2.la"
   14321 
   14322 
   14323 WITH_ISO8859X=1
   14324 if test "$WITH_ICONV" != "1" ; then
   14325 if test "$with_iso8859x" = "no" ; then
   14326     echo Disabling ISO8859X support
   14327     WITH_ISO8859X=0
   14328 fi
   14329 fi
   14330 
   14331 
   14332 if test "$with_schematron" = "no" ; then
   14333     echo "Disabling Schematron support"
   14334     WITH_SCHEMATRON=0
   14335     TEST_SCHEMATRON=
   14336 else
   14337     echo "Enabled Schematron support"
   14338     WITH_SCHEMATRON=1
   14339     TEST_SCHEMATRON="Schematrontests"
   14340     with_xpath=yes
   14341     with_pattern=yes
   14342 fi
   14343 
   14344 
   14345 
   14346 if test "$with_schemas" = "no" ; then
   14347     echo "Disabling Schemas/Relax-NG support"
   14348     WITH_SCHEMAS=0
   14349     TEST_SCHEMAS=
   14350 else
   14351     echo "Enabled Schemas/Relax-NG support"
   14352     WITH_SCHEMAS=1
   14353     TEST_SCHEMAS="Schemastests Relaxtests"
   14354     if test "$PYTHON_INCLUDES" != "" ; then
   14355         PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
   14356     fi
   14357     with_regexps=yes
   14358 fi
   14359 
   14360 
   14361 
   14362 if test "$with_regexps" = "no" ; then
   14363     echo Disabling Regexps support
   14364     WITH_REGEXPS=0
   14365     TEST_REGEXPS=
   14366 else
   14367     WITH_REGEXPS=1
   14368     TEST_REGEXPS="Regexptests Automatatests"
   14369 fi
   14370 
   14371 
   14372 
   14373 if test "$with_debug" = "no" ; then
   14374     echo Disabling DEBUG support
   14375     WITH_DEBUG=0
   14376     DEBUG_OBJ=
   14377     TEST_DEBUG=
   14378 else
   14379     WITH_DEBUG=1
   14380     DEBUG_OBJ=debugXML.o
   14381     TEST_DEBUG=Scripttests
   14382 fi
   14383 
   14384 
   14385 
   14386 
   14387 if test "$with_mem_debug" = "yes" ; then
   14388     if test "$with_thread_alloc" = "yes" ; then
   14389         echo Disabling memory debug - cannot use mem-debug with thread-alloc!
   14390 	WITH_MEM_DEBUG=0
   14391     else
   14392         echo Enabling memory debug support
   14393         WITH_MEM_DEBUG=1
   14394     fi
   14395 else
   14396     WITH_MEM_DEBUG=0
   14397 fi
   14398 
   14399 
   14400 if test "$with_run_debug" = "yes" ; then
   14401     echo Enabling runtime debug support
   14402     WITH_RUN_DEBUG=1
   14403 else
   14404     WITH_RUN_DEBUG=0
   14405 fi
   14406 
   14407 
   14408 WIN32_EXTRA_LIBADD=
   14409 WIN32_EXTRA_LDFLAGS=
   14410 CYGWIN_EXTRA_LDFLAGS=
   14411 CYGWIN_EXTRA_PYTHON_LIBADD=
   14412 case "$host" in
   14413  *-*-mingw*)
   14414  CPPFLAGS="$CPPFLAGS -DWIN32"
   14415  WIN32_EXTRA_LIBADD="-lws2_32"
   14416  WIN32_EXTRA_LDFLAGS="-no-undefined"
   14417 
   14418 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
   14419 
   14420 
   14421 $as_echo "#define snprintf _snprintf" >>confdefs.h
   14422 
   14423 
   14424 $as_echo "#define vsnprintf _vsnprintf" >>confdefs.h
   14425 
   14426  ;;
   14427  *-*-cygwin*)
   14428  CYGWIN_EXTRA_LDFLAGS="-no-undefined"
   14429  if test "${PYTHON}" != ""
   14430  then
   14431    CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
   14432  fi
   14433  ;;
   14434 esac
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
   14441 then
   14442     echo Enabling code coverage for GCC
   14443     CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
   14444     LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
   14445 else
   14446     echo Disabling code coverage for GCC
   14447 fi
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 RELDATE=`date +'%a %b %e %Y'`
   14471 
   14472 
   14473 
   14474 rm -f COPYING.LIB COPYING
   14475 ln -s Copyright COPYING
   14476 
   14477 # keep on one line for cygwin c.f. #130896
   14478 ac_config_files="$ac_config_files include/libxml/xmlversion.h xml2-config"
   14479 
   14480 cat >confcache <<\_ACEOF
   14481 # This file is a shell script that caches the results of configure
   14482 # tests run on this system so they can be shared between configure
   14483 # scripts and configure runs, see configure's option --config-cache.
   14484 # It is not useful on other systems.  If it contains results you don't
   14485 # want to keep, you may remove or edit it.
   14486 #
   14487 # config.status only pays attention to the cache file if you give it
   14488 # the --recheck option to rerun configure.
   14489 #
   14490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14492 # following values.
   14493 
   14494 _ACEOF
   14495 
   14496 # The following way of writing the cache mishandles newlines in values,
   14497 # but we know of no workaround that is simple, portable, and efficient.
   14498 # So, we kill variables containing newlines.
   14499 # Ultrix sh set writes to stderr and can't be redirected directly,
   14500 # and sets the high bit in the cache file unless we assign to the vars.
   14501 (
   14502   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14503     eval ac_val=\$$ac_var
   14504     case $ac_val in #(
   14505     *${as_nl}*)
   14506       case $ac_var in #(
   14507       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14509       esac
   14510       case $ac_var in #(
   14511       _ | IFS | as_nl) ;; #(
   14512       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14513       *) { eval $ac_var=; unset $ac_var;} ;;
   14514       esac ;;
   14515     esac
   14516   done
   14517 
   14518   (set) 2>&1 |
   14519     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14520     *${as_nl}ac_space=\ *)
   14521       # `set' does not quote correctly, so add quotes: double-quote
   14522       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14523       sed -n \
   14524 	"s/'/'\\\\''/g;
   14525 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14526       ;; #(
   14527     *)
   14528       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14529       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14530       ;;
   14531     esac |
   14532     sort
   14533 ) |
   14534   sed '
   14535      /^ac_cv_env_/b end
   14536      t clear
   14537      :clear
   14538      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14539      t end
   14540      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14541      :end' >>confcache
   14542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14543   if test -w "$cache_file"; then
   14544     test "x$cache_file" != "x/dev/null" &&
   14545       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14546 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14547     cat confcache >$cache_file
   14548   else
   14549     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14550 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14551   fi
   14552 fi
   14553 rm -f confcache
   14554 
   14555 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14556 # Let make expand exec_prefix.
   14557 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14558 
   14559 DEFS=-DHAVE_CONFIG_H
   14560 
   14561 ac_libobjs=
   14562 ac_ltlibobjs=
   14563 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14564   # 1. Remove the extension, and $U if already installed.
   14565   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14566   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14567   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14568   #    will be set to the directory where LIBOBJS objects are built.
   14569   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14570   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14571 done
   14572 LIBOBJS=$ac_libobjs
   14573 
   14574 LTLIBOBJS=$ac_ltlibobjs
   14575 
   14576 
   14577  if test -n "$EXEEXT"; then
   14578   am__EXEEXT_TRUE=
   14579   am__EXEEXT_FALSE='#'
   14580 else
   14581   am__EXEEXT_TRUE='#'
   14582   am__EXEEXT_FALSE=
   14583 fi
   14584 
   14585 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14586   as_fn_error "conditional \"AMDEP\" was never defined.
   14587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14588 fi
   14589 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14590   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   14591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14592 fi
   14593 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
   14594   as_fn_error "conditional \"USE_VERSION_SCRIPT\" was never defined.
   14595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14596 fi
   14597 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
   14598   as_fn_error "conditional \"REBUILD_DOCS\" was never defined.
   14599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14600 fi
   14601 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
   14602   as_fn_error "conditional \"WITH_PYTHON\" was never defined.
   14603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14604 fi
   14605 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
   14606   as_fn_error "conditional \"WITH_TRIO_SOURCES\" was never defined.
   14607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14608 fi
   14609 
   14610 : ${CONFIG_STATUS=./config.status}
   14611 ac_write_fail=0
   14612 ac_clean_files_save=$ac_clean_files
   14613 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14615 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14616 as_write_fail=0
   14617 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14618 #! $SHELL
   14619 # Generated by $as_me.
   14620 # Run this file to recreate the current configuration.
   14621 # Compiler output produced by configure, useful for debugging
   14622 # configure, is in config.log if it exists.
   14623 
   14624 debug=false
   14625 ac_cs_recheck=false
   14626 ac_cs_silent=false
   14627 
   14628 SHELL=\${CONFIG_SHELL-$SHELL}
   14629 export SHELL
   14630 _ASEOF
   14631 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14632 ## -------------------- ##
   14633 ## M4sh Initialization. ##
   14634 ## -------------------- ##
   14635 
   14636 # Be more Bourne compatible
   14637 DUALCASE=1; export DUALCASE # for MKS sh
   14638 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14639   emulate sh
   14640   NULLCMD=:
   14641   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14642   # is contrary to our usage.  Disable this feature.
   14643   alias -g '${1+"$@"}'='"$@"'
   14644   setopt NO_GLOB_SUBST
   14645 else
   14646   case `(set -o) 2>/dev/null` in #(
   14647   *posix*) :
   14648     set -o posix ;; #(
   14649   *) :
   14650      ;;
   14651 esac
   14652 fi
   14653 
   14654 
   14655 as_nl='
   14656 '
   14657 export as_nl
   14658 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14659 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14661 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14662 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14663 # but without wasting forks for bash or zsh.
   14664 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14665     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14666   as_echo='print -r --'
   14667   as_echo_n='print -rn --'
   14668 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14669   as_echo='printf %s\n'
   14670   as_echo_n='printf %s'
   14671 else
   14672   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14673     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14674     as_echo_n='/usr/ucb/echo -n'
   14675   else
   14676     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14677     as_echo_n_body='eval
   14678       arg=$1;
   14679       case $arg in #(
   14680       *"$as_nl"*)
   14681 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14682 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14683       esac;
   14684       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14685     '
   14686     export as_echo_n_body
   14687     as_echo_n='sh -c $as_echo_n_body as_echo'
   14688   fi
   14689   export as_echo_body
   14690   as_echo='sh -c $as_echo_body as_echo'
   14691 fi
   14692 
   14693 # The user is always right.
   14694 if test "${PATH_SEPARATOR+set}" != set; then
   14695   PATH_SEPARATOR=:
   14696   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14697     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14698       PATH_SEPARATOR=';'
   14699   }
   14700 fi
   14701 
   14702 
   14703 # IFS
   14704 # We need space, tab and new line, in precisely that order.  Quoting is
   14705 # there to prevent editors from complaining about space-tab.
   14706 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14707 # splitting by setting IFS to empty value.)
   14708 IFS=" ""	$as_nl"
   14709 
   14710 # Find who we are.  Look in the path if we contain no directory separator.
   14711 case $0 in #((
   14712   *[\\/]* ) as_myself=$0 ;;
   14713   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14714 for as_dir in $PATH
   14715 do
   14716   IFS=$as_save_IFS
   14717   test -z "$as_dir" && as_dir=.
   14718     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14719   done
   14720 IFS=$as_save_IFS
   14721 
   14722      ;;
   14723 esac
   14724 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14725 # in which case we are not to be found in the path.
   14726 if test "x$as_myself" = x; then
   14727   as_myself=$0
   14728 fi
   14729 if test ! -f "$as_myself"; then
   14730   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14731   exit 1
   14732 fi
   14733 
   14734 # Unset variables that we do not need and which cause bugs (e.g. in
   14735 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14736 # suppresses any "Segmentation fault" message there.  '((' could
   14737 # trigger a bug in pdksh 5.2.14.
   14738 for as_var in BASH_ENV ENV MAIL MAILPATH
   14739 do eval test x\${$as_var+set} = xset \
   14740   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14741 done
   14742 PS1='$ '
   14743 PS2='> '
   14744 PS4='+ '
   14745 
   14746 # NLS nuisances.
   14747 LC_ALL=C
   14748 export LC_ALL
   14749 LANGUAGE=C
   14750 export LANGUAGE
   14751 
   14752 # CDPATH.
   14753 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14754 
   14755 
   14756 # as_fn_error ERROR [LINENO LOG_FD]
   14757 # ---------------------------------
   14758 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14759 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14760 # script with status $?, using 1 if that was 0.
   14761 as_fn_error ()
   14762 {
   14763   as_status=$?; test $as_status -eq 0 && as_status=1
   14764   if test "$3"; then
   14765     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14766     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   14767   fi
   14768   $as_echo "$as_me: error: $1" >&2
   14769   as_fn_exit $as_status
   14770 } # as_fn_error
   14771 
   14772 
   14773 # as_fn_set_status STATUS
   14774 # -----------------------
   14775 # Set $? to STATUS, without forking.
   14776 as_fn_set_status ()
   14777 {
   14778   return $1
   14779 } # as_fn_set_status
   14780 
   14781 # as_fn_exit STATUS
   14782 # -----------------
   14783 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14784 as_fn_exit ()
   14785 {
   14786   set +e
   14787   as_fn_set_status $1
   14788   exit $1
   14789 } # as_fn_exit
   14790 
   14791 # as_fn_unset VAR
   14792 # ---------------
   14793 # Portably unset VAR.
   14794 as_fn_unset ()
   14795 {
   14796   { eval $1=; unset $1;}
   14797 }
   14798 as_unset=as_fn_unset
   14799 # as_fn_append VAR VALUE
   14800 # ----------------------
   14801 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14802 # advantage of any shell optimizations that allow amortized linear growth over
   14803 # repeated appends, instead of the typical quadratic growth present in naive
   14804 # implementations.
   14805 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14806   eval 'as_fn_append ()
   14807   {
   14808     eval $1+=\$2
   14809   }'
   14810 else
   14811   as_fn_append ()
   14812   {
   14813     eval $1=\$$1\$2
   14814   }
   14815 fi # as_fn_append
   14816 
   14817 # as_fn_arith ARG...
   14818 # ------------------
   14819 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14820 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14821 # must be portable across $(()) and expr.
   14822 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14823   eval 'as_fn_arith ()
   14824   {
   14825     as_val=$(( $* ))
   14826   }'
   14827 else
   14828   as_fn_arith ()
   14829   {
   14830     as_val=`expr "$@" || test $? -eq 1`
   14831   }
   14832 fi # as_fn_arith
   14833 
   14834 
   14835 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14836    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14837   as_expr=expr
   14838 else
   14839   as_expr=false
   14840 fi
   14841 
   14842 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14843   as_basename=basename
   14844 else
   14845   as_basename=false
   14846 fi
   14847 
   14848 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14849   as_dirname=dirname
   14850 else
   14851   as_dirname=false
   14852 fi
   14853 
   14854 as_me=`$as_basename -- "$0" ||
   14855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14856 	 X"$0" : 'X\(//\)$' \| \
   14857 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14858 $as_echo X/"$0" |
   14859     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14860 	    s//\1/
   14861 	    q
   14862 	  }
   14863 	  /^X\/\(\/\/\)$/{
   14864 	    s//\1/
   14865 	    q
   14866 	  }
   14867 	  /^X\/\(\/\).*/{
   14868 	    s//\1/
   14869 	    q
   14870 	  }
   14871 	  s/.*/./; q'`
   14872 
   14873 # Avoid depending upon Character Ranges.
   14874 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14875 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14876 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14877 as_cr_digits='0123456789'
   14878 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14879 
   14880 ECHO_C= ECHO_N= ECHO_T=
   14881 case `echo -n x` in #(((((
   14882 -n*)
   14883   case `echo 'xy\c'` in
   14884   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14885   xy)  ECHO_C='\c';;
   14886   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14887        ECHO_T='	';;
   14888   esac;;
   14889 *)
   14890   ECHO_N='-n';;
   14891 esac
   14892 
   14893 rm -f conf$$ conf$$.exe conf$$.file
   14894 if test -d conf$$.dir; then
   14895   rm -f conf$$.dir/conf$$.file
   14896 else
   14897   rm -f conf$$.dir
   14898   mkdir conf$$.dir 2>/dev/null
   14899 fi
   14900 if (echo >conf$$.file) 2>/dev/null; then
   14901   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14902     as_ln_s='ln -s'
   14903     # ... but there are two gotchas:
   14904     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14905     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14906     # In both cases, we have to default to `cp -p'.
   14907     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14908       as_ln_s='cp -p'
   14909   elif ln conf$$.file conf$$ 2>/dev/null; then
   14910     as_ln_s=ln
   14911   else
   14912     as_ln_s='cp -p'
   14913   fi
   14914 else
   14915   as_ln_s='cp -p'
   14916 fi
   14917 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14918 rmdir conf$$.dir 2>/dev/null
   14919 
   14920 
   14921 # as_fn_mkdir_p
   14922 # -------------
   14923 # Create "$as_dir" as a directory, including parents if necessary.
   14924 as_fn_mkdir_p ()
   14925 {
   14926 
   14927   case $as_dir in #(
   14928   -*) as_dir=./$as_dir;;
   14929   esac
   14930   test -d "$as_dir" || eval $as_mkdir_p || {
   14931     as_dirs=
   14932     while :; do
   14933       case $as_dir in #(
   14934       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14935       *) as_qdir=$as_dir;;
   14936       esac
   14937       as_dirs="'$as_qdir' $as_dirs"
   14938       as_dir=`$as_dirname -- "$as_dir" ||
   14939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14940 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14941 	 X"$as_dir" : 'X\(//\)$' \| \
   14942 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14943 $as_echo X"$as_dir" |
   14944     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14945 	    s//\1/
   14946 	    q
   14947 	  }
   14948 	  /^X\(\/\/\)[^/].*/{
   14949 	    s//\1/
   14950 	    q
   14951 	  }
   14952 	  /^X\(\/\/\)$/{
   14953 	    s//\1/
   14954 	    q
   14955 	  }
   14956 	  /^X\(\/\).*/{
   14957 	    s//\1/
   14958 	    q
   14959 	  }
   14960 	  s/.*/./; q'`
   14961       test -d "$as_dir" && break
   14962     done
   14963     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14964   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   14965 
   14966 
   14967 } # as_fn_mkdir_p
   14968 if mkdir -p . 2>/dev/null; then
   14969   as_mkdir_p='mkdir -p "$as_dir"'
   14970 else
   14971   test -d ./-p && rmdir ./-p
   14972   as_mkdir_p=false
   14973 fi
   14974 
   14975 if test -x / >/dev/null 2>&1; then
   14976   as_test_x='test -x'
   14977 else
   14978   if ls -dL / >/dev/null 2>&1; then
   14979     as_ls_L_option=L
   14980   else
   14981     as_ls_L_option=
   14982   fi
   14983   as_test_x='
   14984     eval sh -c '\''
   14985       if test -d "$1"; then
   14986 	test -d "$1/.";
   14987       else
   14988 	case $1 in #(
   14989 	-*)set "./$1";;
   14990 	esac;
   14991 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   14992 	???[sx]*):;;*)false;;esac;fi
   14993     '\'' sh
   14994   '
   14995 fi
   14996 as_executable_p=$as_test_x
   14997 
   14998 # Sed expression to map a string onto a valid CPP name.
   14999 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15000 
   15001 # Sed expression to map a string onto a valid variable name.
   15002 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15003 
   15004 
   15005 exec 6>&1
   15006 ## ----------------------------------- ##
   15007 ## Main body of $CONFIG_STATUS script. ##
   15008 ## ----------------------------------- ##
   15009 _ASEOF
   15010 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15011 
   15012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15013 # Save the log message, to keep $0 and so on meaningful, and to
   15014 # report actual input values of CONFIG_FILES etc. instead of their
   15015 # values after options handling.
   15016 ac_log="
   15017 This file was extended by $as_me, which was
   15018 generated by GNU Autoconf 2.65.  Invocation command line was
   15019 
   15020   CONFIG_FILES    = $CONFIG_FILES
   15021   CONFIG_HEADERS  = $CONFIG_HEADERS
   15022   CONFIG_LINKS    = $CONFIG_LINKS
   15023   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15024   $ $0 $@
   15025 
   15026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15027 "
   15028 
   15029 _ACEOF
   15030 
   15031 case $ac_config_files in *"
   15032 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15033 esac
   15034 
   15035 case $ac_config_headers in *"
   15036 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15037 esac
   15038 
   15039 
   15040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15041 # Files that config.status was made for.
   15042 config_files="$ac_config_files"
   15043 config_headers="$ac_config_headers"
   15044 config_commands="$ac_config_commands"
   15045 
   15046 _ACEOF
   15047 
   15048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15049 ac_cs_usage="\
   15050 \`$as_me' instantiates files and other configuration actions
   15051 from templates according to the current configuration.  Unless the files
   15052 and actions are specified as TAGs, all are instantiated by default.
   15053 
   15054 Usage: $0 [OPTION]... [TAG]...
   15055 
   15056   -h, --help       print this help, then exit
   15057   -V, --version    print version number and configuration settings, then exit
   15058       --config     print configuration, then exit
   15059   -q, --quiet, --silent
   15060                    do not print progress messages
   15061   -d, --debug      don't remove temporary files
   15062       --recheck    update $as_me by reconfiguring in the same conditions
   15063       --file=FILE[:TEMPLATE]
   15064                    instantiate the configuration file FILE
   15065       --header=FILE[:TEMPLATE]
   15066                    instantiate the configuration header FILE
   15067 
   15068 Configuration files:
   15069 $config_files
   15070 
   15071 Configuration headers:
   15072 $config_headers
   15073 
   15074 Configuration commands:
   15075 $config_commands
   15076 
   15077 Report bugs to the package provider."
   15078 
   15079 _ACEOF
   15080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15081 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15082 ac_cs_version="\\
   15083 config.status
   15084 configured by $0, generated by GNU Autoconf 2.65,
   15085   with options \\"\$ac_cs_config\\"
   15086 
   15087 Copyright (C) 2009 Free Software Foundation, Inc.
   15088 This config.status script is free software; the Free Software Foundation
   15089 gives unlimited permission to copy, distribute and modify it."
   15090 
   15091 ac_pwd='$ac_pwd'
   15092 srcdir='$srcdir'
   15093 INSTALL='$INSTALL'
   15094 MKDIR_P='$MKDIR_P'
   15095 AWK='$AWK'
   15096 test -n "\$AWK" || AWK=awk
   15097 _ACEOF
   15098 
   15099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15100 # The default lists apply if the user does not specify any file.
   15101 ac_need_defaults=:
   15102 while test $# != 0
   15103 do
   15104   case $1 in
   15105   --*=*)
   15106     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15107     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15108     ac_shift=:
   15109     ;;
   15110   *)
   15111     ac_option=$1
   15112     ac_optarg=$2
   15113     ac_shift=shift
   15114     ;;
   15115   esac
   15116 
   15117   case $ac_option in
   15118   # Handling of the options.
   15119   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15120     ac_cs_recheck=: ;;
   15121   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15122     $as_echo "$ac_cs_version"; exit ;;
   15123   --config | --confi | --conf | --con | --co | --c )
   15124     $as_echo "$ac_cs_config"; exit ;;
   15125   --debug | --debu | --deb | --de | --d | -d )
   15126     debug=: ;;
   15127   --file | --fil | --fi | --f )
   15128     $ac_shift
   15129     case $ac_optarg in
   15130     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15131     esac
   15132     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15133     ac_need_defaults=false;;
   15134   --header | --heade | --head | --hea )
   15135     $ac_shift
   15136     case $ac_optarg in
   15137     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15138     esac
   15139     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15140     ac_need_defaults=false;;
   15141   --he | --h)
   15142     # Conflict between --help and --header
   15143     as_fn_error "ambiguous option: \`$1'
   15144 Try \`$0 --help' for more information.";;
   15145   --help | --hel | -h )
   15146     $as_echo "$ac_cs_usage"; exit ;;
   15147   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15148   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15149     ac_cs_silent=: ;;
   15150 
   15151   # This is an error.
   15152   -*) as_fn_error "unrecognized option: \`$1'
   15153 Try \`$0 --help' for more information." ;;
   15154 
   15155   *) as_fn_append ac_config_targets " $1"
   15156      ac_need_defaults=false ;;
   15157 
   15158   esac
   15159   shift
   15160 done
   15161 
   15162 ac_configure_extra_args=
   15163 
   15164 if $ac_cs_silent; then
   15165   exec 6>/dev/null
   15166   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15167 fi
   15168 
   15169 _ACEOF
   15170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15171 if \$ac_cs_recheck; then
   15172   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15173   shift
   15174   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15175   CONFIG_SHELL='$SHELL'
   15176   export CONFIG_SHELL
   15177   exec "\$@"
   15178 fi
   15179 
   15180 _ACEOF
   15181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15182 exec 5>>config.log
   15183 {
   15184   echo
   15185   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15186 ## Running $as_me. ##
   15187 _ASBOX
   15188   $as_echo "$ac_log"
   15189 } >&5
   15190 
   15191 _ACEOF
   15192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15193 #
   15194 # INIT-COMMANDS
   15195 #
   15196 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15197 
   15198 
   15199 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15200 # if CDPATH is set.
   15201 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15202 
   15203 sed_quote_subst='$sed_quote_subst'
   15204 double_quote_subst='$double_quote_subst'
   15205 delay_variable_subst='$delay_variable_subst'
   15206 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
   15207 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   15208 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   15209 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   15210 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   15211 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   15212 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   15213 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   15214 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   15215 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   15216 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   15217 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   15218 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   15219 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   15220 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   15221 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   15222 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   15223 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   15224 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   15225 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   15226 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   15227 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   15228 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   15229 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   15230 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   15231 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   15232 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   15233 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   15234 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   15235 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15236 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15237 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   15238 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   15239 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   15240 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   15241 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   15242 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   15243 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15244 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15245 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15246 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   15247 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   15248 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   15249 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   15250 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   15251 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   15252 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   15253 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   15254 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   15255 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   15256 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   15257 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   15258 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15259 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   15260 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   15261 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   15262 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   15263 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   15264 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   15265 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   15266 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   15267 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   15268 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   15269 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   15270 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15271 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15272 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   15273 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   15274 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15275 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15276 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   15277 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15278 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15279 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15280 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15281 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15282 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15283 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   15284 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15285 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15286 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15287 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   15288 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   15289 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   15290 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   15291 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   15292 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15293 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   15294 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   15295 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   15296 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   15297 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   15298 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15299 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   15300 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   15301 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15302 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15303 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   15304 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   15305 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   15306 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   15307 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15308 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15309 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   15310 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15311 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15312 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15313 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15314 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15315 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15316 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   15317 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   15318 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15319 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15320 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   15321 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   15322 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   15323 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   15324 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   15325 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   15326 
   15327 LTCC='$LTCC'
   15328 LTCFLAGS='$LTCFLAGS'
   15329 compiler='$compiler_DEFAULT'
   15330 
   15331 # Quote evaled strings.
   15332 for var in SED \
   15333 GREP \
   15334 EGREP \
   15335 FGREP \
   15336 LD \
   15337 NM \
   15338 LN_S \
   15339 lt_SP2NL \
   15340 lt_NL2SP \
   15341 reload_flag \
   15342 deplibs_check_method \
   15343 file_magic_cmd \
   15344 AR \
   15345 AR_FLAGS \
   15346 STRIP \
   15347 RANLIB \
   15348 CC \
   15349 CFLAGS \
   15350 compiler \
   15351 lt_cv_sys_global_symbol_pipe \
   15352 lt_cv_sys_global_symbol_to_cdecl \
   15353 lt_cv_sys_global_symbol_to_c_name_address \
   15354 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15355 SHELL \
   15356 ECHO \
   15357 lt_prog_compiler_no_builtin_flag \
   15358 lt_prog_compiler_wl \
   15359 lt_prog_compiler_pic \
   15360 lt_prog_compiler_static \
   15361 lt_cv_prog_compiler_c_o \
   15362 need_locks \
   15363 DSYMUTIL \
   15364 NMEDIT \
   15365 LIPO \
   15366 OTOOL \
   15367 OTOOL64 \
   15368 shrext_cmds \
   15369 export_dynamic_flag_spec \
   15370 whole_archive_flag_spec \
   15371 compiler_needs_object \
   15372 with_gnu_ld \
   15373 allow_undefined_flag \
   15374 no_undefined_flag \
   15375 hardcode_libdir_flag_spec \
   15376 hardcode_libdir_flag_spec_ld \
   15377 hardcode_libdir_separator \
   15378 fix_srcfile_path \
   15379 exclude_expsyms \
   15380 include_expsyms \
   15381 file_list_spec \
   15382 variables_saved_for_relink \
   15383 libname_spec \
   15384 library_names_spec \
   15385 soname_spec \
   15386 finish_eval \
   15387 old_striplib \
   15388 striplib; do
   15389     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   15390     *[\\\\\\\`\\"\\\$]*)
   15391       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   15392       ;;
   15393     *)
   15394       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15395       ;;
   15396     esac
   15397 done
   15398 
   15399 # Double-quote double-evaled strings.
   15400 for var in reload_cmds \
   15401 old_postinstall_cmds \
   15402 old_postuninstall_cmds \
   15403 old_archive_cmds \
   15404 extract_expsyms_cmds \
   15405 old_archive_from_new_cmds \
   15406 old_archive_from_expsyms_cmds \
   15407 archive_cmds \
   15408 archive_expsym_cmds \
   15409 module_cmds \
   15410 module_expsym_cmds \
   15411 export_symbols_cmds \
   15412 prelink_cmds \
   15413 postinstall_cmds \
   15414 postuninstall_cmds \
   15415 finish_cmds \
   15416 sys_lib_search_path_spec \
   15417 sys_lib_dlsearch_path_spec; do
   15418     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   15419     *[\\\\\\\`\\"\\\$]*)
   15420       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   15421       ;;
   15422     *)
   15423       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15424       ;;
   15425     esac
   15426 done
   15427 
   15428 # Fix-up fallback echo if it was mangled by the above quoting rules.
   15429 case \$lt_ECHO in
   15430 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   15431   ;;
   15432 esac
   15433 
   15434 ac_aux_dir='$ac_aux_dir'
   15435 xsi_shell='$xsi_shell'
   15436 lt_shell_append='$lt_shell_append'
   15437 
   15438 # See if we are running on zsh, and set the options which allow our
   15439 # commands through without removal of \ escapes INIT.
   15440 if test -n "\${ZSH_VERSION+set}" ; then
   15441    setopt NO_GLOB_SUBST
   15442 fi
   15443 
   15444 
   15445     PACKAGE='$PACKAGE'
   15446     VERSION='$VERSION'
   15447     TIMESTAMP='$TIMESTAMP'
   15448     RM='$RM'
   15449     ofile='$ofile'
   15450 
   15451 
   15452 
   15453 
   15454 _ACEOF
   15455 
   15456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15457 
   15458 # Handling of arguments.
   15459 for ac_config_target in $ac_config_targets
   15460 do
   15461   case $ac_config_target in
   15462     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   15463     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   15464     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15465     "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
   15466     "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
   15467 
   15468   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15469   esac
   15470 done
   15471 
   15472 
   15473 # If the user did not use the arguments to specify the items to instantiate,
   15474 # then the envvar interface is used.  Set only those that are not.
   15475 # We use the long form for the default assignment because of an extremely
   15476 # bizarre bug on SunOS 4.1.3.
   15477 if $ac_need_defaults; then
   15478   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15479   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15480   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15481 fi
   15482 
   15483 # Have a temporary directory for convenience.  Make it in the build tree
   15484 # simply because there is no reason against having it here, and in addition,
   15485 # creating and moving files from /tmp can sometimes cause problems.
   15486 # Hook for its removal unless debugging.
   15487 # Note that there is a small window in which the directory will not be cleaned:
   15488 # after its creation but before its name has been assigned to `$tmp'.
   15489 $debug ||
   15490 {
   15491   tmp=
   15492   trap 'exit_status=$?
   15493   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   15494 ' 0
   15495   trap 'as_fn_exit 1' 1 2 13 15
   15496 }
   15497 # Create a (secure) tmp directory for tmp files.
   15498 
   15499 {
   15500   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15501   test -n "$tmp" && test -d "$tmp"
   15502 }  ||
   15503 {
   15504   tmp=./conf$$-$RANDOM
   15505   (umask 077 && mkdir "$tmp")
   15506 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   15507 
   15508 # Set up the scripts for CONFIG_FILES section.
   15509 # No need to generate them if there are no CONFIG_FILES.
   15510 # This happens for instance with `./config.status config.h'.
   15511 if test -n "$CONFIG_FILES"; then
   15512 
   15513 
   15514 ac_cr=`echo X | tr X '\015'`
   15515 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15516 # But we know of no other shell where ac_cr would be empty at this
   15517 # point, so we can use a bashism as a fallback.
   15518 if test "x$ac_cr" = x; then
   15519   eval ac_cr=\$\'\\r\'
   15520 fi
   15521 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15522 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15523   ac_cs_awk_cr='\r'
   15524 else
   15525   ac_cs_awk_cr=$ac_cr
   15526 fi
   15527 
   15528 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   15529 _ACEOF
   15530 
   15531 
   15532 {
   15533   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15534   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15535   echo "_ACEOF"
   15536 } >conf$$subs.sh ||
   15537   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15538 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   15539 ac_delim='%!_!# '
   15540 for ac_last_try in false false false false false :; do
   15541   . ./conf$$subs.sh ||
   15542     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15543 
   15544   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15545   if test $ac_delim_n = $ac_delim_num; then
   15546     break
   15547   elif $ac_last_try; then
   15548     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15549   else
   15550     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15551   fi
   15552 done
   15553 rm -f conf$$subs.sh
   15554 
   15555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15556 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   15557 _ACEOF
   15558 sed -n '
   15559 h
   15560 s/^/S["/; s/!.*/"]=/
   15561 p
   15562 g
   15563 s/^[^!]*!//
   15564 :repl
   15565 t repl
   15566 s/'"$ac_delim"'$//
   15567 t delim
   15568 :nl
   15569 h
   15570 s/\(.\{148\}\)..*/\1/
   15571 t more1
   15572 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15573 p
   15574 n
   15575 b repl
   15576 :more1
   15577 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15578 p
   15579 g
   15580 s/.\{148\}//
   15581 t nl
   15582 :delim
   15583 h
   15584 s/\(.\{148\}\)..*/\1/
   15585 t more2
   15586 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15587 p
   15588 b
   15589 :more2
   15590 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15591 p
   15592 g
   15593 s/.\{148\}//
   15594 t delim
   15595 ' <conf$$subs.awk | sed '
   15596 /^[^""]/{
   15597   N
   15598   s/\n//
   15599 }
   15600 ' >>$CONFIG_STATUS || ac_write_fail=1
   15601 rm -f conf$$subs.awk
   15602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15603 _ACAWK
   15604 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   15605   for (key in S) S_is_set[key] = 1
   15606   FS = ""
   15607 
   15608 }
   15609 {
   15610   line = $ 0
   15611   nfields = split(line, field, "@")
   15612   substed = 0
   15613   len = length(field[1])
   15614   for (i = 2; i < nfields; i++) {
   15615     key = field[i]
   15616     keylen = length(key)
   15617     if (S_is_set[key]) {
   15618       value = S[key]
   15619       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15620       len += length(value) + length(field[++i])
   15621       substed = 1
   15622     } else
   15623       len += 1 + keylen
   15624   }
   15625 
   15626   print line
   15627 }
   15628 
   15629 _ACAWK
   15630 _ACEOF
   15631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15632 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15633   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15634 else
   15635   cat
   15636 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   15637   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   15638 _ACEOF
   15639 
   15640 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   15641 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   15642 # trailing colons and then remove the whole line if VPATH becomes empty
   15643 # (actually we leave an empty line to preserve line numbers).
   15644 if test "x$srcdir" = x.; then
   15645   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   15646 s/:*\$(srcdir):*/:/
   15647 s/:*\${srcdir}:*/:/
   15648 s/:*@srcdir@:*/:/
   15649 s/^\([^=]*=[	 ]*\):*/\1/
   15650 s/:*$//
   15651 s/^[^=]*=[	 ]*$//
   15652 }'
   15653 fi
   15654 
   15655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15656 fi # test -n "$CONFIG_FILES"
   15657 
   15658 # Set up the scripts for CONFIG_HEADERS section.
   15659 # No need to generate them if there are no CONFIG_HEADERS.
   15660 # This happens for instance with `./config.status Makefile'.
   15661 if test -n "$CONFIG_HEADERS"; then
   15662 cat >"$tmp/defines.awk" <<\_ACAWK ||
   15663 BEGIN {
   15664 _ACEOF
   15665 
   15666 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15667 # here-document in config.status, that substitutes the proper values into
   15668 # config.h.in to produce config.h.
   15669 
   15670 # Create a delimiter string that does not exist in confdefs.h, to ease
   15671 # handling of long lines.
   15672 ac_delim='%!_!# '
   15673 for ac_last_try in false false :; do
   15674   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   15675   if test -z "$ac_t"; then
   15676     break
   15677   elif $ac_last_try; then
   15678     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   15679   else
   15680     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15681   fi
   15682 done
   15683 
   15684 # For the awk script, D is an array of macro values keyed by name,
   15685 # likewise P contains macro parameters if any.  Preserve backslash
   15686 # newline sequences.
   15687 
   15688 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15689 sed -n '
   15690 s/.\{148\}/&'"$ac_delim"'/g
   15691 t rset
   15692 :rset
   15693 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15694 t def
   15695 d
   15696 :def
   15697 s/\\$//
   15698 t bsnl
   15699 s/["\\]/\\&/g
   15700 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15701 D["\1"]=" \3"/p
   15702 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15703 d
   15704 :bsnl
   15705 s/["\\]/\\&/g
   15706 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15707 D["\1"]=" \3\\\\\\n"\\/p
   15708 t cont
   15709 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15710 t cont
   15711 d
   15712 :cont
   15713 n
   15714 s/.\{148\}/&'"$ac_delim"'/g
   15715 t clear
   15716 :clear
   15717 s/\\$//
   15718 t bsnlc
   15719 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15720 d
   15721 :bsnlc
   15722 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15723 b cont
   15724 ' <confdefs.h | sed '
   15725 s/'"$ac_delim"'/"\\\
   15726 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15727 
   15728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15729   for (key in D) D_is_set[key] = 1
   15730   FS = ""
   15731 }
   15732 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15733   line = \$ 0
   15734   split(line, arg, " ")
   15735   if (arg[1] == "#") {
   15736     defundef = arg[2]
   15737     mac1 = arg[3]
   15738   } else {
   15739     defundef = substr(arg[1], 2)
   15740     mac1 = arg[2]
   15741   }
   15742   split(mac1, mac2, "(") #)
   15743   macro = mac2[1]
   15744   prefix = substr(line, 1, index(line, defundef) - 1)
   15745   if (D_is_set[macro]) {
   15746     # Preserve the white space surrounding the "#".
   15747     print prefix "define", macro P[macro] D[macro]
   15748     next
   15749   } else {
   15750     # Replace #undef with comments.  This is necessary, for example,
   15751     # in the case of _POSIX_SOURCE, which is predefined and required
   15752     # on some systems where configure will not decide to define it.
   15753     if (defundef == "undef") {
   15754       print "/*", prefix defundef, macro, "*/"
   15755       next
   15756     }
   15757   }
   15758 }
   15759 { print }
   15760 _ACAWK
   15761 _ACEOF
   15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15763   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   15764 fi # test -n "$CONFIG_HEADERS"
   15765 
   15766 
   15767 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15768 shift
   15769 for ac_tag
   15770 do
   15771   case $ac_tag in
   15772   :[FHLC]) ac_mode=$ac_tag; continue;;
   15773   esac
   15774   case $ac_mode$ac_tag in
   15775   :[FHL]*:*);;
   15776   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15777   :[FH]-) ac_tag=-:-;;
   15778   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15779   esac
   15780   ac_save_IFS=$IFS
   15781   IFS=:
   15782   set x $ac_tag
   15783   IFS=$ac_save_IFS
   15784   shift
   15785   ac_file=$1
   15786   shift
   15787 
   15788   case $ac_mode in
   15789   :L) ac_source=$1;;
   15790   :[FH])
   15791     ac_file_inputs=
   15792     for ac_f
   15793     do
   15794       case $ac_f in
   15795       -) ac_f="$tmp/stdin";;
   15796       *) # Look for the file first in the build tree, then in the source tree
   15797 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15798 	 # because $ac_f cannot contain `:'.
   15799 	 test -f "$ac_f" ||
   15800 	   case $ac_f in
   15801 	   [\\/$]*) false;;
   15802 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15803 	   esac ||
   15804 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15805       esac
   15806       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15807       as_fn_append ac_file_inputs " '$ac_f'"
   15808     done
   15809 
   15810     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15811     # use $as_me), people would be surprised to read:
   15812     #    /* config.h.  Generated by config.status.  */
   15813     configure_input='Generated from '`
   15814 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15815 	`' by configure.'
   15816     if test x"$ac_file" != x-; then
   15817       configure_input="$ac_file.  $configure_input"
   15818       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15819 $as_echo "$as_me: creating $ac_file" >&6;}
   15820     fi
   15821     # Neutralize special characters interpreted by sed in replacement strings.
   15822     case $configure_input in #(
   15823     *\&* | *\|* | *\\* )
   15824        ac_sed_conf_input=`$as_echo "$configure_input" |
   15825        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15826     *) ac_sed_conf_input=$configure_input;;
   15827     esac
   15828 
   15829     case $ac_tag in
   15830     *:-:* | *:-) cat >"$tmp/stdin" \
   15831       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   15832     esac
   15833     ;;
   15834   esac
   15835 
   15836   ac_dir=`$as_dirname -- "$ac_file" ||
   15837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15838 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15839 	 X"$ac_file" : 'X\(//\)$' \| \
   15840 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15841 $as_echo X"$ac_file" |
   15842     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15843 	    s//\1/
   15844 	    q
   15845 	  }
   15846 	  /^X\(\/\/\)[^/].*/{
   15847 	    s//\1/
   15848 	    q
   15849 	  }
   15850 	  /^X\(\/\/\)$/{
   15851 	    s//\1/
   15852 	    q
   15853 	  }
   15854 	  /^X\(\/\).*/{
   15855 	    s//\1/
   15856 	    q
   15857 	  }
   15858 	  s/.*/./; q'`
   15859   as_dir="$ac_dir"; as_fn_mkdir_p
   15860   ac_builddir=.
   15861 
   15862 case "$ac_dir" in
   15863 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15864 *)
   15865   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15866   # A ".." for each directory in $ac_dir_suffix.
   15867   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15868   case $ac_top_builddir_sub in
   15869   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15870   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15871   esac ;;
   15872 esac
   15873 ac_abs_top_builddir=$ac_pwd
   15874 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15875 # for backward compatibility:
   15876 ac_top_builddir=$ac_top_build_prefix
   15877 
   15878 case $srcdir in
   15879   .)  # We are building in place.
   15880     ac_srcdir=.
   15881     ac_top_srcdir=$ac_top_builddir_sub
   15882     ac_abs_top_srcdir=$ac_pwd ;;
   15883   [\\/]* | ?:[\\/]* )  # Absolute name.
   15884     ac_srcdir=$srcdir$ac_dir_suffix;
   15885     ac_top_srcdir=$srcdir
   15886     ac_abs_top_srcdir=$srcdir ;;
   15887   *) # Relative name.
   15888     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15889     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15890     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15891 esac
   15892 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15893 
   15894 
   15895   case $ac_mode in
   15896   :F)
   15897   #
   15898   # CONFIG_FILE
   15899   #
   15900 
   15901   case $INSTALL in
   15902   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15903   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15904   esac
   15905   ac_MKDIR_P=$MKDIR_P
   15906   case $MKDIR_P in
   15907   [\\/$]* | ?:[\\/]* ) ;;
   15908   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15909   esac
   15910 _ACEOF
   15911 
   15912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15913 # If the template does not know about datarootdir, expand it.
   15914 # FIXME: This hack should be removed a few years after 2.60.
   15915 ac_datarootdir_hack=; ac_datarootdir_seen=
   15916 ac_sed_dataroot='
   15917 /datarootdir/ {
   15918   p
   15919   q
   15920 }
   15921 /@datadir@/p
   15922 /@docdir@/p
   15923 /@infodir@/p
   15924 /@localedir@/p
   15925 /@mandir@/p'
   15926 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15927 *datarootdir*) ac_datarootdir_seen=yes;;
   15928 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15929   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15930 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15931 _ACEOF
   15932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15933   ac_datarootdir_hack='
   15934   s&@datadir@&$datadir&g
   15935   s&@docdir@&$docdir&g
   15936   s&@infodir@&$infodir&g
   15937   s&@localedir@&$localedir&g
   15938   s&@mandir@&$mandir&g
   15939   s&\\\${datarootdir}&$datarootdir&g' ;;
   15940 esac
   15941 _ACEOF
   15942 
   15943 # Neutralize VPATH when `$srcdir' = `.'.
   15944 # Shell code in configure.ac might set extrasub.
   15945 # FIXME: do we really want to maintain this feature?
   15946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15947 ac_sed_extra="$ac_vpsub
   15948 $extrasub
   15949 _ACEOF
   15950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15951 :t
   15952 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15953 s|@configure_input@|$ac_sed_conf_input|;t t
   15954 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15955 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15956 s&@srcdir@&$ac_srcdir&;t t
   15957 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15958 s&@top_srcdir@&$ac_top_srcdir&;t t
   15959 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15960 s&@builddir@&$ac_builddir&;t t
   15961 s&@abs_builddir@&$ac_abs_builddir&;t t
   15962 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15963 s&@INSTALL@&$ac_INSTALL&;t t
   15964 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15965 $ac_datarootdir_hack
   15966 "
   15967 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   15968   || as_fn_error "could not create $ac_file" "$LINENO" 5
   15969 
   15970 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15971   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   15972   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   15973   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15974 which seems to be undefined.  Please make sure it is defined." >&5
   15975 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15976 which seems to be undefined.  Please make sure it is defined." >&2;}
   15977 
   15978   rm -f "$tmp/stdin"
   15979   case $ac_file in
   15980   -) cat "$tmp/out" && rm -f "$tmp/out";;
   15981   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   15982   esac \
   15983   || as_fn_error "could not create $ac_file" "$LINENO" 5
   15984  ;;
   15985   :H)
   15986   #
   15987   # CONFIG_HEADER
   15988   #
   15989   if test x"$ac_file" != x-; then
   15990     {
   15991       $as_echo "/* $configure_input  */" \
   15992       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   15993     } >"$tmp/config.h" \
   15994       || as_fn_error "could not create $ac_file" "$LINENO" 5
   15995     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   15996       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15997 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15998     else
   15999       rm -f "$ac_file"
   16000       mv "$tmp/config.h" "$ac_file" \
   16001 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   16002     fi
   16003   else
   16004     $as_echo "/* $configure_input  */" \
   16005       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   16006       || as_fn_error "could not create -" "$LINENO" 5
   16007   fi
   16008 # Compute "$ac_file"'s index in $config_headers.
   16009 _am_arg="$ac_file"
   16010 _am_stamp_count=1
   16011 for _am_header in $config_headers :; do
   16012   case $_am_header in
   16013     $_am_arg | $_am_arg:* )
   16014       break ;;
   16015     * )
   16016       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16017   esac
   16018 done
   16019 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16020 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16021 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16022 	 X"$_am_arg" : 'X\(//\)$' \| \
   16023 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16024 $as_echo X"$_am_arg" |
   16025     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16026 	    s//\1/
   16027 	    q
   16028 	  }
   16029 	  /^X\(\/\/\)[^/].*/{
   16030 	    s//\1/
   16031 	    q
   16032 	  }
   16033 	  /^X\(\/\/\)$/{
   16034 	    s//\1/
   16035 	    q
   16036 	  }
   16037 	  /^X\(\/\).*/{
   16038 	    s//\1/
   16039 	    q
   16040 	  }
   16041 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16042  ;;
   16043 
   16044   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16045 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16046  ;;
   16047   esac
   16048 
   16049 
   16050   case $ac_file$ac_mode in
   16051     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16052   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   16053   # are listed without --file.  Let's play safe and only enable the eval
   16054   # if we detect the quoting.
   16055   case $CONFIG_FILES in
   16056   *\'*) eval set x "$CONFIG_FILES" ;;
   16057   *)   set x $CONFIG_FILES ;;
   16058   esac
   16059   shift
   16060   for mf
   16061   do
   16062     # Strip MF so we end up with the name of the file.
   16063     mf=`echo "$mf" | sed -e 's/:.*$//'`
   16064     # Check whether this is an Automake generated Makefile or not.
   16065     # We used to match only the files named `Makefile.in', but
   16066     # some people rename them; so instead we look at the file content.
   16067     # Grep'ing the first line is not enough: some people post-process
   16068     # each Makefile.in and add a new line on top of each file to say so.
   16069     # Grep'ing the whole file is not good either: AIX grep has a line
   16070     # limit of 2048, but all sed's we know have understand at least 4000.
   16071     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16072       dirpart=`$as_dirname -- "$mf" ||
   16073 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16074 	 X"$mf" : 'X\(//\)[^/]' \| \
   16075 	 X"$mf" : 'X\(//\)$' \| \
   16076 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16077 $as_echo X"$mf" |
   16078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16079 	    s//\1/
   16080 	    q
   16081 	  }
   16082 	  /^X\(\/\/\)[^/].*/{
   16083 	    s//\1/
   16084 	    q
   16085 	  }
   16086 	  /^X\(\/\/\)$/{
   16087 	    s//\1/
   16088 	    q
   16089 	  }
   16090 	  /^X\(\/\).*/{
   16091 	    s//\1/
   16092 	    q
   16093 	  }
   16094 	  s/.*/./; q'`
   16095     else
   16096       continue
   16097     fi
   16098     # Extract the definition of DEPDIR, am__include, and am__quote
   16099     # from the Makefile without running `make'.
   16100     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16101     test -z "$DEPDIR" && continue
   16102     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16103     test -z "am__include" && continue
   16104     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16105     # When using ansi2knr, U may be empty or an underscore; expand it
   16106     U=`sed -n 's/^U = //p' < "$mf"`
   16107     # Find all dependency output files, they are included files with
   16108     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16109     # simplest approach to changing $(DEPDIR) to its actual value in the
   16110     # expansion.
   16111     for file in `sed -n "
   16112       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16113 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   16114       # Make sure the directory exists.
   16115       test -f "$dirpart/$file" && continue
   16116       fdir=`$as_dirname -- "$file" ||
   16117 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16118 	 X"$file" : 'X\(//\)[^/]' \| \
   16119 	 X"$file" : 'X\(//\)$' \| \
   16120 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16121 $as_echo X"$file" |
   16122     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16123 	    s//\1/
   16124 	    q
   16125 	  }
   16126 	  /^X\(\/\/\)[^/].*/{
   16127 	    s//\1/
   16128 	    q
   16129 	  }
   16130 	  /^X\(\/\/\)$/{
   16131 	    s//\1/
   16132 	    q
   16133 	  }
   16134 	  /^X\(\/\).*/{
   16135 	    s//\1/
   16136 	    q
   16137 	  }
   16138 	  s/.*/./; q'`
   16139       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   16140       # echo "creating $dirpart/$file"
   16141       echo '# dummy' > "$dirpart/$file"
   16142     done
   16143   done
   16144 }
   16145  ;;
   16146     "libtool":C)
   16147 
   16148     # See if we are running on zsh, and set the options which allow our
   16149     # commands through without removal of \ escapes.
   16150     if test -n "${ZSH_VERSION+set}" ; then
   16151       setopt NO_GLOB_SUBST
   16152     fi
   16153 
   16154     cfgfile="${ofile}T"
   16155     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16156     $RM "$cfgfile"
   16157 
   16158     cat <<_LT_EOF >> "$cfgfile"
   16159 #! $SHELL
   16160 
   16161 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16162 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16163 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16164 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16165 #
   16166 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16167 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   16168 #   Written by Gordon Matzigkeit, 1996
   16169 #
   16170 #   This file is part of GNU Libtool.
   16171 #
   16172 # GNU Libtool is free software; you can redistribute it and/or
   16173 # modify it under the terms of the GNU General Public License as
   16174 # published by the Free Software Foundation; either version 2 of
   16175 # the License, or (at your option) any later version.
   16176 #
   16177 # As a special exception to the GNU General Public License,
   16178 # if you distribute this file as part of a program or library that
   16179 # is built using GNU Libtool, you may include this file under the
   16180 # same distribution terms that you use for the rest of that program.
   16181 #
   16182 # GNU Libtool is distributed in the hope that it will be useful,
   16183 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16184 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16185 # GNU General Public License for more details.
   16186 #
   16187 # You should have received a copy of the GNU General Public License
   16188 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16189 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16190 # obtained by writing to the Free Software Foundation, Inc.,
   16191 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16192 
   16193 
   16194 # The names of the tagged configurations supported by this script.
   16195 available_tags=""
   16196 
   16197 # ### BEGIN LIBTOOL CONFIG
   16198 
   16199 # Assembler program.
   16200 AS=$AS
   16201 
   16202 # DLL creation program.
   16203 DLLTOOL=$DLLTOOL
   16204 
   16205 # Object dumper program.
   16206 OBJDUMP=$OBJDUMP
   16207 
   16208 # Which release of libtool.m4 was used?
   16209 macro_version=$macro_version
   16210 macro_revision=$macro_revision
   16211 
   16212 # Whether or not to build shared libraries.
   16213 build_libtool_libs=$enable_shared
   16214 
   16215 # Whether or not to build static libraries.
   16216 build_old_libs=$enable_static
   16217 
   16218 # What type of objects to build.
   16219 pic_mode=$pic_mode
   16220 
   16221 # Whether or not to optimize for fast installation.
   16222 fast_install=$enable_fast_install
   16223 
   16224 # The host system.
   16225 host_alias=$host_alias
   16226 host=$host
   16227 host_os=$host_os
   16228 
   16229 # The build system.
   16230 build_alias=$build_alias
   16231 build=$build
   16232 build_os=$build_os
   16233 
   16234 # A sed program that does not truncate output.
   16235 SED=$lt_SED
   16236 
   16237 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16238 Xsed="\$SED -e 1s/^X//"
   16239 
   16240 # A grep program that handles long lines.
   16241 GREP=$lt_GREP
   16242 
   16243 # An ERE matcher.
   16244 EGREP=$lt_EGREP
   16245 
   16246 # A literal string matcher.
   16247 FGREP=$lt_FGREP
   16248 
   16249 # A BSD- or MS-compatible name lister.
   16250 NM=$lt_NM
   16251 
   16252 # Whether we need soft or hard links.
   16253 LN_S=$lt_LN_S
   16254 
   16255 # What is the maximum length of a command?
   16256 max_cmd_len=$max_cmd_len
   16257 
   16258 # Object file suffix (normally "o").
   16259 objext=$ac_objext
   16260 
   16261 # Executable file suffix (normally "").
   16262 exeext=$exeext
   16263 
   16264 # whether the shell understands "unset".
   16265 lt_unset=$lt_unset
   16266 
   16267 # turn spaces into newlines.
   16268 SP2NL=$lt_lt_SP2NL
   16269 
   16270 # turn newlines into spaces.
   16271 NL2SP=$lt_lt_NL2SP
   16272 
   16273 # How to create reloadable object files.
   16274 reload_flag=$lt_reload_flag
   16275 reload_cmds=$lt_reload_cmds
   16276 
   16277 # Method to check whether dependent libraries are shared objects.
   16278 deplibs_check_method=$lt_deplibs_check_method
   16279 
   16280 # Command to use when deplibs_check_method == "file_magic".
   16281 file_magic_cmd=$lt_file_magic_cmd
   16282 
   16283 # The archiver.
   16284 AR=$lt_AR
   16285 AR_FLAGS=$lt_AR_FLAGS
   16286 
   16287 # A symbol stripping program.
   16288 STRIP=$lt_STRIP
   16289 
   16290 # Commands used to install an old-style archive.
   16291 RANLIB=$lt_RANLIB
   16292 old_postinstall_cmds=$lt_old_postinstall_cmds
   16293 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16294 
   16295 # A C compiler.
   16296 LTCC=$lt_CC
   16297 
   16298 # LTCC compiler flags.
   16299 LTCFLAGS=$lt_CFLAGS
   16300 
   16301 # Take the output of nm and produce a listing of raw symbols and C names.
   16302 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16303 
   16304 # Transform the output of nm in a proper C declaration.
   16305 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16306 
   16307 # Transform the output of nm in a C name address pair.
   16308 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16309 
   16310 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16311 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16312 
   16313 # The name of the directory that contains temporary libtool files.
   16314 objdir=$objdir
   16315 
   16316 # Shell to use when invoking shell scripts.
   16317 SHELL=$lt_SHELL
   16318 
   16319 # An echo program that does not interpret backslashes.
   16320 ECHO=$lt_ECHO
   16321 
   16322 # Used to examine libraries when file_magic_cmd begins with "file".
   16323 MAGIC_CMD=$MAGIC_CMD
   16324 
   16325 # Must we lock files when doing compilation?
   16326 need_locks=$lt_need_locks
   16327 
   16328 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16329 DSYMUTIL=$lt_DSYMUTIL
   16330 
   16331 # Tool to change global to local symbols on Mac OS X.
   16332 NMEDIT=$lt_NMEDIT
   16333 
   16334 # Tool to manipulate fat objects and archives on Mac OS X.
   16335 LIPO=$lt_LIPO
   16336 
   16337 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16338 OTOOL=$lt_OTOOL
   16339 
   16340 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16341 OTOOL64=$lt_OTOOL64
   16342 
   16343 # Old archive suffix (normally "a").
   16344 libext=$libext
   16345 
   16346 # Shared library suffix (normally ".so").
   16347 shrext_cmds=$lt_shrext_cmds
   16348 
   16349 # The commands to extract the exported symbol list from a shared archive.
   16350 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16351 
   16352 # Variables whose values should be saved in libtool wrapper scripts and
   16353 # restored at link time.
   16354 variables_saved_for_relink=$lt_variables_saved_for_relink
   16355 
   16356 # Do we need the "lib" prefix for modules?
   16357 need_lib_prefix=$need_lib_prefix
   16358 
   16359 # Do we need a version for libraries?
   16360 need_version=$need_version
   16361 
   16362 # Library versioning type.
   16363 version_type=$version_type
   16364 
   16365 # Shared library runtime path variable.
   16366 runpath_var=$runpath_var
   16367 
   16368 # Shared library path variable.
   16369 shlibpath_var=$shlibpath_var
   16370 
   16371 # Is shlibpath searched before the hard-coded library search path?
   16372 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16373 
   16374 # Format of library name prefix.
   16375 libname_spec=$lt_libname_spec
   16376 
   16377 # List of archive names.  First name is the real one, the rest are links.
   16378 # The last name is the one that the linker finds with -lNAME
   16379 library_names_spec=$lt_library_names_spec
   16380 
   16381 # The coded name of the library, if different from the real name.
   16382 soname_spec=$lt_soname_spec
   16383 
   16384 # Command to use after installation of a shared archive.
   16385 postinstall_cmds=$lt_postinstall_cmds
   16386 
   16387 # Command to use after uninstallation of a shared archive.
   16388 postuninstall_cmds=$lt_postuninstall_cmds
   16389 
   16390 # Commands used to finish a libtool library installation in a directory.
   16391 finish_cmds=$lt_finish_cmds
   16392 
   16393 # As "finish_cmds", except a single script fragment to be evaled but
   16394 # not shown.
   16395 finish_eval=$lt_finish_eval
   16396 
   16397 # Whether we should hardcode library paths into libraries.
   16398 hardcode_into_libs=$hardcode_into_libs
   16399 
   16400 # Compile-time system search path for libraries.
   16401 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16402 
   16403 # Run-time system search path for libraries.
   16404 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16405 
   16406 # Whether dlopen is supported.
   16407 dlopen_support=$enable_dlopen
   16408 
   16409 # Whether dlopen of programs is supported.
   16410 dlopen_self=$enable_dlopen_self
   16411 
   16412 # Whether dlopen of statically linked programs is supported.
   16413 dlopen_self_static=$enable_dlopen_self_static
   16414 
   16415 # Commands to strip libraries.
   16416 old_striplib=$lt_old_striplib
   16417 striplib=$lt_striplib
   16418 
   16419 
   16420 # The linker used to build libraries.
   16421 LD=$lt_LD
   16422 
   16423 # Commands used to build an old-style archive.
   16424 old_archive_cmds=$lt_old_archive_cmds
   16425 
   16426 # A language specific compiler.
   16427 CC=$lt_compiler
   16428 
   16429 # Is the compiler the GNU compiler?
   16430 with_gcc=$GCC
   16431 
   16432 # Compiler flag to turn off builtin functions.
   16433 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16434 
   16435 # How to pass a linker flag through the compiler.
   16436 wl=$lt_lt_prog_compiler_wl
   16437 
   16438 # Additional compiler flags for building library objects.
   16439 pic_flag=$lt_lt_prog_compiler_pic
   16440 
   16441 # Compiler flag to prevent dynamic linking.
   16442 link_static_flag=$lt_lt_prog_compiler_static
   16443 
   16444 # Does compiler simultaneously support -c and -o options?
   16445 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16446 
   16447 # Whether or not to add -lc for building shared libraries.
   16448 build_libtool_need_lc=$archive_cmds_need_lc
   16449 
   16450 # Whether or not to disallow shared libs when runtime libs are static.
   16451 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16452 
   16453 # Compiler flag to allow reflexive dlopens.
   16454 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16455 
   16456 # Compiler flag to generate shared objects directly from archives.
   16457 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16458 
   16459 # Whether the compiler copes with passing no objects directly.
   16460 compiler_needs_object=$lt_compiler_needs_object
   16461 
   16462 # Create an old-style archive from a shared archive.
   16463 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16464 
   16465 # Create a temporary old-style archive to link instead of a shared archive.
   16466 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16467 
   16468 # Commands used to build a shared archive.
   16469 archive_cmds=$lt_archive_cmds
   16470 archive_expsym_cmds=$lt_archive_expsym_cmds
   16471 
   16472 # Commands used to build a loadable module if different from building
   16473 # a shared archive.
   16474 module_cmds=$lt_module_cmds
   16475 module_expsym_cmds=$lt_module_expsym_cmds
   16476 
   16477 # Whether we are building with GNU ld or not.
   16478 with_gnu_ld=$lt_with_gnu_ld
   16479 
   16480 # Flag that allows shared libraries with undefined symbols to be built.
   16481 allow_undefined_flag=$lt_allow_undefined_flag
   16482 
   16483 # Flag that enforces no undefined symbols.
   16484 no_undefined_flag=$lt_no_undefined_flag
   16485 
   16486 # Flag to hardcode \$libdir into a binary during linking.
   16487 # This must work even if \$libdir does not exist
   16488 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16489 
   16490 # If ld is used when linking, flag to hardcode \$libdir into a binary
   16491 # during linking.  This must work even if \$libdir does not exist.
   16492 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   16493 
   16494 # Whether we need a single "-rpath" flag with a separated argument.
   16495 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16496 
   16497 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16498 # DIR into the resulting binary.
   16499 hardcode_direct=$hardcode_direct
   16500 
   16501 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16502 # DIR into the resulting binary and the resulting library dependency is
   16503 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   16504 # library is relocated.
   16505 hardcode_direct_absolute=$hardcode_direct_absolute
   16506 
   16507 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16508 # into the resulting binary.
   16509 hardcode_minus_L=$hardcode_minus_L
   16510 
   16511 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16512 # into the resulting binary.
   16513 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16514 
   16515 # Set to "yes" if building a shared library automatically hardcodes DIR
   16516 # into the library and all subsequent libraries and executables linked
   16517 # against it.
   16518 hardcode_automatic=$hardcode_automatic
   16519 
   16520 # Set to yes if linker adds runtime paths of dependent libraries
   16521 # to runtime path list.
   16522 inherit_rpath=$inherit_rpath
   16523 
   16524 # Whether libtool must link a program against all its dependency libraries.
   16525 link_all_deplibs=$link_all_deplibs
   16526 
   16527 # Fix the shell variable \$srcfile for the compiler.
   16528 fix_srcfile_path=$lt_fix_srcfile_path
   16529 
   16530 # Set to "yes" if exported symbols are required.
   16531 always_export_symbols=$always_export_symbols
   16532 
   16533 # The commands to list exported symbols.
   16534 export_symbols_cmds=$lt_export_symbols_cmds
   16535 
   16536 # Symbols that should not be listed in the preloaded symbols.
   16537 exclude_expsyms=$lt_exclude_expsyms
   16538 
   16539 # Symbols that must always be exported.
   16540 include_expsyms=$lt_include_expsyms
   16541 
   16542 # Commands necessary for linking programs (against libraries) with templates.
   16543 prelink_cmds=$lt_prelink_cmds
   16544 
   16545 # Specify filename containing input files.
   16546 file_list_spec=$lt_file_list_spec
   16547 
   16548 # How to hardcode a shared library path into an executable.
   16549 hardcode_action=$hardcode_action
   16550 
   16551 # ### END LIBTOOL CONFIG
   16552 
   16553 _LT_EOF
   16554 
   16555   case $host_os in
   16556   aix3*)
   16557     cat <<\_LT_EOF >> "$cfgfile"
   16558 # AIX sometimes has problems with the GCC collect2 program.  For some
   16559 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16560 # vanish in a puff of smoke.
   16561 if test "X${COLLECT_NAMES+set}" != Xset; then
   16562   COLLECT_NAMES=
   16563   export COLLECT_NAMES
   16564 fi
   16565 _LT_EOF
   16566     ;;
   16567   esac
   16568 
   16569 
   16570 ltmain="$ac_aux_dir/ltmain.sh"
   16571 
   16572 
   16573   # We use sed instead of cat because bash on DJGPP gets confused if
   16574   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16575   # text mode, it properly converts lines to CR/LF.  This bash problem
   16576   # is reportedly fixed, but why not run on old versions too?
   16577   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   16578     || (rm -f "$cfgfile"; exit 1)
   16579 
   16580   case $xsi_shell in
   16581   yes)
   16582     cat << \_LT_EOF >> "$cfgfile"
   16583 
   16584 # func_dirname file append nondir_replacement
   16585 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16586 # otherwise set result to NONDIR_REPLACEMENT.
   16587 func_dirname ()
   16588 {
   16589   case ${1} in
   16590     */*) func_dirname_result="${1%/*}${2}" ;;
   16591     *  ) func_dirname_result="${3}" ;;
   16592   esac
   16593 }
   16594 
   16595 # func_basename file
   16596 func_basename ()
   16597 {
   16598   func_basename_result="${1##*/}"
   16599 }
   16600 
   16601 # func_dirname_and_basename file append nondir_replacement
   16602 # perform func_basename and func_dirname in a single function
   16603 # call:
   16604 #   dirname:  Compute the dirname of FILE.  If nonempty,
   16605 #             add APPEND to the result, otherwise set result
   16606 #             to NONDIR_REPLACEMENT.
   16607 #             value returned in "$func_dirname_result"
   16608 #   basename: Compute filename of FILE.
   16609 #             value retuned in "$func_basename_result"
   16610 # Implementation must be kept synchronized with func_dirname
   16611 # and func_basename. For efficiency, we do not delegate to
   16612 # those functions but instead duplicate the functionality here.
   16613 func_dirname_and_basename ()
   16614 {
   16615   case ${1} in
   16616     */*) func_dirname_result="${1%/*}${2}" ;;
   16617     *  ) func_dirname_result="${3}" ;;
   16618   esac
   16619   func_basename_result="${1##*/}"
   16620 }
   16621 
   16622 # func_stripname prefix suffix name
   16623 # strip PREFIX and SUFFIX off of NAME.
   16624 # PREFIX and SUFFIX must not contain globbing or regex special
   16625 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16626 # dot (in which case that matches only a dot).
   16627 func_stripname ()
   16628 {
   16629   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   16630   # positional parameters, so assign one to ordinary parameter first.
   16631   func_stripname_result=${3}
   16632   func_stripname_result=${func_stripname_result#"${1}"}
   16633   func_stripname_result=${func_stripname_result%"${2}"}
   16634 }
   16635 
   16636 # func_opt_split
   16637 func_opt_split ()
   16638 {
   16639   func_opt_split_opt=${1%%=*}
   16640   func_opt_split_arg=${1#*=}
   16641 }
   16642 
   16643 # func_lo2o object
   16644 func_lo2o ()
   16645 {
   16646   case ${1} in
   16647     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   16648     *)    func_lo2o_result=${1} ;;
   16649   esac
   16650 }
   16651 
   16652 # func_xform libobj-or-source
   16653 func_xform ()
   16654 {
   16655   func_xform_result=${1%.*}.lo
   16656 }
   16657 
   16658 # func_arith arithmetic-term...
   16659 func_arith ()
   16660 {
   16661   func_arith_result=$(( $* ))
   16662 }
   16663 
   16664 # func_len string
   16665 # STRING may not start with a hyphen.
   16666 func_len ()
   16667 {
   16668   func_len_result=${#1}
   16669 }
   16670 
   16671 _LT_EOF
   16672     ;;
   16673   *) # Bourne compatible functions.
   16674     cat << \_LT_EOF >> "$cfgfile"
   16675 
   16676 # func_dirname file append nondir_replacement
   16677 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16678 # otherwise set result to NONDIR_REPLACEMENT.
   16679 func_dirname ()
   16680 {
   16681   # Extract subdirectory from the argument.
   16682   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   16683   if test "X$func_dirname_result" = "X${1}"; then
   16684     func_dirname_result="${3}"
   16685   else
   16686     func_dirname_result="$func_dirname_result${2}"
   16687   fi
   16688 }
   16689 
   16690 # func_basename file
   16691 func_basename ()
   16692 {
   16693   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   16694 }
   16695 
   16696 
   16697 # func_stripname prefix suffix name
   16698 # strip PREFIX and SUFFIX off of NAME.
   16699 # PREFIX and SUFFIX must not contain globbing or regex special
   16700 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16701 # dot (in which case that matches only a dot).
   16702 # func_strip_suffix prefix name
   16703 func_stripname ()
   16704 {
   16705   case ${2} in
   16706     .*) func_stripname_result=`$ECHO "X${3}" \
   16707            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   16708     *)  func_stripname_result=`$ECHO "X${3}" \
   16709            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   16710   esac
   16711 }
   16712 
   16713 # sed scripts:
   16714 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   16715 my_sed_long_arg='1s/^-[^=]*=//'
   16716 
   16717 # func_opt_split
   16718 func_opt_split ()
   16719 {
   16720   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   16721   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   16722 }
   16723 
   16724 # func_lo2o object
   16725 func_lo2o ()
   16726 {
   16727   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   16728 }
   16729 
   16730 # func_xform libobj-or-source
   16731 func_xform ()
   16732 {
   16733   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   16734 }
   16735 
   16736 # func_arith arithmetic-term...
   16737 func_arith ()
   16738 {
   16739   func_arith_result=`expr "$@"`
   16740 }
   16741 
   16742 # func_len string
   16743 # STRING may not start with a hyphen.
   16744 func_len ()
   16745 {
   16746   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   16747 }
   16748 
   16749 _LT_EOF
   16750 esac
   16751 
   16752 case $lt_shell_append in
   16753   yes)
   16754     cat << \_LT_EOF >> "$cfgfile"
   16755 
   16756 # func_append var value
   16757 # Append VALUE to the end of shell variable VAR.
   16758 func_append ()
   16759 {
   16760   eval "$1+=\$2"
   16761 }
   16762 _LT_EOF
   16763     ;;
   16764   *)
   16765     cat << \_LT_EOF >> "$cfgfile"
   16766 
   16767 # func_append var value
   16768 # Append VALUE to the end of shell variable VAR.
   16769 func_append ()
   16770 {
   16771   eval "$1=\$$1\$2"
   16772 }
   16773 
   16774 _LT_EOF
   16775     ;;
   16776   esac
   16777 
   16778 
   16779   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   16780     || (rm -f "$cfgfile"; exit 1)
   16781 
   16782   mv -f "$cfgfile" "$ofile" ||
   16783     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16784   chmod +x "$ofile"
   16785 
   16786  ;;
   16787 
   16788   esac
   16789 done # for ac_tag
   16790 
   16791 
   16792 as_fn_exit 0
   16793 _ACEOF
   16794 ac_clean_files=$ac_clean_files_save
   16795 
   16796 test $ac_write_fail = 0 ||
   16797   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16798 
   16799 
   16800 # configure is writing to config.log, and then calls config.status.
   16801 # config.status does its own redirection, appending to config.log.
   16802 # Unfortunately, on DOS this fails, as config.log is still kept open
   16803 # by configure, so config.status won't be able to write to it; its
   16804 # output is simply discarded.  So we exec the FD to /dev/null,
   16805 # effectively closing config.log, so it can be properly (re)opened and
   16806 # appended to by config.status.  When coming back to configure, we
   16807 # need to make the FD available again.
   16808 if test "$no_create" != yes; then
   16809   ac_cs_success=:
   16810   ac_config_status_args=
   16811   test "$silent" = yes &&
   16812     ac_config_status_args="$ac_config_status_args --quiet"
   16813   exec 5>/dev/null
   16814   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16815   exec 5>>config.log
   16816   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16817   # would make configure fail if this is the last instruction.
   16818   $ac_cs_success || as_fn_exit $?
   16819 fi
   16820 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16821   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16822 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16823 fi
   16824 
   16825 
   16826 chmod +x xml2-config
   16827 echo Done configuring
   16828