Home | History | Annotate | Line # | Download | only in dist
configure revision 1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for file 5.09.
      4 #
      5 # Report bugs to <christos (at] astron.com>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: christos (at] astron.com about your system, including any
    243 $0: error possibly output before this message. Then install
    244 $0: a modern shell, or manually run the script under such a
    245 $0: shell if you do have one."
    246   fi
    247   exit 1
    248 fi
    249 fi
    250 fi
    251 SHELL=${CONFIG_SHELL-/bin/sh}
    252 export SHELL
    253 # Unset more variables known to interfere with behavior of common tools.
    254 CLICOLOR_FORCE= GREP_OPTIONS=
    255 unset CLICOLOR_FORCE GREP_OPTIONS
    256 
    257 ## --------------------- ##
    258 ## M4sh Shell Functions. ##
    259 ## --------------------- ##
    260 # as_fn_unset VAR
    261 # ---------------
    262 # Portably unset VAR.
    263 as_fn_unset ()
    264 {
    265   { eval $1=; unset $1;}
    266 }
    267 as_unset=as_fn_unset
    268 
    269 # as_fn_set_status STATUS
    270 # -----------------------
    271 # Set $? to STATUS, without forking.
    272 as_fn_set_status ()
    273 {
    274   return $1
    275 } # as_fn_set_status
    276 
    277 # as_fn_exit STATUS
    278 # -----------------
    279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    280 as_fn_exit ()
    281 {
    282   set +e
    283   as_fn_set_status $1
    284   exit $1
    285 } # as_fn_exit
    286 
    287 # as_fn_mkdir_p
    288 # -------------
    289 # Create "$as_dir" as a directory, including parents if necessary.
    290 as_fn_mkdir_p ()
    291 {
    292 
    293   case $as_dir in #(
    294   -*) as_dir=./$as_dir;;
    295   esac
    296   test -d "$as_dir" || eval $as_mkdir_p || {
    297     as_dirs=
    298     while :; do
    299       case $as_dir in #(
    300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    301       *) as_qdir=$as_dir;;
    302       esac
    303       as_dirs="'$as_qdir' $as_dirs"
    304       as_dir=`$as_dirname -- "$as_dir" ||
    305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    306 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    307 	 X"$as_dir" : 'X\(//\)$' \| \
    308 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    309 $as_echo X"$as_dir" |
    310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    311 	    s//\1/
    312 	    q
    313 	  }
    314 	  /^X\(\/\/\)[^/].*/{
    315 	    s//\1/
    316 	    q
    317 	  }
    318 	  /^X\(\/\/\)$/{
    319 	    s//\1/
    320 	    q
    321 	  }
    322 	  /^X\(\/\).*/{
    323 	    s//\1/
    324 	    q
    325 	  }
    326 	  s/.*/./; q'`
    327       test -d "$as_dir" && break
    328     done
    329     test -z "$as_dirs" || eval "mkdir $as_dirs"
    330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    331 
    332 
    333 } # as_fn_mkdir_p
    334 # as_fn_append VAR VALUE
    335 # ----------------------
    336 # Append the text in VALUE to the end of the definition contained in VAR. Take
    337 # advantage of any shell optimizations that allow amortized linear growth over
    338 # repeated appends, instead of the typical quadratic growth present in naive
    339 # implementations.
    340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    341   eval 'as_fn_append ()
    342   {
    343     eval $1+=\$2
    344   }'
    345 else
    346   as_fn_append ()
    347   {
    348     eval $1=\$$1\$2
    349   }
    350 fi # as_fn_append
    351 
    352 # as_fn_arith ARG...
    353 # ------------------
    354 # Perform arithmetic evaluation on the ARGs, and store the result in the
    355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    356 # must be portable across $(()) and expr.
    357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    358   eval 'as_fn_arith ()
    359   {
    360     as_val=$(( $* ))
    361   }'
    362 else
    363   as_fn_arith ()
    364   {
    365     as_val=`expr "$@" || test $? -eq 1`
    366   }
    367 fi # as_fn_arith
    368 
    369 
    370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    371 # ----------------------------------------
    372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    374 # script with STATUS, using 1 if that was 0.
    375 as_fn_error ()
    376 {
    377   as_status=$1; test $as_status -eq 0 && as_status=1
    378   if test "$4"; then
    379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    381   fi
    382   $as_echo "$as_me: error: $2" >&2
    383   as_fn_exit $as_status
    384 } # as_fn_error
    385 
    386 if expr a : '\(a\)' >/dev/null 2>&1 &&
    387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    388   as_expr=expr
    389 else
    390   as_expr=false
    391 fi
    392 
    393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    394   as_basename=basename
    395 else
    396   as_basename=false
    397 fi
    398 
    399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    400   as_dirname=dirname
    401 else
    402   as_dirname=false
    403 fi
    404 
    405 as_me=`$as_basename -- "$0" ||
    406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    407 	 X"$0" : 'X\(//\)$' \| \
    408 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    409 $as_echo X/"$0" |
    410     sed '/^.*\/\([^/][^/]*\)\/*$/{
    411 	    s//\1/
    412 	    q
    413 	  }
    414 	  /^X\/\(\/\/\)$/{
    415 	    s//\1/
    416 	    q
    417 	  }
    418 	  /^X\/\(\/\).*/{
    419 	    s//\1/
    420 	    q
    421 	  }
    422 	  s/.*/./; q'`
    423 
    424 # Avoid depending upon Character Ranges.
    425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    428 as_cr_digits='0123456789'
    429 as_cr_alnum=$as_cr_Letters$as_cr_digits
    430 
    431 
    432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    437   sed -n '
    438     p
    439     /[$]LINENO/=
    440   ' <$as_myself |
    441     sed '
    442       s/[$]LINENO.*/&-/
    443       t lineno
    444       b
    445       :lineno
    446       N
    447       :loop
    448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    449       t loop
    450       s/-\n.*//
    451     ' >$as_me.lineno &&
    452   chmod +x "$as_me.lineno" ||
    453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    454 
    455   # Don't try to exec as it changes $[0], causing all sort of problems
    456   # (the dirname of $[0] is not the place where we might find the
    457   # original and so on.  Autoconf is especially sensitive to this).
    458   . "./$as_me.lineno"
    459   # Exit status is that of the last command.
    460   exit
    461 }
    462 
    463 ECHO_C= ECHO_N= ECHO_T=
    464 case `echo -n x` in #(((((
    465 -n*)
    466   case `echo 'xy\c'` in
    467   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    468   xy)  ECHO_C='\c';;
    469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    470        ECHO_T='	';;
    471   esac;;
    472 *)
    473   ECHO_N='-n';;
    474 esac
    475 
    476 rm -f conf$$ conf$$.exe conf$$.file
    477 if test -d conf$$.dir; then
    478   rm -f conf$$.dir/conf$$.file
    479 else
    480   rm -f conf$$.dir
    481   mkdir conf$$.dir 2>/dev/null
    482 fi
    483 if (echo >conf$$.file) 2>/dev/null; then
    484   if ln -s conf$$.file conf$$ 2>/dev/null; then
    485     as_ln_s='ln -s'
    486     # ... but there are two gotchas:
    487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    489     # In both cases, we have to default to `cp -p'.
    490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    491       as_ln_s='cp -p'
    492   elif ln conf$$.file conf$$ 2>/dev/null; then
    493     as_ln_s=ln
    494   else
    495     as_ln_s='cp -p'
    496   fi
    497 else
    498   as_ln_s='cp -p'
    499 fi
    500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    501 rmdir conf$$.dir 2>/dev/null
    502 
    503 if mkdir -p . 2>/dev/null; then
    504   as_mkdir_p='mkdir -p "$as_dir"'
    505 else
    506   test -d ./-p && rmdir ./-p
    507   as_mkdir_p=false
    508 fi
    509 
    510 if test -x / >/dev/null 2>&1; then
    511   as_test_x='test -x'
    512 else
    513   if ls -dL / >/dev/null 2>&1; then
    514     as_ls_L_option=L
    515   else
    516     as_ls_L_option=
    517   fi
    518   as_test_x='
    519     eval sh -c '\''
    520       if test -d "$1"; then
    521 	test -d "$1/.";
    522       else
    523 	case $1 in #(
    524 	-*)set "./$1";;
    525 	esac;
    526 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    527 	???[sx]*):;;*)false;;esac;fi
    528     '\'' sh
    529   '
    530 fi
    531 as_executable_p=$as_test_x
    532 
    533 # Sed expression to map a string onto a valid CPP name.
    534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    535 
    536 # Sed expression to map a string onto a valid variable name.
    537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    538 
    539 
    540 
    541 # Check that we are running under the correct shell.
    542 SHELL=${CONFIG_SHELL-/bin/sh}
    543 
    544 case X$lt_ECHO in
    545 X*--fallback-echo)
    546   # Remove one level of quotation (which was required for Make).
    547   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    548   ;;
    549 esac
    550 
    551 ECHO=${lt_ECHO-echo}
    552 if test "X$1" = X--no-reexec; then
    553   # Discard the --no-reexec flag, and continue.
    554   shift
    555 elif test "X$1" = X--fallback-echo; then
    556   # Avoid inline document here, it may be left over
    557   :
    558 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    559   # Yippee, $ECHO works!
    560   :
    561 else
    562   # Restart under the correct shell.
    563   exec $SHELL "$0" --no-reexec ${1+"$@"}
    564 fi
    565 
    566 if test "X$1" = X--fallback-echo; then
    567   # used as fallback echo
    568   shift
    569   cat <<_LT_EOF
    570 $*
    571 _LT_EOF
    572   exit 0
    573 fi
    574 
    575 # The HP-UX ksh and POSIX shell print the target directory to stdout
    576 # if CDPATH is set.
    577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    578 
    579 if test -z "$lt_ECHO"; then
    580   if test "X${echo_test_string+set}" != Xset; then
    581     # find a string as large as possible, as long as the shell can cope with it
    582     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    583       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    584       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    585 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    586       then
    587         break
    588       fi
    589     done
    590   fi
    591 
    592   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    593      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    594      test "X$echo_testing_string" = "X$echo_test_string"; then
    595     :
    596   else
    597     # The Solaris, AIX, and Digital Unix default echo programs unquote
    598     # backslashes.  This makes it impossible to quote backslashes using
    599     #   echo "$something" | sed 's/\\/\\\\/g'
    600     #
    601     # So, first we look for a working echo in the user's PATH.
    602 
    603     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    604     for dir in $PATH /usr/ucb; do
    605       IFS="$lt_save_ifs"
    606       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    607          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    608          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    609          test "X$echo_testing_string" = "X$echo_test_string"; then
    610         ECHO="$dir/echo"
    611         break
    612       fi
    613     done
    614     IFS="$lt_save_ifs"
    615 
    616     if test "X$ECHO" = Xecho; then
    617       # We didn't find a better echo, so look for alternatives.
    618       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    619          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    620          test "X$echo_testing_string" = "X$echo_test_string"; then
    621         # This shell has a builtin print -r that does the trick.
    622         ECHO='print -r'
    623       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    624 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    625         # If we have ksh, try running configure again with it.
    626         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    627         export ORIGINAL_CONFIG_SHELL
    628         CONFIG_SHELL=/bin/ksh
    629         export CONFIG_SHELL
    630         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    631       else
    632         # Try using printf.
    633         ECHO='printf %s\n'
    634         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    635 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    636 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    637 	  # Cool, printf works
    638 	  :
    639         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    640 	     test "X$echo_testing_string" = 'X\t' &&
    641 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    642 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    643 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    644 	  export CONFIG_SHELL
    645 	  SHELL="$CONFIG_SHELL"
    646 	  export SHELL
    647 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    648         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    649 	     test "X$echo_testing_string" = 'X\t' &&
    650 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    651 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    653         else
    654 	  # maybe with a smaller string...
    655 	  prev=:
    656 
    657 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    658 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    659 	    then
    660 	      break
    661 	    fi
    662 	    prev="$cmd"
    663 	  done
    664 
    665 	  if test "$prev" != 'sed 50q "$0"'; then
    666 	    echo_test_string=`eval $prev`
    667 	    export echo_test_string
    668 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    669 	  else
    670 	    # Oops.  We lost completely, so just stick with echo.
    671 	    ECHO=echo
    672 	  fi
    673         fi
    674       fi
    675     fi
    676   fi
    677 fi
    678 
    679 # Copy echo and quote the copy suitably for passing to libtool from
    680 # the Makefile, instead of quoting the original, which is used later.
    681 lt_ECHO=$ECHO
    682 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    683    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    684 fi
    685 
    686 
    687 
    688 
    689 test -n "$DJDIR" || exec 7<&0 </dev/null
    690 exec 6>&1
    691 
    692 # Name of the host.
    693 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    694 # so uname gets run too.
    695 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    696 
    697 #
    698 # Initializations.
    699 #
    700 ac_default_prefix=/usr/local
    701 ac_clean_files=
    702 ac_config_libobj_dir=.
    703 LIBOBJS=
    704 cross_compiling=no
    705 subdirs=
    706 MFLAGS=
    707 MAKEFLAGS=
    708 
    709 # Identity of this package.
    710 PACKAGE_NAME='file'
    711 PACKAGE_TARNAME='file'
    712 PACKAGE_VERSION='5.09'
    713 PACKAGE_STRING='file 5.09'
    714 PACKAGE_BUGREPORT='christos (at] astron.com'
    715 PACKAGE_URL=''
    716 
    717 # Factoring default headers for most tests.
    718 ac_includes_default="\
    719 #include <stdio.h>
    720 #ifdef HAVE_SYS_TYPES_H
    721 # include <sys/types.h>
    722 #endif
    723 #ifdef HAVE_SYS_STAT_H
    724 # include <sys/stat.h>
    725 #endif
    726 #ifdef STDC_HEADERS
    727 # include <stdlib.h>
    728 # include <stddef.h>
    729 #else
    730 # ifdef HAVE_STDLIB_H
    731 #  include <stdlib.h>
    732 # endif
    733 #endif
    734 #ifdef HAVE_STRING_H
    735 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    736 #  include <memory.h>
    737 # endif
    738 # include <string.h>
    739 #endif
    740 #ifdef HAVE_STRINGS_H
    741 # include <strings.h>
    742 #endif
    743 #ifdef HAVE_INTTYPES_H
    744 # include <inttypes.h>
    745 #endif
    746 #ifdef HAVE_STDINT_H
    747 # include <stdint.h>
    748 #endif
    749 #ifdef HAVE_UNISTD_H
    750 # include <unistd.h>
    751 #endif"
    752 
    753 ac_subst_vars='am__EXEEXT_FALSE
    754 am__EXEEXT_TRUE
    755 LTLIBOBJS
    756 IS_CROSS_COMPILE_FALSE
    757 IS_CROSS_COMPILE_TRUE
    758 LIBOBJS
    759 OTOOL64
    760 OTOOL
    761 LIPO
    762 NMEDIT
    763 DSYMUTIL
    764 lt_ECHO
    765 RANLIB
    766 AR
    767 OBJDUMP
    768 NM
    769 ac_ct_DUMPBIN
    770 DUMPBIN
    771 LD
    772 FGREP
    773 SED
    774 LIBTOOL
    775 LN_S
    776 EGREP
    777 GREP
    778 CPP
    779 am__fastdepCC_FALSE
    780 am__fastdepCC_TRUE
    781 CCDEPMODE
    782 AMDEPBACKSLASH
    783 AMDEP_FALSE
    784 AMDEP_TRUE
    785 am__quote
    786 am__include
    787 DEPDIR
    788 OBJEXT
    789 EXEEXT
    790 ac_ct_CC
    791 CPPFLAGS
    792 LDFLAGS
    793 CFLAGS
    794 CC
    795 WARNINGS
    796 FSECT5_FALSE
    797 FSECT5_TRUE
    798 fsect
    799 pkgdatadir
    800 MINGW_FALSE
    801 MINGW_TRUE
    802 MINGW
    803 host_os
    804 host_vendor
    805 host_cpu
    806 host
    807 build_os
    808 build_vendor
    809 build_cpu
    810 build
    811 AM_BACKSLASH
    812 AM_DEFAULT_VERBOSITY
    813 am__untar
    814 am__tar
    815 AMTAR
    816 am__leading_dot
    817 SET_MAKE
    818 AWK
    819 mkdir_p
    820 MKDIR_P
    821 INSTALL_STRIP_PROGRAM
    822 STRIP
    823 install_sh
    824 MAKEINFO
    825 AUTOHEADER
    826 AUTOMAKE
    827 AUTOCONF
    828 ACLOCAL
    829 VERSION
    830 PACKAGE
    831 CYGPATH_W
    832 am__isrc
    833 INSTALL_DATA
    834 INSTALL_SCRIPT
    835 INSTALL_PROGRAM
    836 target_alias
    837 host_alias
    838 build_alias
    839 LIBS
    840 ECHO_T
    841 ECHO_N
    842 ECHO_C
    843 DEFS
    844 mandir
    845 localedir
    846 libdir
    847 psdir
    848 pdfdir
    849 dvidir
    850 htmldir
    851 infodir
    852 docdir
    853 oldincludedir
    854 includedir
    855 localstatedir
    856 sharedstatedir
    857 sysconfdir
    858 datadir
    859 datarootdir
    860 libexecdir
    861 sbindir
    862 bindir
    863 program_transform_name
    864 prefix
    865 exec_prefix
    866 PACKAGE_URL
    867 PACKAGE_BUGREPORT
    868 PACKAGE_STRING
    869 PACKAGE_VERSION
    870 PACKAGE_TARNAME
    871 PACKAGE_NAME
    872 PATH_SEPARATOR
    873 SHELL'
    874 ac_subst_files=''
    875 ac_user_opts='
    876 enable_option_checking
    877 enable_silent_rules
    878 enable_elf
    879 enable_elf_core
    880 enable_fsect_man5
    881 enable_dependency_tracking
    882 enable_shared
    883 enable_static
    884 with_pic
    885 enable_fast_install
    886 with_gnu_ld
    887 enable_libtool_lock
    888 enable_largefile
    889 enable_warnings
    890 '
    891       ac_precious_vars='build_alias
    892 host_alias
    893 target_alias
    894 CC
    895 CFLAGS
    896 LDFLAGS
    897 LIBS
    898 CPPFLAGS
    899 CPP'
    900 
    901 
    902 # Initialize some variables set by options.
    903 ac_init_help=
    904 ac_init_version=false
    905 ac_unrecognized_opts=
    906 ac_unrecognized_sep=
    907 # The variables have the same names as the options, with
    908 # dashes changed to underlines.
    909 cache_file=/dev/null
    910 exec_prefix=NONE
    911 no_create=
    912 no_recursion=
    913 prefix=NONE
    914 program_prefix=NONE
    915 program_suffix=NONE
    916 program_transform_name=s,x,x,
    917 silent=
    918 site=
    919 srcdir=
    920 verbose=
    921 x_includes=NONE
    922 x_libraries=NONE
    923 
    924 # Installation directory options.
    925 # These are left unexpanded so users can "make install exec_prefix=/foo"
    926 # and all the variables that are supposed to be based on exec_prefix
    927 # by default will actually change.
    928 # Use braces instead of parens because sh, perl, etc. also accept them.
    929 # (The list follows the same order as the GNU Coding Standards.)
    930 bindir='${exec_prefix}/bin'
    931 sbindir='${exec_prefix}/sbin'
    932 libexecdir='${exec_prefix}/libexec'
    933 datarootdir='${prefix}/share'
    934 datadir='${datarootdir}'
    935 sysconfdir='${prefix}/etc'
    936 sharedstatedir='${prefix}/com'
    937 localstatedir='${prefix}/var'
    938 includedir='${prefix}/include'
    939 oldincludedir='/usr/include'
    940 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    941 infodir='${datarootdir}/info'
    942 htmldir='${docdir}'
    943 dvidir='${docdir}'
    944 pdfdir='${docdir}'
    945 psdir='${docdir}'
    946 libdir='${exec_prefix}/lib'
    947 localedir='${datarootdir}/locale'
    948 mandir='${datarootdir}/man'
    949 
    950 ac_prev=
    951 ac_dashdash=
    952 for ac_option
    953 do
    954   # If the previous option needs an argument, assign it.
    955   if test -n "$ac_prev"; then
    956     eval $ac_prev=\$ac_option
    957     ac_prev=
    958     continue
    959   fi
    960 
    961   case $ac_option in
    962   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    963   *=)   ac_optarg= ;;
    964   *)    ac_optarg=yes ;;
    965   esac
    966 
    967   # Accept the important Cygnus configure options, so we can diagnose typos.
    968 
    969   case $ac_dashdash$ac_option in
    970   --)
    971     ac_dashdash=yes ;;
    972 
    973   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    974     ac_prev=bindir ;;
    975   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    976     bindir=$ac_optarg ;;
    977 
    978   -build | --build | --buil | --bui | --bu)
    979     ac_prev=build_alias ;;
    980   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    981     build_alias=$ac_optarg ;;
    982 
    983   -cache-file | --cache-file | --cache-fil | --cache-fi \
    984   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    985     ac_prev=cache_file ;;
    986   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    987   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    988     cache_file=$ac_optarg ;;
    989 
    990   --config-cache | -C)
    991     cache_file=config.cache ;;
    992 
    993   -datadir | --datadir | --datadi | --datad)
    994     ac_prev=datadir ;;
    995   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    996     datadir=$ac_optarg ;;
    997 
    998   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    999   | --dataroo | --dataro | --datar)
   1000     ac_prev=datarootdir ;;
   1001   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1002   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1003     datarootdir=$ac_optarg ;;
   1004 
   1005   -disable-* | --disable-*)
   1006     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1007     # Reject names that are not valid shell variable names.
   1008     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1009       as_fn_error $? "invalid feature name: $ac_useropt"
   1010     ac_useropt_orig=$ac_useropt
   1011     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1012     case $ac_user_opts in
   1013       *"
   1014 "enable_$ac_useropt"
   1015 "*) ;;
   1016       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1017 	 ac_unrecognized_sep=', ';;
   1018     esac
   1019     eval enable_$ac_useropt=no ;;
   1020 
   1021   -docdir | --docdir | --docdi | --doc | --do)
   1022     ac_prev=docdir ;;
   1023   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1024     docdir=$ac_optarg ;;
   1025 
   1026   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1027     ac_prev=dvidir ;;
   1028   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1029     dvidir=$ac_optarg ;;
   1030 
   1031   -enable-* | --enable-*)
   1032     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1033     # Reject names that are not valid shell variable names.
   1034     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1035       as_fn_error $? "invalid feature name: $ac_useropt"
   1036     ac_useropt_orig=$ac_useropt
   1037     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1038     case $ac_user_opts in
   1039       *"
   1040 "enable_$ac_useropt"
   1041 "*) ;;
   1042       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1043 	 ac_unrecognized_sep=', ';;
   1044     esac
   1045     eval enable_$ac_useropt=\$ac_optarg ;;
   1046 
   1047   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1048   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1049   | --exec | --exe | --ex)
   1050     ac_prev=exec_prefix ;;
   1051   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1052   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1053   | --exec=* | --exe=* | --ex=*)
   1054     exec_prefix=$ac_optarg ;;
   1055 
   1056   -gas | --gas | --ga | --g)
   1057     # Obsolete; use --with-gas.
   1058     with_gas=yes ;;
   1059 
   1060   -help | --help | --hel | --he | -h)
   1061     ac_init_help=long ;;
   1062   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1063     ac_init_help=recursive ;;
   1064   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1065     ac_init_help=short ;;
   1066 
   1067   -host | --host | --hos | --ho)
   1068     ac_prev=host_alias ;;
   1069   -host=* | --host=* | --hos=* | --ho=*)
   1070     host_alias=$ac_optarg ;;
   1071 
   1072   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1073     ac_prev=htmldir ;;
   1074   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1075   | --ht=*)
   1076     htmldir=$ac_optarg ;;
   1077 
   1078   -includedir | --includedir | --includedi | --included | --include \
   1079   | --includ | --inclu | --incl | --inc)
   1080     ac_prev=includedir ;;
   1081   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1082   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1083     includedir=$ac_optarg ;;
   1084 
   1085   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1086     ac_prev=infodir ;;
   1087   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1088     infodir=$ac_optarg ;;
   1089 
   1090   -libdir | --libdir | --libdi | --libd)
   1091     ac_prev=libdir ;;
   1092   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1093     libdir=$ac_optarg ;;
   1094 
   1095   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1096   | --libexe | --libex | --libe)
   1097     ac_prev=libexecdir ;;
   1098   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1099   | --libexe=* | --libex=* | --libe=*)
   1100     libexecdir=$ac_optarg ;;
   1101 
   1102   -localedir | --localedir | --localedi | --localed | --locale)
   1103     ac_prev=localedir ;;
   1104   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1105     localedir=$ac_optarg ;;
   1106 
   1107   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1108   | --localstate | --localstat | --localsta | --localst | --locals)
   1109     ac_prev=localstatedir ;;
   1110   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1111   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1112     localstatedir=$ac_optarg ;;
   1113 
   1114   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1115     ac_prev=mandir ;;
   1116   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1117     mandir=$ac_optarg ;;
   1118 
   1119   -nfp | --nfp | --nf)
   1120     # Obsolete; use --without-fp.
   1121     with_fp=no ;;
   1122 
   1123   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1124   | --no-cr | --no-c | -n)
   1125     no_create=yes ;;
   1126 
   1127   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1128   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1129     no_recursion=yes ;;
   1130 
   1131   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1132   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1133   | --oldin | --oldi | --old | --ol | --o)
   1134     ac_prev=oldincludedir ;;
   1135   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1136   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1137   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1138     oldincludedir=$ac_optarg ;;
   1139 
   1140   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1141     ac_prev=prefix ;;
   1142   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1143     prefix=$ac_optarg ;;
   1144 
   1145   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1146   | --program-pre | --program-pr | --program-p)
   1147     ac_prev=program_prefix ;;
   1148   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1149   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1150     program_prefix=$ac_optarg ;;
   1151 
   1152   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1153   | --program-suf | --program-su | --program-s)
   1154     ac_prev=program_suffix ;;
   1155   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1156   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1157     program_suffix=$ac_optarg ;;
   1158 
   1159   -program-transform-name | --program-transform-name \
   1160   | --program-transform-nam | --program-transform-na \
   1161   | --program-transform-n | --program-transform- \
   1162   | --program-transform | --program-transfor \
   1163   | --program-transfo | --program-transf \
   1164   | --program-trans | --program-tran \
   1165   | --progr-tra | --program-tr | --program-t)
   1166     ac_prev=program_transform_name ;;
   1167   -program-transform-name=* | --program-transform-name=* \
   1168   | --program-transform-nam=* | --program-transform-na=* \
   1169   | --program-transform-n=* | --program-transform-=* \
   1170   | --program-transform=* | --program-transfor=* \
   1171   | --program-transfo=* | --program-transf=* \
   1172   | --program-trans=* | --program-tran=* \
   1173   | --progr-tra=* | --program-tr=* | --program-t=*)
   1174     program_transform_name=$ac_optarg ;;
   1175 
   1176   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1177     ac_prev=pdfdir ;;
   1178   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1179     pdfdir=$ac_optarg ;;
   1180 
   1181   -psdir | --psdir | --psdi | --psd | --ps)
   1182     ac_prev=psdir ;;
   1183   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1184     psdir=$ac_optarg ;;
   1185 
   1186   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1187   | -silent | --silent | --silen | --sile | --sil)
   1188     silent=yes ;;
   1189 
   1190   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1191     ac_prev=sbindir ;;
   1192   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1193   | --sbi=* | --sb=*)
   1194     sbindir=$ac_optarg ;;
   1195 
   1196   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1197   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1198   | --sharedst | --shareds | --shared | --share | --shar \
   1199   | --sha | --sh)
   1200     ac_prev=sharedstatedir ;;
   1201   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1202   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1203   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1204   | --sha=* | --sh=*)
   1205     sharedstatedir=$ac_optarg ;;
   1206 
   1207   -site | --site | --sit)
   1208     ac_prev=site ;;
   1209   -site=* | --site=* | --sit=*)
   1210     site=$ac_optarg ;;
   1211 
   1212   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1213     ac_prev=srcdir ;;
   1214   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1215     srcdir=$ac_optarg ;;
   1216 
   1217   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1218   | --syscon | --sysco | --sysc | --sys | --sy)
   1219     ac_prev=sysconfdir ;;
   1220   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1221   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1222     sysconfdir=$ac_optarg ;;
   1223 
   1224   -target | --target | --targe | --targ | --tar | --ta | --t)
   1225     ac_prev=target_alias ;;
   1226   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1227     target_alias=$ac_optarg ;;
   1228 
   1229   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1230     verbose=yes ;;
   1231 
   1232   -version | --version | --versio | --versi | --vers | -V)
   1233     ac_init_version=: ;;
   1234 
   1235   -with-* | --with-*)
   1236     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1237     # Reject names that are not valid shell variable names.
   1238     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1239       as_fn_error $? "invalid package name: $ac_useropt"
   1240     ac_useropt_orig=$ac_useropt
   1241     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1242     case $ac_user_opts in
   1243       *"
   1244 "with_$ac_useropt"
   1245 "*) ;;
   1246       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1247 	 ac_unrecognized_sep=', ';;
   1248     esac
   1249     eval with_$ac_useropt=\$ac_optarg ;;
   1250 
   1251   -without-* | --without-*)
   1252     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1253     # Reject names that are not valid shell variable names.
   1254     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1255       as_fn_error $? "invalid package name: $ac_useropt"
   1256     ac_useropt_orig=$ac_useropt
   1257     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1258     case $ac_user_opts in
   1259       *"
   1260 "with_$ac_useropt"
   1261 "*) ;;
   1262       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1263 	 ac_unrecognized_sep=', ';;
   1264     esac
   1265     eval with_$ac_useropt=no ;;
   1266 
   1267   --x)
   1268     # Obsolete; use --with-x.
   1269     with_x=yes ;;
   1270 
   1271   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1272   | --x-incl | --x-inc | --x-in | --x-i)
   1273     ac_prev=x_includes ;;
   1274   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1275   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1276     x_includes=$ac_optarg ;;
   1277 
   1278   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1279   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1280     ac_prev=x_libraries ;;
   1281   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1282   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1283     x_libraries=$ac_optarg ;;
   1284 
   1285   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1286 Try \`$0 --help' for more information"
   1287     ;;
   1288 
   1289   *=*)
   1290     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1291     # Reject names that are not valid shell variable names.
   1292     case $ac_envvar in #(
   1293       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1294       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1295     esac
   1296     eval $ac_envvar=\$ac_optarg
   1297     export $ac_envvar ;;
   1298 
   1299   *)
   1300     # FIXME: should be removed in autoconf 3.0.
   1301     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1302     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1303       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1304     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1305     ;;
   1306 
   1307   esac
   1308 done
   1309 
   1310 if test -n "$ac_prev"; then
   1311   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1312   as_fn_error $? "missing argument to $ac_option"
   1313 fi
   1314 
   1315 if test -n "$ac_unrecognized_opts"; then
   1316   case $enable_option_checking in
   1317     no) ;;
   1318     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1319     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1320   esac
   1321 fi
   1322 
   1323 # Check all directory arguments for consistency.
   1324 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1325 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1326 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1327 		libdir localedir mandir
   1328 do
   1329   eval ac_val=\$$ac_var
   1330   # Remove trailing slashes.
   1331   case $ac_val in
   1332     */ )
   1333       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1334       eval $ac_var=\$ac_val;;
   1335   esac
   1336   # Be sure to have absolute directory names.
   1337   case $ac_val in
   1338     [\\/$]* | ?:[\\/]* )  continue;;
   1339     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1340   esac
   1341   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1342 done
   1343 
   1344 # There might be people who depend on the old broken behavior: `$host'
   1345 # used to hold the argument of --host etc.
   1346 # FIXME: To remove some day.
   1347 build=$build_alias
   1348 host=$host_alias
   1349 target=$target_alias
   1350 
   1351 # FIXME: To remove some day.
   1352 if test "x$host_alias" != x; then
   1353   if test "x$build_alias" = x; then
   1354     cross_compiling=maybe
   1355     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1356     If a cross compiler is detected then cross compile mode will be used" >&2
   1357   elif test "x$build_alias" != "x$host_alias"; then
   1358     cross_compiling=yes
   1359   fi
   1360 fi
   1361 
   1362 ac_tool_prefix=
   1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1364 
   1365 test "$silent" = yes && exec 6>/dev/null
   1366 
   1367 
   1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1369 ac_ls_di=`ls -di .` &&
   1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1371   as_fn_error $? "working directory cannot be determined"
   1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1373   as_fn_error $? "pwd does not report name of working directory"
   1374 
   1375 
   1376 # Find the source files, if location was not specified.
   1377 if test -z "$srcdir"; then
   1378   ac_srcdir_defaulted=yes
   1379   # Try the directory containing this script, then the parent directory.
   1380   ac_confdir=`$as_dirname -- "$as_myself" ||
   1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1382 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1383 	 X"$as_myself" : 'X\(//\)$' \| \
   1384 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1385 $as_echo X"$as_myself" |
   1386     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1387 	    s//\1/
   1388 	    q
   1389 	  }
   1390 	  /^X\(\/\/\)[^/].*/{
   1391 	    s//\1/
   1392 	    q
   1393 	  }
   1394 	  /^X\(\/\/\)$/{
   1395 	    s//\1/
   1396 	    q
   1397 	  }
   1398 	  /^X\(\/\).*/{
   1399 	    s//\1/
   1400 	    q
   1401 	  }
   1402 	  s/.*/./; q'`
   1403   srcdir=$ac_confdir
   1404   if test ! -r "$srcdir/$ac_unique_file"; then
   1405     srcdir=..
   1406   fi
   1407 else
   1408   ac_srcdir_defaulted=no
   1409 fi
   1410 if test ! -r "$srcdir/$ac_unique_file"; then
   1411   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1412   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1413 fi
   1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1415 ac_abs_confdir=`(
   1416 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1417 	pwd)`
   1418 # When building in place, set srcdir=.
   1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1420   srcdir=.
   1421 fi
   1422 # Remove unnecessary trailing slashes from srcdir.
   1423 # Double slashes in file names in object file debugging info
   1424 # mess up M-x gdb in Emacs.
   1425 case $srcdir in
   1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1427 esac
   1428 for ac_var in $ac_precious_vars; do
   1429   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1430   eval ac_env_${ac_var}_value=\$${ac_var}
   1431   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1432   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1433 done
   1434 
   1435 #
   1436 # Report the --help message.
   1437 #
   1438 if test "$ac_init_help" = "long"; then
   1439   # Omit some internal or obsolete options to make the list less imposing.
   1440   # This message is too long to be a string in the A/UX 3.1 sh.
   1441   cat <<_ACEOF
   1442 \`configure' configures file 5.09 to adapt to many kinds of systems.
   1443 
   1444 Usage: $0 [OPTION]... [VAR=VALUE]...
   1445 
   1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1447 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1448 
   1449 Defaults for the options are specified in brackets.
   1450 
   1451 Configuration:
   1452   -h, --help              display this help and exit
   1453       --help=short        display options specific to this package
   1454       --help=recursive    display the short help of all the included packages
   1455   -V, --version           display version information and exit
   1456   -q, --quiet, --silent   do not print \`checking ...' messages
   1457       --cache-file=FILE   cache test results in FILE [disabled]
   1458   -C, --config-cache      alias for \`--cache-file=config.cache'
   1459   -n, --no-create         do not create output files
   1460       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1461 
   1462 Installation directories:
   1463   --prefix=PREFIX         install architecture-independent files in PREFIX
   1464                           [$ac_default_prefix]
   1465   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1466                           [PREFIX]
   1467 
   1468 By default, \`make install' will install all the files in
   1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1471 for instance \`--prefix=\$HOME'.
   1472 
   1473 For better control, use the options below.
   1474 
   1475 Fine tuning of the installation directories:
   1476   --bindir=DIR            user executables [EPREFIX/bin]
   1477   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1478   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1479   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1480   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1481   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1482   --libdir=DIR            object code libraries [EPREFIX/lib]
   1483   --includedir=DIR        C header files [PREFIX/include]
   1484   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1485   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1486   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1487   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1488   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1489   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1490   --docdir=DIR            documentation root [DATAROOTDIR/doc/file]
   1491   --htmldir=DIR           html documentation [DOCDIR]
   1492   --dvidir=DIR            dvi documentation [DOCDIR]
   1493   --pdfdir=DIR            pdf documentation [DOCDIR]
   1494   --psdir=DIR             ps documentation [DOCDIR]
   1495 _ACEOF
   1496 
   1497   cat <<\_ACEOF
   1498 
   1499 Program names:
   1500   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1501   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1502   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1503 
   1504 System types:
   1505   --build=BUILD     configure for building on BUILD [guessed]
   1506   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1507 _ACEOF
   1508 fi
   1509 
   1510 if test -n "$ac_init_help"; then
   1511   case $ac_init_help in
   1512      short | recursive ) echo "Configuration of file 5.09:";;
   1513    esac
   1514   cat <<\_ACEOF
   1515 
   1516 Optional Features:
   1517   --disable-option-checking  ignore unrecognized --enable/--with options
   1518   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1519   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1520   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1521   --disable-silent-rules         verbose build output (undo: `make V=0')
   1522   --disable-elf            disable builtin ELF support
   1523   --disable-elf-core       disable ELF core file support
   1524   --enable-fsect-man5      enable file formats in man section 5
   1525   --disable-dependency-tracking  speeds up one-time build
   1526   --enable-dependency-tracking   do not reject slow dependency extractors
   1527   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1528   --enable-static[=PKGS]  build static libraries [default=yes]
   1529   --enable-fast-install[=PKGS]
   1530                           optimize for fast installation [default=yes]
   1531   --disable-libtool-lock  avoid locking (might break parallel builds)
   1532   --disable-largefile     omit support for large files
   1533   --disable-warnings	disable compiler warnings
   1534 
   1535 Optional Packages:
   1536   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1537   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1538   --with-pic              try to use only PIC/non-PIC objects [default=use
   1539                           both]
   1540   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1541 
   1542 Some influential environment variables:
   1543   CC          C compiler command
   1544   CFLAGS      C compiler flags
   1545   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1546               nonstandard directory <lib dir>
   1547   LIBS        libraries to pass to the linker, e.g. -l<library>
   1548   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1549               you have headers in a nonstandard directory <include dir>
   1550   CPP         C preprocessor
   1551 
   1552 Use these variables to override the choices made by `configure' or to help
   1553 it to find libraries and programs with nonstandard names/locations.
   1554 
   1555 Report bugs to <christos@astron.com>.
   1556 _ACEOF
   1557 ac_status=$?
   1558 fi
   1559 
   1560 if test "$ac_init_help" = "recursive"; then
   1561   # If there are subdirs, report their specific --help.
   1562   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1563     test -d "$ac_dir" ||
   1564       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1565       continue
   1566     ac_builddir=.
   1567 
   1568 case "$ac_dir" in
   1569 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1570 *)
   1571   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1572   # A ".." for each directory in $ac_dir_suffix.
   1573   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1574   case $ac_top_builddir_sub in
   1575   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1576   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1577   esac ;;
   1578 esac
   1579 ac_abs_top_builddir=$ac_pwd
   1580 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1581 # for backward compatibility:
   1582 ac_top_builddir=$ac_top_build_prefix
   1583 
   1584 case $srcdir in
   1585   .)  # We are building in place.
   1586     ac_srcdir=.
   1587     ac_top_srcdir=$ac_top_builddir_sub
   1588     ac_abs_top_srcdir=$ac_pwd ;;
   1589   [\\/]* | ?:[\\/]* )  # Absolute name.
   1590     ac_srcdir=$srcdir$ac_dir_suffix;
   1591     ac_top_srcdir=$srcdir
   1592     ac_abs_top_srcdir=$srcdir ;;
   1593   *) # Relative name.
   1594     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1595     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1596     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1597 esac
   1598 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1599 
   1600     cd "$ac_dir" || { ac_status=$?; continue; }
   1601     # Check for guested configure.
   1602     if test -f "$ac_srcdir/configure.gnu"; then
   1603       echo &&
   1604       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1605     elif test -f "$ac_srcdir/configure"; then
   1606       echo &&
   1607       $SHELL "$ac_srcdir/configure" --help=recursive
   1608     else
   1609       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1610     fi || ac_status=$?
   1611     cd "$ac_pwd" || { ac_status=$?; break; }
   1612   done
   1613 fi
   1614 
   1615 test -n "$ac_init_help" && exit $ac_status
   1616 if $ac_init_version; then
   1617   cat <<\_ACEOF
   1618 file configure 5.09
   1619 generated by GNU Autoconf 2.68
   1620 
   1621 Copyright (C) 2010 Free Software Foundation, Inc.
   1622 This configure script is free software; the Free Software Foundation
   1623 gives unlimited permission to copy, distribute and modify it.
   1624 _ACEOF
   1625   exit
   1626 fi
   1627 
   1628 ## ------------------------ ##
   1629 ## Autoconf initialization. ##
   1630 ## ------------------------ ##
   1631 
   1632 # ac_fn_c_try_compile LINENO
   1633 # --------------------------
   1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1635 ac_fn_c_try_compile ()
   1636 {
   1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1638   rm -f conftest.$ac_objext
   1639   if { { ac_try="$ac_compile"
   1640 case "(($ac_try" in
   1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1642   *) ac_try_echo=$ac_try;;
   1643 esac
   1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1645 $as_echo "$ac_try_echo"; } >&5
   1646   (eval "$ac_compile") 2>conftest.err
   1647   ac_status=$?
   1648   if test -s conftest.err; then
   1649     grep -v '^ *+' conftest.err >conftest.er1
   1650     cat conftest.er1 >&5
   1651     mv -f conftest.er1 conftest.err
   1652   fi
   1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1654   test $ac_status = 0; } && {
   1655 	 test -z "$ac_c_werror_flag" ||
   1656 	 test ! -s conftest.err
   1657        } && test -s conftest.$ac_objext; then :
   1658   ac_retval=0
   1659 else
   1660   $as_echo "$as_me: failed program was:" >&5
   1661 sed 's/^/| /' conftest.$ac_ext >&5
   1662 
   1663 	ac_retval=1
   1664 fi
   1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1666   as_fn_set_status $ac_retval
   1667 
   1668 } # ac_fn_c_try_compile
   1669 
   1670 # ac_fn_c_try_cpp LINENO
   1671 # ----------------------
   1672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1673 ac_fn_c_try_cpp ()
   1674 {
   1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1676   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1677 case "(($ac_try" in
   1678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1679   *) ac_try_echo=$ac_try;;
   1680 esac
   1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1682 $as_echo "$ac_try_echo"; } >&5
   1683   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1684   ac_status=$?
   1685   if test -s conftest.err; then
   1686     grep -v '^ *+' conftest.err >conftest.er1
   1687     cat conftest.er1 >&5
   1688     mv -f conftest.er1 conftest.err
   1689   fi
   1690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1691   test $ac_status = 0; } > conftest.i && {
   1692 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1693 	 test ! -s conftest.err
   1694        }; then :
   1695   ac_retval=0
   1696 else
   1697   $as_echo "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700     ac_retval=1
   1701 fi
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703   as_fn_set_status $ac_retval
   1704 
   1705 } # ac_fn_c_try_cpp
   1706 
   1707 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1708 # -------------------------------------------------------
   1709 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1710 # the include files in INCLUDES and setting the cache variable VAR
   1711 # accordingly.
   1712 ac_fn_c_check_header_mongrel ()
   1713 {
   1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1715   if eval \${$3+:} false; then :
   1716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1717 $as_echo_n "checking for $2... " >&6; }
   1718 if eval \${$3+:} false; then :
   1719   $as_echo_n "(cached) " >&6
   1720 fi
   1721 eval ac_res=\$$3
   1722 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1723 $as_echo "$ac_res" >&6; }
   1724 else
   1725   # Is the header compilable?
   1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1727 $as_echo_n "checking $2 usability... " >&6; }
   1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1729 /* end confdefs.h.  */
   1730 $4
   1731 #include <$2>
   1732 _ACEOF
   1733 if ac_fn_c_try_compile "$LINENO"; then :
   1734   ac_header_compiler=yes
   1735 else
   1736   ac_header_compiler=no
   1737 fi
   1738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1740 $as_echo "$ac_header_compiler" >&6; }
   1741 
   1742 # Is the header present?
   1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1744 $as_echo_n "checking $2 presence... " >&6; }
   1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 #include <$2>
   1748 _ACEOF
   1749 if ac_fn_c_try_cpp "$LINENO"; then :
   1750   ac_header_preproc=yes
   1751 else
   1752   ac_header_preproc=no
   1753 fi
   1754 rm -f conftest.err conftest.i conftest.$ac_ext
   1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1756 $as_echo "$ac_header_preproc" >&6; }
   1757 
   1758 # So?  What about this header?
   1759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1760   yes:no: )
   1761     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1762 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1763     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1765     ;;
   1766   no:yes:* )
   1767     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1768 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1769     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1770 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1771     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1772 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1773     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1774 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1775     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1777 ( $as_echo "## ---------------------------------- ##
   1778 ## Report this to christos (at] astron.com ##
   1779 ## ---------------------------------- ##"
   1780      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1781     ;;
   1782 esac
   1783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1784 $as_echo_n "checking for $2... " >&6; }
   1785 if eval \${$3+:} false; then :
   1786   $as_echo_n "(cached) " >&6
   1787 else
   1788   eval "$3=\$ac_header_compiler"
   1789 fi
   1790 eval ac_res=\$$3
   1791 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1792 $as_echo "$ac_res" >&6; }
   1793 fi
   1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795 
   1796 } # ac_fn_c_check_header_mongrel
   1797 
   1798 # ac_fn_c_try_run LINENO
   1799 # ----------------------
   1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1801 # that executables *can* be run.
   1802 ac_fn_c_try_run ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   if { { ac_try="$ac_link"
   1806 case "(($ac_try" in
   1807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1808   *) ac_try_echo=$ac_try;;
   1809 esac
   1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1811 $as_echo "$ac_try_echo"; } >&5
   1812   (eval "$ac_link") 2>&5
   1813   ac_status=$?
   1814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1815   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1816   { { case "(($ac_try" in
   1817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1818   *) ac_try_echo=$ac_try;;
   1819 esac
   1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1821 $as_echo "$ac_try_echo"; } >&5
   1822   (eval "$ac_try") 2>&5
   1823   ac_status=$?
   1824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1825   test $ac_status = 0; }; }; then :
   1826   ac_retval=0
   1827 else
   1828   $as_echo "$as_me: program exited with status $ac_status" >&5
   1829        $as_echo "$as_me: failed program was:" >&5
   1830 sed 's/^/| /' conftest.$ac_ext >&5
   1831 
   1832        ac_retval=$ac_status
   1833 fi
   1834   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1836   as_fn_set_status $ac_retval
   1837 
   1838 } # ac_fn_c_try_run
   1839 
   1840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1841 # -------------------------------------------------------
   1842 # Tests whether HEADER exists and can be compiled using the include files in
   1843 # INCLUDES, setting the cache variable VAR accordingly.
   1844 ac_fn_c_check_header_compile ()
   1845 {
   1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1848 $as_echo_n "checking for $2... " >&6; }
   1849 if eval \${$3+:} false; then :
   1850   $as_echo_n "(cached) " >&6
   1851 else
   1852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1853 /* end confdefs.h.  */
   1854 $4
   1855 #include <$2>
   1856 _ACEOF
   1857 if ac_fn_c_try_compile "$LINENO"; then :
   1858   eval "$3=yes"
   1859 else
   1860   eval "$3=no"
   1861 fi
   1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1863 fi
   1864 eval ac_res=\$$3
   1865 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1866 $as_echo "$ac_res" >&6; }
   1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1868 
   1869 } # ac_fn_c_check_header_compile
   1870 
   1871 # ac_fn_c_try_link LINENO
   1872 # -----------------------
   1873 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1874 ac_fn_c_try_link ()
   1875 {
   1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1877   rm -f conftest.$ac_objext conftest$ac_exeext
   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>conftest.err
   1886   ac_status=$?
   1887   if test -s conftest.err; then
   1888     grep -v '^ *+' conftest.err >conftest.er1
   1889     cat conftest.er1 >&5
   1890     mv -f conftest.er1 conftest.err
   1891   fi
   1892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1893   test $ac_status = 0; } && {
   1894 	 test -z "$ac_c_werror_flag" ||
   1895 	 test ! -s conftest.err
   1896        } && test -s conftest$ac_exeext && {
   1897 	 test "$cross_compiling" = yes ||
   1898 	 $as_test_x conftest$ac_exeext
   1899        }; then :
   1900   ac_retval=0
   1901 else
   1902   $as_echo "$as_me: failed program was:" >&5
   1903 sed 's/^/| /' conftest.$ac_ext >&5
   1904 
   1905 	ac_retval=1
   1906 fi
   1907   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1908   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1909   # interfere with the next link command; also delete a directory that is
   1910   # left behind by Apple's compiler.  We do this before executing the actions.
   1911   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1912   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1913   as_fn_set_status $ac_retval
   1914 
   1915 } # ac_fn_c_try_link
   1916 
   1917 # ac_fn_c_check_func LINENO FUNC VAR
   1918 # ----------------------------------
   1919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1920 ac_fn_c_check_func ()
   1921 {
   1922   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1924 $as_echo_n "checking for $2... " >&6; }
   1925 if eval \${$3+:} false; then :
   1926   $as_echo_n "(cached) " >&6
   1927 else
   1928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1929 /* end confdefs.h.  */
   1930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1932 #define $2 innocuous_$2
   1933 
   1934 /* System header to define __stub macros and hopefully few prototypes,
   1935     which can conflict with char $2 (); below.
   1936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1937     <limits.h> exists even on freestanding compilers.  */
   1938 
   1939 #ifdef __STDC__
   1940 # include <limits.h>
   1941 #else
   1942 # include <assert.h>
   1943 #endif
   1944 
   1945 #undef $2
   1946 
   1947 /* Override any GCC internal prototype to avoid an error.
   1948    Use char because int might match the return type of a GCC
   1949    builtin and then its argument prototype would still apply.  */
   1950 #ifdef __cplusplus
   1951 extern "C"
   1952 #endif
   1953 char $2 ();
   1954 /* The GNU C library defines this for functions which it implements
   1955     to always fail with ENOSYS.  Some functions are actually named
   1956     something starting with __ and the normal name is an alias.  */
   1957 #if defined __stub_$2 || defined __stub___$2
   1958 choke me
   1959 #endif
   1960 
   1961 int
   1962 main ()
   1963 {
   1964 return $2 ();
   1965   ;
   1966   return 0;
   1967 }
   1968 _ACEOF
   1969 if ac_fn_c_try_link "$LINENO"; then :
   1970   eval "$3=yes"
   1971 else
   1972   eval "$3=no"
   1973 fi
   1974 rm -f core conftest.err conftest.$ac_objext \
   1975     conftest$ac_exeext conftest.$ac_ext
   1976 fi
   1977 eval ac_res=\$$3
   1978 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1979 $as_echo "$ac_res" >&6; }
   1980   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1981 
   1982 } # ac_fn_c_check_func
   1983 
   1984 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1985 # -------------------------------------------
   1986 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1987 # variable VAR accordingly.
   1988 ac_fn_c_check_type ()
   1989 {
   1990   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1992 $as_echo_n "checking for $2... " >&6; }
   1993 if eval \${$3+:} false; then :
   1994   $as_echo_n "(cached) " >&6
   1995 else
   1996   eval "$3=no"
   1997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1998 /* end confdefs.h.  */
   1999 $4
   2000 int
   2001 main ()
   2002 {
   2003 if (sizeof ($2))
   2004 	 return 0;
   2005   ;
   2006   return 0;
   2007 }
   2008 _ACEOF
   2009 if ac_fn_c_try_compile "$LINENO"; then :
   2010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2011 /* end confdefs.h.  */
   2012 $4
   2013 int
   2014 main ()
   2015 {
   2016 if (sizeof (($2)))
   2017 	    return 0;
   2018   ;
   2019   return 0;
   2020 }
   2021 _ACEOF
   2022 if ac_fn_c_try_compile "$LINENO"; then :
   2023 
   2024 else
   2025   eval "$3=yes"
   2026 fi
   2027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2028 fi
   2029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2030 fi
   2031 eval ac_res=\$$3
   2032 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2033 $as_echo "$ac_res" >&6; }
   2034   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2035 
   2036 } # ac_fn_c_check_type
   2037 
   2038 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2039 # ----------------------------------------------------
   2040 # Tries to find if the field MEMBER exists in type AGGR, after including
   2041 # INCLUDES, setting cache variable VAR accordingly.
   2042 ac_fn_c_check_member ()
   2043 {
   2044   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2046 $as_echo_n "checking for $2.$3... " >&6; }
   2047 if eval \${$4+:} false; then :
   2048   $as_echo_n "(cached) " >&6
   2049 else
   2050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2051 /* end confdefs.h.  */
   2052 $5
   2053 int
   2054 main ()
   2055 {
   2056 static $2 ac_aggr;
   2057 if (ac_aggr.$3)
   2058 return 0;
   2059   ;
   2060   return 0;
   2061 }
   2062 _ACEOF
   2063 if ac_fn_c_try_compile "$LINENO"; then :
   2064   eval "$4=yes"
   2065 else
   2066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2067 /* end confdefs.h.  */
   2068 $5
   2069 int
   2070 main ()
   2071 {
   2072 static $2 ac_aggr;
   2073 if (sizeof ac_aggr.$3)
   2074 return 0;
   2075   ;
   2076   return 0;
   2077 }
   2078 _ACEOF
   2079 if ac_fn_c_try_compile "$LINENO"; then :
   2080   eval "$4=yes"
   2081 else
   2082   eval "$4=no"
   2083 fi
   2084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2085 fi
   2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2087 fi
   2088 eval ac_res=\$$4
   2089 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2090 $as_echo "$ac_res" >&6; }
   2091   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2092 
   2093 } # ac_fn_c_check_member
   2094 
   2095 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2096 # ---------------------------------------------
   2097 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2098 # accordingly.
   2099 ac_fn_c_check_decl ()
   2100 {
   2101   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2102   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2103   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2105 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2106 if eval \${$3+:} false; then :
   2107   $as_echo_n "(cached) " >&6
   2108 else
   2109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2110 /* end confdefs.h.  */
   2111 $4
   2112 int
   2113 main ()
   2114 {
   2115 #ifndef $as_decl_name
   2116 #ifdef __cplusplus
   2117   (void) $as_decl_use;
   2118 #else
   2119   (void) $as_decl_name;
   2120 #endif
   2121 #endif
   2122 
   2123   ;
   2124   return 0;
   2125 }
   2126 _ACEOF
   2127 if ac_fn_c_try_compile "$LINENO"; then :
   2128   eval "$3=yes"
   2129 else
   2130   eval "$3=no"
   2131 fi
   2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2133 fi
   2134 eval ac_res=\$$3
   2135 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2136 $as_echo "$ac_res" >&6; }
   2137   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2138 
   2139 } # ac_fn_c_check_decl
   2140 
   2141 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2142 # --------------------------------------------
   2143 # Tries to find the compile-time value of EXPR in a program that includes
   2144 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2145 # computed
   2146 ac_fn_c_compute_int ()
   2147 {
   2148   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2149   if test "$cross_compiling" = yes; then
   2150     # Depending upon the size, compute the lo and hi bounds.
   2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2152 /* end confdefs.h.  */
   2153 $4
   2154 int
   2155 main ()
   2156 {
   2157 static int test_array [1 - 2 * !(($2) >= 0)];
   2158 test_array [0] = 0
   2159 
   2160   ;
   2161   return 0;
   2162 }
   2163 _ACEOF
   2164 if ac_fn_c_try_compile "$LINENO"; then :
   2165   ac_lo=0 ac_mid=0
   2166   while :; do
   2167     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2168 /* end confdefs.h.  */
   2169 $4
   2170 int
   2171 main ()
   2172 {
   2173 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2174 test_array [0] = 0
   2175 
   2176   ;
   2177   return 0;
   2178 }
   2179 _ACEOF
   2180 if ac_fn_c_try_compile "$LINENO"; then :
   2181   ac_hi=$ac_mid; break
   2182 else
   2183   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2184 			if test $ac_lo -le $ac_mid; then
   2185 			  ac_lo= ac_hi=
   2186 			  break
   2187 			fi
   2188 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2189 fi
   2190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2191   done
   2192 else
   2193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2194 /* end confdefs.h.  */
   2195 $4
   2196 int
   2197 main ()
   2198 {
   2199 static int test_array [1 - 2 * !(($2) < 0)];
   2200 test_array [0] = 0
   2201 
   2202   ;
   2203   return 0;
   2204 }
   2205 _ACEOF
   2206 if ac_fn_c_try_compile "$LINENO"; then :
   2207   ac_hi=-1 ac_mid=-1
   2208   while :; do
   2209     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2210 /* end confdefs.h.  */
   2211 $4
   2212 int
   2213 main ()
   2214 {
   2215 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2216 test_array [0] = 0
   2217 
   2218   ;
   2219   return 0;
   2220 }
   2221 _ACEOF
   2222 if ac_fn_c_try_compile "$LINENO"; then :
   2223   ac_lo=$ac_mid; break
   2224 else
   2225   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2226 			if test $ac_mid -le $ac_hi; then
   2227 			  ac_lo= ac_hi=
   2228 			  break
   2229 			fi
   2230 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2231 fi
   2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2233   done
   2234 else
   2235   ac_lo= ac_hi=
   2236 fi
   2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2238 fi
   2239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2240 # Binary search between lo and hi bounds.
   2241 while test "x$ac_lo" != "x$ac_hi"; do
   2242   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2244 /* end confdefs.h.  */
   2245 $4
   2246 int
   2247 main ()
   2248 {
   2249 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2250 test_array [0] = 0
   2251 
   2252   ;
   2253   return 0;
   2254 }
   2255 _ACEOF
   2256 if ac_fn_c_try_compile "$LINENO"; then :
   2257   ac_hi=$ac_mid
   2258 else
   2259   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2260 fi
   2261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2262 done
   2263 case $ac_lo in #((
   2264 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2265 '') ac_retval=1 ;;
   2266 esac
   2267   else
   2268     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2269 /* end confdefs.h.  */
   2270 $4
   2271 static long int longval () { return $2; }
   2272 static unsigned long int ulongval () { return $2; }
   2273 #include <stdio.h>
   2274 #include <stdlib.h>
   2275 int
   2276 main ()
   2277 {
   2278 
   2279   FILE *f = fopen ("conftest.val", "w");
   2280   if (! f)
   2281     return 1;
   2282   if (($2) < 0)
   2283     {
   2284       long int i = longval ();
   2285       if (i != ($2))
   2286 	return 1;
   2287       fprintf (f, "%ld", i);
   2288     }
   2289   else
   2290     {
   2291       unsigned long int i = ulongval ();
   2292       if (i != ($2))
   2293 	return 1;
   2294       fprintf (f, "%lu", i);
   2295     }
   2296   /* Do not output a trailing newline, as this causes \r\n confusion
   2297      on some platforms.  */
   2298   return ferror (f) || fclose (f) != 0;
   2299 
   2300   ;
   2301   return 0;
   2302 }
   2303 _ACEOF
   2304 if ac_fn_c_try_run "$LINENO"; then :
   2305   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2306 else
   2307   ac_retval=1
   2308 fi
   2309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2310   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2311 rm -f conftest.val
   2312 
   2313   fi
   2314   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2315   as_fn_set_status $ac_retval
   2316 
   2317 } # ac_fn_c_compute_int
   2318 cat >config.log <<_ACEOF
   2319 This file contains any messages produced by compilers while
   2320 running configure, to aid debugging if configure makes a mistake.
   2321 
   2322 It was created by file $as_me 5.09, which was
   2323 generated by GNU Autoconf 2.68.  Invocation command line was
   2324 
   2325   $ $0 $@
   2326 
   2327 _ACEOF
   2328 exec 5>>config.log
   2329 {
   2330 cat <<_ASUNAME
   2331 ## --------- ##
   2332 ## Platform. ##
   2333 ## --------- ##
   2334 
   2335 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2336 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2337 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2338 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2339 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2340 
   2341 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2342 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2343 
   2344 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2345 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2346 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2347 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2348 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2349 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2350 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2351 
   2352 _ASUNAME
   2353 
   2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2355 for as_dir in $PATH
   2356 do
   2357   IFS=$as_save_IFS
   2358   test -z "$as_dir" && as_dir=.
   2359     $as_echo "PATH: $as_dir"
   2360   done
   2361 IFS=$as_save_IFS
   2362 
   2363 } >&5
   2364 
   2365 cat >&5 <<_ACEOF
   2366 
   2367 
   2368 ## ----------- ##
   2369 ## Core tests. ##
   2370 ## ----------- ##
   2371 
   2372 _ACEOF
   2373 
   2374 
   2375 # Keep a trace of the command line.
   2376 # Strip out --no-create and --no-recursion so they do not pile up.
   2377 # Strip out --silent because we don't want to record it for future runs.
   2378 # Also quote any args containing shell meta-characters.
   2379 # Make two passes to allow for proper duplicate-argument suppression.
   2380 ac_configure_args=
   2381 ac_configure_args0=
   2382 ac_configure_args1=
   2383 ac_must_keep_next=false
   2384 for ac_pass in 1 2
   2385 do
   2386   for ac_arg
   2387   do
   2388     case $ac_arg in
   2389     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2390     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2391     | -silent | --silent | --silen | --sile | --sil)
   2392       continue ;;
   2393     *\'*)
   2394       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2395     esac
   2396     case $ac_pass in
   2397     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2398     2)
   2399       as_fn_append ac_configure_args1 " '$ac_arg'"
   2400       if test $ac_must_keep_next = true; then
   2401 	ac_must_keep_next=false # Got value, back to normal.
   2402       else
   2403 	case $ac_arg in
   2404 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2405 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2406 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2407 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2408 	    case "$ac_configure_args0 " in
   2409 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2410 	    esac
   2411 	    ;;
   2412 	  -* ) ac_must_keep_next=true ;;
   2413 	esac
   2414       fi
   2415       as_fn_append ac_configure_args " '$ac_arg'"
   2416       ;;
   2417     esac
   2418   done
   2419 done
   2420 { ac_configure_args0=; unset ac_configure_args0;}
   2421 { ac_configure_args1=; unset ac_configure_args1;}
   2422 
   2423 # When interrupted or exit'd, cleanup temporary files, and complete
   2424 # config.log.  We remove comments because anyway the quotes in there
   2425 # would cause problems or look ugly.
   2426 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2428 trap 'exit_status=$?
   2429   # Save into config.log some information that might help in debugging.
   2430   {
   2431     echo
   2432 
   2433     $as_echo "## ---------------- ##
   2434 ## Cache variables. ##
   2435 ## ---------------- ##"
   2436     echo
   2437     # The following way of writing the cache mishandles newlines in values,
   2438 (
   2439   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2440     eval ac_val=\$$ac_var
   2441     case $ac_val in #(
   2442     *${as_nl}*)
   2443       case $ac_var in #(
   2444       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2446       esac
   2447       case $ac_var in #(
   2448       _ | IFS | as_nl) ;; #(
   2449       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2450       *) { eval $ac_var=; unset $ac_var;} ;;
   2451       esac ;;
   2452     esac
   2453   done
   2454   (set) 2>&1 |
   2455     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2456     *${as_nl}ac_space=\ *)
   2457       sed -n \
   2458 	"s/'\''/'\''\\\\'\'''\''/g;
   2459 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2460       ;; #(
   2461     *)
   2462       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2463       ;;
   2464     esac |
   2465     sort
   2466 )
   2467     echo
   2468 
   2469     $as_echo "## ----------------- ##
   2470 ## Output variables. ##
   2471 ## ----------------- ##"
   2472     echo
   2473     for ac_var in $ac_subst_vars
   2474     do
   2475       eval ac_val=\$$ac_var
   2476       case $ac_val in
   2477       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2478       esac
   2479       $as_echo "$ac_var='\''$ac_val'\''"
   2480     done | sort
   2481     echo
   2482 
   2483     if test -n "$ac_subst_files"; then
   2484       $as_echo "## ------------------- ##
   2485 ## File substitutions. ##
   2486 ## ------------------- ##"
   2487       echo
   2488       for ac_var in $ac_subst_files
   2489       do
   2490 	eval ac_val=\$$ac_var
   2491 	case $ac_val in
   2492 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2493 	esac
   2494 	$as_echo "$ac_var='\''$ac_val'\''"
   2495       done | sort
   2496       echo
   2497     fi
   2498 
   2499     if test -s confdefs.h; then
   2500       $as_echo "## ----------- ##
   2501 ## confdefs.h. ##
   2502 ## ----------- ##"
   2503       echo
   2504       cat confdefs.h
   2505       echo
   2506     fi
   2507     test "$ac_signal" != 0 &&
   2508       $as_echo "$as_me: caught signal $ac_signal"
   2509     $as_echo "$as_me: exit $exit_status"
   2510   } >&5
   2511   rm -f core *.core core.conftest.* &&
   2512     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2513     exit $exit_status
   2514 ' 0
   2515 for ac_signal in 1 2 13 15; do
   2516   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2517 done
   2518 ac_signal=0
   2519 
   2520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2521 rm -f -r conftest* confdefs.h
   2522 
   2523 $as_echo "/* confdefs.h */" > confdefs.h
   2524 
   2525 # Predefined preprocessor variables.
   2526 
   2527 cat >>confdefs.h <<_ACEOF
   2528 #define PACKAGE_NAME "$PACKAGE_NAME"
   2529 _ACEOF
   2530 
   2531 cat >>confdefs.h <<_ACEOF
   2532 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2533 _ACEOF
   2534 
   2535 cat >>confdefs.h <<_ACEOF
   2536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2537 _ACEOF
   2538 
   2539 cat >>confdefs.h <<_ACEOF
   2540 #define PACKAGE_STRING "$PACKAGE_STRING"
   2541 _ACEOF
   2542 
   2543 cat >>confdefs.h <<_ACEOF
   2544 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2545 _ACEOF
   2546 
   2547 cat >>confdefs.h <<_ACEOF
   2548 #define PACKAGE_URL "$PACKAGE_URL"
   2549 _ACEOF
   2550 
   2551 
   2552 # Let the site file select an alternate cache file if it wants to.
   2553 # Prefer an explicitly selected file to automatically selected ones.
   2554 ac_site_file1=NONE
   2555 ac_site_file2=NONE
   2556 if test -n "$CONFIG_SITE"; then
   2557   # We do not want a PATH search for config.site.
   2558   case $CONFIG_SITE in #((
   2559     -*)  ac_site_file1=./$CONFIG_SITE;;
   2560     */*) ac_site_file1=$CONFIG_SITE;;
   2561     *)   ac_site_file1=./$CONFIG_SITE;;
   2562   esac
   2563 elif test "x$prefix" != xNONE; then
   2564   ac_site_file1=$prefix/share/config.site
   2565   ac_site_file2=$prefix/etc/config.site
   2566 else
   2567   ac_site_file1=$ac_default_prefix/share/config.site
   2568   ac_site_file2=$ac_default_prefix/etc/config.site
   2569 fi
   2570 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2571 do
   2572   test "x$ac_site_file" = xNONE && continue
   2573   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2574     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2575 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2576     sed 's/^/| /' "$ac_site_file" >&5
   2577     . "$ac_site_file" \
   2578       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2580 as_fn_error $? "failed to load site script $ac_site_file
   2581 See \`config.log' for more details" "$LINENO" 5; }
   2582   fi
   2583 done
   2584 
   2585 if test -r "$cache_file"; then
   2586   # Some versions of bash will fail to source /dev/null (special files
   2587   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2588   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2589     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2590 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2591     case $cache_file in
   2592       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2593       *)                      . "./$cache_file";;
   2594     esac
   2595   fi
   2596 else
   2597   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2598 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2599   >$cache_file
   2600 fi
   2601 
   2602 # Check that the precious variables saved in the cache have kept the same
   2603 # value.
   2604 ac_cache_corrupted=false
   2605 for ac_var in $ac_precious_vars; do
   2606   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2607   eval ac_new_set=\$ac_env_${ac_var}_set
   2608   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2609   eval ac_new_val=\$ac_env_${ac_var}_value
   2610   case $ac_old_set,$ac_new_set in
   2611     set,)
   2612       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2613 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2614       ac_cache_corrupted=: ;;
   2615     ,set)
   2616       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2617 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2618       ac_cache_corrupted=: ;;
   2619     ,);;
   2620     *)
   2621       if test "x$ac_old_val" != "x$ac_new_val"; then
   2622 	# differences in whitespace do not lead to failure.
   2623 	ac_old_val_w=`echo x $ac_old_val`
   2624 	ac_new_val_w=`echo x $ac_new_val`
   2625 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2626 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2628 	  ac_cache_corrupted=:
   2629 	else
   2630 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2632 	  eval $ac_var=\$ac_old_val
   2633 	fi
   2634 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2635 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2636 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2637 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2638       fi;;
   2639   esac
   2640   # Pass precious variables to config.status.
   2641   if test "$ac_new_set" = set; then
   2642     case $ac_new_val in
   2643     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2644     *) ac_arg=$ac_var=$ac_new_val ;;
   2645     esac
   2646     case " $ac_configure_args " in
   2647       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2648       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2649     esac
   2650   fi
   2651 done
   2652 if $ac_cache_corrupted; then
   2653   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2655   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2657   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2658 fi
   2659 ## -------------------- ##
   2660 ## Main body of script. ##
   2661 ## -------------------- ##
   2662 
   2663 ac_ext=c
   2664 ac_cpp='$CPP $CPPFLAGS'
   2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2668 
   2669 
   2670 am__api_version='1.11'
   2671 
   2672 ac_aux_dir=
   2673 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2674   if test -f "$ac_dir/install-sh"; then
   2675     ac_aux_dir=$ac_dir
   2676     ac_install_sh="$ac_aux_dir/install-sh -c"
   2677     break
   2678   elif test -f "$ac_dir/install.sh"; then
   2679     ac_aux_dir=$ac_dir
   2680     ac_install_sh="$ac_aux_dir/install.sh -c"
   2681     break
   2682   elif test -f "$ac_dir/shtool"; then
   2683     ac_aux_dir=$ac_dir
   2684     ac_install_sh="$ac_aux_dir/shtool install -c"
   2685     break
   2686   fi
   2687 done
   2688 if test -z "$ac_aux_dir"; then
   2689   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2690 fi
   2691 
   2692 # These three variables are undocumented and unsupported,
   2693 # and are intended to be withdrawn in a future Autoconf release.
   2694 # They can cause serious problems if a builder's source tree is in a directory
   2695 # whose full name contains unusual characters.
   2696 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2697 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2698 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2699 
   2700 
   2701 # Find a good install program.  We prefer a C program (faster),
   2702 # so one script is as good as another.  But avoid the broken or
   2703 # incompatible versions:
   2704 # SysV /etc/install, /usr/sbin/install
   2705 # SunOS /usr/etc/install
   2706 # IRIX /sbin/install
   2707 # AIX /bin/install
   2708 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2709 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2710 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2711 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2712 # OS/2's system install, which has a completely different semantic
   2713 # ./install, which can be erroneously created by make from ./install.sh.
   2714 # Reject install programs that cannot install multiple files.
   2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2716 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2717 if test -z "$INSTALL"; then
   2718 if ${ac_cv_path_install+:} false; then :
   2719   $as_echo_n "(cached) " >&6
   2720 else
   2721   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2722 for as_dir in $PATH
   2723 do
   2724   IFS=$as_save_IFS
   2725   test -z "$as_dir" && as_dir=.
   2726     # Account for people who put trailing slashes in PATH elements.
   2727 case $as_dir/ in #((
   2728   ./ | .// | /[cC]/* | \
   2729   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2730   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2731   /usr/ucb/* ) ;;
   2732   *)
   2733     # OSF1 and SCO ODT 3.0 have their own names for install.
   2734     # Don't use installbsd from OSF since it installs stuff as root
   2735     # by default.
   2736     for ac_prog in ginstall scoinst install; do
   2737       for ac_exec_ext in '' $ac_executable_extensions; do
   2738 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2739 	  if test $ac_prog = install &&
   2740 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2741 	    # AIX install.  It has an incompatible calling convention.
   2742 	    :
   2743 	  elif test $ac_prog = install &&
   2744 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2745 	    # program-specific install script used by HP pwplus--don't use.
   2746 	    :
   2747 	  else
   2748 	    rm -rf conftest.one conftest.two conftest.dir
   2749 	    echo one > conftest.one
   2750 	    echo two > conftest.two
   2751 	    mkdir conftest.dir
   2752 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2753 	      test -s conftest.one && test -s conftest.two &&
   2754 	      test -s conftest.dir/conftest.one &&
   2755 	      test -s conftest.dir/conftest.two
   2756 	    then
   2757 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2758 	      break 3
   2759 	    fi
   2760 	  fi
   2761 	fi
   2762       done
   2763     done
   2764     ;;
   2765 esac
   2766 
   2767   done
   2768 IFS=$as_save_IFS
   2769 
   2770 rm -rf conftest.one conftest.two conftest.dir
   2771 
   2772 fi
   2773   if test "${ac_cv_path_install+set}" = set; then
   2774     INSTALL=$ac_cv_path_install
   2775   else
   2776     # As a last resort, use the slow shell script.  Don't cache a
   2777     # value for INSTALL within a source directory, because that will
   2778     # break other packages using the cache if that directory is
   2779     # removed, or if the value is a relative name.
   2780     INSTALL=$ac_install_sh
   2781   fi
   2782 fi
   2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2784 $as_echo "$INSTALL" >&6; }
   2785 
   2786 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2787 # It thinks the first close brace ends the variable substitution.
   2788 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2789 
   2790 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2791 
   2792 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2793 
   2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2795 $as_echo_n "checking whether build environment is sane... " >&6; }
   2796 # Just in case
   2797 sleep 1
   2798 echo timestamp > conftest.file
   2799 # Reject unsafe characters in $srcdir or the absolute working directory
   2800 # name.  Accept space and tab only in the latter.
   2801 am_lf='
   2802 '
   2803 case `pwd` in
   2804   *[\\\"\#\$\&\'\`$am_lf]*)
   2805     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2806 esac
   2807 case $srcdir in
   2808   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2809     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2810 esac
   2811 
   2812 # Do `set' in a subshell so we don't clobber the current shell's
   2813 # arguments.  Must try -L first in case configure is actually a
   2814 # symlink; some systems play weird games with the mod time of symlinks
   2815 # (eg FreeBSD returns the mod time of the symlink's containing
   2816 # directory).
   2817 if (
   2818    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2819    if test "$*" = "X"; then
   2820       # -L didn't work.
   2821       set X `ls -t "$srcdir/configure" conftest.file`
   2822    fi
   2823    rm -f conftest.file
   2824    if test "$*" != "X $srcdir/configure conftest.file" \
   2825       && test "$*" != "X conftest.file $srcdir/configure"; then
   2826 
   2827       # If neither matched, then we have a broken ls.  This can happen
   2828       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2829       # broken ls alias from the environment.  This has actually
   2830       # happened.  Such a system could not be considered "sane".
   2831       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2832 alias in your environment" "$LINENO" 5
   2833    fi
   2834 
   2835    test "$2" = conftest.file
   2836    )
   2837 then
   2838    # Ok.
   2839    :
   2840 else
   2841    as_fn_error $? "newly created file is older than distributed files!
   2842 Check your system clock" "$LINENO" 5
   2843 fi
   2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2845 $as_echo "yes" >&6; }
   2846 test "$program_prefix" != NONE &&
   2847   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2848 # Use a double $ so make ignores it.
   2849 test "$program_suffix" != NONE &&
   2850   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2851 # Double any \ or $.
   2852 # By default was `s,x,x', remove it if useless.
   2853 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2854 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2855 
   2856 # expand $ac_aux_dir to an absolute path
   2857 am_aux_dir=`cd $ac_aux_dir && pwd`
   2858 
   2859 if test x"${MISSING+set}" != xset; then
   2860   case $am_aux_dir in
   2861   *\ * | *\	*)
   2862     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2863   *)
   2864     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2865   esac
   2866 fi
   2867 # Use eval to expand $SHELL
   2868 if eval "$MISSING --run true"; then
   2869   am_missing_run="$MISSING --run "
   2870 else
   2871   am_missing_run=
   2872   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2873 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2874 fi
   2875 
   2876 if test x"${install_sh}" != xset; then
   2877   case $am_aux_dir in
   2878   *\ * | *\	*)
   2879     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2880   *)
   2881     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2882   esac
   2883 fi
   2884 
   2885 # Installed binaries are usually stripped using `strip' when the user
   2886 # run `make install-strip'.  However `strip' might not be the right
   2887 # tool to use in cross-compilation environments, therefore Automake
   2888 # will honor the `STRIP' environment variable to overrule this program.
   2889 if test "$cross_compiling" != no; then
   2890   if test -n "$ac_tool_prefix"; then
   2891   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2892 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2894 $as_echo_n "checking for $ac_word... " >&6; }
   2895 if ${ac_cv_prog_STRIP+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   if test -n "$STRIP"; then
   2899   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2900 else
   2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2902 for as_dir in $PATH
   2903 do
   2904   IFS=$as_save_IFS
   2905   test -z "$as_dir" && as_dir=.
   2906     for ac_exec_ext in '' $ac_executable_extensions; do
   2907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2908     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2910     break 2
   2911   fi
   2912 done
   2913   done
   2914 IFS=$as_save_IFS
   2915 
   2916 fi
   2917 fi
   2918 STRIP=$ac_cv_prog_STRIP
   2919 if test -n "$STRIP"; then
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2921 $as_echo "$STRIP" >&6; }
   2922 else
   2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2924 $as_echo "no" >&6; }
   2925 fi
   2926 
   2927 
   2928 fi
   2929 if test -z "$ac_cv_prog_STRIP"; then
   2930   ac_ct_STRIP=$STRIP
   2931   # Extract the first word of "strip", so it can be a program name with args.
   2932 set dummy strip; ac_word=$2
   2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2934 $as_echo_n "checking for $ac_word... " >&6; }
   2935 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2936   $as_echo_n "(cached) " >&6
   2937 else
   2938   if test -n "$ac_ct_STRIP"; then
   2939   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2940 else
   2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2942 for as_dir in $PATH
   2943 do
   2944   IFS=$as_save_IFS
   2945   test -z "$as_dir" && as_dir=.
   2946     for ac_exec_ext in '' $ac_executable_extensions; do
   2947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2948     ac_cv_prog_ac_ct_STRIP="strip"
   2949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2950     break 2
   2951   fi
   2952 done
   2953   done
   2954 IFS=$as_save_IFS
   2955 
   2956 fi
   2957 fi
   2958 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2959 if test -n "$ac_ct_STRIP"; then
   2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2961 $as_echo "$ac_ct_STRIP" >&6; }
   2962 else
   2963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2964 $as_echo "no" >&6; }
   2965 fi
   2966 
   2967   if test "x$ac_ct_STRIP" = x; then
   2968     STRIP=":"
   2969   else
   2970     case $cross_compiling:$ac_tool_warned in
   2971 yes:)
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2974 ac_tool_warned=yes ;;
   2975 esac
   2976     STRIP=$ac_ct_STRIP
   2977   fi
   2978 else
   2979   STRIP="$ac_cv_prog_STRIP"
   2980 fi
   2981 
   2982 fi
   2983 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2984 
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2986 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2987 if test -z "$MKDIR_P"; then
   2988   if ${ac_cv_path_mkdir+:} false; then :
   2989   $as_echo_n "(cached) " >&6
   2990 else
   2991   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2992 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2993 do
   2994   IFS=$as_save_IFS
   2995   test -z "$as_dir" && as_dir=.
   2996     for ac_prog in mkdir gmkdir; do
   2997 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2998 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2999 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3000 	     'mkdir (GNU coreutils) '* | \
   3001 	     'mkdir (coreutils) '* | \
   3002 	     'mkdir (fileutils) '4.1*)
   3003 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3004 	       break 3;;
   3005 	   esac
   3006 	 done
   3007        done
   3008   done
   3009 IFS=$as_save_IFS
   3010 
   3011 fi
   3012 
   3013   test -d ./--version && rmdir ./--version
   3014   if test "${ac_cv_path_mkdir+set}" = set; then
   3015     MKDIR_P="$ac_cv_path_mkdir -p"
   3016   else
   3017     # As a last resort, use the slow shell script.  Don't cache a
   3018     # value for MKDIR_P within a source directory, because that will
   3019     # break other packages using the cache if that directory is
   3020     # removed, or if the value is a relative name.
   3021     MKDIR_P="$ac_install_sh -d"
   3022   fi
   3023 fi
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3025 $as_echo "$MKDIR_P" >&6; }
   3026 
   3027 mkdir_p="$MKDIR_P"
   3028 case $mkdir_p in
   3029   [\\/$]* | ?:[\\/]*) ;;
   3030   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   3031 esac
   3032 
   3033 for ac_prog in gawk mawk nawk awk
   3034 do
   3035   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3036 set dummy $ac_prog; ac_word=$2
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3038 $as_echo_n "checking for $ac_word... " >&6; }
   3039 if ${ac_cv_prog_AWK+:} false; then :
   3040   $as_echo_n "(cached) " >&6
   3041 else
   3042   if test -n "$AWK"; then
   3043   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3044 else
   3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3046 for as_dir in $PATH
   3047 do
   3048   IFS=$as_save_IFS
   3049   test -z "$as_dir" && as_dir=.
   3050     for ac_exec_ext in '' $ac_executable_extensions; do
   3051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3052     ac_cv_prog_AWK="$ac_prog"
   3053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3054     break 2
   3055   fi
   3056 done
   3057   done
   3058 IFS=$as_save_IFS
   3059 
   3060 fi
   3061 fi
   3062 AWK=$ac_cv_prog_AWK
   3063 if test -n "$AWK"; then
   3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3065 $as_echo "$AWK" >&6; }
   3066 else
   3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3068 $as_echo "no" >&6; }
   3069 fi
   3070 
   3071 
   3072   test -n "$AWK" && break
   3073 done
   3074 
   3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3076 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3077 set x ${MAKE-make}
   3078 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3079 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3080   $as_echo_n "(cached) " >&6
   3081 else
   3082   cat >conftest.make <<\_ACEOF
   3083 SHELL = /bin/sh
   3084 all:
   3085 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3086 _ACEOF
   3087 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3088 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3089   *@@@%%%=?*=@@@%%%*)
   3090     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3091   *)
   3092     eval ac_cv_prog_make_${ac_make}_set=no;;
   3093 esac
   3094 rm -f conftest.make
   3095 fi
   3096 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3098 $as_echo "yes" >&6; }
   3099   SET_MAKE=
   3100 else
   3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3102 $as_echo "no" >&6; }
   3103   SET_MAKE="MAKE=${MAKE-make}"
   3104 fi
   3105 
   3106 rm -rf .tst 2>/dev/null
   3107 mkdir .tst 2>/dev/null
   3108 if test -d .tst; then
   3109   am__leading_dot=.
   3110 else
   3111   am__leading_dot=_
   3112 fi
   3113 rmdir .tst 2>/dev/null
   3114 
   3115 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3116   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3117   # is not polluted with repeated "-I."
   3118   am__isrc=' -I$(srcdir)'
   3119   # test to see if srcdir already configured
   3120   if test -f $srcdir/config.status; then
   3121     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3122   fi
   3123 fi
   3124 
   3125 # test whether we have cygpath
   3126 if test -z "$CYGPATH_W"; then
   3127   if (cygpath --version) >/dev/null 2>/dev/null; then
   3128     CYGPATH_W='cygpath -w'
   3129   else
   3130     CYGPATH_W=echo
   3131   fi
   3132 fi
   3133 
   3134 
   3135 # Define the identity of the package.
   3136  PACKAGE='file'
   3137  VERSION='5.09'
   3138 
   3139 
   3140 cat >>confdefs.h <<_ACEOF
   3141 #define PACKAGE "$PACKAGE"
   3142 _ACEOF
   3143 
   3144 
   3145 cat >>confdefs.h <<_ACEOF
   3146 #define VERSION "$VERSION"
   3147 _ACEOF
   3148 
   3149 # Some tools Automake needs.
   3150 
   3151 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3152 
   3153 
   3154 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3155 
   3156 
   3157 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3158 
   3159 
   3160 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3161 
   3162 
   3163 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3164 
   3165 # We need awk for the "check" target.  The system "awk" is bad on
   3166 # some platforms.
   3167 # Always define AMTAR for backward compatibility.
   3168 
   3169 AMTAR=${AMTAR-"${am_missing_run}tar"}
   3170 
   3171 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3172 
   3173 
   3174 
   3175 
   3176 
   3177 # Check whether --enable-silent-rules was given.
   3178 if test "${enable_silent_rules+set}" = set; then :
   3179   enableval=$enable_silent_rules;
   3180 fi
   3181 
   3182 case $enable_silent_rules in
   3183 yes) AM_DEFAULT_VERBOSITY=0;;
   3184 no)  AM_DEFAULT_VERBOSITY=1;;
   3185 *)   AM_DEFAULT_VERBOSITY=0;;
   3186 esac
   3187 AM_BACKSLASH='\'
   3188 
   3189 
   3190 ac_config_headers="$ac_config_headers config.h"
   3191 
   3192 
   3193 
   3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for builtin ELF support" >&5
   3195 $as_echo_n "checking for builtin ELF support... " >&6; }
   3196 # Check whether --enable-elf was given.
   3197 if test "${enable_elf+set}" = set; then :
   3198   enableval=$enable_elf; if test "${enableval}" = yes; then
   3199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3200 $as_echo "yes" >&6; }
   3201 
   3202 $as_echo "#define BUILTIN_ELF 1" >>confdefs.h
   3203 
   3204 else
   3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3206 $as_echo "no" >&6; }
   3207 fi
   3208 else
   3209 
   3210   # enable by default
   3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3212 $as_echo "yes" >&6; }
   3213 
   3214 $as_echo "#define BUILTIN_ELF 1" >>confdefs.h
   3215 
   3216 
   3217 fi
   3218 
   3219 
   3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF core file support" >&5
   3221 $as_echo_n "checking for ELF core file support... " >&6; }
   3222 # Check whether --enable-elf-core was given.
   3223 if test "${enable_elf_core+set}" = set; then :
   3224   enableval=$enable_elf_core; if test "${enableval}" = yes; then
   3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3226 $as_echo "yes" >&6; }
   3227 
   3228 $as_echo "#define ELFCORE 1" >>confdefs.h
   3229 
   3230 else
   3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3232 $as_echo "no" >&6; }
   3233 fi
   3234 else
   3235 
   3236   # enable by default
   3237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3238 $as_echo "yes" >&6; }
   3239 
   3240 $as_echo "#define ELFCORE 1" >>confdefs.h
   3241 
   3242 
   3243 fi
   3244 
   3245 
   3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file formats in man section 5" >&5
   3247 $as_echo_n "checking for file formats in man section 5... " >&6; }
   3248 # Check whether --enable-fsect-man5 was given.
   3249 if test "${enable_fsect_man5+set}" = set; then :
   3250   enableval=$enable_fsect_man5; if test "${enableval}" = yes; then
   3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3252 $as_echo "yes" >&6; }
   3253   fsect=5
   3254 else
   3255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3256 $as_echo "no" >&6; }
   3257   fsect=4
   3258 fi
   3259 else
   3260 
   3261   # disable by default
   3262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3263 $as_echo "no" >&6; }
   3264   fsect=4
   3265 
   3266 fi
   3267 
   3268 
   3269 # Make sure we can run config.sub.
   3270 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3271   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3272 
   3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3274 $as_echo_n "checking build system type... " >&6; }
   3275 if ${ac_cv_build+:} false; then :
   3276   $as_echo_n "(cached) " >&6
   3277 else
   3278   ac_build_alias=$build_alias
   3279 test "x$ac_build_alias" = x &&
   3280   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3281 test "x$ac_build_alias" = x &&
   3282   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3283 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3284   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3285 
   3286 fi
   3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3288 $as_echo "$ac_cv_build" >&6; }
   3289 case $ac_cv_build in
   3290 *-*-*) ;;
   3291 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3292 esac
   3293 build=$ac_cv_build
   3294 ac_save_IFS=$IFS; IFS='-'
   3295 set x $ac_cv_build
   3296 shift
   3297 build_cpu=$1
   3298 build_vendor=$2
   3299 shift; shift
   3300 # Remember, the first character of IFS is used to create $*,
   3301 # except with old shells:
   3302 build_os=$*
   3303 IFS=$ac_save_IFS
   3304 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3305 
   3306 
   3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3308 $as_echo_n "checking host system type... " >&6; }
   3309 if ${ac_cv_host+:} false; then :
   3310   $as_echo_n "(cached) " >&6
   3311 else
   3312   if test "x$host_alias" = x; then
   3313   ac_cv_host=$ac_cv_build
   3314 else
   3315   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3316     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3317 fi
   3318 
   3319 fi
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3321 $as_echo "$ac_cv_host" >&6; }
   3322 case $ac_cv_host in
   3323 *-*-*) ;;
   3324 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3325 esac
   3326 host=$ac_cv_host
   3327 ac_save_IFS=$IFS; IFS='-'
   3328 set x $ac_cv_host
   3329 shift
   3330 host_cpu=$1
   3331 host_vendor=$2
   3332 shift; shift
   3333 # Remember, the first character of IFS is used to create $*,
   3334 # except with old shells:
   3335 host_os=$*
   3336 IFS=$ac_save_IFS
   3337 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3338 
   3339 
   3340 case "$host_os" in
   3341    mingw32*)
   3342       MINGW=1
   3343       ;;
   3344    *)
   3345       MINGW=0
   3346       ;;
   3347 esac
   3348 
   3349  if test "$MINGW" = 1; then
   3350   MINGW_TRUE=
   3351   MINGW_FALSE='#'
   3352 else
   3353   MINGW_TRUE='#'
   3354   MINGW_FALSE=
   3355 fi
   3356 
   3357 
   3358 pkgdatadir='$(datadir)/misc'
   3359 
   3360 
   3361  if test x$fsect = x5; then
   3362   FSECT5_TRUE=
   3363   FSECT5_FALSE='#'
   3364 else
   3365   FSECT5_TRUE='#'
   3366   FSECT5_FALSE=
   3367 fi
   3368 
   3369 
   3370 
   3371 DEPDIR="${am__leading_dot}deps"
   3372 
   3373 ac_config_commands="$ac_config_commands depfiles"
   3374 
   3375 
   3376 am_make=${MAKE-make}
   3377 cat > confinc << 'END'
   3378 am__doit:
   3379 	@echo this is the am__doit target
   3380 .PHONY: am__doit
   3381 END
   3382 # If we don't find an include directive, just comment out the code.
   3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3384 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3385 am__include="#"
   3386 am__quote=
   3387 _am_result=none
   3388 # First try GNU make style include.
   3389 echo "include confinc" > confmf
   3390 # Ignore all kinds of additional output from `make'.
   3391 case `$am_make -s -f confmf 2> /dev/null` in #(
   3392 *the\ am__doit\ target*)
   3393   am__include=include
   3394   am__quote=
   3395   _am_result=GNU
   3396   ;;
   3397 esac
   3398 # Now try BSD make style include.
   3399 if test "$am__include" = "#"; then
   3400    echo '.include "confinc"' > confmf
   3401    case `$am_make -s -f confmf 2> /dev/null` in #(
   3402    *the\ am__doit\ target*)
   3403      am__include=.include
   3404      am__quote="\""
   3405      _am_result=BSD
   3406      ;;
   3407    esac
   3408 fi
   3409 
   3410 
   3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3412 $as_echo "$_am_result" >&6; }
   3413 rm -f confinc confmf
   3414 
   3415 # Check whether --enable-dependency-tracking was given.
   3416 if test "${enable_dependency_tracking+set}" = set; then :
   3417   enableval=$enable_dependency_tracking;
   3418 fi
   3419 
   3420 if test "x$enable_dependency_tracking" != xno; then
   3421   am_depcomp="$ac_aux_dir/depcomp"
   3422   AMDEPBACKSLASH='\'
   3423 fi
   3424  if test "x$enable_dependency_tracking" != xno; then
   3425   AMDEP_TRUE=
   3426   AMDEP_FALSE='#'
   3427 else
   3428   AMDEP_TRUE='#'
   3429   AMDEP_FALSE=
   3430 fi
   3431 
   3432 
   3433 ac_ext=c
   3434 ac_cpp='$CPP $CPPFLAGS'
   3435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3438 if test -n "$ac_tool_prefix"; then
   3439   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3440 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3442 $as_echo_n "checking for $ac_word... " >&6; }
   3443 if ${ac_cv_prog_CC+:} false; then :
   3444   $as_echo_n "(cached) " >&6
   3445 else
   3446   if test -n "$CC"; then
   3447   ac_cv_prog_CC="$CC" # Let the user override the test.
   3448 else
   3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3450 for as_dir in $PATH
   3451 do
   3452   IFS=$as_save_IFS
   3453   test -z "$as_dir" && as_dir=.
   3454     for ac_exec_ext in '' $ac_executable_extensions; do
   3455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3456     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3458     break 2
   3459   fi
   3460 done
   3461   done
   3462 IFS=$as_save_IFS
   3463 
   3464 fi
   3465 fi
   3466 CC=$ac_cv_prog_CC
   3467 if test -n "$CC"; then
   3468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3469 $as_echo "$CC" >&6; }
   3470 else
   3471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3472 $as_echo "no" >&6; }
   3473 fi
   3474 
   3475 
   3476 fi
   3477 if test -z "$ac_cv_prog_CC"; then
   3478   ac_ct_CC=$CC
   3479   # Extract the first word of "gcc", so it can be a program name with args.
   3480 set dummy gcc; ac_word=$2
   3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3482 $as_echo_n "checking for $ac_word... " >&6; }
   3483 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3484   $as_echo_n "(cached) " >&6
   3485 else
   3486   if test -n "$ac_ct_CC"; then
   3487   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3488 else
   3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3490 for as_dir in $PATH
   3491 do
   3492   IFS=$as_save_IFS
   3493   test -z "$as_dir" && as_dir=.
   3494     for ac_exec_ext in '' $ac_executable_extensions; do
   3495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3496     ac_cv_prog_ac_ct_CC="gcc"
   3497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3498     break 2
   3499   fi
   3500 done
   3501   done
   3502 IFS=$as_save_IFS
   3503 
   3504 fi
   3505 fi
   3506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3507 if test -n "$ac_ct_CC"; then
   3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3509 $as_echo "$ac_ct_CC" >&6; }
   3510 else
   3511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3512 $as_echo "no" >&6; }
   3513 fi
   3514 
   3515   if test "x$ac_ct_CC" = x; then
   3516     CC=""
   3517   else
   3518     case $cross_compiling:$ac_tool_warned in
   3519 yes:)
   3520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3522 ac_tool_warned=yes ;;
   3523 esac
   3524     CC=$ac_ct_CC
   3525   fi
   3526 else
   3527   CC="$ac_cv_prog_CC"
   3528 fi
   3529 
   3530 if test -z "$CC"; then
   3531           if test -n "$ac_tool_prefix"; then
   3532     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3533 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3535 $as_echo_n "checking for $ac_word... " >&6; }
   3536 if ${ac_cv_prog_CC+:} false; then :
   3537   $as_echo_n "(cached) " >&6
   3538 else
   3539   if test -n "$CC"; then
   3540   ac_cv_prog_CC="$CC" # Let the user override the test.
   3541 else
   3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3543 for as_dir in $PATH
   3544 do
   3545   IFS=$as_save_IFS
   3546   test -z "$as_dir" && as_dir=.
   3547     for ac_exec_ext in '' $ac_executable_extensions; do
   3548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3549     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3551     break 2
   3552   fi
   3553 done
   3554   done
   3555 IFS=$as_save_IFS
   3556 
   3557 fi
   3558 fi
   3559 CC=$ac_cv_prog_CC
   3560 if test -n "$CC"; then
   3561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3562 $as_echo "$CC" >&6; }
   3563 else
   3564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3565 $as_echo "no" >&6; }
   3566 fi
   3567 
   3568 
   3569   fi
   3570 fi
   3571 if test -z "$CC"; then
   3572   # Extract the first word of "cc", so it can be a program name with args.
   3573 set dummy cc; ac_word=$2
   3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3575 $as_echo_n "checking for $ac_word... " >&6; }
   3576 if ${ac_cv_prog_CC+:} false; then :
   3577   $as_echo_n "(cached) " >&6
   3578 else
   3579   if test -n "$CC"; then
   3580   ac_cv_prog_CC="$CC" # Let the user override the test.
   3581 else
   3582   ac_prog_rejected=no
   3583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3584 for as_dir in $PATH
   3585 do
   3586   IFS=$as_save_IFS
   3587   test -z "$as_dir" && as_dir=.
   3588     for ac_exec_ext in '' $ac_executable_extensions; do
   3589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3590     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3591        ac_prog_rejected=yes
   3592        continue
   3593      fi
   3594     ac_cv_prog_CC="cc"
   3595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3596     break 2
   3597   fi
   3598 done
   3599   done
   3600 IFS=$as_save_IFS
   3601 
   3602 if test $ac_prog_rejected = yes; then
   3603   # We found a bogon in the path, so make sure we never use it.
   3604   set dummy $ac_cv_prog_CC
   3605   shift
   3606   if test $# != 0; then
   3607     # We chose a different compiler from the bogus one.
   3608     # However, it has the same basename, so the bogon will be chosen
   3609     # first if we set CC to just the basename; use the full file name.
   3610     shift
   3611     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3612   fi
   3613 fi
   3614 fi
   3615 fi
   3616 CC=$ac_cv_prog_CC
   3617 if test -n "$CC"; then
   3618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3619 $as_echo "$CC" >&6; }
   3620 else
   3621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3622 $as_echo "no" >&6; }
   3623 fi
   3624 
   3625 
   3626 fi
   3627 if test -z "$CC"; then
   3628   if test -n "$ac_tool_prefix"; then
   3629   for ac_prog in cl.exe
   3630   do
   3631     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3634 $as_echo_n "checking for $ac_word... " >&6; }
   3635 if ${ac_cv_prog_CC+:} false; then :
   3636   $as_echo_n "(cached) " >&6
   3637 else
   3638   if test -n "$CC"; then
   3639   ac_cv_prog_CC="$CC" # Let the user override the test.
   3640 else
   3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3642 for as_dir in $PATH
   3643 do
   3644   IFS=$as_save_IFS
   3645   test -z "$as_dir" && as_dir=.
   3646     for ac_exec_ext in '' $ac_executable_extensions; do
   3647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3648     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3650     break 2
   3651   fi
   3652 done
   3653   done
   3654 IFS=$as_save_IFS
   3655 
   3656 fi
   3657 fi
   3658 CC=$ac_cv_prog_CC
   3659 if test -n "$CC"; then
   3660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3661 $as_echo "$CC" >&6; }
   3662 else
   3663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3664 $as_echo "no" >&6; }
   3665 fi
   3666 
   3667 
   3668     test -n "$CC" && break
   3669   done
   3670 fi
   3671 if test -z "$CC"; then
   3672   ac_ct_CC=$CC
   3673   for ac_prog in cl.exe
   3674 do
   3675   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3676 set dummy $ac_prog; ac_word=$2
   3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3678 $as_echo_n "checking for $ac_word... " >&6; }
   3679 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3680   $as_echo_n "(cached) " >&6
   3681 else
   3682   if test -n "$ac_ct_CC"; then
   3683   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3684 else
   3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3686 for as_dir in $PATH
   3687 do
   3688   IFS=$as_save_IFS
   3689   test -z "$as_dir" && as_dir=.
   3690     for ac_exec_ext in '' $ac_executable_extensions; do
   3691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3692     ac_cv_prog_ac_ct_CC="$ac_prog"
   3693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3694     break 2
   3695   fi
   3696 done
   3697   done
   3698 IFS=$as_save_IFS
   3699 
   3700 fi
   3701 fi
   3702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3703 if test -n "$ac_ct_CC"; then
   3704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3705 $as_echo "$ac_ct_CC" >&6; }
   3706 else
   3707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3708 $as_echo "no" >&6; }
   3709 fi
   3710 
   3711 
   3712   test -n "$ac_ct_CC" && break
   3713 done
   3714 
   3715   if test "x$ac_ct_CC" = x; then
   3716     CC=""
   3717   else
   3718     case $cross_compiling:$ac_tool_warned in
   3719 yes:)
   3720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3722 ac_tool_warned=yes ;;
   3723 esac
   3724     CC=$ac_ct_CC
   3725   fi
   3726 fi
   3727 
   3728 fi
   3729 
   3730 
   3731 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3733 as_fn_error $? "no acceptable C compiler found in \$PATH
   3734 See \`config.log' for more details" "$LINENO" 5; }
   3735 
   3736 # Provide some information about the compiler.
   3737 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3738 set X $ac_compile
   3739 ac_compiler=$2
   3740 for ac_option in --version -v -V -qversion; do
   3741   { { ac_try="$ac_compiler $ac_option >&5"
   3742 case "(($ac_try" in
   3743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3744   *) ac_try_echo=$ac_try;;
   3745 esac
   3746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3747 $as_echo "$ac_try_echo"; } >&5
   3748   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3749   ac_status=$?
   3750   if test -s conftest.err; then
   3751     sed '10a\
   3752 ... rest of stderr output deleted ...
   3753          10q' conftest.err >conftest.er1
   3754     cat conftest.er1 >&5
   3755   fi
   3756   rm -f conftest.er1 conftest.err
   3757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3758   test $ac_status = 0; }
   3759 done
   3760 
   3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3762 /* end confdefs.h.  */
   3763 
   3764 int
   3765 main ()
   3766 {
   3767 
   3768   ;
   3769   return 0;
   3770 }
   3771 _ACEOF
   3772 ac_clean_files_save=$ac_clean_files
   3773 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3774 # Try to create an executable without -o first, disregard a.out.
   3775 # It will help us diagnose broken compilers, and finding out an intuition
   3776 # of exeext.
   3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3778 $as_echo_n "checking whether the C compiler works... " >&6; }
   3779 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3780 
   3781 # The possible output files:
   3782 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3783 
   3784 ac_rmfiles=
   3785 for ac_file in $ac_files
   3786 do
   3787   case $ac_file in
   3788     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3789     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3790   esac
   3791 done
   3792 rm -f $ac_rmfiles
   3793 
   3794 if { { ac_try="$ac_link_default"
   3795 case "(($ac_try" in
   3796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3797   *) ac_try_echo=$ac_try;;
   3798 esac
   3799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3800 $as_echo "$ac_try_echo"; } >&5
   3801   (eval "$ac_link_default") 2>&5
   3802   ac_status=$?
   3803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3804   test $ac_status = 0; }; then :
   3805   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3806 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3807 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3808 # so that the user can short-circuit this test for compilers unknown to
   3809 # Autoconf.
   3810 for ac_file in $ac_files ''
   3811 do
   3812   test -f "$ac_file" || continue
   3813   case $ac_file in
   3814     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3815 	;;
   3816     [ab].out )
   3817 	# We found the default executable, but exeext='' is most
   3818 	# certainly right.
   3819 	break;;
   3820     *.* )
   3821 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3822 	then :; else
   3823 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3824 	fi
   3825 	# We set ac_cv_exeext here because the later test for it is not
   3826 	# safe: cross compilers may not add the suffix if given an `-o'
   3827 	# argument, so we may need to know it at that point already.
   3828 	# Even if this section looks crufty: it has the advantage of
   3829 	# actually working.
   3830 	break;;
   3831     * )
   3832 	break;;
   3833   esac
   3834 done
   3835 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3836 
   3837 else
   3838   ac_file=''
   3839 fi
   3840 if test -z "$ac_file"; then :
   3841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3842 $as_echo "no" >&6; }
   3843 $as_echo "$as_me: failed program was:" >&5
   3844 sed 's/^/| /' conftest.$ac_ext >&5
   3845 
   3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3848 as_fn_error 77 "C compiler cannot create executables
   3849 See \`config.log' for more details" "$LINENO" 5; }
   3850 else
   3851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3852 $as_echo "yes" >&6; }
   3853 fi
   3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3855 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3857 $as_echo "$ac_file" >&6; }
   3858 ac_exeext=$ac_cv_exeext
   3859 
   3860 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3861 ac_clean_files=$ac_clean_files_save
   3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3863 $as_echo_n "checking for suffix of executables... " >&6; }
   3864 if { { ac_try="$ac_link"
   3865 case "(($ac_try" in
   3866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3867   *) ac_try_echo=$ac_try;;
   3868 esac
   3869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3870 $as_echo "$ac_try_echo"; } >&5
   3871   (eval "$ac_link") 2>&5
   3872   ac_status=$?
   3873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3874   test $ac_status = 0; }; then :
   3875   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3876 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3877 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3878 # `rm'.
   3879 for ac_file in conftest.exe conftest conftest.*; do
   3880   test -f "$ac_file" || continue
   3881   case $ac_file in
   3882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3883     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3884 	  break;;
   3885     * ) break;;
   3886   esac
   3887 done
   3888 else
   3889   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3891 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3892 See \`config.log' for more details" "$LINENO" 5; }
   3893 fi
   3894 rm -f conftest conftest$ac_cv_exeext
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3896 $as_echo "$ac_cv_exeext" >&6; }
   3897 
   3898 rm -f conftest.$ac_ext
   3899 EXEEXT=$ac_cv_exeext
   3900 ac_exeext=$EXEEXT
   3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3902 /* end confdefs.h.  */
   3903 #include <stdio.h>
   3904 int
   3905 main ()
   3906 {
   3907 FILE *f = fopen ("conftest.out", "w");
   3908  return ferror (f) || fclose (f) != 0;
   3909 
   3910   ;
   3911   return 0;
   3912 }
   3913 _ACEOF
   3914 ac_clean_files="$ac_clean_files conftest.out"
   3915 # Check that the compiler produces executables we can run.  If not, either
   3916 # the compiler is broken, or we cross compile.
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3918 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3919 if test "$cross_compiling" != yes; then
   3920   { { ac_try="$ac_link"
   3921 case "(($ac_try" in
   3922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3923   *) ac_try_echo=$ac_try;;
   3924 esac
   3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3926 $as_echo "$ac_try_echo"; } >&5
   3927   (eval "$ac_link") 2>&5
   3928   ac_status=$?
   3929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3930   test $ac_status = 0; }
   3931   if { ac_try='./conftest$ac_cv_exeext'
   3932   { { case "(($ac_try" in
   3933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3934   *) ac_try_echo=$ac_try;;
   3935 esac
   3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3937 $as_echo "$ac_try_echo"; } >&5
   3938   (eval "$ac_try") 2>&5
   3939   ac_status=$?
   3940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3941   test $ac_status = 0; }; }; then
   3942     cross_compiling=no
   3943   else
   3944     if test "$cross_compiling" = maybe; then
   3945 	cross_compiling=yes
   3946     else
   3947 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3949 as_fn_error $? "cannot run C compiled programs.
   3950 If you meant to cross compile, use \`--host'.
   3951 See \`config.log' for more details" "$LINENO" 5; }
   3952     fi
   3953   fi
   3954 fi
   3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3956 $as_echo "$cross_compiling" >&6; }
   3957 
   3958 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3959 ac_clean_files=$ac_clean_files_save
   3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3961 $as_echo_n "checking for suffix of object files... " >&6; }
   3962 if ${ac_cv_objext+:} false; then :
   3963   $as_echo_n "(cached) " >&6
   3964 else
   3965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3966 /* end confdefs.h.  */
   3967 
   3968 int
   3969 main ()
   3970 {
   3971 
   3972   ;
   3973   return 0;
   3974 }
   3975 _ACEOF
   3976 rm -f conftest.o conftest.obj
   3977 if { { ac_try="$ac_compile"
   3978 case "(($ac_try" in
   3979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3980   *) ac_try_echo=$ac_try;;
   3981 esac
   3982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3983 $as_echo "$ac_try_echo"; } >&5
   3984   (eval "$ac_compile") 2>&5
   3985   ac_status=$?
   3986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3987   test $ac_status = 0; }; then :
   3988   for ac_file in conftest.o conftest.obj conftest.*; do
   3989   test -f "$ac_file" || continue;
   3990   case $ac_file in
   3991     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3992     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3993        break;;
   3994   esac
   3995 done
   3996 else
   3997   $as_echo "$as_me: failed program was:" >&5
   3998 sed 's/^/| /' conftest.$ac_ext >&5
   3999 
   4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4002 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4003 See \`config.log' for more details" "$LINENO" 5; }
   4004 fi
   4005 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4006 fi
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4008 $as_echo "$ac_cv_objext" >&6; }
   4009 OBJEXT=$ac_cv_objext
   4010 ac_objext=$OBJEXT
   4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4012 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4013 if ${ac_cv_c_compiler_gnu+:} false; then :
   4014   $as_echo_n "(cached) " >&6
   4015 else
   4016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4017 /* end confdefs.h.  */
   4018 
   4019 int
   4020 main ()
   4021 {
   4022 #ifndef __GNUC__
   4023        choke me
   4024 #endif
   4025 
   4026   ;
   4027   return 0;
   4028 }
   4029 _ACEOF
   4030 if ac_fn_c_try_compile "$LINENO"; then :
   4031   ac_compiler_gnu=yes
   4032 else
   4033   ac_compiler_gnu=no
   4034 fi
   4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4036 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4037 
   4038 fi
   4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4040 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4041 if test $ac_compiler_gnu = yes; then
   4042   GCC=yes
   4043 else
   4044   GCC=
   4045 fi
   4046 ac_test_CFLAGS=${CFLAGS+set}
   4047 ac_save_CFLAGS=$CFLAGS
   4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4049 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4050 if ${ac_cv_prog_cc_g+:} false; then :
   4051   $as_echo_n "(cached) " >&6
   4052 else
   4053   ac_save_c_werror_flag=$ac_c_werror_flag
   4054    ac_c_werror_flag=yes
   4055    ac_cv_prog_cc_g=no
   4056    CFLAGS="-g"
   4057    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4058 /* end confdefs.h.  */
   4059 
   4060 int
   4061 main ()
   4062 {
   4063 
   4064   ;
   4065   return 0;
   4066 }
   4067 _ACEOF
   4068 if ac_fn_c_try_compile "$LINENO"; then :
   4069   ac_cv_prog_cc_g=yes
   4070 else
   4071   CFLAGS=""
   4072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4073 /* end confdefs.h.  */
   4074 
   4075 int
   4076 main ()
   4077 {
   4078 
   4079   ;
   4080   return 0;
   4081 }
   4082 _ACEOF
   4083 if ac_fn_c_try_compile "$LINENO"; then :
   4084 
   4085 else
   4086   ac_c_werror_flag=$ac_save_c_werror_flag
   4087 	 CFLAGS="-g"
   4088 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4089 /* end confdefs.h.  */
   4090 
   4091 int
   4092 main ()
   4093 {
   4094 
   4095   ;
   4096   return 0;
   4097 }
   4098 _ACEOF
   4099 if ac_fn_c_try_compile "$LINENO"; then :
   4100   ac_cv_prog_cc_g=yes
   4101 fi
   4102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4103 fi
   4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4105 fi
   4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4107    ac_c_werror_flag=$ac_save_c_werror_flag
   4108 fi
   4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4110 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4111 if test "$ac_test_CFLAGS" = set; then
   4112   CFLAGS=$ac_save_CFLAGS
   4113 elif test $ac_cv_prog_cc_g = yes; then
   4114   if test "$GCC" = yes; then
   4115     CFLAGS="-g -O2"
   4116   else
   4117     CFLAGS="-g"
   4118   fi
   4119 else
   4120   if test "$GCC" = yes; then
   4121     CFLAGS="-O2"
   4122   else
   4123     CFLAGS=
   4124   fi
   4125 fi
   4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4127 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4128 if ${ac_cv_prog_cc_c89+:} false; then :
   4129   $as_echo_n "(cached) " >&6
   4130 else
   4131   ac_cv_prog_cc_c89=no
   4132 ac_save_CC=$CC
   4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4134 /* end confdefs.h.  */
   4135 #include <stdarg.h>
   4136 #include <stdio.h>
   4137 #include <sys/types.h>
   4138 #include <sys/stat.h>
   4139 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4140 struct buf { int x; };
   4141 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4142 static char *e (p, i)
   4143      char **p;
   4144      int i;
   4145 {
   4146   return p[i];
   4147 }
   4148 static char *f (char * (*g) (char **, int), char **p, ...)
   4149 {
   4150   char *s;
   4151   va_list v;
   4152   va_start (v,p);
   4153   s = g (p, va_arg (v,int));
   4154   va_end (v);
   4155   return s;
   4156 }
   4157 
   4158 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4159    function prototypes and stuff, but not '\xHH' hex character constants.
   4160    These don't provoke an error unfortunately, instead are silently treated
   4161    as 'x'.  The following induces an error, until -std is added to get
   4162    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4163    array size at least.  It's necessary to write '\x00'==0 to get something
   4164    that's true only with -std.  */
   4165 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4166 
   4167 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4168    inside strings and character constants.  */
   4169 #define FOO(x) 'x'
   4170 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4171 
   4172 int test (int i, double x);
   4173 struct s1 {int (*f) (int a);};
   4174 struct s2 {int (*f) (double a);};
   4175 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4176 int argc;
   4177 char **argv;
   4178 int
   4179 main ()
   4180 {
   4181 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4182   ;
   4183   return 0;
   4184 }
   4185 _ACEOF
   4186 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4187 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4188 do
   4189   CC="$ac_save_CC $ac_arg"
   4190   if ac_fn_c_try_compile "$LINENO"; then :
   4191   ac_cv_prog_cc_c89=$ac_arg
   4192 fi
   4193 rm -f core conftest.err conftest.$ac_objext
   4194   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4195 done
   4196 rm -f conftest.$ac_ext
   4197 CC=$ac_save_CC
   4198 
   4199 fi
   4200 # AC_CACHE_VAL
   4201 case "x$ac_cv_prog_cc_c89" in
   4202   x)
   4203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4204 $as_echo "none needed" >&6; } ;;
   4205   xno)
   4206     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4207 $as_echo "unsupported" >&6; } ;;
   4208   *)
   4209     CC="$CC $ac_cv_prog_cc_c89"
   4210     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4211 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4212 esac
   4213 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4214 
   4215 fi
   4216 
   4217 ac_ext=c
   4218 ac_cpp='$CPP $CPPFLAGS'
   4219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4222 
   4223 depcc="$CC"   am_compiler_list=
   4224 
   4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4226 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4227 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4228   $as_echo_n "(cached) " >&6
   4229 else
   4230   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4231   # We make a subdir and do the tests there.  Otherwise we can end up
   4232   # making bogus files that we don't know about and never remove.  For
   4233   # instance it was reported that on HP-UX the gcc test will end up
   4234   # making a dummy file named `D' -- because `-MD' means `put the output
   4235   # in D'.
   4236   mkdir conftest.dir
   4237   # Copy depcomp to subdir because otherwise we won't find it if we're
   4238   # using a relative directory.
   4239   cp "$am_depcomp" conftest.dir
   4240   cd conftest.dir
   4241   # We will build objects and dependencies in a subdirectory because
   4242   # it helps to detect inapplicable dependency modes.  For instance
   4243   # both Tru64's cc and ICC support -MD to output dependencies as a
   4244   # side effect of compilation, but ICC will put the dependencies in
   4245   # the current directory while Tru64 will put them in the object
   4246   # directory.
   4247   mkdir sub
   4248 
   4249   am_cv_CC_dependencies_compiler_type=none
   4250   if test "$am_compiler_list" = ""; then
   4251      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4252   fi
   4253   am__universal=false
   4254   case " $depcc " in #(
   4255      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4256      esac
   4257 
   4258   for depmode in $am_compiler_list; do
   4259     # Setup a source with many dependencies, because some compilers
   4260     # like to wrap large dependency lists on column 80 (with \), and
   4261     # we should not choose a depcomp mode which is confused by this.
   4262     #
   4263     # We need to recreate these files for each test, as the compiler may
   4264     # overwrite some of them when testing with obscure command lines.
   4265     # This happens at least with the AIX C compiler.
   4266     : > sub/conftest.c
   4267     for i in 1 2 3 4 5 6; do
   4268       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4269       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4270       # Solaris 8's {/usr,}/bin/sh.
   4271       touch sub/conftst$i.h
   4272     done
   4273     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4274 
   4275     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4276     # mode.  It turns out that the SunPro C++ compiler does not properly
   4277     # handle `-M -o', and we need to detect this.  Also, some Intel
   4278     # versions had trouble with output in subdirs
   4279     am__obj=sub/conftest.${OBJEXT-o}
   4280     am__minus_obj="-o $am__obj"
   4281     case $depmode in
   4282     gcc)
   4283       # This depmode causes a compiler race in universal mode.
   4284       test "$am__universal" = false || continue
   4285       ;;
   4286     nosideeffect)
   4287       # after this tag, mechanisms are not by side-effect, so they'll
   4288       # only be used when explicitly requested
   4289       if test "x$enable_dependency_tracking" = xyes; then
   4290 	continue
   4291       else
   4292 	break
   4293       fi
   4294       ;;
   4295     msvisualcpp | msvcmsys)
   4296       # This compiler won't grok `-c -o', but also, the minuso test has
   4297       # not run yet.  These depmodes are late enough in the game, and
   4298       # so weak that their functioning should not be impacted.
   4299       am__obj=conftest.${OBJEXT-o}
   4300       am__minus_obj=
   4301       ;;
   4302     none) break ;;
   4303     esac
   4304     if depmode=$depmode \
   4305        source=sub/conftest.c object=$am__obj \
   4306        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4307        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4308          >/dev/null 2>conftest.err &&
   4309        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4310        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4311        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4312        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4313       # icc doesn't choke on unknown options, it will just issue warnings
   4314       # or remarks (even with -Werror).  So we grep stderr for any message
   4315       # that says an option was ignored or not supported.
   4316       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4317       #   icc: Command line warning: ignoring option '-M'; no argument required
   4318       # The diagnosis changed in icc 8.0:
   4319       #   icc: Command line remark: option '-MP' not supported
   4320       if (grep 'ignoring option' conftest.err ||
   4321           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4322         am_cv_CC_dependencies_compiler_type=$depmode
   4323         break
   4324       fi
   4325     fi
   4326   done
   4327 
   4328   cd ..
   4329   rm -rf conftest.dir
   4330 else
   4331   am_cv_CC_dependencies_compiler_type=none
   4332 fi
   4333 
   4334 fi
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4336 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4337 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4338 
   4339  if
   4340   test "x$enable_dependency_tracking" != xno \
   4341   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4342   am__fastdepCC_TRUE=
   4343   am__fastdepCC_FALSE='#'
   4344 else
   4345   am__fastdepCC_TRUE='#'
   4346   am__fastdepCC_FALSE=
   4347 fi
   4348 
   4349 
   4350 
   4351 ac_ext=c
   4352 ac_cpp='$CPP $CPPFLAGS'
   4353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4357 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4358 # On Suns, sometimes $CPP names a directory.
   4359 if test -n "$CPP" && test -d "$CPP"; then
   4360   CPP=
   4361 fi
   4362 if test -z "$CPP"; then
   4363   if ${ac_cv_prog_CPP+:} false; then :
   4364   $as_echo_n "(cached) " >&6
   4365 else
   4366       # Double quotes because CPP needs to be expanded
   4367     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4368     do
   4369       ac_preproc_ok=false
   4370 for ac_c_preproc_warn_flag in '' yes
   4371 do
   4372   # Use a header file that comes with gcc, so configuring glibc
   4373   # with a fresh cross-compiler works.
   4374   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4375   # <limits.h> exists even on freestanding compilers.
   4376   # On the NeXT, cc -E runs the code through the compiler's parser,
   4377   # not just through cpp. "Syntax error" is here to catch this case.
   4378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4379 /* end confdefs.h.  */
   4380 #ifdef __STDC__
   4381 # include <limits.h>
   4382 #else
   4383 # include <assert.h>
   4384 #endif
   4385 		     Syntax error
   4386 _ACEOF
   4387 if ac_fn_c_try_cpp "$LINENO"; then :
   4388 
   4389 else
   4390   # Broken: fails on valid input.
   4391 continue
   4392 fi
   4393 rm -f conftest.err conftest.i conftest.$ac_ext
   4394 
   4395   # OK, works on sane cases.  Now check whether nonexistent headers
   4396   # can be detected and how.
   4397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4398 /* end confdefs.h.  */
   4399 #include <ac_nonexistent.h>
   4400 _ACEOF
   4401 if ac_fn_c_try_cpp "$LINENO"; then :
   4402   # Broken: success on invalid input.
   4403 continue
   4404 else
   4405   # Passes both tests.
   4406 ac_preproc_ok=:
   4407 break
   4408 fi
   4409 rm -f conftest.err conftest.i conftest.$ac_ext
   4410 
   4411 done
   4412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4413 rm -f conftest.i conftest.err conftest.$ac_ext
   4414 if $ac_preproc_ok; then :
   4415   break
   4416 fi
   4417 
   4418     done
   4419     ac_cv_prog_CPP=$CPP
   4420 
   4421 fi
   4422   CPP=$ac_cv_prog_CPP
   4423 else
   4424   ac_cv_prog_CPP=$CPP
   4425 fi
   4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4427 $as_echo "$CPP" >&6; }
   4428 ac_preproc_ok=false
   4429 for ac_c_preproc_warn_flag in '' yes
   4430 do
   4431   # Use a header file that comes with gcc, so configuring glibc
   4432   # with a fresh cross-compiler works.
   4433   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4434   # <limits.h> exists even on freestanding compilers.
   4435   # On the NeXT, cc -E runs the code through the compiler's parser,
   4436   # not just through cpp. "Syntax error" is here to catch this case.
   4437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4438 /* end confdefs.h.  */
   4439 #ifdef __STDC__
   4440 # include <limits.h>
   4441 #else
   4442 # include <assert.h>
   4443 #endif
   4444 		     Syntax error
   4445 _ACEOF
   4446 if ac_fn_c_try_cpp "$LINENO"; then :
   4447 
   4448 else
   4449   # Broken: fails on valid input.
   4450 continue
   4451 fi
   4452 rm -f conftest.err conftest.i conftest.$ac_ext
   4453 
   4454   # OK, works on sane cases.  Now check whether nonexistent headers
   4455   # can be detected and how.
   4456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4457 /* end confdefs.h.  */
   4458 #include <ac_nonexistent.h>
   4459 _ACEOF
   4460 if ac_fn_c_try_cpp "$LINENO"; then :
   4461   # Broken: success on invalid input.
   4462 continue
   4463 else
   4464   # Passes both tests.
   4465 ac_preproc_ok=:
   4466 break
   4467 fi
   4468 rm -f conftest.err conftest.i conftest.$ac_ext
   4469 
   4470 done
   4471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4472 rm -f conftest.i conftest.err conftest.$ac_ext
   4473 if $ac_preproc_ok; then :
   4474 
   4475 else
   4476   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4478 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4479 See \`config.log' for more details" "$LINENO" 5; }
   4480 fi
   4481 
   4482 ac_ext=c
   4483 ac_cpp='$CPP $CPPFLAGS'
   4484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4487 
   4488 
   4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4490 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4491 if ${ac_cv_path_GREP+:} false; then :
   4492   $as_echo_n "(cached) " >&6
   4493 else
   4494   if test -z "$GREP"; then
   4495   ac_path_GREP_found=false
   4496   # Loop through the user's path and test for each of PROGNAME-LIST
   4497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4498 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4499 do
   4500   IFS=$as_save_IFS
   4501   test -z "$as_dir" && as_dir=.
   4502     for ac_prog in grep ggrep; do
   4503     for ac_exec_ext in '' $ac_executable_extensions; do
   4504       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4505       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4506 # Check for GNU ac_path_GREP and select it if it is found.
   4507   # Check for GNU $ac_path_GREP
   4508 case `"$ac_path_GREP" --version 2>&1` in
   4509 *GNU*)
   4510   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4511 *)
   4512   ac_count=0
   4513   $as_echo_n 0123456789 >"conftest.in"
   4514   while :
   4515   do
   4516     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4517     mv "conftest.tmp" "conftest.in"
   4518     cp "conftest.in" "conftest.nl"
   4519     $as_echo 'GREP' >> "conftest.nl"
   4520     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4521     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4522     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4523     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4524       # Best one so far, save it but keep looking for a better one
   4525       ac_cv_path_GREP="$ac_path_GREP"
   4526       ac_path_GREP_max=$ac_count
   4527     fi
   4528     # 10*(2^10) chars as input seems more than enough
   4529     test $ac_count -gt 10 && break
   4530   done
   4531   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4532 esac
   4533 
   4534       $ac_path_GREP_found && break 3
   4535     done
   4536   done
   4537   done
   4538 IFS=$as_save_IFS
   4539   if test -z "$ac_cv_path_GREP"; then
   4540     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4541   fi
   4542 else
   4543   ac_cv_path_GREP=$GREP
   4544 fi
   4545 
   4546 fi
   4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4548 $as_echo "$ac_cv_path_GREP" >&6; }
   4549  GREP="$ac_cv_path_GREP"
   4550 
   4551 
   4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4553 $as_echo_n "checking for egrep... " >&6; }
   4554 if ${ac_cv_path_EGREP+:} false; then :
   4555   $as_echo_n "(cached) " >&6
   4556 else
   4557   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4558    then ac_cv_path_EGREP="$GREP -E"
   4559    else
   4560      if test -z "$EGREP"; then
   4561   ac_path_EGREP_found=false
   4562   # Loop through the user's path and test for each of PROGNAME-LIST
   4563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4564 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4565 do
   4566   IFS=$as_save_IFS
   4567   test -z "$as_dir" && as_dir=.
   4568     for ac_prog in egrep; do
   4569     for ac_exec_ext in '' $ac_executable_extensions; do
   4570       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4571       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4572 # Check for GNU ac_path_EGREP and select it if it is found.
   4573   # Check for GNU $ac_path_EGREP
   4574 case `"$ac_path_EGREP" --version 2>&1` in
   4575 *GNU*)
   4576   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4577 *)
   4578   ac_count=0
   4579   $as_echo_n 0123456789 >"conftest.in"
   4580   while :
   4581   do
   4582     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4583     mv "conftest.tmp" "conftest.in"
   4584     cp "conftest.in" "conftest.nl"
   4585     $as_echo 'EGREP' >> "conftest.nl"
   4586     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4587     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4588     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4589     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4590       # Best one so far, save it but keep looking for a better one
   4591       ac_cv_path_EGREP="$ac_path_EGREP"
   4592       ac_path_EGREP_max=$ac_count
   4593     fi
   4594     # 10*(2^10) chars as input seems more than enough
   4595     test $ac_count -gt 10 && break
   4596   done
   4597   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4598 esac
   4599 
   4600       $ac_path_EGREP_found && break 3
   4601     done
   4602   done
   4603   done
   4604 IFS=$as_save_IFS
   4605   if test -z "$ac_cv_path_EGREP"; then
   4606     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4607   fi
   4608 else
   4609   ac_cv_path_EGREP=$EGREP
   4610 fi
   4611 
   4612    fi
   4613 fi
   4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4615 $as_echo "$ac_cv_path_EGREP" >&6; }
   4616  EGREP="$ac_cv_path_EGREP"
   4617 
   4618 
   4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4620 $as_echo_n "checking for ANSI C header files... " >&6; }
   4621 if ${ac_cv_header_stdc+:} false; then :
   4622   $as_echo_n "(cached) " >&6
   4623 else
   4624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4625 /* end confdefs.h.  */
   4626 #include <stdlib.h>
   4627 #include <stdarg.h>
   4628 #include <string.h>
   4629 #include <float.h>
   4630 
   4631 int
   4632 main ()
   4633 {
   4634 
   4635   ;
   4636   return 0;
   4637 }
   4638 _ACEOF
   4639 if ac_fn_c_try_compile "$LINENO"; then :
   4640   ac_cv_header_stdc=yes
   4641 else
   4642   ac_cv_header_stdc=no
   4643 fi
   4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4645 
   4646 if test $ac_cv_header_stdc = yes; then
   4647   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4649 /* end confdefs.h.  */
   4650 #include <string.h>
   4651 
   4652 _ACEOF
   4653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4654   $EGREP "memchr" >/dev/null 2>&1; then :
   4655 
   4656 else
   4657   ac_cv_header_stdc=no
   4658 fi
   4659 rm -f conftest*
   4660 
   4661 fi
   4662 
   4663 if test $ac_cv_header_stdc = yes; then
   4664   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4666 /* end confdefs.h.  */
   4667 #include <stdlib.h>
   4668 
   4669 _ACEOF
   4670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4671   $EGREP "free" >/dev/null 2>&1; then :
   4672 
   4673 else
   4674   ac_cv_header_stdc=no
   4675 fi
   4676 rm -f conftest*
   4677 
   4678 fi
   4679 
   4680 if test $ac_cv_header_stdc = yes; then
   4681   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4682   if test "$cross_compiling" = yes; then :
   4683   :
   4684 else
   4685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4686 /* end confdefs.h.  */
   4687 #include <ctype.h>
   4688 #include <stdlib.h>
   4689 #if ((' ' & 0x0FF) == 0x020)
   4690 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4691 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4692 #else
   4693 # define ISLOWER(c) \
   4694 		   (('a' <= (c) && (c) <= 'i') \
   4695 		     || ('j' <= (c) && (c) <= 'r') \
   4696 		     || ('s' <= (c) && (c) <= 'z'))
   4697 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4698 #endif
   4699 
   4700 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4701 int
   4702 main ()
   4703 {
   4704   int i;
   4705   for (i = 0; i < 256; i++)
   4706     if (XOR (islower (i), ISLOWER (i))
   4707 	|| toupper (i) != TOUPPER (i))
   4708       return 2;
   4709   return 0;
   4710 }
   4711 _ACEOF
   4712 if ac_fn_c_try_run "$LINENO"; then :
   4713 
   4714 else
   4715   ac_cv_header_stdc=no
   4716 fi
   4717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4718   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4719 fi
   4720 
   4721 fi
   4722 fi
   4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4724 $as_echo "$ac_cv_header_stdc" >&6; }
   4725 if test $ac_cv_header_stdc = yes; then
   4726 
   4727 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4728 
   4729 fi
   4730 
   4731 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4732 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4733 		  inttypes.h stdint.h unistd.h
   4734 do :
   4735   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4736 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4737 "
   4738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4739   cat >>confdefs.h <<_ACEOF
   4740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4741 _ACEOF
   4742 
   4743 fi
   4744 
   4745 done
   4746 
   4747 
   4748 
   4749   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4750 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4751   MINIX=yes
   4752 else
   4753   MINIX=
   4754 fi
   4755 
   4756 
   4757   if test "$MINIX" = yes; then
   4758 
   4759 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4760 
   4761 
   4762 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4763 
   4764 
   4765 $as_echo "#define _MINIX 1" >>confdefs.h
   4766 
   4767   fi
   4768 
   4769 
   4770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4771 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4772 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4773   $as_echo_n "(cached) " >&6
   4774 else
   4775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4776 /* end confdefs.h.  */
   4777 
   4778 #	  define __EXTENSIONS__ 1
   4779 	  $ac_includes_default
   4780 int
   4781 main ()
   4782 {
   4783 
   4784   ;
   4785   return 0;
   4786 }
   4787 _ACEOF
   4788 if ac_fn_c_try_compile "$LINENO"; then :
   4789   ac_cv_safe_to_define___extensions__=yes
   4790 else
   4791   ac_cv_safe_to_define___extensions__=no
   4792 fi
   4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4794 fi
   4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4796 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4797   test $ac_cv_safe_to_define___extensions__ = yes &&
   4798     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4799 
   4800   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4801 
   4802   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4803 
   4804   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4805 
   4806   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4807 
   4808 
   4809 
   4810 
   4811 ac_ext=c
   4812 ac_cpp='$CPP $CPPFLAGS'
   4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4816 if test -n "$ac_tool_prefix"; then
   4817   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4818 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4820 $as_echo_n "checking for $ac_word... " >&6; }
   4821 if ${ac_cv_prog_CC+:} false; then :
   4822   $as_echo_n "(cached) " >&6
   4823 else
   4824   if test -n "$CC"; then
   4825   ac_cv_prog_CC="$CC" # Let the user override the test.
   4826 else
   4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4828 for as_dir in $PATH
   4829 do
   4830   IFS=$as_save_IFS
   4831   test -z "$as_dir" && as_dir=.
   4832     for ac_exec_ext in '' $ac_executable_extensions; do
   4833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4834     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4836     break 2
   4837   fi
   4838 done
   4839   done
   4840 IFS=$as_save_IFS
   4841 
   4842 fi
   4843 fi
   4844 CC=$ac_cv_prog_CC
   4845 if test -n "$CC"; then
   4846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4847 $as_echo "$CC" >&6; }
   4848 else
   4849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4850 $as_echo "no" >&6; }
   4851 fi
   4852 
   4853 
   4854 fi
   4855 if test -z "$ac_cv_prog_CC"; then
   4856   ac_ct_CC=$CC
   4857   # Extract the first word of "gcc", so it can be a program name with args.
   4858 set dummy gcc; ac_word=$2
   4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4860 $as_echo_n "checking for $ac_word... " >&6; }
   4861 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4862   $as_echo_n "(cached) " >&6
   4863 else
   4864   if test -n "$ac_ct_CC"; then
   4865   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4866 else
   4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4868 for as_dir in $PATH
   4869 do
   4870   IFS=$as_save_IFS
   4871   test -z "$as_dir" && as_dir=.
   4872     for ac_exec_ext in '' $ac_executable_extensions; do
   4873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4874     ac_cv_prog_ac_ct_CC="gcc"
   4875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4876     break 2
   4877   fi
   4878 done
   4879   done
   4880 IFS=$as_save_IFS
   4881 
   4882 fi
   4883 fi
   4884 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4885 if test -n "$ac_ct_CC"; then
   4886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4887 $as_echo "$ac_ct_CC" >&6; }
   4888 else
   4889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4890 $as_echo "no" >&6; }
   4891 fi
   4892 
   4893   if test "x$ac_ct_CC" = x; then
   4894     CC=""
   4895   else
   4896     case $cross_compiling:$ac_tool_warned in
   4897 yes:)
   4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4900 ac_tool_warned=yes ;;
   4901 esac
   4902     CC=$ac_ct_CC
   4903   fi
   4904 else
   4905   CC="$ac_cv_prog_CC"
   4906 fi
   4907 
   4908 if test -z "$CC"; then
   4909           if test -n "$ac_tool_prefix"; then
   4910     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4911 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4913 $as_echo_n "checking for $ac_word... " >&6; }
   4914 if ${ac_cv_prog_CC+:} false; then :
   4915   $as_echo_n "(cached) " >&6
   4916 else
   4917   if test -n "$CC"; then
   4918   ac_cv_prog_CC="$CC" # Let the user override the test.
   4919 else
   4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4921 for as_dir in $PATH
   4922 do
   4923   IFS=$as_save_IFS
   4924   test -z "$as_dir" && as_dir=.
   4925     for ac_exec_ext in '' $ac_executable_extensions; do
   4926   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4927     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4929     break 2
   4930   fi
   4931 done
   4932   done
   4933 IFS=$as_save_IFS
   4934 
   4935 fi
   4936 fi
   4937 CC=$ac_cv_prog_CC
   4938 if test -n "$CC"; then
   4939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4940 $as_echo "$CC" >&6; }
   4941 else
   4942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4943 $as_echo "no" >&6; }
   4944 fi
   4945 
   4946 
   4947   fi
   4948 fi
   4949 if test -z "$CC"; then
   4950   # Extract the first word of "cc", so it can be a program name with args.
   4951 set dummy cc; ac_word=$2
   4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4953 $as_echo_n "checking for $ac_word... " >&6; }
   4954 if ${ac_cv_prog_CC+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   if test -n "$CC"; then
   4958   ac_cv_prog_CC="$CC" # Let the user override the test.
   4959 else
   4960   ac_prog_rejected=no
   4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4962 for as_dir in $PATH
   4963 do
   4964   IFS=$as_save_IFS
   4965   test -z "$as_dir" && as_dir=.
   4966     for ac_exec_ext in '' $ac_executable_extensions; do
   4967   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4968     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4969        ac_prog_rejected=yes
   4970        continue
   4971      fi
   4972     ac_cv_prog_CC="cc"
   4973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4974     break 2
   4975   fi
   4976 done
   4977   done
   4978 IFS=$as_save_IFS
   4979 
   4980 if test $ac_prog_rejected = yes; then
   4981   # We found a bogon in the path, so make sure we never use it.
   4982   set dummy $ac_cv_prog_CC
   4983   shift
   4984   if test $# != 0; then
   4985     # We chose a different compiler from the bogus one.
   4986     # However, it has the same basename, so the bogon will be chosen
   4987     # first if we set CC to just the basename; use the full file name.
   4988     shift
   4989     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4990   fi
   4991 fi
   4992 fi
   4993 fi
   4994 CC=$ac_cv_prog_CC
   4995 if test -n "$CC"; then
   4996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4997 $as_echo "$CC" >&6; }
   4998 else
   4999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5000 $as_echo "no" >&6; }
   5001 fi
   5002 
   5003 
   5004 fi
   5005 if test -z "$CC"; then
   5006   if test -n "$ac_tool_prefix"; then
   5007   for ac_prog in cl.exe
   5008   do
   5009     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5010 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5012 $as_echo_n "checking for $ac_word... " >&6; }
   5013 if ${ac_cv_prog_CC+:} false; then :
   5014   $as_echo_n "(cached) " >&6
   5015 else
   5016   if test -n "$CC"; then
   5017   ac_cv_prog_CC="$CC" # Let the user override the test.
   5018 else
   5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5020 for as_dir in $PATH
   5021 do
   5022   IFS=$as_save_IFS
   5023   test -z "$as_dir" && as_dir=.
   5024     for ac_exec_ext in '' $ac_executable_extensions; do
   5025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5026     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5028     break 2
   5029   fi
   5030 done
   5031   done
   5032 IFS=$as_save_IFS
   5033 
   5034 fi
   5035 fi
   5036 CC=$ac_cv_prog_CC
   5037 if test -n "$CC"; then
   5038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5039 $as_echo "$CC" >&6; }
   5040 else
   5041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5042 $as_echo "no" >&6; }
   5043 fi
   5044 
   5045 
   5046     test -n "$CC" && break
   5047   done
   5048 fi
   5049 if test -z "$CC"; then
   5050   ac_ct_CC=$CC
   5051   for ac_prog in cl.exe
   5052 do
   5053   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5054 set dummy $ac_prog; ac_word=$2
   5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5056 $as_echo_n "checking for $ac_word... " >&6; }
   5057 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   5058   $as_echo_n "(cached) " >&6
   5059 else
   5060   if test -n "$ac_ct_CC"; then
   5061   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5062 else
   5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5064 for as_dir in $PATH
   5065 do
   5066   IFS=$as_save_IFS
   5067   test -z "$as_dir" && as_dir=.
   5068     for ac_exec_ext in '' $ac_executable_extensions; do
   5069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5070     ac_cv_prog_ac_ct_CC="$ac_prog"
   5071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5072     break 2
   5073   fi
   5074 done
   5075   done
   5076 IFS=$as_save_IFS
   5077 
   5078 fi
   5079 fi
   5080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5081 if test -n "$ac_ct_CC"; then
   5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5083 $as_echo "$ac_ct_CC" >&6; }
   5084 else
   5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5086 $as_echo "no" >&6; }
   5087 fi
   5088 
   5089 
   5090   test -n "$ac_ct_CC" && break
   5091 done
   5092 
   5093   if test "x$ac_ct_CC" = x; then
   5094     CC=""
   5095   else
   5096     case $cross_compiling:$ac_tool_warned in
   5097 yes:)
   5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5100 ac_tool_warned=yes ;;
   5101 esac
   5102     CC=$ac_ct_CC
   5103   fi
   5104 fi
   5105 
   5106 fi
   5107 
   5108 
   5109 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5111 as_fn_error $? "no acceptable C compiler found in \$PATH
   5112 See \`config.log' for more details" "$LINENO" 5; }
   5113 
   5114 # Provide some information about the compiler.
   5115 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   5116 set X $ac_compile
   5117 ac_compiler=$2
   5118 for ac_option in --version -v -V -qversion; do
   5119   { { ac_try="$ac_compiler $ac_option >&5"
   5120 case "(($ac_try" in
   5121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5122   *) ac_try_echo=$ac_try;;
   5123 esac
   5124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5125 $as_echo "$ac_try_echo"; } >&5
   5126   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5127   ac_status=$?
   5128   if test -s conftest.err; then
   5129     sed '10a\
   5130 ... rest of stderr output deleted ...
   5131          10q' conftest.err >conftest.er1
   5132     cat conftest.er1 >&5
   5133   fi
   5134   rm -f conftest.er1 conftest.err
   5135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5136   test $ac_status = 0; }
   5137 done
   5138 
   5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   5140 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   5141 if ${ac_cv_c_compiler_gnu+:} false; then :
   5142   $as_echo_n "(cached) " >&6
   5143 else
   5144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5145 /* end confdefs.h.  */
   5146 
   5147 int
   5148 main ()
   5149 {
   5150 #ifndef __GNUC__
   5151        choke me
   5152 #endif
   5153 
   5154   ;
   5155   return 0;
   5156 }
   5157 _ACEOF
   5158 if ac_fn_c_try_compile "$LINENO"; then :
   5159   ac_compiler_gnu=yes
   5160 else
   5161   ac_compiler_gnu=no
   5162 fi
   5163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5164 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5165 
   5166 fi
   5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5168 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5169 if test $ac_compiler_gnu = yes; then
   5170   GCC=yes
   5171 else
   5172   GCC=
   5173 fi
   5174 ac_test_CFLAGS=${CFLAGS+set}
   5175 ac_save_CFLAGS=$CFLAGS
   5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5177 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5178 if ${ac_cv_prog_cc_g+:} false; then :
   5179   $as_echo_n "(cached) " >&6
   5180 else
   5181   ac_save_c_werror_flag=$ac_c_werror_flag
   5182    ac_c_werror_flag=yes
   5183    ac_cv_prog_cc_g=no
   5184    CFLAGS="-g"
   5185    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5186 /* end confdefs.h.  */
   5187 
   5188 int
   5189 main ()
   5190 {
   5191 
   5192   ;
   5193   return 0;
   5194 }
   5195 _ACEOF
   5196 if ac_fn_c_try_compile "$LINENO"; then :
   5197   ac_cv_prog_cc_g=yes
   5198 else
   5199   CFLAGS=""
   5200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5201 /* end confdefs.h.  */
   5202 
   5203 int
   5204 main ()
   5205 {
   5206 
   5207   ;
   5208   return 0;
   5209 }
   5210 _ACEOF
   5211 if ac_fn_c_try_compile "$LINENO"; then :
   5212 
   5213 else
   5214   ac_c_werror_flag=$ac_save_c_werror_flag
   5215 	 CFLAGS="-g"
   5216 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5217 /* end confdefs.h.  */
   5218 
   5219 int
   5220 main ()
   5221 {
   5222 
   5223   ;
   5224   return 0;
   5225 }
   5226 _ACEOF
   5227 if ac_fn_c_try_compile "$LINENO"; then :
   5228   ac_cv_prog_cc_g=yes
   5229 fi
   5230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5231 fi
   5232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5233 fi
   5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5235    ac_c_werror_flag=$ac_save_c_werror_flag
   5236 fi
   5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5238 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5239 if test "$ac_test_CFLAGS" = set; then
   5240   CFLAGS=$ac_save_CFLAGS
   5241 elif test $ac_cv_prog_cc_g = yes; then
   5242   if test "$GCC" = yes; then
   5243     CFLAGS="-g -O2"
   5244   else
   5245     CFLAGS="-g"
   5246   fi
   5247 else
   5248   if test "$GCC" = yes; then
   5249     CFLAGS="-O2"
   5250   else
   5251     CFLAGS=
   5252   fi
   5253 fi
   5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5255 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5256 if ${ac_cv_prog_cc_c89+:} false; then :
   5257   $as_echo_n "(cached) " >&6
   5258 else
   5259   ac_cv_prog_cc_c89=no
   5260 ac_save_CC=$CC
   5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5262 /* end confdefs.h.  */
   5263 #include <stdarg.h>
   5264 #include <stdio.h>
   5265 #include <sys/types.h>
   5266 #include <sys/stat.h>
   5267 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5268 struct buf { int x; };
   5269 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5270 static char *e (p, i)
   5271      char **p;
   5272      int i;
   5273 {
   5274   return p[i];
   5275 }
   5276 static char *f (char * (*g) (char **, int), char **p, ...)
   5277 {
   5278   char *s;
   5279   va_list v;
   5280   va_start (v,p);
   5281   s = g (p, va_arg (v,int));
   5282   va_end (v);
   5283   return s;
   5284 }
   5285 
   5286 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5287    function prototypes and stuff, but not '\xHH' hex character constants.
   5288    These don't provoke an error unfortunately, instead are silently treated
   5289    as 'x'.  The following induces an error, until -std is added to get
   5290    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5291    array size at least.  It's necessary to write '\x00'==0 to get something
   5292    that's true only with -std.  */
   5293 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5294 
   5295 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5296    inside strings and character constants.  */
   5297 #define FOO(x) 'x'
   5298 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5299 
   5300 int test (int i, double x);
   5301 struct s1 {int (*f) (int a);};
   5302 struct s2 {int (*f) (double a);};
   5303 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5304 int argc;
   5305 char **argv;
   5306 int
   5307 main ()
   5308 {
   5309 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5310   ;
   5311   return 0;
   5312 }
   5313 _ACEOF
   5314 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5315 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5316 do
   5317   CC="$ac_save_CC $ac_arg"
   5318   if ac_fn_c_try_compile "$LINENO"; then :
   5319   ac_cv_prog_cc_c89=$ac_arg
   5320 fi
   5321 rm -f core conftest.err conftest.$ac_objext
   5322   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5323 done
   5324 rm -f conftest.$ac_ext
   5325 CC=$ac_save_CC
   5326 
   5327 fi
   5328 # AC_CACHE_VAL
   5329 case "x$ac_cv_prog_cc_c89" in
   5330   x)
   5331     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5332 $as_echo "none needed" >&6; } ;;
   5333   xno)
   5334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5335 $as_echo "unsupported" >&6; } ;;
   5336   *)
   5337     CC="$CC $ac_cv_prog_cc_c89"
   5338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5339 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5340 esac
   5341 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5342 
   5343 fi
   5344 
   5345 ac_ext=c
   5346 ac_cpp='$CPP $CPPFLAGS'
   5347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5350 
   5351 depcc="$CC"   am_compiler_list=
   5352 
   5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5354 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5355 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5356   $as_echo_n "(cached) " >&6
   5357 else
   5358   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5359   # We make a subdir and do the tests there.  Otherwise we can end up
   5360   # making bogus files that we don't know about and never remove.  For
   5361   # instance it was reported that on HP-UX the gcc test will end up
   5362   # making a dummy file named `D' -- because `-MD' means `put the output
   5363   # in D'.
   5364   mkdir conftest.dir
   5365   # Copy depcomp to subdir because otherwise we won't find it if we're
   5366   # using a relative directory.
   5367   cp "$am_depcomp" conftest.dir
   5368   cd conftest.dir
   5369   # We will build objects and dependencies in a subdirectory because
   5370   # it helps to detect inapplicable dependency modes.  For instance
   5371   # both Tru64's cc and ICC support -MD to output dependencies as a
   5372   # side effect of compilation, but ICC will put the dependencies in
   5373   # the current directory while Tru64 will put them in the object
   5374   # directory.
   5375   mkdir sub
   5376 
   5377   am_cv_CC_dependencies_compiler_type=none
   5378   if test "$am_compiler_list" = ""; then
   5379      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5380   fi
   5381   am__universal=false
   5382   case " $depcc " in #(
   5383      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5384      esac
   5385 
   5386   for depmode in $am_compiler_list; do
   5387     # Setup a source with many dependencies, because some compilers
   5388     # like to wrap large dependency lists on column 80 (with \), and
   5389     # we should not choose a depcomp mode which is confused by this.
   5390     #
   5391     # We need to recreate these files for each test, as the compiler may
   5392     # overwrite some of them when testing with obscure command lines.
   5393     # This happens at least with the AIX C compiler.
   5394     : > sub/conftest.c
   5395     for i in 1 2 3 4 5 6; do
   5396       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5397       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5398       # Solaris 8's {/usr,}/bin/sh.
   5399       touch sub/conftst$i.h
   5400     done
   5401     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5402 
   5403     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5404     # mode.  It turns out that the SunPro C++ compiler does not properly
   5405     # handle `-M -o', and we need to detect this.  Also, some Intel
   5406     # versions had trouble with output in subdirs
   5407     am__obj=sub/conftest.${OBJEXT-o}
   5408     am__minus_obj="-o $am__obj"
   5409     case $depmode in
   5410     gcc)
   5411       # This depmode causes a compiler race in universal mode.
   5412       test "$am__universal" = false || continue
   5413       ;;
   5414     nosideeffect)
   5415       # after this tag, mechanisms are not by side-effect, so they'll
   5416       # only be used when explicitly requested
   5417       if test "x$enable_dependency_tracking" = xyes; then
   5418 	continue
   5419       else
   5420 	break
   5421       fi
   5422       ;;
   5423     msvisualcpp | msvcmsys)
   5424       # This compiler won't grok `-c -o', but also, the minuso test has
   5425       # not run yet.  These depmodes are late enough in the game, and
   5426       # so weak that their functioning should not be impacted.
   5427       am__obj=conftest.${OBJEXT-o}
   5428       am__minus_obj=
   5429       ;;
   5430     none) break ;;
   5431     esac
   5432     if depmode=$depmode \
   5433        source=sub/conftest.c object=$am__obj \
   5434        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5435        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5436          >/dev/null 2>conftest.err &&
   5437        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5438        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5439        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5440        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5441       # icc doesn't choke on unknown options, it will just issue warnings
   5442       # or remarks (even with -Werror).  So we grep stderr for any message
   5443       # that says an option was ignored or not supported.
   5444       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5445       #   icc: Command line warning: ignoring option '-M'; no argument required
   5446       # The diagnosis changed in icc 8.0:
   5447       #   icc: Command line remark: option '-MP' not supported
   5448       if (grep 'ignoring option' conftest.err ||
   5449           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5450         am_cv_CC_dependencies_compiler_type=$depmode
   5451         break
   5452       fi
   5453     fi
   5454   done
   5455 
   5456   cd ..
   5457   rm -rf conftest.dir
   5458 else
   5459   am_cv_CC_dependencies_compiler_type=none
   5460 fi
   5461 
   5462 fi
   5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5464 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5465 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5466 
   5467  if
   5468   test "x$enable_dependency_tracking" != xno \
   5469   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5470   am__fastdepCC_TRUE=
   5471   am__fastdepCC_FALSE='#'
   5472 else
   5473   am__fastdepCC_TRUE='#'
   5474   am__fastdepCC_FALSE=
   5475 fi
   5476 
   5477 
   5478 if test "x$CC" != xcc; then
   5479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   5480 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   5481 else
   5482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   5483 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   5484 fi
   5485 set dummy $CC; ac_cc=`$as_echo "$2" |
   5486 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   5487 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
   5488   $as_echo_n "(cached) " >&6
   5489 else
   5490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5491 /* end confdefs.h.  */
   5492 
   5493 int
   5494 main ()
   5495 {
   5496 
   5497   ;
   5498   return 0;
   5499 }
   5500 _ACEOF
   5501 # Make sure it works both with $CC and with simple cc.
   5502 # We do the test twice because some compilers refuse to overwrite an
   5503 # existing .o file with -o, though they will create one.
   5504 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   5505 rm -f conftest2.*
   5506 if { { case "(($ac_try" in
   5507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5508   *) ac_try_echo=$ac_try;;
   5509 esac
   5510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5511 $as_echo "$ac_try_echo"; } >&5
   5512   (eval "$ac_try") 2>&5
   5513   ac_status=$?
   5514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5515   test $ac_status = 0; } &&
   5516    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   5517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5518   *) ac_try_echo=$ac_try;;
   5519 esac
   5520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5521 $as_echo "$ac_try_echo"; } >&5
   5522   (eval "$ac_try") 2>&5
   5523   ac_status=$?
   5524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5525   test $ac_status = 0; };
   5526 then
   5527   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   5528   if test "x$CC" != xcc; then
   5529     # Test first that cc exists at all.
   5530     if { ac_try='cc -c conftest.$ac_ext >&5'
   5531   { { case "(($ac_try" in
   5532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5533   *) ac_try_echo=$ac_try;;
   5534 esac
   5535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5536 $as_echo "$ac_try_echo"; } >&5
   5537   (eval "$ac_try") 2>&5
   5538   ac_status=$?
   5539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5540   test $ac_status = 0; }; }; then
   5541       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   5542       rm -f conftest2.*
   5543       if { { case "(($ac_try" in
   5544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5545   *) ac_try_echo=$ac_try;;
   5546 esac
   5547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5548 $as_echo "$ac_try_echo"; } >&5
   5549   (eval "$ac_try") 2>&5
   5550   ac_status=$?
   5551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5552   test $ac_status = 0; } &&
   5553 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   5554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5555   *) ac_try_echo=$ac_try;;
   5556 esac
   5557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5558 $as_echo "$ac_try_echo"; } >&5
   5559   (eval "$ac_try") 2>&5
   5560   ac_status=$?
   5561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5562   test $ac_status = 0; };
   5563       then
   5564 	# cc works too.
   5565 	:
   5566       else
   5567 	# cc exists but doesn't like -o.
   5568 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   5569       fi
   5570     fi
   5571   fi
   5572 else
   5573   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   5574 fi
   5575 rm -f core conftest*
   5576 
   5577 fi
   5578 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   5579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5580 $as_echo "yes" >&6; }
   5581 else
   5582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5583 $as_echo "no" >&6; }
   5584 
   5585 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   5586 
   5587 fi
   5588 
   5589 # FIXME: we rely on the cache variable name because
   5590 # there is no other way.
   5591 set dummy $CC
   5592 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   5593 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
   5594 if test "$am_t" != yes; then
   5595    # Losing compiler, so override with the script.
   5596    # FIXME: It is wrong to rewrite CC.
   5597    # But if we don't then we get into trouble of one sort or another.
   5598    # A longer-term fix would be to have automake use am__CC in this case,
   5599    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5600    CC="$am_aux_dir/compile $CC"
   5601 fi
   5602 
   5603 
   5604 
   5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5606 $as_echo_n "checking whether ln -s works... " >&6; }
   5607 LN_S=$as_ln_s
   5608 if test "$LN_S" = "ln -s"; then
   5609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5610 $as_echo "yes" >&6; }
   5611 else
   5612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5613 $as_echo "no, using $LN_S" >&6; }
   5614 fi
   5615 
   5616 case `pwd` in
   5617   *\ * | *\	*)
   5618     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5619 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5620 esac
   5621 
   5622 
   5623 
   5624 macro_version='2.2.6b'
   5625 macro_revision='1.3017'
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 ltmain="$ac_aux_dir/ltmain.sh"
   5640 
   5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5642 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5643 if ${ac_cv_path_SED+:} false; then :
   5644   $as_echo_n "(cached) " >&6
   5645 else
   5646             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5647      for ac_i in 1 2 3 4 5 6 7; do
   5648        ac_script="$ac_script$as_nl$ac_script"
   5649      done
   5650      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5651      { ac_script=; unset ac_script;}
   5652      if test -z "$SED"; then
   5653   ac_path_SED_found=false
   5654   # Loop through the user's path and test for each of PROGNAME-LIST
   5655   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5656 for as_dir in $PATH
   5657 do
   5658   IFS=$as_save_IFS
   5659   test -z "$as_dir" && as_dir=.
   5660     for ac_prog in sed gsed; do
   5661     for ac_exec_ext in '' $ac_executable_extensions; do
   5662       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5663       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5664 # Check for GNU ac_path_SED and select it if it is found.
   5665   # Check for GNU $ac_path_SED
   5666 case `"$ac_path_SED" --version 2>&1` in
   5667 *GNU*)
   5668   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5669 *)
   5670   ac_count=0
   5671   $as_echo_n 0123456789 >"conftest.in"
   5672   while :
   5673   do
   5674     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5675     mv "conftest.tmp" "conftest.in"
   5676     cp "conftest.in" "conftest.nl"
   5677     $as_echo '' >> "conftest.nl"
   5678     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5679     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5680     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5681     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5682       # Best one so far, save it but keep looking for a better one
   5683       ac_cv_path_SED="$ac_path_SED"
   5684       ac_path_SED_max=$ac_count
   5685     fi
   5686     # 10*(2^10) chars as input seems more than enough
   5687     test $ac_count -gt 10 && break
   5688   done
   5689   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5690 esac
   5691 
   5692       $ac_path_SED_found && break 3
   5693     done
   5694   done
   5695   done
   5696 IFS=$as_save_IFS
   5697   if test -z "$ac_cv_path_SED"; then
   5698     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5699   fi
   5700 else
   5701   ac_cv_path_SED=$SED
   5702 fi
   5703 
   5704 fi
   5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5706 $as_echo "$ac_cv_path_SED" >&6; }
   5707  SED="$ac_cv_path_SED"
   5708   rm -f conftest.sed
   5709 
   5710 test -z "$SED" && SED=sed
   5711 Xsed="$SED -e 1s/^X//"
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5724 $as_echo_n "checking for fgrep... " >&6; }
   5725 if ${ac_cv_path_FGREP+:} false; then :
   5726   $as_echo_n "(cached) " >&6
   5727 else
   5728   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5729    then ac_cv_path_FGREP="$GREP -F"
   5730    else
   5731      if test -z "$FGREP"; then
   5732   ac_path_FGREP_found=false
   5733   # Loop through the user's path and test for each of PROGNAME-LIST
   5734   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5735 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5736 do
   5737   IFS=$as_save_IFS
   5738   test -z "$as_dir" && as_dir=.
   5739     for ac_prog in fgrep; do
   5740     for ac_exec_ext in '' $ac_executable_extensions; do
   5741       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5742       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5743 # Check for GNU ac_path_FGREP and select it if it is found.
   5744   # Check for GNU $ac_path_FGREP
   5745 case `"$ac_path_FGREP" --version 2>&1` in
   5746 *GNU*)
   5747   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5748 *)
   5749   ac_count=0
   5750   $as_echo_n 0123456789 >"conftest.in"
   5751   while :
   5752   do
   5753     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5754     mv "conftest.tmp" "conftest.in"
   5755     cp "conftest.in" "conftest.nl"
   5756     $as_echo 'FGREP' >> "conftest.nl"
   5757     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5758     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5759     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5760     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5761       # Best one so far, save it but keep looking for a better one
   5762       ac_cv_path_FGREP="$ac_path_FGREP"
   5763       ac_path_FGREP_max=$ac_count
   5764     fi
   5765     # 10*(2^10) chars as input seems more than enough
   5766     test $ac_count -gt 10 && break
   5767   done
   5768   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5769 esac
   5770 
   5771       $ac_path_FGREP_found && break 3
   5772     done
   5773   done
   5774   done
   5775 IFS=$as_save_IFS
   5776   if test -z "$ac_cv_path_FGREP"; then
   5777     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5778   fi
   5779 else
   5780   ac_cv_path_FGREP=$FGREP
   5781 fi
   5782 
   5783    fi
   5784 fi
   5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5786 $as_echo "$ac_cv_path_FGREP" >&6; }
   5787  FGREP="$ac_cv_path_FGREP"
   5788 
   5789 
   5790 test -z "$GREP" && GREP=grep
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 # Check whether --with-gnu-ld was given.
   5811 if test "${with_gnu_ld+set}" = set; then :
   5812   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5813 else
   5814   with_gnu_ld=no
   5815 fi
   5816 
   5817 ac_prog=ld
   5818 if test "$GCC" = yes; then
   5819   # Check if gcc -print-prog-name=ld gives a path.
   5820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5821 $as_echo_n "checking for ld used by $CC... " >&6; }
   5822   case $host in
   5823   *-*-mingw*)
   5824     # gcc leaves a trailing carriage return which upsets mingw
   5825     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5826   *)
   5827     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5828   esac
   5829   case $ac_prog in
   5830     # Accept absolute paths.
   5831     [\\/]* | ?:[\\/]*)
   5832       re_direlt='/[^/][^/]*/\.\./'
   5833       # Canonicalize the pathname of ld
   5834       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5835       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5836 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5837       done
   5838       test -z "$LD" && LD="$ac_prog"
   5839       ;;
   5840   "")
   5841     # If it fails, then pretend we aren't using GCC.
   5842     ac_prog=ld
   5843     ;;
   5844   *)
   5845     # If it is relative, then search for the first ld in PATH.
   5846     with_gnu_ld=unknown
   5847     ;;
   5848   esac
   5849 elif test "$with_gnu_ld" = yes; then
   5850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5851 $as_echo_n "checking for GNU ld... " >&6; }
   5852 else
   5853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5854 $as_echo_n "checking for non-GNU ld... " >&6; }
   5855 fi
   5856 if ${lt_cv_path_LD+:} false; then :
   5857   $as_echo_n "(cached) " >&6
   5858 else
   5859   if test -z "$LD"; then
   5860   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5861   for ac_dir in $PATH; do
   5862     IFS="$lt_save_ifs"
   5863     test -z "$ac_dir" && ac_dir=.
   5864     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5865       lt_cv_path_LD="$ac_dir/$ac_prog"
   5866       # Check to see if the program is GNU ld.  I'd rather use --version,
   5867       # but apparently some variants of GNU ld only accept -v.
   5868       # Break only if it was the GNU/non-GNU ld that we prefer.
   5869       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5870       *GNU* | *'with BFD'*)
   5871 	test "$with_gnu_ld" != no && break
   5872 	;;
   5873       *)
   5874 	test "$with_gnu_ld" != yes && break
   5875 	;;
   5876       esac
   5877     fi
   5878   done
   5879   IFS="$lt_save_ifs"
   5880 else
   5881   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5882 fi
   5883 fi
   5884 
   5885 LD="$lt_cv_path_LD"
   5886 if test -n "$LD"; then
   5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5888 $as_echo "$LD" >&6; }
   5889 else
   5890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5891 $as_echo "no" >&6; }
   5892 fi
   5893 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5895 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5896 if ${lt_cv_prog_gnu_ld+:} false; then :
   5897   $as_echo_n "(cached) " >&6
   5898 else
   5899   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5900 case `$LD -v 2>&1 </dev/null` in
   5901 *GNU* | *'with BFD'*)
   5902   lt_cv_prog_gnu_ld=yes
   5903   ;;
   5904 *)
   5905   lt_cv_prog_gnu_ld=no
   5906   ;;
   5907 esac
   5908 fi
   5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5910 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5911 with_gnu_ld=$lt_cv_prog_gnu_ld
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5922 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5923 if ${lt_cv_path_NM+:} false; then :
   5924   $as_echo_n "(cached) " >&6
   5925 else
   5926   if test -n "$NM"; then
   5927   # Let the user override the test.
   5928   lt_cv_path_NM="$NM"
   5929 else
   5930   lt_nm_to_check="${ac_tool_prefix}nm"
   5931   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5932     lt_nm_to_check="$lt_nm_to_check nm"
   5933   fi
   5934   for lt_tmp_nm in $lt_nm_to_check; do
   5935     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5936     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5937       IFS="$lt_save_ifs"
   5938       test -z "$ac_dir" && ac_dir=.
   5939       tmp_nm="$ac_dir/$lt_tmp_nm"
   5940       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5941 	# Check to see if the nm accepts a BSD-compat flag.
   5942 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5943 	#   nm: unknown option "B" ignored
   5944 	# Tru64's nm complains that /dev/null is an invalid object file
   5945 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5946 	*/dev/null* | *'Invalid file or object type'*)
   5947 	  lt_cv_path_NM="$tmp_nm -B"
   5948 	  break
   5949 	  ;;
   5950 	*)
   5951 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5952 	  */dev/null*)
   5953 	    lt_cv_path_NM="$tmp_nm -p"
   5954 	    break
   5955 	    ;;
   5956 	  *)
   5957 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5958 	    continue # so that we can try to find one that supports BSD flags
   5959 	    ;;
   5960 	  esac
   5961 	  ;;
   5962 	esac
   5963       fi
   5964     done
   5965     IFS="$lt_save_ifs"
   5966   done
   5967   : ${lt_cv_path_NM=no}
   5968 fi
   5969 fi
   5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5971 $as_echo "$lt_cv_path_NM" >&6; }
   5972 if test "$lt_cv_path_NM" != "no"; then
   5973   NM="$lt_cv_path_NM"
   5974 else
   5975   # Didn't find any BSD compatible name lister, look for dumpbin.
   5976   if test -n "$ac_tool_prefix"; then
   5977   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5978   do
   5979     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5982 $as_echo_n "checking for $ac_word... " >&6; }
   5983 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5984   $as_echo_n "(cached) " >&6
   5985 else
   5986   if test -n "$DUMPBIN"; then
   5987   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5988 else
   5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5990 for as_dir in $PATH
   5991 do
   5992   IFS=$as_save_IFS
   5993   test -z "$as_dir" && as_dir=.
   5994     for ac_exec_ext in '' $ac_executable_extensions; do
   5995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5996     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5998     break 2
   5999   fi
   6000 done
   6001   done
   6002 IFS=$as_save_IFS
   6003 
   6004 fi
   6005 fi
   6006 DUMPBIN=$ac_cv_prog_DUMPBIN
   6007 if test -n "$DUMPBIN"; then
   6008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6009 $as_echo "$DUMPBIN" >&6; }
   6010 else
   6011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6012 $as_echo "no" >&6; }
   6013 fi
   6014 
   6015 
   6016     test -n "$DUMPBIN" && break
   6017   done
   6018 fi
   6019 if test -z "$DUMPBIN"; then
   6020   ac_ct_DUMPBIN=$DUMPBIN
   6021   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   6022 do
   6023   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6024 set dummy $ac_prog; ac_word=$2
   6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6026 $as_echo_n "checking for $ac_word... " >&6; }
   6027 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6028   $as_echo_n "(cached) " >&6
   6029 else
   6030   if test -n "$ac_ct_DUMPBIN"; then
   6031   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6032 else
   6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6034 for as_dir in $PATH
   6035 do
   6036   IFS=$as_save_IFS
   6037   test -z "$as_dir" && as_dir=.
   6038     for ac_exec_ext in '' $ac_executable_extensions; do
   6039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6040     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6042     break 2
   6043   fi
   6044 done
   6045   done
   6046 IFS=$as_save_IFS
   6047 
   6048 fi
   6049 fi
   6050 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6051 if test -n "$ac_ct_DUMPBIN"; then
   6052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6053 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6054 else
   6055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6056 $as_echo "no" >&6; }
   6057 fi
   6058 
   6059 
   6060   test -n "$ac_ct_DUMPBIN" && break
   6061 done
   6062 
   6063   if test "x$ac_ct_DUMPBIN" = x; then
   6064     DUMPBIN=":"
   6065   else
   6066     case $cross_compiling:$ac_tool_warned in
   6067 yes:)
   6068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6070 ac_tool_warned=yes ;;
   6071 esac
   6072     DUMPBIN=$ac_ct_DUMPBIN
   6073   fi
   6074 fi
   6075 
   6076 
   6077   if test "$DUMPBIN" != ":"; then
   6078     NM="$DUMPBIN"
   6079   fi
   6080 fi
   6081 test -z "$NM" && NM=nm
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6089 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6090 if ${lt_cv_nm_interface+:} false; then :
   6091   $as_echo_n "(cached) " >&6
   6092 else
   6093   lt_cv_nm_interface="BSD nm"
   6094   echo "int some_variable = 0;" > conftest.$ac_ext
   6095   (eval echo "\"\$as_me:6095: $ac_compile\"" >&5)
   6096   (eval "$ac_compile" 2>conftest.err)
   6097   cat conftest.err >&5
   6098   (eval echo "\"\$as_me:6098: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6099   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6100   cat conftest.err >&5
   6101   (eval echo "\"\$as_me:6101: output\"" >&5)
   6102   cat conftest.out >&5
   6103   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6104     lt_cv_nm_interface="MS dumpbin"
   6105   fi
   6106   rm -f conftest*
   6107 fi
   6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6109 $as_echo "$lt_cv_nm_interface" >&6; }
   6110 
   6111 # find the maximum length of command line arguments
   6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6113 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6114 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6115   $as_echo_n "(cached) " >&6
   6116 else
   6117     i=0
   6118   teststring="ABCD"
   6119 
   6120   case $build_os in
   6121   msdosdjgpp*)
   6122     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6123     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6124     # during glob expansion).  Even if it were fixed, the result of this
   6125     # check would be larger than it should be.
   6126     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6127     ;;
   6128 
   6129   gnu*)
   6130     # Under GNU Hurd, this test is not required because there is
   6131     # no limit to the length of command line arguments.
   6132     # Libtool will interpret -1 as no limit whatsoever
   6133     lt_cv_sys_max_cmd_len=-1;
   6134     ;;
   6135 
   6136   cygwin* | mingw* | cegcc*)
   6137     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6138     # about 5 minutes as the teststring grows exponentially.
   6139     # Worse, since 9x/ME are not pre-emptively multitasking,
   6140     # you end up with a "frozen" computer, even though with patience
   6141     # the test eventually succeeds (with a max line length of 256k).
   6142     # Instead, let's just punt: use the minimum linelength reported by
   6143     # all of the supported platforms: 8192 (on NT/2K/XP).
   6144     lt_cv_sys_max_cmd_len=8192;
   6145     ;;
   6146 
   6147   amigaos*)
   6148     # On AmigaOS with pdksh, this test takes hours, literally.
   6149     # So we just punt and use a minimum line length of 8192.
   6150     lt_cv_sys_max_cmd_len=8192;
   6151     ;;
   6152 
   6153   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6154     # This has been around since 386BSD, at least.  Likely further.
   6155     if test -x /sbin/sysctl; then
   6156       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6157     elif test -x /usr/sbin/sysctl; then
   6158       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6159     else
   6160       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6161     fi
   6162     # And add a safety zone
   6163     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6164     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6165     ;;
   6166 
   6167   interix*)
   6168     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6169     lt_cv_sys_max_cmd_len=196608
   6170     ;;
   6171 
   6172   osf*)
   6173     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6174     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6175     # nice to cause kernel panics so lets avoid the loop below.
   6176     # First set a reasonable default.
   6177     lt_cv_sys_max_cmd_len=16384
   6178     #
   6179     if test -x /sbin/sysconfig; then
   6180       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6181         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6182       esac
   6183     fi
   6184     ;;
   6185   sco3.2v5*)
   6186     lt_cv_sys_max_cmd_len=102400
   6187     ;;
   6188   sysv5* | sco5v6* | sysv4.2uw2*)
   6189     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6190     if test -n "$kargmax"; then
   6191       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6192     else
   6193       lt_cv_sys_max_cmd_len=32768
   6194     fi
   6195     ;;
   6196   *)
   6197     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6198     if test -n "$lt_cv_sys_max_cmd_len"; then
   6199       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6200       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6201     else
   6202       # Make teststring a little bigger before we do anything with it.
   6203       # a 1K string should be a reasonable start.
   6204       for i in 1 2 3 4 5 6 7 8 ; do
   6205         teststring=$teststring$teststring
   6206       done
   6207       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6208       # If test is not a shell built-in, we'll probably end up computing a
   6209       # maximum length that is only half of the actual maximum length, but
   6210       # we can't tell.
   6211       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   6212 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   6213 	      test $i != 17 # 1/2 MB should be enough
   6214       do
   6215         i=`expr $i + 1`
   6216         teststring=$teststring$teststring
   6217       done
   6218       # Only check the string length outside the loop.
   6219       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6220       teststring=
   6221       # Add a significant safety factor because C++ compilers can tack on
   6222       # massive amounts of additional arguments before passing them to the
   6223       # linker.  It appears as though 1/2 is a usable value.
   6224       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6225     fi
   6226     ;;
   6227   esac
   6228 
   6229 fi
   6230 
   6231 if test -n $lt_cv_sys_max_cmd_len ; then
   6232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6233 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6234 else
   6235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6236 $as_echo "none" >&6; }
   6237 fi
   6238 max_cmd_len=$lt_cv_sys_max_cmd_len
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 : ${CP="cp -f"}
   6246 : ${MV="mv -f"}
   6247 : ${RM="rm -f"}
   6248 
   6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6250 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6251 # Try some XSI features
   6252 xsi_shell=no
   6253 ( _lt_dummy="a/b/c"
   6254   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6255       = c,a/b,, \
   6256     && eval 'test $(( 1 + 1 )) -eq 2 \
   6257     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6258   && xsi_shell=yes
   6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6260 $as_echo "$xsi_shell" >&6; }
   6261 
   6262 
   6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6264 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6265 lt_shell_append=no
   6266 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6267     >/dev/null 2>&1 \
   6268   && lt_shell_append=yes
   6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6270 $as_echo "$lt_shell_append" >&6; }
   6271 
   6272 
   6273 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6274   lt_unset=unset
   6275 else
   6276   lt_unset=false
   6277 fi
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 # test EBCDIC or ASCII
   6284 case `echo X|tr X '\101'` in
   6285  A) # ASCII based system
   6286     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6287   lt_SP2NL='tr \040 \012'
   6288   lt_NL2SP='tr \015\012 \040\040'
   6289   ;;
   6290  *) # EBCDIC based system
   6291   lt_SP2NL='tr \100 \n'
   6292   lt_NL2SP='tr \r\n \100\100'
   6293   ;;
   6294 esac
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6305 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6306 if ${lt_cv_ld_reload_flag+:} false; then :
   6307   $as_echo_n "(cached) " >&6
   6308 else
   6309   lt_cv_ld_reload_flag='-r'
   6310 fi
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6312 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6313 reload_flag=$lt_cv_ld_reload_flag
   6314 case $reload_flag in
   6315 "" | " "*) ;;
   6316 *) reload_flag=" $reload_flag" ;;
   6317 esac
   6318 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6319 case $host_os in
   6320   darwin*)
   6321     if test "$GCC" = yes; then
   6322       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6323     else
   6324       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6325     fi
   6326     ;;
   6327 esac
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 if test -n "$ac_tool_prefix"; then
   6338   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6339 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6341 $as_echo_n "checking for $ac_word... " >&6; }
   6342 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6343   $as_echo_n "(cached) " >&6
   6344 else
   6345   if test -n "$OBJDUMP"; then
   6346   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6347 else
   6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6349 for as_dir in $PATH
   6350 do
   6351   IFS=$as_save_IFS
   6352   test -z "$as_dir" && as_dir=.
   6353     for ac_exec_ext in '' $ac_executable_extensions; do
   6354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6355     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6357     break 2
   6358   fi
   6359 done
   6360   done
   6361 IFS=$as_save_IFS
   6362 
   6363 fi
   6364 fi
   6365 OBJDUMP=$ac_cv_prog_OBJDUMP
   6366 if test -n "$OBJDUMP"; then
   6367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6368 $as_echo "$OBJDUMP" >&6; }
   6369 else
   6370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6371 $as_echo "no" >&6; }
   6372 fi
   6373 
   6374 
   6375 fi
   6376 if test -z "$ac_cv_prog_OBJDUMP"; then
   6377   ac_ct_OBJDUMP=$OBJDUMP
   6378   # Extract the first word of "objdump", so it can be a program name with args.
   6379 set dummy objdump; ac_word=$2
   6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6381 $as_echo_n "checking for $ac_word... " >&6; }
   6382 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6383   $as_echo_n "(cached) " >&6
   6384 else
   6385   if test -n "$ac_ct_OBJDUMP"; then
   6386   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6387 else
   6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6389 for as_dir in $PATH
   6390 do
   6391   IFS=$as_save_IFS
   6392   test -z "$as_dir" && as_dir=.
   6393     for ac_exec_ext in '' $ac_executable_extensions; do
   6394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6395     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6397     break 2
   6398   fi
   6399 done
   6400   done
   6401 IFS=$as_save_IFS
   6402 
   6403 fi
   6404 fi
   6405 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6406 if test -n "$ac_ct_OBJDUMP"; then
   6407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6408 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6409 else
   6410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6411 $as_echo "no" >&6; }
   6412 fi
   6413 
   6414   if test "x$ac_ct_OBJDUMP" = x; then
   6415     OBJDUMP="false"
   6416   else
   6417     case $cross_compiling:$ac_tool_warned in
   6418 yes:)
   6419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6421 ac_tool_warned=yes ;;
   6422 esac
   6423     OBJDUMP=$ac_ct_OBJDUMP
   6424   fi
   6425 else
   6426   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6427 fi
   6428 
   6429 test -z "$OBJDUMP" && OBJDUMP=objdump
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6440 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6441 if ${lt_cv_deplibs_check_method+:} false; then :
   6442   $as_echo_n "(cached) " >&6
   6443 else
   6444   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6445 lt_cv_file_magic_test_file=
   6446 lt_cv_deplibs_check_method='unknown'
   6447 # Need to set the preceding variable on all platforms that support
   6448 # interlibrary dependencies.
   6449 # 'none' -- dependencies not supported.
   6450 # `unknown' -- same as none, but documents that we really don't know.
   6451 # 'pass_all' -- all dependencies passed with no checks.
   6452 # 'test_compile' -- check by making test program.
   6453 # 'file_magic [[regex]]' -- check by looking for files in library path
   6454 # which responds to the $file_magic_cmd with a given extended regex.
   6455 # If you have `file' or equivalent on your system and you're not sure
   6456 # whether `pass_all' will *always* work, you probably want this one.
   6457 
   6458 case $host_os in
   6459 aix[4-9]*)
   6460   lt_cv_deplibs_check_method=pass_all
   6461   ;;
   6462 
   6463 beos*)
   6464   lt_cv_deplibs_check_method=pass_all
   6465   ;;
   6466 
   6467 bsdi[45]*)
   6468   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6469   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6470   lt_cv_file_magic_test_file=/shlib/libc.so
   6471   ;;
   6472 
   6473 cygwin*)
   6474   # func_win32_libid is a shell function defined in ltmain.sh
   6475   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6476   lt_cv_file_magic_cmd='func_win32_libid'
   6477   ;;
   6478 
   6479 mingw* | pw32*)
   6480   # Base MSYS/MinGW do not provide the 'file' command needed by
   6481   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6482   # unless we find 'file', for example because we are cross-compiling.
   6483   if ( file / ) >/dev/null 2>&1; then
   6484     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6485     lt_cv_file_magic_cmd='func_win32_libid'
   6486   else
   6487     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6488     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6489   fi
   6490   ;;
   6491 
   6492 cegcc)
   6493   # use the weaker test based on 'objdump'. See mingw*.
   6494   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6495   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6496   ;;
   6497 
   6498 darwin* | rhapsody*)
   6499   lt_cv_deplibs_check_method=pass_all
   6500   ;;
   6501 
   6502 freebsd* | dragonfly*)
   6503   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6504     case $host_cpu in
   6505     i*86 )
   6506       # Not sure whether the presence of OpenBSD here was a mistake.
   6507       # Let's accept both of them until this is cleared up.
   6508       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6509       lt_cv_file_magic_cmd=/usr/bin/file
   6510       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6511       ;;
   6512     esac
   6513   else
   6514     lt_cv_deplibs_check_method=pass_all
   6515   fi
   6516   ;;
   6517 
   6518 gnu*)
   6519   lt_cv_deplibs_check_method=pass_all
   6520   ;;
   6521 
   6522 hpux10.20* | hpux11*)
   6523   lt_cv_file_magic_cmd=/usr/bin/file
   6524   case $host_cpu in
   6525   ia64*)
   6526     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6527     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6528     ;;
   6529   hppa*64*)
   6530     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]'
   6531     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6532     ;;
   6533   *)
   6534     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6535     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6536     ;;
   6537   esac
   6538   ;;
   6539 
   6540 interix[3-9]*)
   6541   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6542   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6543   ;;
   6544 
   6545 irix5* | irix6* | nonstopux*)
   6546   case $LD in
   6547   *-32|*"-32 ") libmagic=32-bit;;
   6548   *-n32|*"-n32 ") libmagic=N32;;
   6549   *-64|*"-64 ") libmagic=64-bit;;
   6550   *) libmagic=never-match;;
   6551   esac
   6552   lt_cv_deplibs_check_method=pass_all
   6553   ;;
   6554 
   6555 # This must be Linux ELF.
   6556 linux* | k*bsd*-gnu)
   6557   lt_cv_deplibs_check_method=pass_all
   6558   ;;
   6559 
   6560 netbsd*)
   6561   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6562     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6563   else
   6564     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6565   fi
   6566   ;;
   6567 
   6568 newos6*)
   6569   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6570   lt_cv_file_magic_cmd=/usr/bin/file
   6571   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6572   ;;
   6573 
   6574 *nto* | *qnx*)
   6575   lt_cv_deplibs_check_method=pass_all
   6576   ;;
   6577 
   6578 openbsd*)
   6579   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6580     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6581   else
   6582     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6583   fi
   6584   ;;
   6585 
   6586 osf3* | osf4* | osf5*)
   6587   lt_cv_deplibs_check_method=pass_all
   6588   ;;
   6589 
   6590 rdos*)
   6591   lt_cv_deplibs_check_method=pass_all
   6592   ;;
   6593 
   6594 solaris*)
   6595   lt_cv_deplibs_check_method=pass_all
   6596   ;;
   6597 
   6598 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6599   lt_cv_deplibs_check_method=pass_all
   6600   ;;
   6601 
   6602 sysv4 | sysv4.3*)
   6603   case $host_vendor in
   6604   motorola)
   6605     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]'
   6606     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6607     ;;
   6608   ncr)
   6609     lt_cv_deplibs_check_method=pass_all
   6610     ;;
   6611   sequent)
   6612     lt_cv_file_magic_cmd='/bin/file'
   6613     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6614     ;;
   6615   sni)
   6616     lt_cv_file_magic_cmd='/bin/file'
   6617     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6618     lt_cv_file_magic_test_file=/lib/libc.so
   6619     ;;
   6620   siemens)
   6621     lt_cv_deplibs_check_method=pass_all
   6622     ;;
   6623   pc)
   6624     lt_cv_deplibs_check_method=pass_all
   6625     ;;
   6626   esac
   6627   ;;
   6628 
   6629 tpf*)
   6630   lt_cv_deplibs_check_method=pass_all
   6631   ;;
   6632 esac
   6633 
   6634 fi
   6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6636 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6637 file_magic_cmd=$lt_cv_file_magic_cmd
   6638 deplibs_check_method=$lt_cv_deplibs_check_method
   6639 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 if test -n "$ac_tool_prefix"; then
   6653   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6654 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6656 $as_echo_n "checking for $ac_word... " >&6; }
   6657 if ${ac_cv_prog_AR+:} false; then :
   6658   $as_echo_n "(cached) " >&6
   6659 else
   6660   if test -n "$AR"; then
   6661   ac_cv_prog_AR="$AR" # Let the user override the test.
   6662 else
   6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6664 for as_dir in $PATH
   6665 do
   6666   IFS=$as_save_IFS
   6667   test -z "$as_dir" && as_dir=.
   6668     for ac_exec_ext in '' $ac_executable_extensions; do
   6669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6670     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6672     break 2
   6673   fi
   6674 done
   6675   done
   6676 IFS=$as_save_IFS
   6677 
   6678 fi
   6679 fi
   6680 AR=$ac_cv_prog_AR
   6681 if test -n "$AR"; then
   6682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6683 $as_echo "$AR" >&6; }
   6684 else
   6685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6686 $as_echo "no" >&6; }
   6687 fi
   6688 
   6689 
   6690 fi
   6691 if test -z "$ac_cv_prog_AR"; then
   6692   ac_ct_AR=$AR
   6693   # Extract the first word of "ar", so it can be a program name with args.
   6694 set dummy ar; ac_word=$2
   6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6696 $as_echo_n "checking for $ac_word... " >&6; }
   6697 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6698   $as_echo_n "(cached) " >&6
   6699 else
   6700   if test -n "$ac_ct_AR"; then
   6701   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6702 else
   6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6704 for as_dir in $PATH
   6705 do
   6706   IFS=$as_save_IFS
   6707   test -z "$as_dir" && as_dir=.
   6708     for ac_exec_ext in '' $ac_executable_extensions; do
   6709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6710     ac_cv_prog_ac_ct_AR="ar"
   6711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6712     break 2
   6713   fi
   6714 done
   6715   done
   6716 IFS=$as_save_IFS
   6717 
   6718 fi
   6719 fi
   6720 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6721 if test -n "$ac_ct_AR"; then
   6722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6723 $as_echo "$ac_ct_AR" >&6; }
   6724 else
   6725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6726 $as_echo "no" >&6; }
   6727 fi
   6728 
   6729   if test "x$ac_ct_AR" = x; then
   6730     AR="false"
   6731   else
   6732     case $cross_compiling:$ac_tool_warned in
   6733 yes:)
   6734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6736 ac_tool_warned=yes ;;
   6737 esac
   6738     AR=$ac_ct_AR
   6739   fi
   6740 else
   6741   AR="$ac_cv_prog_AR"
   6742 fi
   6743 
   6744 test -z "$AR" && AR=ar
   6745 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 if test -n "$ac_tool_prefix"; then
   6758   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6759 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6761 $as_echo_n "checking for $ac_word... " >&6; }
   6762 if ${ac_cv_prog_STRIP+:} false; then :
   6763   $as_echo_n "(cached) " >&6
   6764 else
   6765   if test -n "$STRIP"; then
   6766   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6767 else
   6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6769 for as_dir in $PATH
   6770 do
   6771   IFS=$as_save_IFS
   6772   test -z "$as_dir" && as_dir=.
   6773     for ac_exec_ext in '' $ac_executable_extensions; do
   6774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6775     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6777     break 2
   6778   fi
   6779 done
   6780   done
   6781 IFS=$as_save_IFS
   6782 
   6783 fi
   6784 fi
   6785 STRIP=$ac_cv_prog_STRIP
   6786 if test -n "$STRIP"; then
   6787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6788 $as_echo "$STRIP" >&6; }
   6789 else
   6790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6791 $as_echo "no" >&6; }
   6792 fi
   6793 
   6794 
   6795 fi
   6796 if test -z "$ac_cv_prog_STRIP"; then
   6797   ac_ct_STRIP=$STRIP
   6798   # Extract the first word of "strip", so it can be a program name with args.
   6799 set dummy strip; ac_word=$2
   6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6801 $as_echo_n "checking for $ac_word... " >&6; }
   6802 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6803   $as_echo_n "(cached) " >&6
   6804 else
   6805   if test -n "$ac_ct_STRIP"; then
   6806   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6807 else
   6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6809 for as_dir in $PATH
   6810 do
   6811   IFS=$as_save_IFS
   6812   test -z "$as_dir" && as_dir=.
   6813     for ac_exec_ext in '' $ac_executable_extensions; do
   6814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6815     ac_cv_prog_ac_ct_STRIP="strip"
   6816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6817     break 2
   6818   fi
   6819 done
   6820   done
   6821 IFS=$as_save_IFS
   6822 
   6823 fi
   6824 fi
   6825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6826 if test -n "$ac_ct_STRIP"; then
   6827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6828 $as_echo "$ac_ct_STRIP" >&6; }
   6829 else
   6830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6831 $as_echo "no" >&6; }
   6832 fi
   6833 
   6834   if test "x$ac_ct_STRIP" = x; then
   6835     STRIP=":"
   6836   else
   6837     case $cross_compiling:$ac_tool_warned in
   6838 yes:)
   6839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6841 ac_tool_warned=yes ;;
   6842 esac
   6843     STRIP=$ac_ct_STRIP
   6844   fi
   6845 else
   6846   STRIP="$ac_cv_prog_STRIP"
   6847 fi
   6848 
   6849 test -z "$STRIP" && STRIP=:
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 if test -n "$ac_tool_prefix"; then
   6857   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6858 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6860 $as_echo_n "checking for $ac_word... " >&6; }
   6861 if ${ac_cv_prog_RANLIB+:} false; then :
   6862   $as_echo_n "(cached) " >&6
   6863 else
   6864   if test -n "$RANLIB"; then
   6865   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6866 else
   6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6868 for as_dir in $PATH
   6869 do
   6870   IFS=$as_save_IFS
   6871   test -z "$as_dir" && as_dir=.
   6872     for ac_exec_ext in '' $ac_executable_extensions; do
   6873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6874     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6876     break 2
   6877   fi
   6878 done
   6879   done
   6880 IFS=$as_save_IFS
   6881 
   6882 fi
   6883 fi
   6884 RANLIB=$ac_cv_prog_RANLIB
   6885 if test -n "$RANLIB"; then
   6886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6887 $as_echo "$RANLIB" >&6; }
   6888 else
   6889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6890 $as_echo "no" >&6; }
   6891 fi
   6892 
   6893 
   6894 fi
   6895 if test -z "$ac_cv_prog_RANLIB"; then
   6896   ac_ct_RANLIB=$RANLIB
   6897   # Extract the first word of "ranlib", so it can be a program name with args.
   6898 set dummy ranlib; ac_word=$2
   6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6900 $as_echo_n "checking for $ac_word... " >&6; }
   6901 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6902   $as_echo_n "(cached) " >&6
   6903 else
   6904   if test -n "$ac_ct_RANLIB"; then
   6905   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6906 else
   6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6908 for as_dir in $PATH
   6909 do
   6910   IFS=$as_save_IFS
   6911   test -z "$as_dir" && as_dir=.
   6912     for ac_exec_ext in '' $ac_executable_extensions; do
   6913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6914     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6916     break 2
   6917   fi
   6918 done
   6919   done
   6920 IFS=$as_save_IFS
   6921 
   6922 fi
   6923 fi
   6924 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6925 if test -n "$ac_ct_RANLIB"; then
   6926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6927 $as_echo "$ac_ct_RANLIB" >&6; }
   6928 else
   6929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6930 $as_echo "no" >&6; }
   6931 fi
   6932 
   6933   if test "x$ac_ct_RANLIB" = x; then
   6934     RANLIB=":"
   6935   else
   6936     case $cross_compiling:$ac_tool_warned in
   6937 yes:)
   6938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6940 ac_tool_warned=yes ;;
   6941 esac
   6942     RANLIB=$ac_ct_RANLIB
   6943   fi
   6944 else
   6945   RANLIB="$ac_cv_prog_RANLIB"
   6946 fi
   6947 
   6948 test -z "$RANLIB" && RANLIB=:
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 # Determine commands to create old-style static archives.
   6956 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6957 old_postinstall_cmds='chmod 644 $oldlib'
   6958 old_postuninstall_cmds=
   6959 
   6960 if test -n "$RANLIB"; then
   6961   case $host_os in
   6962   openbsd*)
   6963     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6964     ;;
   6965   *)
   6966     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6967     ;;
   6968   esac
   6969   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6970 fi
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 # If no C compiler was specified, use CC.
   7006 LTCC=${LTCC-"$CC"}
   7007 
   7008 # If no C compiler flags were specified, use CFLAGS.
   7009 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7010 
   7011 # Allow CC to be a program name with arguments.
   7012 compiler=$CC
   7013 
   7014 
   7015 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7017 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7018 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7019   $as_echo_n "(cached) " >&6
   7020 else
   7021 
   7022 # These are sane defaults that work on at least a few old systems.
   7023 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7024 
   7025 # Character class describing NM global symbol codes.
   7026 symcode='[BCDEGRST]'
   7027 
   7028 # Regexp to match symbols that can be accessed directly from C.
   7029 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7030 
   7031 # Define system-specific variables.
   7032 case $host_os in
   7033 aix*)
   7034   symcode='[BCDT]'
   7035   ;;
   7036 cygwin* | mingw* | pw32* | cegcc*)
   7037   symcode='[ABCDGISTW]'
   7038   ;;
   7039 hpux*)
   7040   if test "$host_cpu" = ia64; then
   7041     symcode='[ABCDEGRST]'
   7042   fi
   7043   ;;
   7044 irix* | nonstopux*)
   7045   symcode='[BCDEGRST]'
   7046   ;;
   7047 osf*)
   7048   symcode='[BCDEGQRST]'
   7049   ;;
   7050 solaris*)
   7051   symcode='[BDRT]'
   7052   ;;
   7053 sco3.2v5*)
   7054   symcode='[DT]'
   7055   ;;
   7056 sysv4.2uw2*)
   7057   symcode='[DT]'
   7058   ;;
   7059 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7060   symcode='[ABDT]'
   7061   ;;
   7062 sysv4)
   7063   symcode='[DFNSTU]'
   7064   ;;
   7065 esac
   7066 
   7067 # If we're using GNU nm, then use its standard symbol codes.
   7068 case `$NM -V 2>&1` in
   7069 *GNU* | *'with BFD'*)
   7070   symcode='[ABCDGIRSTW]' ;;
   7071 esac
   7072 
   7073 # Transform an extracted symbol line into a proper C declaration.
   7074 # Some systems (esp. on ia64) link data and code symbols differently,
   7075 # so use this general approach.
   7076 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7077 
   7078 # Transform an extracted symbol line into symbol name and symbol address
   7079 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7080 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'"
   7081 
   7082 # Handle CRLF in mingw tool chain
   7083 opt_cr=
   7084 case $build_os in
   7085 mingw*)
   7086   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7087   ;;
   7088 esac
   7089 
   7090 # Try without a prefix underscore, then with it.
   7091 for ac_symprfx in "" "_"; do
   7092 
   7093   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7094   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7095 
   7096   # Write the raw and C identifiers.
   7097   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7098     # Fake it for dumpbin and say T for any non-static function
   7099     # and D for any global variable.
   7100     # Also find C++ and __fastcall symbols from MSVC++,
   7101     # which start with @ or ?.
   7102     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7103 "     {last_section=section; section=\$ 3};"\
   7104 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7105 "     \$ 0!~/External *\|/{next};"\
   7106 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7107 "     {if(hide[section]) next};"\
   7108 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7109 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7110 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7111 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7112 "     ' prfx=^$ac_symprfx"
   7113   else
   7114     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7115   fi
   7116 
   7117   # Check to see that the pipe works correctly.
   7118   pipe_works=no
   7119 
   7120   rm -f conftest*
   7121   cat > conftest.$ac_ext <<_LT_EOF
   7122 #ifdef __cplusplus
   7123 extern "C" {
   7124 #endif
   7125 char nm_test_var;
   7126 void nm_test_func(void);
   7127 void nm_test_func(void){}
   7128 #ifdef __cplusplus
   7129 }
   7130 #endif
   7131 int main(){nm_test_var='a';nm_test_func();return(0);}
   7132 _LT_EOF
   7133 
   7134   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7135   (eval $ac_compile) 2>&5
   7136   ac_status=$?
   7137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7138   test $ac_status = 0; }; then
   7139     # Now try to grab the symbols.
   7140     nlist=conftest.nm
   7141     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   7142   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   7143   ac_status=$?
   7144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7145   test $ac_status = 0; } && test -s "$nlist"; then
   7146       # Try sorting and uniquifying the output.
   7147       if sort "$nlist" | uniq > "$nlist"T; then
   7148 	mv -f "$nlist"T "$nlist"
   7149       else
   7150 	rm -f "$nlist"T
   7151       fi
   7152 
   7153       # Make sure that we snagged all the symbols we need.
   7154       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7155 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7156 	  cat <<_LT_EOF > conftest.$ac_ext
   7157 #ifdef __cplusplus
   7158 extern "C" {
   7159 #endif
   7160 
   7161 _LT_EOF
   7162 	  # Now generate the symbol file.
   7163 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7164 
   7165 	  cat <<_LT_EOF >> conftest.$ac_ext
   7166 
   7167 /* The mapping between symbol names and symbols.  */
   7168 const struct {
   7169   const char *name;
   7170   void       *address;
   7171 }
   7172 lt__PROGRAM__LTX_preloaded_symbols[] =
   7173 {
   7174   { "@PROGRAM@", (void *) 0 },
   7175 _LT_EOF
   7176 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7177 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7178   {0, (void *) 0}
   7179 };
   7180 
   7181 /* This works around a problem in FreeBSD linker */
   7182 #ifdef FREEBSD_WORKAROUND
   7183 static const void *lt_preloaded_setup() {
   7184   return lt__PROGRAM__LTX_preloaded_symbols;
   7185 }
   7186 #endif
   7187 
   7188 #ifdef __cplusplus
   7189 }
   7190 #endif
   7191 _LT_EOF
   7192 	  # Now try linking the two files.
   7193 	  mv conftest.$ac_objext conftstm.$ac_objext
   7194 	  lt_save_LIBS="$LIBS"
   7195 	  lt_save_CFLAGS="$CFLAGS"
   7196 	  LIBS="conftstm.$ac_objext"
   7197 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7198 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7199   (eval $ac_link) 2>&5
   7200   ac_status=$?
   7201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7202   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7203 	    pipe_works=yes
   7204 	  fi
   7205 	  LIBS="$lt_save_LIBS"
   7206 	  CFLAGS="$lt_save_CFLAGS"
   7207 	else
   7208 	  echo "cannot find nm_test_func in $nlist" >&5
   7209 	fi
   7210       else
   7211 	echo "cannot find nm_test_var in $nlist" >&5
   7212       fi
   7213     else
   7214       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7215     fi
   7216   else
   7217     echo "$progname: failed program was:" >&5
   7218     cat conftest.$ac_ext >&5
   7219   fi
   7220   rm -rf conftest* conftst*
   7221 
   7222   # Do not use the global_symbol_pipe unless it works.
   7223   if test "$pipe_works" = yes; then
   7224     break
   7225   else
   7226     lt_cv_sys_global_symbol_pipe=
   7227   fi
   7228 done
   7229 
   7230 fi
   7231 
   7232 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7233   lt_cv_sys_global_symbol_to_cdecl=
   7234 fi
   7235 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7237 $as_echo "failed" >&6; }
   7238 else
   7239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7240 $as_echo "ok" >&6; }
   7241 fi
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 # Check whether --enable-libtool-lock was given.
   7265 if test "${enable_libtool_lock+set}" = set; then :
   7266   enableval=$enable_libtool_lock;
   7267 fi
   7268 
   7269 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7270 
   7271 # Some flags need to be propagated to the compiler or linker for good
   7272 # libtool support.
   7273 case $host in
   7274 ia64-*-hpux*)
   7275   # Find out which ABI we are using.
   7276   echo 'int i;' > conftest.$ac_ext
   7277   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7278   (eval $ac_compile) 2>&5
   7279   ac_status=$?
   7280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7281   test $ac_status = 0; }; then
   7282     case `/usr/bin/file conftest.$ac_objext` in
   7283       *ELF-32*)
   7284 	HPUX_IA64_MODE="32"
   7285 	;;
   7286       *ELF-64*)
   7287 	HPUX_IA64_MODE="64"
   7288 	;;
   7289     esac
   7290   fi
   7291   rm -rf conftest*
   7292   ;;
   7293 *-*-irix6*)
   7294   # Find out which ABI we are using.
   7295   echo '#line 7295 "configure"' > conftest.$ac_ext
   7296   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7297   (eval $ac_compile) 2>&5
   7298   ac_status=$?
   7299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7300   test $ac_status = 0; }; then
   7301     if test "$lt_cv_prog_gnu_ld" = yes; then
   7302       case `/usr/bin/file conftest.$ac_objext` in
   7303 	*32-bit*)
   7304 	  LD="${LD-ld} -melf32bsmip"
   7305 	  ;;
   7306 	*N32*)
   7307 	  LD="${LD-ld} -melf32bmipn32"
   7308 	  ;;
   7309 	*64-bit*)
   7310 	  LD="${LD-ld} -melf64bmip"
   7311 	;;
   7312       esac
   7313     else
   7314       case `/usr/bin/file conftest.$ac_objext` in
   7315 	*32-bit*)
   7316 	  LD="${LD-ld} -32"
   7317 	  ;;
   7318 	*N32*)
   7319 	  LD="${LD-ld} -n32"
   7320 	  ;;
   7321 	*64-bit*)
   7322 	  LD="${LD-ld} -64"
   7323 	  ;;
   7324       esac
   7325     fi
   7326   fi
   7327   rm -rf conftest*
   7328   ;;
   7329 
   7330 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7331 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7332   # Find out which ABI we are using.
   7333   echo 'int i;' > conftest.$ac_ext
   7334   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7335   (eval $ac_compile) 2>&5
   7336   ac_status=$?
   7337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7338   test $ac_status = 0; }; then
   7339     case `/usr/bin/file conftest.o` in
   7340       *32-bit*)
   7341 	case $host in
   7342 	  x86_64-*kfreebsd*-gnu)
   7343 	    LD="${LD-ld} -m elf_i386_fbsd"
   7344 	    ;;
   7345 	  x86_64-*linux*)
   7346 	    LD="${LD-ld} -m elf_i386"
   7347 	    ;;
   7348 	  ppc64-*linux*|powerpc64-*linux*)
   7349 	    LD="${LD-ld} -m elf32ppclinux"
   7350 	    ;;
   7351 	  s390x-*linux*)
   7352 	    LD="${LD-ld} -m elf_s390"
   7353 	    ;;
   7354 	  sparc64-*linux*)
   7355 	    LD="${LD-ld} -m elf32_sparc"
   7356 	    ;;
   7357 	esac
   7358 	;;
   7359       *64-bit*)
   7360 	case $host in
   7361 	  x86_64-*kfreebsd*-gnu)
   7362 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7363 	    ;;
   7364 	  x86_64-*linux*)
   7365 	    LD="${LD-ld} -m elf_x86_64"
   7366 	    ;;
   7367 	  ppc*-*linux*|powerpc*-*linux*)
   7368 	    LD="${LD-ld} -m elf64ppc"
   7369 	    ;;
   7370 	  s390*-*linux*|s390*-*tpf*)
   7371 	    LD="${LD-ld} -m elf64_s390"
   7372 	    ;;
   7373 	  sparc*-*linux*)
   7374 	    LD="${LD-ld} -m elf64_sparc"
   7375 	    ;;
   7376 	esac
   7377 	;;
   7378     esac
   7379   fi
   7380   rm -rf conftest*
   7381   ;;
   7382 
   7383 *-*-sco3.2v5*)
   7384   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7385   SAVE_CFLAGS="$CFLAGS"
   7386   CFLAGS="$CFLAGS -belf"
   7387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7388 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7389 if ${lt_cv_cc_needs_belf+:} false; then :
   7390   $as_echo_n "(cached) " >&6
   7391 else
   7392   ac_ext=c
   7393 ac_cpp='$CPP $CPPFLAGS'
   7394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7397 
   7398      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7399 /* end confdefs.h.  */
   7400 
   7401 int
   7402 main ()
   7403 {
   7404 
   7405   ;
   7406   return 0;
   7407 }
   7408 _ACEOF
   7409 if ac_fn_c_try_link "$LINENO"; then :
   7410   lt_cv_cc_needs_belf=yes
   7411 else
   7412   lt_cv_cc_needs_belf=no
   7413 fi
   7414 rm -f core conftest.err conftest.$ac_objext \
   7415     conftest$ac_exeext conftest.$ac_ext
   7416      ac_ext=c
   7417 ac_cpp='$CPP $CPPFLAGS'
   7418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7421 
   7422 fi
   7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7424 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7425   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7426     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7427     CFLAGS="$SAVE_CFLAGS"
   7428   fi
   7429   ;;
   7430 sparc*-*solaris*)
   7431   # Find out which ABI we are using.
   7432   echo 'int i;' > conftest.$ac_ext
   7433   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7434   (eval $ac_compile) 2>&5
   7435   ac_status=$?
   7436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7437   test $ac_status = 0; }; then
   7438     case `/usr/bin/file conftest.o` in
   7439     *64-bit*)
   7440       case $lt_cv_prog_gnu_ld in
   7441       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7442       *)
   7443 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7444 	  LD="${LD-ld} -64"
   7445 	fi
   7446 	;;
   7447       esac
   7448       ;;
   7449     esac
   7450   fi
   7451   rm -rf conftest*
   7452   ;;
   7453 esac
   7454 
   7455 need_locks="$enable_libtool_lock"
   7456 
   7457 
   7458   case $host_os in
   7459     rhapsody* | darwin*)
   7460     if test -n "$ac_tool_prefix"; then
   7461   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7462 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7464 $as_echo_n "checking for $ac_word... " >&6; }
   7465 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7466   $as_echo_n "(cached) " >&6
   7467 else
   7468   if test -n "$DSYMUTIL"; then
   7469   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7470 else
   7471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7472 for as_dir in $PATH
   7473 do
   7474   IFS=$as_save_IFS
   7475   test -z "$as_dir" && as_dir=.
   7476     for ac_exec_ext in '' $ac_executable_extensions; do
   7477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7478     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7480     break 2
   7481   fi
   7482 done
   7483   done
   7484 IFS=$as_save_IFS
   7485 
   7486 fi
   7487 fi
   7488 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7489 if test -n "$DSYMUTIL"; then
   7490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7491 $as_echo "$DSYMUTIL" >&6; }
   7492 else
   7493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7494 $as_echo "no" >&6; }
   7495 fi
   7496 
   7497 
   7498 fi
   7499 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7500   ac_ct_DSYMUTIL=$DSYMUTIL
   7501   # Extract the first word of "dsymutil", so it can be a program name with args.
   7502 set dummy dsymutil; ac_word=$2
   7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7504 $as_echo_n "checking for $ac_word... " >&6; }
   7505 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7506   $as_echo_n "(cached) " >&6
   7507 else
   7508   if test -n "$ac_ct_DSYMUTIL"; then
   7509   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7510 else
   7511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7512 for as_dir in $PATH
   7513 do
   7514   IFS=$as_save_IFS
   7515   test -z "$as_dir" && as_dir=.
   7516     for ac_exec_ext in '' $ac_executable_extensions; do
   7517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7518     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7520     break 2
   7521   fi
   7522 done
   7523   done
   7524 IFS=$as_save_IFS
   7525 
   7526 fi
   7527 fi
   7528 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7529 if test -n "$ac_ct_DSYMUTIL"; then
   7530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7531 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7532 else
   7533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7534 $as_echo "no" >&6; }
   7535 fi
   7536 
   7537   if test "x$ac_ct_DSYMUTIL" = x; then
   7538     DSYMUTIL=":"
   7539   else
   7540     case $cross_compiling:$ac_tool_warned in
   7541 yes:)
   7542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7544 ac_tool_warned=yes ;;
   7545 esac
   7546     DSYMUTIL=$ac_ct_DSYMUTIL
   7547   fi
   7548 else
   7549   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7550 fi
   7551 
   7552     if test -n "$ac_tool_prefix"; then
   7553   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7554 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7556 $as_echo_n "checking for $ac_word... " >&6; }
   7557 if ${ac_cv_prog_NMEDIT+:} false; then :
   7558   $as_echo_n "(cached) " >&6
   7559 else
   7560   if test -n "$NMEDIT"; then
   7561   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7562 else
   7563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7564 for as_dir in $PATH
   7565 do
   7566   IFS=$as_save_IFS
   7567   test -z "$as_dir" && as_dir=.
   7568     for ac_exec_ext in '' $ac_executable_extensions; do
   7569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7570     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7572     break 2
   7573   fi
   7574 done
   7575   done
   7576 IFS=$as_save_IFS
   7577 
   7578 fi
   7579 fi
   7580 NMEDIT=$ac_cv_prog_NMEDIT
   7581 if test -n "$NMEDIT"; then
   7582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7583 $as_echo "$NMEDIT" >&6; }
   7584 else
   7585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7586 $as_echo "no" >&6; }
   7587 fi
   7588 
   7589 
   7590 fi
   7591 if test -z "$ac_cv_prog_NMEDIT"; then
   7592   ac_ct_NMEDIT=$NMEDIT
   7593   # Extract the first word of "nmedit", so it can be a program name with args.
   7594 set dummy nmedit; ac_word=$2
   7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7596 $as_echo_n "checking for $ac_word... " >&6; }
   7597 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7598   $as_echo_n "(cached) " >&6
   7599 else
   7600   if test -n "$ac_ct_NMEDIT"; then
   7601   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7602 else
   7603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7604 for as_dir in $PATH
   7605 do
   7606   IFS=$as_save_IFS
   7607   test -z "$as_dir" && as_dir=.
   7608     for ac_exec_ext in '' $ac_executable_extensions; do
   7609   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7610     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7611     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7612     break 2
   7613   fi
   7614 done
   7615   done
   7616 IFS=$as_save_IFS
   7617 
   7618 fi
   7619 fi
   7620 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7621 if test -n "$ac_ct_NMEDIT"; then
   7622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7623 $as_echo "$ac_ct_NMEDIT" >&6; }
   7624 else
   7625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7626 $as_echo "no" >&6; }
   7627 fi
   7628 
   7629   if test "x$ac_ct_NMEDIT" = x; then
   7630     NMEDIT=":"
   7631   else
   7632     case $cross_compiling:$ac_tool_warned in
   7633 yes:)
   7634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7636 ac_tool_warned=yes ;;
   7637 esac
   7638     NMEDIT=$ac_ct_NMEDIT
   7639   fi
   7640 else
   7641   NMEDIT="$ac_cv_prog_NMEDIT"
   7642 fi
   7643 
   7644     if test -n "$ac_tool_prefix"; then
   7645   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7646 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7648 $as_echo_n "checking for $ac_word... " >&6; }
   7649 if ${ac_cv_prog_LIPO+:} false; then :
   7650   $as_echo_n "(cached) " >&6
   7651 else
   7652   if test -n "$LIPO"; then
   7653   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7654 else
   7655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7656 for as_dir in $PATH
   7657 do
   7658   IFS=$as_save_IFS
   7659   test -z "$as_dir" && as_dir=.
   7660     for ac_exec_ext in '' $ac_executable_extensions; do
   7661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7662     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7664     break 2
   7665   fi
   7666 done
   7667   done
   7668 IFS=$as_save_IFS
   7669 
   7670 fi
   7671 fi
   7672 LIPO=$ac_cv_prog_LIPO
   7673 if test -n "$LIPO"; then
   7674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7675 $as_echo "$LIPO" >&6; }
   7676 else
   7677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7678 $as_echo "no" >&6; }
   7679 fi
   7680 
   7681 
   7682 fi
   7683 if test -z "$ac_cv_prog_LIPO"; then
   7684   ac_ct_LIPO=$LIPO
   7685   # Extract the first word of "lipo", so it can be a program name with args.
   7686 set dummy lipo; ac_word=$2
   7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7688 $as_echo_n "checking for $ac_word... " >&6; }
   7689 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7690   $as_echo_n "(cached) " >&6
   7691 else
   7692   if test -n "$ac_ct_LIPO"; then
   7693   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7694 else
   7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7696 for as_dir in $PATH
   7697 do
   7698   IFS=$as_save_IFS
   7699   test -z "$as_dir" && as_dir=.
   7700     for ac_exec_ext in '' $ac_executable_extensions; do
   7701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7702     ac_cv_prog_ac_ct_LIPO="lipo"
   7703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7704     break 2
   7705   fi
   7706 done
   7707   done
   7708 IFS=$as_save_IFS
   7709 
   7710 fi
   7711 fi
   7712 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7713 if test -n "$ac_ct_LIPO"; then
   7714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7715 $as_echo "$ac_ct_LIPO" >&6; }
   7716 else
   7717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7718 $as_echo "no" >&6; }
   7719 fi
   7720 
   7721   if test "x$ac_ct_LIPO" = x; then
   7722     LIPO=":"
   7723   else
   7724     case $cross_compiling:$ac_tool_warned in
   7725 yes:)
   7726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7728 ac_tool_warned=yes ;;
   7729 esac
   7730     LIPO=$ac_ct_LIPO
   7731   fi
   7732 else
   7733   LIPO="$ac_cv_prog_LIPO"
   7734 fi
   7735 
   7736     if test -n "$ac_tool_prefix"; then
   7737   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7738 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7740 $as_echo_n "checking for $ac_word... " >&6; }
   7741 if ${ac_cv_prog_OTOOL+:} false; then :
   7742   $as_echo_n "(cached) " >&6
   7743 else
   7744   if test -n "$OTOOL"; then
   7745   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7746 else
   7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7748 for as_dir in $PATH
   7749 do
   7750   IFS=$as_save_IFS
   7751   test -z "$as_dir" && as_dir=.
   7752     for ac_exec_ext in '' $ac_executable_extensions; do
   7753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7754     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7756     break 2
   7757   fi
   7758 done
   7759   done
   7760 IFS=$as_save_IFS
   7761 
   7762 fi
   7763 fi
   7764 OTOOL=$ac_cv_prog_OTOOL
   7765 if test -n "$OTOOL"; then
   7766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7767 $as_echo "$OTOOL" >&6; }
   7768 else
   7769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7770 $as_echo "no" >&6; }
   7771 fi
   7772 
   7773 
   7774 fi
   7775 if test -z "$ac_cv_prog_OTOOL"; then
   7776   ac_ct_OTOOL=$OTOOL
   7777   # Extract the first word of "otool", so it can be a program name with args.
   7778 set dummy otool; ac_word=$2
   7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7780 $as_echo_n "checking for $ac_word... " >&6; }
   7781 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7782   $as_echo_n "(cached) " >&6
   7783 else
   7784   if test -n "$ac_ct_OTOOL"; then
   7785   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7786 else
   7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7788 for as_dir in $PATH
   7789 do
   7790   IFS=$as_save_IFS
   7791   test -z "$as_dir" && as_dir=.
   7792     for ac_exec_ext in '' $ac_executable_extensions; do
   7793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7794     ac_cv_prog_ac_ct_OTOOL="otool"
   7795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7796     break 2
   7797   fi
   7798 done
   7799   done
   7800 IFS=$as_save_IFS
   7801 
   7802 fi
   7803 fi
   7804 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7805 if test -n "$ac_ct_OTOOL"; then
   7806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7807 $as_echo "$ac_ct_OTOOL" >&6; }
   7808 else
   7809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7810 $as_echo "no" >&6; }
   7811 fi
   7812 
   7813   if test "x$ac_ct_OTOOL" = x; then
   7814     OTOOL=":"
   7815   else
   7816     case $cross_compiling:$ac_tool_warned in
   7817 yes:)
   7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7820 ac_tool_warned=yes ;;
   7821 esac
   7822     OTOOL=$ac_ct_OTOOL
   7823   fi
   7824 else
   7825   OTOOL="$ac_cv_prog_OTOOL"
   7826 fi
   7827 
   7828     if test -n "$ac_tool_prefix"; then
   7829   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7830 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7832 $as_echo_n "checking for $ac_word... " >&6; }
   7833 if ${ac_cv_prog_OTOOL64+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   if test -n "$OTOOL64"; then
   7837   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7838 else
   7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7840 for as_dir in $PATH
   7841 do
   7842   IFS=$as_save_IFS
   7843   test -z "$as_dir" && as_dir=.
   7844     for ac_exec_ext in '' $ac_executable_extensions; do
   7845   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7846     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7848     break 2
   7849   fi
   7850 done
   7851   done
   7852 IFS=$as_save_IFS
   7853 
   7854 fi
   7855 fi
   7856 OTOOL64=$ac_cv_prog_OTOOL64
   7857 if test -n "$OTOOL64"; then
   7858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7859 $as_echo "$OTOOL64" >&6; }
   7860 else
   7861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7862 $as_echo "no" >&6; }
   7863 fi
   7864 
   7865 
   7866 fi
   7867 if test -z "$ac_cv_prog_OTOOL64"; then
   7868   ac_ct_OTOOL64=$OTOOL64
   7869   # Extract the first word of "otool64", so it can be a program name with args.
   7870 set dummy otool64; ac_word=$2
   7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7872 $as_echo_n "checking for $ac_word... " >&6; }
   7873 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7874   $as_echo_n "(cached) " >&6
   7875 else
   7876   if test -n "$ac_ct_OTOOL64"; then
   7877   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7878 else
   7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7880 for as_dir in $PATH
   7881 do
   7882   IFS=$as_save_IFS
   7883   test -z "$as_dir" && as_dir=.
   7884     for ac_exec_ext in '' $ac_executable_extensions; do
   7885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7886     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7888     break 2
   7889   fi
   7890 done
   7891   done
   7892 IFS=$as_save_IFS
   7893 
   7894 fi
   7895 fi
   7896 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7897 if test -n "$ac_ct_OTOOL64"; then
   7898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7899 $as_echo "$ac_ct_OTOOL64" >&6; }
   7900 else
   7901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7902 $as_echo "no" >&6; }
   7903 fi
   7904 
   7905   if test "x$ac_ct_OTOOL64" = x; then
   7906     OTOOL64=":"
   7907   else
   7908     case $cross_compiling:$ac_tool_warned in
   7909 yes:)
   7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7912 ac_tool_warned=yes ;;
   7913 esac
   7914     OTOOL64=$ac_ct_OTOOL64
   7915   fi
   7916 else
   7917   OTOOL64="$ac_cv_prog_OTOOL64"
   7918 fi
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7947 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7948 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7949   $as_echo_n "(cached) " >&6
   7950 else
   7951   lt_cv_apple_cc_single_mod=no
   7952       if test -z "${LT_MULTI_MODULE}"; then
   7953 	# By default we will add the -single_module flag. You can override
   7954 	# by either setting the environment variable LT_MULTI_MODULE
   7955 	# non-empty at configure time, or by adding -multi_module to the
   7956 	# link flags.
   7957 	rm -rf libconftest.dylib*
   7958 	echo "int foo(void){return 1;}" > conftest.c
   7959 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7960 -dynamiclib -Wl,-single_module conftest.c" >&5
   7961 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7962 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7963         _lt_result=$?
   7964 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7965 	  lt_cv_apple_cc_single_mod=yes
   7966 	else
   7967 	  cat conftest.err >&5
   7968 	fi
   7969 	rm -rf libconftest.dylib*
   7970 	rm -f conftest.*
   7971       fi
   7972 fi
   7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7974 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7975     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7976 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7977 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7978   $as_echo_n "(cached) " >&6
   7979 else
   7980   lt_cv_ld_exported_symbols_list=no
   7981       save_LDFLAGS=$LDFLAGS
   7982       echo "_main" > conftest.sym
   7983       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7985 /* end confdefs.h.  */
   7986 
   7987 int
   7988 main ()
   7989 {
   7990 
   7991   ;
   7992   return 0;
   7993 }
   7994 _ACEOF
   7995 if ac_fn_c_try_link "$LINENO"; then :
   7996   lt_cv_ld_exported_symbols_list=yes
   7997 else
   7998   lt_cv_ld_exported_symbols_list=no
   7999 fi
   8000 rm -f core conftest.err conftest.$ac_objext \
   8001     conftest$ac_exeext conftest.$ac_ext
   8002 	LDFLAGS="$save_LDFLAGS"
   8003 
   8004 fi
   8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8006 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8007     case $host_os in
   8008     rhapsody* | darwin1.[012])
   8009       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8010     darwin1.*)
   8011       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8012     darwin*) # darwin 5.x on
   8013       # if running on 10.5 or later, the deployment target defaults
   8014       # to the OS version, if on x86, and 10.4, the deployment
   8015       # target defaults to 10.4. Don't you love it?
   8016       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8017 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8018 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8019 	10.[012]*)
   8020 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8021 	10.*)
   8022 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8023       esac
   8024     ;;
   8025   esac
   8026     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8027       _lt_dar_single_mod='$single_module'
   8028     fi
   8029     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8030       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8031     else
   8032       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8033     fi
   8034     if test "$DSYMUTIL" != ":"; then
   8035       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8036     else
   8037       _lt_dsymutil=
   8038     fi
   8039     ;;
   8040   esac
   8041 
   8042 for ac_header in dlfcn.h
   8043 do :
   8044   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8045 "
   8046 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8047   cat >>confdefs.h <<_ACEOF
   8048 #define HAVE_DLFCN_H 1
   8049 _ACEOF
   8050 
   8051 fi
   8052 
   8053 done
   8054 
   8055 
   8056 
   8057 # Set options
   8058 
   8059 
   8060 
   8061         enable_dlopen=no
   8062 
   8063 
   8064   enable_win32_dll=no
   8065 
   8066 
   8067             # Check whether --enable-shared was given.
   8068 if test "${enable_shared+set}" = set; then :
   8069   enableval=$enable_shared; p=${PACKAGE-default}
   8070     case $enableval in
   8071     yes) enable_shared=yes ;;
   8072     no) enable_shared=no ;;
   8073     *)
   8074       enable_shared=no
   8075       # Look at the argument we got.  We use all the common list separators.
   8076       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8077       for pkg in $enableval; do
   8078 	IFS="$lt_save_ifs"
   8079 	if test "X$pkg" = "X$p"; then
   8080 	  enable_shared=yes
   8081 	fi
   8082       done
   8083       IFS="$lt_save_ifs"
   8084       ;;
   8085     esac
   8086 else
   8087   enable_shared=yes
   8088 fi
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098   # Check whether --enable-static was given.
   8099 if test "${enable_static+set}" = set; then :
   8100   enableval=$enable_static; p=${PACKAGE-default}
   8101     case $enableval in
   8102     yes) enable_static=yes ;;
   8103     no) enable_static=no ;;
   8104     *)
   8105      enable_static=no
   8106       # Look at the argument we got.  We use all the common list separators.
   8107       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8108       for pkg in $enableval; do
   8109 	IFS="$lt_save_ifs"
   8110 	if test "X$pkg" = "X$p"; then
   8111 	  enable_static=yes
   8112 	fi
   8113       done
   8114       IFS="$lt_save_ifs"
   8115       ;;
   8116     esac
   8117 else
   8118   enable_static=yes
   8119 fi
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 # Check whether --with-pic was given.
   8131 if test "${with_pic+set}" = set; then :
   8132   withval=$with_pic; pic_mode="$withval"
   8133 else
   8134   pic_mode=default
   8135 fi
   8136 
   8137 
   8138 test -z "$pic_mode" && pic_mode=default
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146   # Check whether --enable-fast-install was given.
   8147 if test "${enable_fast_install+set}" = set; then :
   8148   enableval=$enable_fast_install; p=${PACKAGE-default}
   8149     case $enableval in
   8150     yes) enable_fast_install=yes ;;
   8151     no) enable_fast_install=no ;;
   8152     *)
   8153       enable_fast_install=no
   8154       # Look at the argument we got.  We use all the common list separators.
   8155       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8156       for pkg in $enableval; do
   8157 	IFS="$lt_save_ifs"
   8158 	if test "X$pkg" = "X$p"; then
   8159 	  enable_fast_install=yes
   8160 	fi
   8161       done
   8162       IFS="$lt_save_ifs"
   8163       ;;
   8164     esac
   8165 else
   8166   enable_fast_install=yes
   8167 fi
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 # This can be used to rebuild libtool when needed
   8180 LIBTOOL_DEPS="$ltmain"
   8181 
   8182 # Always use our own libtool.
   8183 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 test -z "$LN_S" && LN_S="ln -s"
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 if test -n "${ZSH_VERSION+set}" ; then
   8225    setopt NO_GLOB_SUBST
   8226 fi
   8227 
   8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8229 $as_echo_n "checking for objdir... " >&6; }
   8230 if ${lt_cv_objdir+:} false; then :
   8231   $as_echo_n "(cached) " >&6
   8232 else
   8233   rm -f .libs 2>/dev/null
   8234 mkdir .libs 2>/dev/null
   8235 if test -d .libs; then
   8236   lt_cv_objdir=.libs
   8237 else
   8238   # MS-DOS does not allow filenames that begin with a dot.
   8239   lt_cv_objdir=_libs
   8240 fi
   8241 rmdir .libs 2>/dev/null
   8242 fi
   8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8244 $as_echo "$lt_cv_objdir" >&6; }
   8245 objdir=$lt_cv_objdir
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 cat >>confdefs.h <<_ACEOF
   8252 #define LT_OBJDIR "$lt_cv_objdir/"
   8253 _ACEOF
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 case $host_os in
   8272 aix3*)
   8273   # AIX sometimes has problems with the GCC collect2 program.  For some
   8274   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8275   # vanish in a puff of smoke.
   8276   if test "X${COLLECT_NAMES+set}" != Xset; then
   8277     COLLECT_NAMES=
   8278     export COLLECT_NAMES
   8279   fi
   8280   ;;
   8281 esac
   8282 
   8283 # Sed substitution that helps us do robust quoting.  It backslashifies
   8284 # metacharacters that are still active within double-quoted strings.
   8285 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8286 
   8287 # Same as above, but do not quote variable references.
   8288 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8289 
   8290 # Sed substitution to delay expansion of an escaped shell variable in a
   8291 # double_quote_subst'ed string.
   8292 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8293 
   8294 # Sed substitution to delay expansion of an escaped single quote.
   8295 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8296 
   8297 # Sed substitution to avoid accidental globbing in evaled expressions
   8298 no_glob_subst='s/\*/\\\*/g'
   8299 
   8300 # Global variables:
   8301 ofile=libtool
   8302 can_build_shared=yes
   8303 
   8304 # All known linkers require a `.a' archive for static linking (except MSVC,
   8305 # which needs '.lib').
   8306 libext=a
   8307 
   8308 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8309 
   8310 old_CC="$CC"
   8311 old_CFLAGS="$CFLAGS"
   8312 
   8313 # Set sane defaults for various variables
   8314 test -z "$CC" && CC=cc
   8315 test -z "$LTCC" && LTCC=$CC
   8316 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8317 test -z "$LD" && LD=ld
   8318 test -z "$ac_objext" && ac_objext=o
   8319 
   8320 for cc_temp in $compiler""; do
   8321   case $cc_temp in
   8322     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8323     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8324     \-*) ;;
   8325     *) break;;
   8326   esac
   8327 done
   8328 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8329 
   8330 
   8331 # Only perform the check for file, if the check method requires it
   8332 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8333 case $deplibs_check_method in
   8334 file_magic*)
   8335   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8336     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8337 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8338 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8339   $as_echo_n "(cached) " >&6
   8340 else
   8341   case $MAGIC_CMD in
   8342 [\\/*] |  ?:[\\/]*)
   8343   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8344   ;;
   8345 *)
   8346   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8347   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8348   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8349   for ac_dir in $ac_dummy; do
   8350     IFS="$lt_save_ifs"
   8351     test -z "$ac_dir" && ac_dir=.
   8352     if test -f $ac_dir/${ac_tool_prefix}file; then
   8353       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8354       if test -n "$file_magic_test_file"; then
   8355 	case $deplibs_check_method in
   8356 	"file_magic "*)
   8357 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8358 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8359 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8360 	    $EGREP "$file_magic_regex" > /dev/null; then
   8361 	    :
   8362 	  else
   8363 	    cat <<_LT_EOF 1>&2
   8364 
   8365 *** Warning: the command libtool uses to detect shared libraries,
   8366 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8367 *** The result is that libtool may fail to recognize shared libraries
   8368 *** as such.  This will affect the creation of libtool libraries that
   8369 *** depend on shared libraries, but programs linked with such libtool
   8370 *** libraries will work regardless of this problem.  Nevertheless, you
   8371 *** may want to report the problem to your system manager and/or to
   8372 *** bug-libtool@gnu.org
   8373 
   8374 _LT_EOF
   8375 	  fi ;;
   8376 	esac
   8377       fi
   8378       break
   8379     fi
   8380   done
   8381   IFS="$lt_save_ifs"
   8382   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8383   ;;
   8384 esac
   8385 fi
   8386 
   8387 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8388 if test -n "$MAGIC_CMD"; then
   8389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8390 $as_echo "$MAGIC_CMD" >&6; }
   8391 else
   8392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8393 $as_echo "no" >&6; }
   8394 fi
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8401   if test -n "$ac_tool_prefix"; then
   8402     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8403 $as_echo_n "checking for file... " >&6; }
   8404 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8405   $as_echo_n "(cached) " >&6
   8406 else
   8407   case $MAGIC_CMD in
   8408 [\\/*] |  ?:[\\/]*)
   8409   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8410   ;;
   8411 *)
   8412   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8413   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8414   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8415   for ac_dir in $ac_dummy; do
   8416     IFS="$lt_save_ifs"
   8417     test -z "$ac_dir" && ac_dir=.
   8418     if test -f $ac_dir/file; then
   8419       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8420       if test -n "$file_magic_test_file"; then
   8421 	case $deplibs_check_method in
   8422 	"file_magic "*)
   8423 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8424 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8425 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8426 	    $EGREP "$file_magic_regex" > /dev/null; then
   8427 	    :
   8428 	  else
   8429 	    cat <<_LT_EOF 1>&2
   8430 
   8431 *** Warning: the command libtool uses to detect shared libraries,
   8432 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8433 *** The result is that libtool may fail to recognize shared libraries
   8434 *** as such.  This will affect the creation of libtool libraries that
   8435 *** depend on shared libraries, but programs linked with such libtool
   8436 *** libraries will work regardless of this problem.  Nevertheless, you
   8437 *** may want to report the problem to your system manager and/or to
   8438 *** bug-libtool@gnu.org
   8439 
   8440 _LT_EOF
   8441 	  fi ;;
   8442 	esac
   8443       fi
   8444       break
   8445     fi
   8446   done
   8447   IFS="$lt_save_ifs"
   8448   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8449   ;;
   8450 esac
   8451 fi
   8452 
   8453 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8454 if test -n "$MAGIC_CMD"; then
   8455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8456 $as_echo "$MAGIC_CMD" >&6; }
   8457 else
   8458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8459 $as_echo "no" >&6; }
   8460 fi
   8461 
   8462 
   8463   else
   8464     MAGIC_CMD=:
   8465   fi
   8466 fi
   8467 
   8468   fi
   8469   ;;
   8470 esac
   8471 
   8472 # Use C for the default configuration in the libtool script
   8473 
   8474 lt_save_CC="$CC"
   8475 ac_ext=c
   8476 ac_cpp='$CPP $CPPFLAGS'
   8477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8480 
   8481 
   8482 # Source file extension for C test sources.
   8483 ac_ext=c
   8484 
   8485 # Object file extension for compiled C test sources.
   8486 objext=o
   8487 objext=$objext
   8488 
   8489 # Code to be used in simple compile tests
   8490 lt_simple_compile_test_code="int some_variable = 0;"
   8491 
   8492 # Code to be used in simple link tests
   8493 lt_simple_link_test_code='int main(){return(0);}'
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 # If no C compiler was specified, use CC.
   8502 LTCC=${LTCC-"$CC"}
   8503 
   8504 # If no C compiler flags were specified, use CFLAGS.
   8505 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8506 
   8507 # Allow CC to be a program name with arguments.
   8508 compiler=$CC
   8509 
   8510 # Save the default compiler, since it gets overwritten when the other
   8511 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8512 compiler_DEFAULT=$CC
   8513 
   8514 # save warnings/boilerplate of simple test code
   8515 ac_outfile=conftest.$ac_objext
   8516 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8517 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8518 _lt_compiler_boilerplate=`cat conftest.err`
   8519 $RM conftest*
   8520 
   8521 ac_outfile=conftest.$ac_objext
   8522 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8523 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8524 _lt_linker_boilerplate=`cat conftest.err`
   8525 $RM -r conftest*
   8526 
   8527 
   8528 ## CAVEAT EMPTOR:
   8529 ## There is no encapsulation within the following macros, do not change
   8530 ## the running order or otherwise move them around unless you know exactly
   8531 ## what you are doing...
   8532 if test -n "$compiler"; then
   8533 
   8534 lt_prog_compiler_no_builtin_flag=
   8535 
   8536 if test "$GCC" = yes; then
   8537   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8538 
   8539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8540 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8541 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8542   $as_echo_n "(cached) " >&6
   8543 else
   8544   lt_cv_prog_compiler_rtti_exceptions=no
   8545    ac_outfile=conftest.$ac_objext
   8546    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8547    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8548    # Insert the option either (1) after the last *FLAGS variable, or
   8549    # (2) before a word containing "conftest.", or (3) at the end.
   8550    # Note that $ac_compile itself does not contain backslashes and begins
   8551    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8552    # The option is referenced via a variable to avoid confusing sed.
   8553    lt_compile=`echo "$ac_compile" | $SED \
   8554    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8555    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8556    -e 's:$: $lt_compiler_flag:'`
   8557    (eval echo "\"\$as_me:8557: $lt_compile\"" >&5)
   8558    (eval "$lt_compile" 2>conftest.err)
   8559    ac_status=$?
   8560    cat conftest.err >&5
   8561    echo "$as_me:8561: \$? = $ac_status" >&5
   8562    if (exit $ac_status) && test -s "$ac_outfile"; then
   8563      # The compiler can only warn and ignore the option if not recognized
   8564      # So say no if there are warnings other than the usual output.
   8565      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8566      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8567      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8568        lt_cv_prog_compiler_rtti_exceptions=yes
   8569      fi
   8570    fi
   8571    $RM conftest*
   8572 
   8573 fi
   8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8575 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8576 
   8577 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8578     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8579 else
   8580     :
   8581 fi
   8582 
   8583 fi
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590   lt_prog_compiler_wl=
   8591 lt_prog_compiler_pic=
   8592 lt_prog_compiler_static=
   8593 
   8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8595 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8596 
   8597   if test "$GCC" = yes; then
   8598     lt_prog_compiler_wl='-Wl,'
   8599     lt_prog_compiler_static='-static'
   8600 
   8601     case $host_os in
   8602       aix*)
   8603       # All AIX code is PIC.
   8604       if test "$host_cpu" = ia64; then
   8605 	# AIX 5 now supports IA64 processor
   8606 	lt_prog_compiler_static='-Bstatic'
   8607       fi
   8608       ;;
   8609 
   8610     amigaos*)
   8611       case $host_cpu in
   8612       powerpc)
   8613             # see comment about AmigaOS4 .so support
   8614             lt_prog_compiler_pic='-fPIC'
   8615         ;;
   8616       m68k)
   8617             # FIXME: we need at least 68020 code to build shared libraries, but
   8618             # adding the `-m68020' flag to GCC prevents building anything better,
   8619             # like `-m68040'.
   8620             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8621         ;;
   8622       esac
   8623       ;;
   8624 
   8625     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8626       # PIC is the default for these OSes.
   8627       ;;
   8628 
   8629     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8630       # This hack is so that the source file can tell whether it is being
   8631       # built for inclusion in a dll (and should export symbols for example).
   8632       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8633       # (--disable-auto-import) libraries
   8634       lt_prog_compiler_pic='-DDLL_EXPORT'
   8635       ;;
   8636 
   8637     darwin* | rhapsody*)
   8638       # PIC is the default on this platform
   8639       # Common symbols not allowed in MH_DYLIB files
   8640       lt_prog_compiler_pic='-fno-common'
   8641       ;;
   8642 
   8643     hpux*)
   8644       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8645       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8646       # sets the default TLS model and affects inlining.
   8647       case $host_cpu in
   8648       hppa*64*)
   8649 	# +Z the default
   8650 	;;
   8651       *)
   8652 	lt_prog_compiler_pic='-fPIC'
   8653 	;;
   8654       esac
   8655       ;;
   8656 
   8657     interix[3-9]*)
   8658       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8659       # Instead, we relocate shared libraries at runtime.
   8660       ;;
   8661 
   8662     msdosdjgpp*)
   8663       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8664       # on systems that don't support them.
   8665       lt_prog_compiler_can_build_shared=no
   8666       enable_shared=no
   8667       ;;
   8668 
   8669     *nto* | *qnx*)
   8670       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8671       # it will coredump.
   8672       lt_prog_compiler_pic='-fPIC -shared'
   8673       ;;
   8674 
   8675     sysv4*MP*)
   8676       if test -d /usr/nec; then
   8677 	lt_prog_compiler_pic=-Kconform_pic
   8678       fi
   8679       ;;
   8680 
   8681     *)
   8682       lt_prog_compiler_pic='-fPIC'
   8683       ;;
   8684     esac
   8685   else
   8686     # PORTME Check for flag to pass linker flags through the system compiler.
   8687     case $host_os in
   8688     aix*)
   8689       lt_prog_compiler_wl='-Wl,'
   8690       if test "$host_cpu" = ia64; then
   8691 	# AIX 5 now supports IA64 processor
   8692 	lt_prog_compiler_static='-Bstatic'
   8693       else
   8694 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8695       fi
   8696       ;;
   8697 
   8698     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8699       # This hack is so that the source file can tell whether it is being
   8700       # built for inclusion in a dll (and should export symbols for example).
   8701       lt_prog_compiler_pic='-DDLL_EXPORT'
   8702       ;;
   8703 
   8704     hpux9* | hpux10* | hpux11*)
   8705       lt_prog_compiler_wl='-Wl,'
   8706       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8707       # not for PA HP-UX.
   8708       case $host_cpu in
   8709       hppa*64*|ia64*)
   8710 	# +Z the default
   8711 	;;
   8712       *)
   8713 	lt_prog_compiler_pic='+Z'
   8714 	;;
   8715       esac
   8716       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8717       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8718       ;;
   8719 
   8720     irix5* | irix6* | nonstopux*)
   8721       lt_prog_compiler_wl='-Wl,'
   8722       # PIC (with -KPIC) is the default.
   8723       lt_prog_compiler_static='-non_shared'
   8724       ;;
   8725 
   8726     linux* | k*bsd*-gnu)
   8727       case $cc_basename in
   8728       # old Intel for x86_64 which still supported -KPIC.
   8729       ecc*)
   8730 	lt_prog_compiler_wl='-Wl,'
   8731 	lt_prog_compiler_pic='-KPIC'
   8732 	lt_prog_compiler_static='-static'
   8733         ;;
   8734       # icc used to be incompatible with GCC.
   8735       # ICC 10 doesn't accept -KPIC any more.
   8736       icc* | ifort*)
   8737 	lt_prog_compiler_wl='-Wl,'
   8738 	lt_prog_compiler_pic='-fPIC'
   8739 	lt_prog_compiler_static='-static'
   8740         ;;
   8741       # Lahey Fortran 8.1.
   8742       lf95*)
   8743 	lt_prog_compiler_wl='-Wl,'
   8744 	lt_prog_compiler_pic='--shared'
   8745 	lt_prog_compiler_static='--static'
   8746 	;;
   8747       pgcc* | pgf77* | pgf90* | pgf95*)
   8748         # Portland Group compilers (*not* the Pentium gcc compiler,
   8749 	# which looks to be a dead project)
   8750 	lt_prog_compiler_wl='-Wl,'
   8751 	lt_prog_compiler_pic='-fpic'
   8752 	lt_prog_compiler_static='-Bstatic'
   8753         ;;
   8754       ccc*)
   8755         lt_prog_compiler_wl='-Wl,'
   8756         # All Alpha code is PIC.
   8757         lt_prog_compiler_static='-non_shared'
   8758         ;;
   8759       xl*)
   8760 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8761 	lt_prog_compiler_wl='-Wl,'
   8762 	lt_prog_compiler_pic='-qpic'
   8763 	lt_prog_compiler_static='-qstaticlink'
   8764 	;;
   8765       *)
   8766 	case `$CC -V 2>&1 | sed 5q` in
   8767 	*Sun\ C*)
   8768 	  # Sun C 5.9
   8769 	  lt_prog_compiler_pic='-KPIC'
   8770 	  lt_prog_compiler_static='-Bstatic'
   8771 	  lt_prog_compiler_wl='-Wl,'
   8772 	  ;;
   8773 	*Sun\ F*)
   8774 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8775 	  lt_prog_compiler_pic='-KPIC'
   8776 	  lt_prog_compiler_static='-Bstatic'
   8777 	  lt_prog_compiler_wl=''
   8778 	  ;;
   8779 	esac
   8780 	;;
   8781       esac
   8782       ;;
   8783 
   8784     newsos6)
   8785       lt_prog_compiler_pic='-KPIC'
   8786       lt_prog_compiler_static='-Bstatic'
   8787       ;;
   8788 
   8789     *nto* | *qnx*)
   8790       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8791       # it will coredump.
   8792       lt_prog_compiler_pic='-fPIC -shared'
   8793       ;;
   8794 
   8795     osf3* | osf4* | osf5*)
   8796       lt_prog_compiler_wl='-Wl,'
   8797       # All OSF/1 code is PIC.
   8798       lt_prog_compiler_static='-non_shared'
   8799       ;;
   8800 
   8801     rdos*)
   8802       lt_prog_compiler_static='-non_shared'
   8803       ;;
   8804 
   8805     solaris*)
   8806       lt_prog_compiler_pic='-KPIC'
   8807       lt_prog_compiler_static='-Bstatic'
   8808       case $cc_basename in
   8809       f77* | f90* | f95*)
   8810 	lt_prog_compiler_wl='-Qoption ld ';;
   8811       *)
   8812 	lt_prog_compiler_wl='-Wl,';;
   8813       esac
   8814       ;;
   8815 
   8816     sunos4*)
   8817       lt_prog_compiler_wl='-Qoption ld '
   8818       lt_prog_compiler_pic='-PIC'
   8819       lt_prog_compiler_static='-Bstatic'
   8820       ;;
   8821 
   8822     sysv4 | sysv4.2uw2* | sysv4.3*)
   8823       lt_prog_compiler_wl='-Wl,'
   8824       lt_prog_compiler_pic='-KPIC'
   8825       lt_prog_compiler_static='-Bstatic'
   8826       ;;
   8827 
   8828     sysv4*MP*)
   8829       if test -d /usr/nec ;then
   8830 	lt_prog_compiler_pic='-Kconform_pic'
   8831 	lt_prog_compiler_static='-Bstatic'
   8832       fi
   8833       ;;
   8834 
   8835     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8836       lt_prog_compiler_wl='-Wl,'
   8837       lt_prog_compiler_pic='-KPIC'
   8838       lt_prog_compiler_static='-Bstatic'
   8839       ;;
   8840 
   8841     unicos*)
   8842       lt_prog_compiler_wl='-Wl,'
   8843       lt_prog_compiler_can_build_shared=no
   8844       ;;
   8845 
   8846     uts4*)
   8847       lt_prog_compiler_pic='-pic'
   8848       lt_prog_compiler_static='-Bstatic'
   8849       ;;
   8850 
   8851     *)
   8852       lt_prog_compiler_can_build_shared=no
   8853       ;;
   8854     esac
   8855   fi
   8856 
   8857 case $host_os in
   8858   # For platforms which do not support PIC, -DPIC is meaningless:
   8859   *djgpp*)
   8860     lt_prog_compiler_pic=
   8861     ;;
   8862   *)
   8863     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8864     ;;
   8865 esac
   8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8867 $as_echo "$lt_prog_compiler_pic" >&6; }
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 #
   8875 # Check to make sure the PIC flag actually works.
   8876 #
   8877 if test -n "$lt_prog_compiler_pic"; then
   8878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8879 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8880 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8881   $as_echo_n "(cached) " >&6
   8882 else
   8883   lt_cv_prog_compiler_pic_works=no
   8884    ac_outfile=conftest.$ac_objext
   8885    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8886    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8887    # Insert the option either (1) after the last *FLAGS variable, or
   8888    # (2) before a word containing "conftest.", or (3) at the end.
   8889    # Note that $ac_compile itself does not contain backslashes and begins
   8890    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8891    # The option is referenced via a variable to avoid confusing sed.
   8892    lt_compile=`echo "$ac_compile" | $SED \
   8893    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8894    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8895    -e 's:$: $lt_compiler_flag:'`
   8896    (eval echo "\"\$as_me:8896: $lt_compile\"" >&5)
   8897    (eval "$lt_compile" 2>conftest.err)
   8898    ac_status=$?
   8899    cat conftest.err >&5
   8900    echo "$as_me:8900: \$? = $ac_status" >&5
   8901    if (exit $ac_status) && test -s "$ac_outfile"; then
   8902      # The compiler can only warn and ignore the option if not recognized
   8903      # So say no if there are warnings other than the usual output.
   8904      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8905      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8906      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8907        lt_cv_prog_compiler_pic_works=yes
   8908      fi
   8909    fi
   8910    $RM conftest*
   8911 
   8912 fi
   8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8914 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8915 
   8916 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8917     case $lt_prog_compiler_pic in
   8918      "" | " "*) ;;
   8919      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8920      esac
   8921 else
   8922     lt_prog_compiler_pic=
   8923      lt_prog_compiler_can_build_shared=no
   8924 fi
   8925 
   8926 fi
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 #
   8934 # Check to make sure the static flag actually works.
   8935 #
   8936 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8938 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8939 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8940   $as_echo_n "(cached) " >&6
   8941 else
   8942   lt_cv_prog_compiler_static_works=no
   8943    save_LDFLAGS="$LDFLAGS"
   8944    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8945    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8946    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8947      # The linker can only warn and ignore the option if not recognized
   8948      # So say no if there are warnings
   8949      if test -s conftest.err; then
   8950        # Append any errors to the config.log.
   8951        cat conftest.err 1>&5
   8952        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8953        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8954        if diff conftest.exp conftest.er2 >/dev/null; then
   8955          lt_cv_prog_compiler_static_works=yes
   8956        fi
   8957      else
   8958        lt_cv_prog_compiler_static_works=yes
   8959      fi
   8960    fi
   8961    $RM -r conftest*
   8962    LDFLAGS="$save_LDFLAGS"
   8963 
   8964 fi
   8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8966 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8967 
   8968 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8969     :
   8970 else
   8971     lt_prog_compiler_static=
   8972 fi
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8981 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8982 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8983   $as_echo_n "(cached) " >&6
   8984 else
   8985   lt_cv_prog_compiler_c_o=no
   8986    $RM -r conftest 2>/dev/null
   8987    mkdir conftest
   8988    cd conftest
   8989    mkdir out
   8990    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8991 
   8992    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8993    # Insert the option either (1) after the last *FLAGS variable, or
   8994    # (2) before a word containing "conftest.", or (3) at the end.
   8995    # Note that $ac_compile itself does not contain backslashes and begins
   8996    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8997    lt_compile=`echo "$ac_compile" | $SED \
   8998    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8999    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9000    -e 's:$: $lt_compiler_flag:'`
   9001    (eval echo "\"\$as_me:9001: $lt_compile\"" >&5)
   9002    (eval "$lt_compile" 2>out/conftest.err)
   9003    ac_status=$?
   9004    cat out/conftest.err >&5
   9005    echo "$as_me:9005: \$? = $ac_status" >&5
   9006    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9007    then
   9008      # The compiler can only warn and ignore the option if not recognized
   9009      # So say no if there are warnings
   9010      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   9011      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9012      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9013        lt_cv_prog_compiler_c_o=yes
   9014      fi
   9015    fi
   9016    chmod u+w . 2>&5
   9017    $RM conftest*
   9018    # SGI C++ compiler will create directory out/ii_files/ for
   9019    # template instantiation
   9020    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9021    $RM out/* && rmdir out
   9022    cd ..
   9023    $RM -r conftest
   9024    $RM conftest*
   9025 
   9026 fi
   9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9028 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9036 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9037 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9038   $as_echo_n "(cached) " >&6
   9039 else
   9040   lt_cv_prog_compiler_c_o=no
   9041    $RM -r conftest 2>/dev/null
   9042    mkdir conftest
   9043    cd conftest
   9044    mkdir out
   9045    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9046 
   9047    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9048    # Insert the option either (1) after the last *FLAGS variable, or
   9049    # (2) before a word containing "conftest.", or (3) at the end.
   9050    # Note that $ac_compile itself does not contain backslashes and begins
   9051    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9052    lt_compile=`echo "$ac_compile" | $SED \
   9053    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9054    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9055    -e 's:$: $lt_compiler_flag:'`
   9056    (eval echo "\"\$as_me:9056: $lt_compile\"" >&5)
   9057    (eval "$lt_compile" 2>out/conftest.err)
   9058    ac_status=$?
   9059    cat out/conftest.err >&5
   9060    echo "$as_me:9060: \$? = $ac_status" >&5
   9061    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9062    then
   9063      # The compiler can only warn and ignore the option if not recognized
   9064      # So say no if there are warnings
   9065      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   9066      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9067      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9068        lt_cv_prog_compiler_c_o=yes
   9069      fi
   9070    fi
   9071    chmod u+w . 2>&5
   9072    $RM conftest*
   9073    # SGI C++ compiler will create directory out/ii_files/ for
   9074    # template instantiation
   9075    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9076    $RM out/* && rmdir out
   9077    cd ..
   9078    $RM -r conftest
   9079    $RM conftest*
   9080 
   9081 fi
   9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9083 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9084 
   9085 
   9086 
   9087 
   9088 hard_links="nottested"
   9089 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9090   # do not overwrite the value of need_locks provided by the user
   9091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9092 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9093   hard_links=yes
   9094   $RM conftest*
   9095   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9096   touch conftest.a
   9097   ln conftest.a conftest.b 2>&5 || hard_links=no
   9098   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9100 $as_echo "$hard_links" >&6; }
   9101   if test "$hard_links" = no; then
   9102     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9103 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9104     need_locks=warn
   9105   fi
   9106 else
   9107   need_locks=no
   9108 fi
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9116 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9117 
   9118   runpath_var=
   9119   allow_undefined_flag=
   9120   always_export_symbols=no
   9121   archive_cmds=
   9122   archive_expsym_cmds=
   9123   compiler_needs_object=no
   9124   enable_shared_with_static_runtimes=no
   9125   export_dynamic_flag_spec=
   9126   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9127   hardcode_automatic=no
   9128   hardcode_direct=no
   9129   hardcode_direct_absolute=no
   9130   hardcode_libdir_flag_spec=
   9131   hardcode_libdir_flag_spec_ld=
   9132   hardcode_libdir_separator=
   9133   hardcode_minus_L=no
   9134   hardcode_shlibpath_var=unsupported
   9135   inherit_rpath=no
   9136   link_all_deplibs=unknown
   9137   module_cmds=
   9138   module_expsym_cmds=
   9139   old_archive_from_new_cmds=
   9140   old_archive_from_expsyms_cmds=
   9141   thread_safe_flag_spec=
   9142   whole_archive_flag_spec=
   9143   # include_expsyms should be a list of space-separated symbols to be *always*
   9144   # included in the symbol list
   9145   include_expsyms=
   9146   # exclude_expsyms can be an extended regexp of symbols to exclude
   9147   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9148   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9149   # as well as any symbol that contains `d'.
   9150   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9151   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9152   # platforms (ab)use it in PIC code, but their linkers get confused if
   9153   # the symbol is explicitly referenced.  Since portable code cannot
   9154   # rely on this symbol name, it's probably fine to never include it in
   9155   # preloaded symbol tables.
   9156   # Exclude shared library initialization/finalization symbols.
   9157   extract_expsyms_cmds=
   9158 
   9159   case $host_os in
   9160   cygwin* | mingw* | pw32* | cegcc*)
   9161     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9162     # When not using gcc, we currently assume that we are using
   9163     # Microsoft Visual C++.
   9164     if test "$GCC" != yes; then
   9165       with_gnu_ld=no
   9166     fi
   9167     ;;
   9168   interix*)
   9169     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9170     with_gnu_ld=yes
   9171     ;;
   9172   openbsd*)
   9173     with_gnu_ld=no
   9174     ;;
   9175   esac
   9176 
   9177   ld_shlibs=yes
   9178   if test "$with_gnu_ld" = yes; then
   9179     # If archive_cmds runs LD, not CC, wlarc should be empty
   9180     wlarc='${wl}'
   9181 
   9182     # Set some defaults for GNU ld with shared library support. These
   9183     # are reset later if shared libraries are not supported. Putting them
   9184     # here allows them to be overridden if necessary.
   9185     runpath_var=LD_RUN_PATH
   9186     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9187     export_dynamic_flag_spec='${wl}--export-dynamic'
   9188     # ancient GNU ld didn't support --whole-archive et. al.
   9189     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9190       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9191     else
   9192       whole_archive_flag_spec=
   9193     fi
   9194     supports_anon_versioning=no
   9195     case `$LD -v 2>&1` in
   9196       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9197       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9198       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9199       *\ 2.11.*) ;; # other 2.11 versions
   9200       *) supports_anon_versioning=yes ;;
   9201     esac
   9202 
   9203     # See if GNU ld supports shared libraries.
   9204     case $host_os in
   9205     aix[3-9]*)
   9206       # On AIX/PPC, the GNU linker is very broken
   9207       if test "$host_cpu" != ia64; then
   9208 	ld_shlibs=no
   9209 	cat <<_LT_EOF 1>&2
   9210 
   9211 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   9212 *** to be unable to reliably create shared libraries on AIX.
   9213 *** Therefore, libtool is disabling shared libraries support.  If you
   9214 *** really care for shared libraries, you may want to modify your PATH
   9215 *** so that a non-GNU linker is found, and then restart.
   9216 
   9217 _LT_EOF
   9218       fi
   9219       ;;
   9220 
   9221     amigaos*)
   9222       case $host_cpu in
   9223       powerpc)
   9224             # see comment about AmigaOS4 .so support
   9225             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9226             archive_expsym_cmds=''
   9227         ;;
   9228       m68k)
   9229             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)'
   9230             hardcode_libdir_flag_spec='-L$libdir'
   9231             hardcode_minus_L=yes
   9232         ;;
   9233       esac
   9234       ;;
   9235 
   9236     beos*)
   9237       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9238 	allow_undefined_flag=unsupported
   9239 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9240 	# support --undefined.  This deserves some investigation.  FIXME
   9241 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9242       else
   9243 	ld_shlibs=no
   9244       fi
   9245       ;;
   9246 
   9247     cygwin* | mingw* | pw32* | cegcc*)
   9248       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9249       # as there is no search path for DLLs.
   9250       hardcode_libdir_flag_spec='-L$libdir'
   9251       allow_undefined_flag=unsupported
   9252       always_export_symbols=no
   9253       enable_shared_with_static_runtimes=yes
   9254       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9255 
   9256       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9257         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9258 	# If the export-symbols file already is a .def file (1st line
   9259 	# is EXPORTS), use it as is; otherwise, prepend...
   9260 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9261 	  cp $export_symbols $output_objdir/$soname.def;
   9262 	else
   9263 	  echo EXPORTS > $output_objdir/$soname.def;
   9264 	  cat $export_symbols >> $output_objdir/$soname.def;
   9265 	fi~
   9266 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9267       else
   9268 	ld_shlibs=no
   9269       fi
   9270       ;;
   9271 
   9272     interix[3-9]*)
   9273       hardcode_direct=no
   9274       hardcode_shlibpath_var=no
   9275       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9276       export_dynamic_flag_spec='${wl}-E'
   9277       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9278       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9279       # default) and relocated if they conflict, which is a slow very memory
   9280       # consuming and fragmenting process.  To avoid this, we pick a random,
   9281       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9282       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9283       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9284       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'
   9285       ;;
   9286 
   9287     gnu* | linux* | tpf* | k*bsd*-gnu)
   9288       tmp_diet=no
   9289       if test "$host_os" = linux-dietlibc; then
   9290 	case $cc_basename in
   9291 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9292 	esac
   9293       fi
   9294       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9295 	 && test "$tmp_diet" = no
   9296       then
   9297 	tmp_addflag=
   9298 	tmp_sharedflag='-shared'
   9299 	case $cc_basename,$host_cpu in
   9300         pgcc*)				# Portland Group C compiler
   9301 	  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'
   9302 	  tmp_addflag=' $pic_flag'
   9303 	  ;;
   9304 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   9305 	  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'
   9306 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9307 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9308 	  tmp_addflag=' -i_dynamic' ;;
   9309 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9310 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9311 	ifc* | ifort*)			# Intel Fortran compiler
   9312 	  tmp_addflag=' -nofor_main' ;;
   9313 	lf95*)				# Lahey Fortran 8.1
   9314 	  whole_archive_flag_spec=
   9315 	  tmp_sharedflag='--shared' ;;
   9316 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   9317 	  tmp_sharedflag='-qmkshrobj'
   9318 	  tmp_addflag= ;;
   9319 	esac
   9320 	case `$CC -V 2>&1 | sed 5q` in
   9321 	*Sun\ C*)			# Sun C 5.9
   9322 	  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'
   9323 	  compiler_needs_object=yes
   9324 	  tmp_sharedflag='-G' ;;
   9325 	*Sun\ F*)			# Sun Fortran 8.3
   9326 	  tmp_sharedflag='-G' ;;
   9327 	esac
   9328 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9329 
   9330         if test "x$supports_anon_versioning" = xyes; then
   9331           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9332 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9333 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9334 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9335         fi
   9336 
   9337 	case $cc_basename in
   9338 	xlf*)
   9339 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9340 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9341 	  hardcode_libdir_flag_spec=
   9342 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9343 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9344 	  if test "x$supports_anon_versioning" = xyes; then
   9345 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9346 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9347 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9348 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9349 	  fi
   9350 	  ;;
   9351 	esac
   9352       else
   9353         ld_shlibs=no
   9354       fi
   9355       ;;
   9356 
   9357     netbsd*)
   9358       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9359 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9360 	wlarc=
   9361       else
   9362 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9363 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9364       fi
   9365       ;;
   9366 
   9367     solaris*)
   9368       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9369 	ld_shlibs=no
   9370 	cat <<_LT_EOF 1>&2
   9371 
   9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9373 *** create shared libraries on Solaris systems.  Therefore, libtool
   9374 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9375 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9376 *** your PATH or compiler configuration so that the native linker is
   9377 *** used, and then restart.
   9378 
   9379 _LT_EOF
   9380       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9381 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9382 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9383       else
   9384 	ld_shlibs=no
   9385       fi
   9386       ;;
   9387 
   9388     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9389       case `$LD -v 2>&1` in
   9390         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9391 	ld_shlibs=no
   9392 	cat <<_LT_EOF 1>&2
   9393 
   9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9395 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9396 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9397 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9398 *** your PATH or compiler configuration so that the native linker is
   9399 *** used, and then restart.
   9400 
   9401 _LT_EOF
   9402 	;;
   9403 	*)
   9404 	  # For security reasons, it is highly recommended that you always
   9405 	  # use absolute paths for naming shared libraries, and exclude the
   9406 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9407 	  # requires that you compile everything twice, which is a pain.
   9408 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9409 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9410 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9411 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9412 	  else
   9413 	    ld_shlibs=no
   9414 	  fi
   9415 	;;
   9416       esac
   9417       ;;
   9418 
   9419     sunos4*)
   9420       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9421       wlarc=
   9422       hardcode_direct=yes
   9423       hardcode_shlibpath_var=no
   9424       ;;
   9425 
   9426     *)
   9427       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9428 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9429 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9430       else
   9431 	ld_shlibs=no
   9432       fi
   9433       ;;
   9434     esac
   9435 
   9436     if test "$ld_shlibs" = no; then
   9437       runpath_var=
   9438       hardcode_libdir_flag_spec=
   9439       export_dynamic_flag_spec=
   9440       whole_archive_flag_spec=
   9441     fi
   9442   else
   9443     # PORTME fill in a description of your system's linker (not GNU ld)
   9444     case $host_os in
   9445     aix3*)
   9446       allow_undefined_flag=unsupported
   9447       always_export_symbols=yes
   9448       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'
   9449       # Note: this linker hardcodes the directories in LIBPATH if there
   9450       # are no directories specified by -L.
   9451       hardcode_minus_L=yes
   9452       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9453 	# Neither direct hardcoding nor static linking is supported with a
   9454 	# broken collect2.
   9455 	hardcode_direct=unsupported
   9456       fi
   9457       ;;
   9458 
   9459     aix[4-9]*)
   9460       if test "$host_cpu" = ia64; then
   9461 	# On IA64, the linker does run time linking by default, so we don't
   9462 	# have to do anything special.
   9463 	aix_use_runtimelinking=no
   9464 	exp_sym_flag='-Bexport'
   9465 	no_entry_flag=""
   9466       else
   9467 	# If we're using GNU nm, then we don't want the "-C" option.
   9468 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9469 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9470 	  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'
   9471 	else
   9472 	  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'
   9473 	fi
   9474 	aix_use_runtimelinking=no
   9475 
   9476 	# Test if we are trying to use run time linking or normal
   9477 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9478 	# need to do runtime linking.
   9479 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9480 	  for ld_flag in $LDFLAGS; do
   9481 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9482 	    aix_use_runtimelinking=yes
   9483 	    break
   9484 	  fi
   9485 	  done
   9486 	  ;;
   9487 	esac
   9488 
   9489 	exp_sym_flag='-bexport'
   9490 	no_entry_flag='-bnoentry'
   9491       fi
   9492 
   9493       # When large executables or shared objects are built, AIX ld can
   9494       # have problems creating the table of contents.  If linking a library
   9495       # or program results in "error TOC overflow" add -mminimal-toc to
   9496       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9497       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9498 
   9499       archive_cmds=''
   9500       hardcode_direct=yes
   9501       hardcode_direct_absolute=yes
   9502       hardcode_libdir_separator=':'
   9503       link_all_deplibs=yes
   9504       file_list_spec='${wl}-f,'
   9505 
   9506       if test "$GCC" = yes; then
   9507 	case $host_os in aix4.[012]|aix4.[012].*)
   9508 	# We only want to do this on AIX 4.2 and lower, the check
   9509 	# below for broken collect2 doesn't work under 4.3+
   9510 	  collect2name=`${CC} -print-prog-name=collect2`
   9511 	  if test -f "$collect2name" &&
   9512 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9513 	  then
   9514 	  # We have reworked collect2
   9515 	  :
   9516 	  else
   9517 	  # We have old collect2
   9518 	  hardcode_direct=unsupported
   9519 	  # It fails to find uninstalled libraries when the uninstalled
   9520 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9521 	  # to unsupported forces relinking
   9522 	  hardcode_minus_L=yes
   9523 	  hardcode_libdir_flag_spec='-L$libdir'
   9524 	  hardcode_libdir_separator=
   9525 	  fi
   9526 	  ;;
   9527 	esac
   9528 	shared_flag='-shared'
   9529 	if test "$aix_use_runtimelinking" = yes; then
   9530 	  shared_flag="$shared_flag "'${wl}-G'
   9531 	fi
   9532       else
   9533 	# not using gcc
   9534 	if test "$host_cpu" = ia64; then
   9535 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9536 	# chokes on -Wl,-G. The following line is correct:
   9537 	  shared_flag='-G'
   9538 	else
   9539 	  if test "$aix_use_runtimelinking" = yes; then
   9540 	    shared_flag='${wl}-G'
   9541 	  else
   9542 	    shared_flag='${wl}-bM:SRE'
   9543 	  fi
   9544 	fi
   9545       fi
   9546 
   9547       export_dynamic_flag_spec='${wl}-bexpall'
   9548       # It seems that -bexpall does not export symbols beginning with
   9549       # underscore (_), so it is better to generate a list of symbols to export.
   9550       always_export_symbols=yes
   9551       if test "$aix_use_runtimelinking" = yes; then
   9552 	# Warning - without using the other runtime loading flags (-brtl),
   9553 	# -berok will link without error, but may produce a broken library.
   9554 	allow_undefined_flag='-berok'
   9555         # Determine the default libpath from the value encoded in an
   9556         # empty executable.
   9557         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9558 /* end confdefs.h.  */
   9559 
   9560 int
   9561 main ()
   9562 {
   9563 
   9564   ;
   9565   return 0;
   9566 }
   9567 _ACEOF
   9568 if ac_fn_c_try_link "$LINENO"; then :
   9569 
   9570 lt_aix_libpath_sed='
   9571     /Import File Strings/,/^$/ {
   9572 	/^0/ {
   9573 	    s/^0  *\(.*\)$/\1/
   9574 	    p
   9575 	}
   9576     }'
   9577 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9578 # Check for a 64-bit object if we didn't find anything.
   9579 if test -z "$aix_libpath"; then
   9580   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9581 fi
   9582 fi
   9583 rm -f core conftest.err conftest.$ac_objext \
   9584     conftest$ac_exeext conftest.$ac_ext
   9585 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9586 
   9587         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9588         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"
   9589       else
   9590 	if test "$host_cpu" = ia64; then
   9591 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9592 	  allow_undefined_flag="-z nodefs"
   9593 	  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"
   9594 	else
   9595 	 # Determine the default libpath from the value encoded in an
   9596 	 # empty executable.
   9597 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9598 /* end confdefs.h.  */
   9599 
   9600 int
   9601 main ()
   9602 {
   9603 
   9604   ;
   9605   return 0;
   9606 }
   9607 _ACEOF
   9608 if ac_fn_c_try_link "$LINENO"; then :
   9609 
   9610 lt_aix_libpath_sed='
   9611     /Import File Strings/,/^$/ {
   9612 	/^0/ {
   9613 	    s/^0  *\(.*\)$/\1/
   9614 	    p
   9615 	}
   9616     }'
   9617 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9618 # Check for a 64-bit object if we didn't find anything.
   9619 if test -z "$aix_libpath"; then
   9620   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9621 fi
   9622 fi
   9623 rm -f core conftest.err conftest.$ac_objext \
   9624     conftest$ac_exeext conftest.$ac_ext
   9625 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9626 
   9627 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9628 	  # Warning - without using the other run time loading flags,
   9629 	  # -berok will link without error, but may produce a broken library.
   9630 	  no_undefined_flag=' ${wl}-bernotok'
   9631 	  allow_undefined_flag=' ${wl}-berok'
   9632 	  # Exported symbols can be pulled into shared objects from archives
   9633 	  whole_archive_flag_spec='$convenience'
   9634 	  archive_cmds_need_lc=yes
   9635 	  # This is similar to how AIX traditionally builds its shared libraries.
   9636 	  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'
   9637 	fi
   9638       fi
   9639       ;;
   9640 
   9641     amigaos*)
   9642       case $host_cpu in
   9643       powerpc)
   9644             # see comment about AmigaOS4 .so support
   9645             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9646             archive_expsym_cmds=''
   9647         ;;
   9648       m68k)
   9649             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)'
   9650             hardcode_libdir_flag_spec='-L$libdir'
   9651             hardcode_minus_L=yes
   9652         ;;
   9653       esac
   9654       ;;
   9655 
   9656     bsdi[45]*)
   9657       export_dynamic_flag_spec=-rdynamic
   9658       ;;
   9659 
   9660     cygwin* | mingw* | pw32* | cegcc*)
   9661       # When not using gcc, we currently assume that we are using
   9662       # Microsoft Visual C++.
   9663       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9664       # no search path for DLLs.
   9665       hardcode_libdir_flag_spec=' '
   9666       allow_undefined_flag=unsupported
   9667       # Tell ltmain to make .lib files, not .a files.
   9668       libext=lib
   9669       # Tell ltmain to make .dll files, not .so files.
   9670       shrext_cmds=".dll"
   9671       # FIXME: Setting linknames here is a bad hack.
   9672       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9673       # The linker will automatically build a .lib file if we build a DLL.
   9674       old_archive_from_new_cmds='true'
   9675       # FIXME: Should let the user specify the lib program.
   9676       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9677       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9678       enable_shared_with_static_runtimes=yes
   9679       ;;
   9680 
   9681     darwin* | rhapsody*)
   9682 
   9683 
   9684   archive_cmds_need_lc=no
   9685   hardcode_direct=no
   9686   hardcode_automatic=yes
   9687   hardcode_shlibpath_var=unsupported
   9688   whole_archive_flag_spec=''
   9689   link_all_deplibs=yes
   9690   allow_undefined_flag="$_lt_dar_allow_undefined"
   9691   case $cc_basename in
   9692      ifort*) _lt_dar_can_shared=yes ;;
   9693      *) _lt_dar_can_shared=$GCC ;;
   9694   esac
   9695   if test "$_lt_dar_can_shared" = "yes"; then
   9696     output_verbose_link_cmd=echo
   9697     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9698     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9699     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}"
   9700     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}"
   9701 
   9702   else
   9703   ld_shlibs=no
   9704   fi
   9705 
   9706       ;;
   9707 
   9708     dgux*)
   9709       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9710       hardcode_libdir_flag_spec='-L$libdir'
   9711       hardcode_shlibpath_var=no
   9712       ;;
   9713 
   9714     freebsd1*)
   9715       ld_shlibs=no
   9716       ;;
   9717 
   9718     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9719     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9720     # does not break anything, and helps significantly (at the cost of a little
   9721     # extra space).
   9722     freebsd2.2*)
   9723       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9724       hardcode_libdir_flag_spec='-R$libdir'
   9725       hardcode_direct=yes
   9726       hardcode_shlibpath_var=no
   9727       ;;
   9728 
   9729     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9730     freebsd2*)
   9731       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9732       hardcode_direct=yes
   9733       hardcode_minus_L=yes
   9734       hardcode_shlibpath_var=no
   9735       ;;
   9736 
   9737     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9738     freebsd* | dragonfly*)
   9739       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9740       hardcode_libdir_flag_spec='-R$libdir'
   9741       hardcode_direct=yes
   9742       hardcode_shlibpath_var=no
   9743       ;;
   9744 
   9745     hpux9*)
   9746       if test "$GCC" = yes; then
   9747 	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'
   9748       else
   9749 	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'
   9750       fi
   9751       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9752       hardcode_libdir_separator=:
   9753       hardcode_direct=yes
   9754 
   9755       # hardcode_minus_L: Not really in the search PATH,
   9756       # but as the default location of the library.
   9757       hardcode_minus_L=yes
   9758       export_dynamic_flag_spec='${wl}-E'
   9759       ;;
   9760 
   9761     hpux10*)
   9762       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9763 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9764       else
   9765 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9766       fi
   9767       if test "$with_gnu_ld" = no; then
   9768 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9769 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9770 	hardcode_libdir_separator=:
   9771 	hardcode_direct=yes
   9772 	hardcode_direct_absolute=yes
   9773 	export_dynamic_flag_spec='${wl}-E'
   9774 	# hardcode_minus_L: Not really in the search PATH,
   9775 	# but as the default location of the library.
   9776 	hardcode_minus_L=yes
   9777       fi
   9778       ;;
   9779 
   9780     hpux11*)
   9781       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9782 	case $host_cpu in
   9783 	hppa*64*)
   9784 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9785 	  ;;
   9786 	ia64*)
   9787 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9788 	  ;;
   9789 	*)
   9790 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9791 	  ;;
   9792 	esac
   9793       else
   9794 	case $host_cpu in
   9795 	hppa*64*)
   9796 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9797 	  ;;
   9798 	ia64*)
   9799 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9800 	  ;;
   9801 	*)
   9802 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9803 	  ;;
   9804 	esac
   9805       fi
   9806       if test "$with_gnu_ld" = no; then
   9807 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9808 	hardcode_libdir_separator=:
   9809 
   9810 	case $host_cpu in
   9811 	hppa*64*|ia64*)
   9812 	  hardcode_direct=no
   9813 	  hardcode_shlibpath_var=no
   9814 	  ;;
   9815 	*)
   9816 	  hardcode_direct=yes
   9817 	  hardcode_direct_absolute=yes
   9818 	  export_dynamic_flag_spec='${wl}-E'
   9819 
   9820 	  # hardcode_minus_L: Not really in the search PATH,
   9821 	  # but as the default location of the library.
   9822 	  hardcode_minus_L=yes
   9823 	  ;;
   9824 	esac
   9825       fi
   9826       ;;
   9827 
   9828     irix5* | irix6* | nonstopux*)
   9829       if test "$GCC" = yes; then
   9830 	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'
   9831 	# Try to use the -exported_symbol ld option, if it does not
   9832 	# work, assume that -exports_file does not work either and
   9833 	# implicitly export all symbols.
   9834         save_LDFLAGS="$LDFLAGS"
   9835         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9836         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9837 /* end confdefs.h.  */
   9838 int foo(void) {}
   9839 _ACEOF
   9840 if ac_fn_c_try_link "$LINENO"; then :
   9841   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'
   9842 
   9843 fi
   9844 rm -f core conftest.err conftest.$ac_objext \
   9845     conftest$ac_exeext conftest.$ac_ext
   9846         LDFLAGS="$save_LDFLAGS"
   9847       else
   9848 	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'
   9849 	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'
   9850       fi
   9851       archive_cmds_need_lc='no'
   9852       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9853       hardcode_libdir_separator=:
   9854       inherit_rpath=yes
   9855       link_all_deplibs=yes
   9856       ;;
   9857 
   9858     netbsd*)
   9859       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9860 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9861       else
   9862 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9863       fi
   9864       hardcode_libdir_flag_spec='-R$libdir'
   9865       hardcode_direct=yes
   9866       hardcode_shlibpath_var=no
   9867       ;;
   9868 
   9869     newsos6)
   9870       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9871       hardcode_direct=yes
   9872       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9873       hardcode_libdir_separator=:
   9874       hardcode_shlibpath_var=no
   9875       ;;
   9876 
   9877     *nto* | *qnx*)
   9878       ;;
   9879 
   9880     openbsd*)
   9881       if test -f /usr/libexec/ld.so; then
   9882 	hardcode_direct=yes
   9883 	hardcode_shlibpath_var=no
   9884 	hardcode_direct_absolute=yes
   9885 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9886 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9887 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9888 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9889 	  export_dynamic_flag_spec='${wl}-E'
   9890 	else
   9891 	  case $host_os in
   9892 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9893 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9894 	     hardcode_libdir_flag_spec='-R$libdir'
   9895 	     ;;
   9896 	   *)
   9897 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9898 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9899 	     ;;
   9900 	  esac
   9901 	fi
   9902       else
   9903 	ld_shlibs=no
   9904       fi
   9905       ;;
   9906 
   9907     os2*)
   9908       hardcode_libdir_flag_spec='-L$libdir'
   9909       hardcode_minus_L=yes
   9910       allow_undefined_flag=unsupported
   9911       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'
   9912       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9913       ;;
   9914 
   9915     osf3*)
   9916       if test "$GCC" = yes; then
   9917 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9918 	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'
   9919       else
   9920 	allow_undefined_flag=' -expect_unresolved \*'
   9921 	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'
   9922       fi
   9923       archive_cmds_need_lc='no'
   9924       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9925       hardcode_libdir_separator=:
   9926       ;;
   9927 
   9928     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9929       if test "$GCC" = yes; then
   9930 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9931 	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'
   9932 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9933       else
   9934 	allow_undefined_flag=' -expect_unresolved \*'
   9935 	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'
   9936 	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~
   9937 	$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'
   9938 
   9939 	# Both c and cxx compiler support -rpath directly
   9940 	hardcode_libdir_flag_spec='-rpath $libdir'
   9941       fi
   9942       archive_cmds_need_lc='no'
   9943       hardcode_libdir_separator=:
   9944       ;;
   9945 
   9946     solaris*)
   9947       no_undefined_flag=' -z defs'
   9948       if test "$GCC" = yes; then
   9949 	wlarc='${wl}'
   9950 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9951 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9952 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9953       else
   9954 	case `$CC -V 2>&1` in
   9955 	*"Compilers 5.0"*)
   9956 	  wlarc=''
   9957 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9958 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9959 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9960 	  ;;
   9961 	*)
   9962 	  wlarc='${wl}'
   9963 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9964 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9965 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9966 	  ;;
   9967 	esac
   9968       fi
   9969       hardcode_libdir_flag_spec='-R$libdir'
   9970       hardcode_shlibpath_var=no
   9971       case $host_os in
   9972       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9973       *)
   9974 	# The compiler driver will combine and reorder linker options,
   9975 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9976 	# but is careful enough not to reorder.
   9977 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9978 	if test "$GCC" = yes; then
   9979 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9980 	else
   9981 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9982 	fi
   9983 	;;
   9984       esac
   9985       link_all_deplibs=yes
   9986       ;;
   9987 
   9988     sunos4*)
   9989       if test "x$host_vendor" = xsequent; then
   9990 	# Use $CC to link under sequent, because it throws in some extra .o
   9991 	# files that make .init and .fini sections work.
   9992 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9993       else
   9994 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9995       fi
   9996       hardcode_libdir_flag_spec='-L$libdir'
   9997       hardcode_direct=yes
   9998       hardcode_minus_L=yes
   9999       hardcode_shlibpath_var=no
   10000       ;;
   10001 
   10002     sysv4)
   10003       case $host_vendor in
   10004 	sni)
   10005 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10006 	  hardcode_direct=yes # is this really true???
   10007 	;;
   10008 	siemens)
   10009 	  ## LD is ld it makes a PLAMLIB
   10010 	  ## CC just makes a GrossModule.
   10011 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10012 	  reload_cmds='$CC -r -o $output$reload_objs'
   10013 	  hardcode_direct=no
   10014         ;;
   10015 	motorola)
   10016 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10017 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10018 	;;
   10019       esac
   10020       runpath_var='LD_RUN_PATH'
   10021       hardcode_shlibpath_var=no
   10022       ;;
   10023 
   10024     sysv4.3*)
   10025       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10026       hardcode_shlibpath_var=no
   10027       export_dynamic_flag_spec='-Bexport'
   10028       ;;
   10029 
   10030     sysv4*MP*)
   10031       if test -d /usr/nec; then
   10032 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10033 	hardcode_shlibpath_var=no
   10034 	runpath_var=LD_RUN_PATH
   10035 	hardcode_runpath_var=yes
   10036 	ld_shlibs=yes
   10037       fi
   10038       ;;
   10039 
   10040     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10041       no_undefined_flag='${wl}-z,text'
   10042       archive_cmds_need_lc=no
   10043       hardcode_shlibpath_var=no
   10044       runpath_var='LD_RUN_PATH'
   10045 
   10046       if test "$GCC" = yes; then
   10047 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10048 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10049       else
   10050 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10051 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10052       fi
   10053       ;;
   10054 
   10055     sysv5* | sco3.2v5* | sco5v6*)
   10056       # Note: We can NOT use -z defs as we might desire, because we do not
   10057       # link with -lc, and that would cause any symbols used from libc to
   10058       # always be unresolved, which means just about no library would
   10059       # ever link correctly.  If we're not using GNU ld we use -z text
   10060       # though, which does catch some bad symbols but isn't as heavy-handed
   10061       # as -z defs.
   10062       no_undefined_flag='${wl}-z,text'
   10063       allow_undefined_flag='${wl}-z,nodefs'
   10064       archive_cmds_need_lc=no
   10065       hardcode_shlibpath_var=no
   10066       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10067       hardcode_libdir_separator=':'
   10068       link_all_deplibs=yes
   10069       export_dynamic_flag_spec='${wl}-Bexport'
   10070       runpath_var='LD_RUN_PATH'
   10071 
   10072       if test "$GCC" = yes; then
   10073 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10074 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10075       else
   10076 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10077 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10078       fi
   10079       ;;
   10080 
   10081     uts4*)
   10082       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10083       hardcode_libdir_flag_spec='-L$libdir'
   10084       hardcode_shlibpath_var=no
   10085       ;;
   10086 
   10087     *)
   10088       ld_shlibs=no
   10089       ;;
   10090     esac
   10091 
   10092     if test x$host_vendor = xsni; then
   10093       case $host in
   10094       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10095 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10096 	;;
   10097       esac
   10098     fi
   10099   fi
   10100 
   10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10102 $as_echo "$ld_shlibs" >&6; }
   10103 test "$ld_shlibs" = no && can_build_shared=no
   10104 
   10105 with_gnu_ld=$with_gnu_ld
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 #
   10122 # Do we need to explicitly link libc?
   10123 #
   10124 case "x$archive_cmds_need_lc" in
   10125 x|xyes)
   10126   # Assume -lc should be added
   10127   archive_cmds_need_lc=yes
   10128 
   10129   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10130     case $archive_cmds in
   10131     *'~'*)
   10132       # FIXME: we may have to deal with multi-command sequences.
   10133       ;;
   10134     '$CC '*)
   10135       # Test whether the compiler implicitly links with -lc since on some
   10136       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10137       # to ld, don't add -lc before -lgcc.
   10138       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10139 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10140       $RM conftest*
   10141       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10142 
   10143       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10144   (eval $ac_compile) 2>&5
   10145   ac_status=$?
   10146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10147   test $ac_status = 0; } 2>conftest.err; then
   10148         soname=conftest
   10149         lib=conftest
   10150         libobjs=conftest.$ac_objext
   10151         deplibs=
   10152         wl=$lt_prog_compiler_wl
   10153 	pic_flag=$lt_prog_compiler_pic
   10154         compiler_flags=-v
   10155         linker_flags=-v
   10156         verstring=
   10157         output_objdir=.
   10158         libname=conftest
   10159         lt_save_allow_undefined_flag=$allow_undefined_flag
   10160         allow_undefined_flag=
   10161         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10162   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10163   ac_status=$?
   10164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10165   test $ac_status = 0; }
   10166         then
   10167 	  archive_cmds_need_lc=no
   10168         else
   10169 	  archive_cmds_need_lc=yes
   10170         fi
   10171         allow_undefined_flag=$lt_save_allow_undefined_flag
   10172       else
   10173         cat conftest.err 1>&5
   10174       fi
   10175       $RM conftest*
   10176       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   10177 $as_echo "$archive_cmds_need_lc" >&6; }
   10178       ;;
   10179     esac
   10180   fi
   10181   ;;
   10182 esac
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10341 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10342 
   10343 if test "$GCC" = yes; then
   10344   case $host_os in
   10345     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10346     *) lt_awk_arg="/^libraries:/" ;;
   10347   esac
   10348   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10349   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10350     # if the path contains ";" then we assume it to be the separator
   10351     # otherwise default to the standard path separator (i.e. ":") - it is
   10352     # assumed that no part of a normal pathname contains ";" but that should
   10353     # okay in the real world where ";" in dirpaths is itself problematic.
   10354     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10355   else
   10356     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10357   fi
   10358   # Ok, now we have the path, separated by spaces, we can step through it
   10359   # and add multilib dir if necessary.
   10360   lt_tmp_lt_search_path_spec=
   10361   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10362   for lt_sys_path in $lt_search_path_spec; do
   10363     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10364       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10365     else
   10366       test -d "$lt_sys_path" && \
   10367 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10368     fi
   10369   done
   10370   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10371 BEGIN {RS=" "; FS="/|\n";} {
   10372   lt_foo="";
   10373   lt_count=0;
   10374   for (lt_i = NF; lt_i > 0; lt_i--) {
   10375     if ($lt_i != "" && $lt_i != ".") {
   10376       if ($lt_i == "..") {
   10377         lt_count++;
   10378       } else {
   10379         if (lt_count == 0) {
   10380           lt_foo="/" $lt_i lt_foo;
   10381         } else {
   10382           lt_count--;
   10383         }
   10384       }
   10385     }
   10386   }
   10387   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10388   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10389 }'`
   10390   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10391 else
   10392   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10393 fi
   10394 library_names_spec=
   10395 libname_spec='lib$name'
   10396 soname_spec=
   10397 shrext_cmds=".so"
   10398 postinstall_cmds=
   10399 postuninstall_cmds=
   10400 finish_cmds=
   10401 finish_eval=
   10402 shlibpath_var=
   10403 shlibpath_overrides_runpath=unknown
   10404 version_type=none
   10405 dynamic_linker="$host_os ld.so"
   10406 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10407 need_lib_prefix=unknown
   10408 hardcode_into_libs=no
   10409 
   10410 # when you set need_version to no, make sure it does not cause -set_version
   10411 # flags to be left without arguments
   10412 need_version=unknown
   10413 
   10414 case $host_os in
   10415 aix3*)
   10416   version_type=linux
   10417   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10418   shlibpath_var=LIBPATH
   10419 
   10420   # AIX 3 has no versioning support, so we append a major version to the name.
   10421   soname_spec='${libname}${release}${shared_ext}$major'
   10422   ;;
   10423 
   10424 aix[4-9]*)
   10425   version_type=linux
   10426   need_lib_prefix=no
   10427   need_version=no
   10428   hardcode_into_libs=yes
   10429   if test "$host_cpu" = ia64; then
   10430     # AIX 5 supports IA64
   10431     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10432     shlibpath_var=LD_LIBRARY_PATH
   10433   else
   10434     # With GCC up to 2.95.x, collect2 would create an import file
   10435     # for dependence libraries.  The import file would start with
   10436     # the line `#! .'.  This would cause the generated library to
   10437     # depend on `.', always an invalid library.  This was fixed in
   10438     # development snapshots of GCC prior to 3.0.
   10439     case $host_os in
   10440       aix4 | aix4.[01] | aix4.[01].*)
   10441       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10442 	   echo ' yes '
   10443 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10444 	:
   10445       else
   10446 	can_build_shared=no
   10447       fi
   10448       ;;
   10449     esac
   10450     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10451     # soname into executable. Probably we can add versioning support to
   10452     # collect2, so additional links can be useful in future.
   10453     if test "$aix_use_runtimelinking" = yes; then
   10454       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10455       # instead of lib<name>.a to let people know that these are not
   10456       # typical AIX shared libraries.
   10457       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10458     else
   10459       # We preserve .a as extension for shared libraries through AIX4.2
   10460       # and later when we are not doing run time linking.
   10461       library_names_spec='${libname}${release}.a $libname.a'
   10462       soname_spec='${libname}${release}${shared_ext}$major'
   10463     fi
   10464     shlibpath_var=LIBPATH
   10465   fi
   10466   ;;
   10467 
   10468 amigaos*)
   10469   case $host_cpu in
   10470   powerpc)
   10471     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10472     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10474     ;;
   10475   m68k)
   10476     library_names_spec='$libname.ixlibrary $libname.a'
   10477     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10478     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'
   10479     ;;
   10480   esac
   10481   ;;
   10482 
   10483 beos*)
   10484   library_names_spec='${libname}${shared_ext}'
   10485   dynamic_linker="$host_os ld.so"
   10486   shlibpath_var=LIBRARY_PATH
   10487   ;;
   10488 
   10489 bsdi[45]*)
   10490   version_type=linux
   10491   need_version=no
   10492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10493   soname_spec='${libname}${release}${shared_ext}$major'
   10494   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10495   shlibpath_var=LD_LIBRARY_PATH
   10496   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10497   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10498   # the default ld.so.conf also contains /usr/contrib/lib and
   10499   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10500   # libtool to hard-code these into programs
   10501   ;;
   10502 
   10503 cygwin* | mingw* | pw32* | cegcc*)
   10504   version_type=windows
   10505   shrext_cmds=".dll"
   10506   need_version=no
   10507   need_lib_prefix=no
   10508 
   10509   case $GCC,$host_os in
   10510   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10511     library_names_spec='$libname.dll.a'
   10512     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10513     postinstall_cmds='base_file=`basename \${file}`~
   10514       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10515       dldir=$destdir/`dirname \$dlpath`~
   10516       test -d \$dldir || mkdir -p \$dldir~
   10517       $install_prog $dir/$dlname \$dldir/$dlname~
   10518       chmod a+x \$dldir/$dlname~
   10519       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10520         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10521       fi'
   10522     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10523       dlpath=$dir/\$dldll~
   10524        $RM \$dlpath'
   10525     shlibpath_overrides_runpath=yes
   10526 
   10527     case $host_os in
   10528     cygwin*)
   10529       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10530       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10531       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10532       ;;
   10533     mingw* | cegcc*)
   10534       # MinGW DLLs use traditional 'lib' prefix
   10535       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10536       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10537       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10538         # It is most probably a Windows format PATH printed by
   10539         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10540         # path with ; separators, and with drive letters. We can handle the
   10541         # drive letters (cygwin fileutils understands them), so leave them,
   10542         # especially as we might pass files found there to a mingw objdump,
   10543         # which wouldn't understand a cygwinified path. Ahh.
   10544         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10545       else
   10546         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10547       fi
   10548       ;;
   10549     pw32*)
   10550       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10551       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10552       ;;
   10553     esac
   10554     ;;
   10555 
   10556   *)
   10557     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10558     ;;
   10559   esac
   10560   dynamic_linker='Win32 ld.exe'
   10561   # FIXME: first we should search . and the directory the executable is in
   10562   shlibpath_var=PATH
   10563   ;;
   10564 
   10565 darwin* | rhapsody*)
   10566   dynamic_linker="$host_os dyld"
   10567   version_type=darwin
   10568   need_lib_prefix=no
   10569   need_version=no
   10570   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10571   soname_spec='${libname}${release}${major}$shared_ext'
   10572   shlibpath_overrides_runpath=yes
   10573   shlibpath_var=DYLD_LIBRARY_PATH
   10574   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10575 
   10576   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10577   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10578   ;;
   10579 
   10580 dgux*)
   10581   version_type=linux
   10582   need_lib_prefix=no
   10583   need_version=no
   10584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10585   soname_spec='${libname}${release}${shared_ext}$major'
   10586   shlibpath_var=LD_LIBRARY_PATH
   10587   ;;
   10588 
   10589 freebsd1*)
   10590   dynamic_linker=no
   10591   ;;
   10592 
   10593 freebsd* | dragonfly*)
   10594   # DragonFly does not have aout.  When/if they implement a new
   10595   # versioning mechanism, adjust this.
   10596   if test -x /usr/bin/objformat; then
   10597     objformat=`/usr/bin/objformat`
   10598   else
   10599     case $host_os in
   10600     freebsd[123]*) objformat=aout ;;
   10601     *) objformat=elf ;;
   10602     esac
   10603   fi
   10604   version_type=freebsd-$objformat
   10605   case $version_type in
   10606     freebsd-elf*)
   10607       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10608       need_version=no
   10609       need_lib_prefix=no
   10610       ;;
   10611     freebsd-*)
   10612       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10613       need_version=yes
   10614       ;;
   10615   esac
   10616   shlibpath_var=LD_LIBRARY_PATH
   10617   case $host_os in
   10618   freebsd2*)
   10619     shlibpath_overrides_runpath=yes
   10620     ;;
   10621   freebsd3.[01]* | freebsdelf3.[01]*)
   10622     shlibpath_overrides_runpath=yes
   10623     hardcode_into_libs=yes
   10624     ;;
   10625   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10626   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10627     shlibpath_overrides_runpath=no
   10628     hardcode_into_libs=yes
   10629     ;;
   10630   *) # from 4.6 on, and DragonFly
   10631     shlibpath_overrides_runpath=yes
   10632     hardcode_into_libs=yes
   10633     ;;
   10634   esac
   10635   ;;
   10636 
   10637 gnu*)
   10638   version_type=linux
   10639   need_lib_prefix=no
   10640   need_version=no
   10641   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10642   soname_spec='${libname}${release}${shared_ext}$major'
   10643   shlibpath_var=LD_LIBRARY_PATH
   10644   hardcode_into_libs=yes
   10645   ;;
   10646 
   10647 hpux9* | hpux10* | hpux11*)
   10648   # Give a soname corresponding to the major version so that dld.sl refuses to
   10649   # link against other versions.
   10650   version_type=sunos
   10651   need_lib_prefix=no
   10652   need_version=no
   10653   case $host_cpu in
   10654   ia64*)
   10655     shrext_cmds='.so'
   10656     hardcode_into_libs=yes
   10657     dynamic_linker="$host_os dld.so"
   10658     shlibpath_var=LD_LIBRARY_PATH
   10659     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10660     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10661     soname_spec='${libname}${release}${shared_ext}$major'
   10662     if test "X$HPUX_IA64_MODE" = X32; then
   10663       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10664     else
   10665       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10666     fi
   10667     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10668     ;;
   10669   hppa*64*)
   10670     shrext_cmds='.sl'
   10671     hardcode_into_libs=yes
   10672     dynamic_linker="$host_os dld.sl"
   10673     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10674     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10675     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10676     soname_spec='${libname}${release}${shared_ext}$major'
   10677     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10678     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10679     ;;
   10680   *)
   10681     shrext_cmds='.sl'
   10682     dynamic_linker="$host_os dld.sl"
   10683     shlibpath_var=SHLIB_PATH
   10684     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10685     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10686     soname_spec='${libname}${release}${shared_ext}$major'
   10687     ;;
   10688   esac
   10689   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10690   postinstall_cmds='chmod 555 $lib'
   10691   ;;
   10692 
   10693 interix[3-9]*)
   10694   version_type=linux
   10695   need_lib_prefix=no
   10696   need_version=no
   10697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10698   soname_spec='${libname}${release}${shared_ext}$major'
   10699   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10700   shlibpath_var=LD_LIBRARY_PATH
   10701   shlibpath_overrides_runpath=no
   10702   hardcode_into_libs=yes
   10703   ;;
   10704 
   10705 irix5* | irix6* | nonstopux*)
   10706   case $host_os in
   10707     nonstopux*) version_type=nonstopux ;;
   10708     *)
   10709 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10710 		version_type=linux
   10711 	else
   10712 		version_type=irix
   10713 	fi ;;
   10714   esac
   10715   need_lib_prefix=no
   10716   need_version=no
   10717   soname_spec='${libname}${release}${shared_ext}$major'
   10718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10719   case $host_os in
   10720   irix5* | nonstopux*)
   10721     libsuff= shlibsuff=
   10722     ;;
   10723   *)
   10724     case $LD in # libtool.m4 will add one of these switches to LD
   10725     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10726       libsuff= shlibsuff= libmagic=32-bit;;
   10727     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10728       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10729     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10730       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10731     *) libsuff= shlibsuff= libmagic=never-match;;
   10732     esac
   10733     ;;
   10734   esac
   10735   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10736   shlibpath_overrides_runpath=no
   10737   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10738   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10739   hardcode_into_libs=yes
   10740   ;;
   10741 
   10742 # No shared lib support for Linux oldld, aout, or coff.
   10743 linux*oldld* | linux*aout* | linux*coff*)
   10744   dynamic_linker=no
   10745   ;;
   10746 
   10747 # This must be Linux ELF.
   10748 linux* | k*bsd*-gnu)
   10749   version_type=linux
   10750   need_lib_prefix=no
   10751   need_version=no
   10752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10753   soname_spec='${libname}${release}${shared_ext}$major'
   10754   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10755   shlibpath_var=LD_LIBRARY_PATH
   10756   shlibpath_overrides_runpath=no
   10757   # Some binutils ld are patched to set DT_RUNPATH
   10758   save_LDFLAGS=$LDFLAGS
   10759   save_libdir=$libdir
   10760   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10761        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10763 /* end confdefs.h.  */
   10764 
   10765 int
   10766 main ()
   10767 {
   10768 
   10769   ;
   10770   return 0;
   10771 }
   10772 _ACEOF
   10773 if ac_fn_c_try_link "$LINENO"; then :
   10774   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10775   shlibpath_overrides_runpath=yes
   10776 fi
   10777 fi
   10778 rm -f core conftest.err conftest.$ac_objext \
   10779     conftest$ac_exeext conftest.$ac_ext
   10780   LDFLAGS=$save_LDFLAGS
   10781   libdir=$save_libdir
   10782 
   10783   # This implies no fast_install, which is unacceptable.
   10784   # Some rework will be needed to allow for fast_install
   10785   # before this can be enabled.
   10786   hardcode_into_libs=yes
   10787 
   10788   # Append ld.so.conf contents to the search path
   10789   if test -f /etc/ld.so.conf; then
   10790     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' ' '`
   10791     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10792   fi
   10793 
   10794   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10795   # powerpc, because MkLinux only supported shared libraries with the
   10796   # GNU dynamic linker.  Since this was broken with cross compilers,
   10797   # most powerpc-linux boxes support dynamic linking these days and
   10798   # people can always --disable-shared, the test was removed, and we
   10799   # assume the GNU/Linux dynamic linker is in use.
   10800   dynamic_linker='GNU/Linux ld.so'
   10801   ;;
   10802 
   10803 netbsd*)
   10804   version_type=sunos
   10805   need_lib_prefix=no
   10806   need_version=no
   10807   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10808     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10809     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10810     dynamic_linker='NetBSD (a.out) ld.so'
   10811   else
   10812     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10813     soname_spec='${libname}${release}${shared_ext}$major'
   10814     dynamic_linker='NetBSD ld.elf_so'
   10815   fi
   10816   shlibpath_var=LD_LIBRARY_PATH
   10817   shlibpath_overrides_runpath=yes
   10818   hardcode_into_libs=yes
   10819   ;;
   10820 
   10821 newsos6)
   10822   version_type=linux
   10823   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10824   shlibpath_var=LD_LIBRARY_PATH
   10825   shlibpath_overrides_runpath=yes
   10826   ;;
   10827 
   10828 *nto* | *qnx*)
   10829   version_type=qnx
   10830   need_lib_prefix=no
   10831   need_version=no
   10832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10833   soname_spec='${libname}${release}${shared_ext}$major'
   10834   shlibpath_var=LD_LIBRARY_PATH
   10835   shlibpath_overrides_runpath=no
   10836   hardcode_into_libs=yes
   10837   dynamic_linker='ldqnx.so'
   10838   ;;
   10839 
   10840 openbsd*)
   10841   version_type=sunos
   10842   sys_lib_dlsearch_path_spec="/usr/lib"
   10843   need_lib_prefix=no
   10844   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10845   case $host_os in
   10846     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10847     *)				need_version=no  ;;
   10848   esac
   10849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10850   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10851   shlibpath_var=LD_LIBRARY_PATH
   10852   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10853     case $host_os in
   10854       openbsd2.[89] | openbsd2.[89].*)
   10855 	shlibpath_overrides_runpath=no
   10856 	;;
   10857       *)
   10858 	shlibpath_overrides_runpath=yes
   10859 	;;
   10860       esac
   10861   else
   10862     shlibpath_overrides_runpath=yes
   10863   fi
   10864   ;;
   10865 
   10866 os2*)
   10867   libname_spec='$name'
   10868   shrext_cmds=".dll"
   10869   need_lib_prefix=no
   10870   library_names_spec='$libname${shared_ext} $libname.a'
   10871   dynamic_linker='OS/2 ld.exe'
   10872   shlibpath_var=LIBPATH
   10873   ;;
   10874 
   10875 osf3* | osf4* | osf5*)
   10876   version_type=osf
   10877   need_lib_prefix=no
   10878   need_version=no
   10879   soname_spec='${libname}${release}${shared_ext}$major'
   10880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10881   shlibpath_var=LD_LIBRARY_PATH
   10882   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10883   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10884   ;;
   10885 
   10886 rdos*)
   10887   dynamic_linker=no
   10888   ;;
   10889 
   10890 solaris*)
   10891   version_type=linux
   10892   need_lib_prefix=no
   10893   need_version=no
   10894   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10895   soname_spec='${libname}${release}${shared_ext}$major'
   10896   shlibpath_var=LD_LIBRARY_PATH
   10897   shlibpath_overrides_runpath=yes
   10898   hardcode_into_libs=yes
   10899   # ldd complains unless libraries are executable
   10900   postinstall_cmds='chmod +x $lib'
   10901   ;;
   10902 
   10903 sunos4*)
   10904   version_type=sunos
   10905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10906   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10907   shlibpath_var=LD_LIBRARY_PATH
   10908   shlibpath_overrides_runpath=yes
   10909   if test "$with_gnu_ld" = yes; then
   10910     need_lib_prefix=no
   10911   fi
   10912   need_version=yes
   10913   ;;
   10914 
   10915 sysv4 | sysv4.3*)
   10916   version_type=linux
   10917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10918   soname_spec='${libname}${release}${shared_ext}$major'
   10919   shlibpath_var=LD_LIBRARY_PATH
   10920   case $host_vendor in
   10921     sni)
   10922       shlibpath_overrides_runpath=no
   10923       need_lib_prefix=no
   10924       runpath_var=LD_RUN_PATH
   10925       ;;
   10926     siemens)
   10927       need_lib_prefix=no
   10928       ;;
   10929     motorola)
   10930       need_lib_prefix=no
   10931       need_version=no
   10932       shlibpath_overrides_runpath=no
   10933       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10934       ;;
   10935   esac
   10936   ;;
   10937 
   10938 sysv4*MP*)
   10939   if test -d /usr/nec ;then
   10940     version_type=linux
   10941     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10942     soname_spec='$libname${shared_ext}.$major'
   10943     shlibpath_var=LD_LIBRARY_PATH
   10944   fi
   10945   ;;
   10946 
   10947 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10948   version_type=freebsd-elf
   10949   need_lib_prefix=no
   10950   need_version=no
   10951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10952   soname_spec='${libname}${release}${shared_ext}$major'
   10953   shlibpath_var=LD_LIBRARY_PATH
   10954   shlibpath_overrides_runpath=yes
   10955   hardcode_into_libs=yes
   10956   if test "$with_gnu_ld" = yes; then
   10957     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10958   else
   10959     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10960     case $host_os in
   10961       sco3.2v5*)
   10962         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10963 	;;
   10964     esac
   10965   fi
   10966   sys_lib_dlsearch_path_spec='/usr/lib'
   10967   ;;
   10968 
   10969 tpf*)
   10970   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10971   version_type=linux
   10972   need_lib_prefix=no
   10973   need_version=no
   10974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10975   shlibpath_var=LD_LIBRARY_PATH
   10976   shlibpath_overrides_runpath=no
   10977   hardcode_into_libs=yes
   10978   ;;
   10979 
   10980 uts4*)
   10981   version_type=linux
   10982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10983   soname_spec='${libname}${release}${shared_ext}$major'
   10984   shlibpath_var=LD_LIBRARY_PATH
   10985   ;;
   10986 
   10987 *)
   10988   dynamic_linker=no
   10989   ;;
   10990 esac
   10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10992 $as_echo "$dynamic_linker" >&6; }
   10993 test "$dynamic_linker" = no && can_build_shared=no
   10994 
   10995 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10996 if test "$GCC" = yes; then
   10997   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10998 fi
   10999 
   11000 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11001   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11002 fi
   11003 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11004   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11005 fi
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11094 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11095 hardcode_action=
   11096 if test -n "$hardcode_libdir_flag_spec" ||
   11097    test -n "$runpath_var" ||
   11098    test "X$hardcode_automatic" = "Xyes" ; then
   11099 
   11100   # We can hardcode non-existent directories.
   11101   if test "$hardcode_direct" != no &&
   11102      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11103      # have to relink, otherwise we might link with an installed library
   11104      # when we should be linking with a yet-to-be-installed one
   11105      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11106      test "$hardcode_minus_L" != no; then
   11107     # Linking always hardcodes the temporary library directory.
   11108     hardcode_action=relink
   11109   else
   11110     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11111     hardcode_action=immediate
   11112   fi
   11113 else
   11114   # We cannot hardcode anything, or else we can only hardcode existing
   11115   # directories.
   11116   hardcode_action=unsupported
   11117 fi
   11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11119 $as_echo "$hardcode_action" >&6; }
   11120 
   11121 if test "$hardcode_action" = relink ||
   11122    test "$inherit_rpath" = yes; then
   11123   # Fast installation is not supported
   11124   enable_fast_install=no
   11125 elif test "$shlibpath_overrides_runpath" = yes ||
   11126      test "$enable_shared" = no; then
   11127   # Fast installation is not necessary
   11128   enable_fast_install=needless
   11129 fi
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136   if test "x$enable_dlopen" != xyes; then
   11137   enable_dlopen=unknown
   11138   enable_dlopen_self=unknown
   11139   enable_dlopen_self_static=unknown
   11140 else
   11141   lt_cv_dlopen=no
   11142   lt_cv_dlopen_libs=
   11143 
   11144   case $host_os in
   11145   beos*)
   11146     lt_cv_dlopen="load_add_on"
   11147     lt_cv_dlopen_libs=
   11148     lt_cv_dlopen_self=yes
   11149     ;;
   11150 
   11151   mingw* | pw32* | cegcc*)
   11152     lt_cv_dlopen="LoadLibrary"
   11153     lt_cv_dlopen_libs=
   11154     ;;
   11155 
   11156   cygwin*)
   11157     lt_cv_dlopen="dlopen"
   11158     lt_cv_dlopen_libs=
   11159     ;;
   11160 
   11161   darwin*)
   11162   # if libdl is installed we need to link against it
   11163     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11164 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11165 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11166   $as_echo_n "(cached) " >&6
   11167 else
   11168   ac_check_lib_save_LIBS=$LIBS
   11169 LIBS="-ldl  $LIBS"
   11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11171 /* end confdefs.h.  */
   11172 
   11173 /* Override any GCC internal prototype to avoid an error.
   11174    Use char because int might match the return type of a GCC
   11175    builtin and then its argument prototype would still apply.  */
   11176 #ifdef __cplusplus
   11177 extern "C"
   11178 #endif
   11179 char dlopen ();
   11180 int
   11181 main ()
   11182 {
   11183 return dlopen ();
   11184   ;
   11185   return 0;
   11186 }
   11187 _ACEOF
   11188 if ac_fn_c_try_link "$LINENO"; then :
   11189   ac_cv_lib_dl_dlopen=yes
   11190 else
   11191   ac_cv_lib_dl_dlopen=no
   11192 fi
   11193 rm -f core conftest.err conftest.$ac_objext \
   11194     conftest$ac_exeext conftest.$ac_ext
   11195 LIBS=$ac_check_lib_save_LIBS
   11196 fi
   11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11198 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11199 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11200   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11201 else
   11202 
   11203     lt_cv_dlopen="dyld"
   11204     lt_cv_dlopen_libs=
   11205     lt_cv_dlopen_self=yes
   11206 
   11207 fi
   11208 
   11209     ;;
   11210 
   11211   *)
   11212     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11213 if test "x$ac_cv_func_shl_load" = xyes; then :
   11214   lt_cv_dlopen="shl_load"
   11215 else
   11216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11217 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11218 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11219   $as_echo_n "(cached) " >&6
   11220 else
   11221   ac_check_lib_save_LIBS=$LIBS
   11222 LIBS="-ldld  $LIBS"
   11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11224 /* end confdefs.h.  */
   11225 
   11226 /* Override any GCC internal prototype to avoid an error.
   11227    Use char because int might match the return type of a GCC
   11228    builtin and then its argument prototype would still apply.  */
   11229 #ifdef __cplusplus
   11230 extern "C"
   11231 #endif
   11232 char shl_load ();
   11233 int
   11234 main ()
   11235 {
   11236 return shl_load ();
   11237   ;
   11238   return 0;
   11239 }
   11240 _ACEOF
   11241 if ac_fn_c_try_link "$LINENO"; then :
   11242   ac_cv_lib_dld_shl_load=yes
   11243 else
   11244   ac_cv_lib_dld_shl_load=no
   11245 fi
   11246 rm -f core conftest.err conftest.$ac_objext \
   11247     conftest$ac_exeext conftest.$ac_ext
   11248 LIBS=$ac_check_lib_save_LIBS
   11249 fi
   11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11251 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11252 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11253   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11254 else
   11255   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11256 if test "x$ac_cv_func_dlopen" = xyes; then :
   11257   lt_cv_dlopen="dlopen"
   11258 else
   11259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11261 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11262   $as_echo_n "(cached) " >&6
   11263 else
   11264   ac_check_lib_save_LIBS=$LIBS
   11265 LIBS="-ldl  $LIBS"
   11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11267 /* end confdefs.h.  */
   11268 
   11269 /* Override any GCC internal prototype to avoid an error.
   11270    Use char because int might match the return type of a GCC
   11271    builtin and then its argument prototype would still apply.  */
   11272 #ifdef __cplusplus
   11273 extern "C"
   11274 #endif
   11275 char dlopen ();
   11276 int
   11277 main ()
   11278 {
   11279 return dlopen ();
   11280   ;
   11281   return 0;
   11282 }
   11283 _ACEOF
   11284 if ac_fn_c_try_link "$LINENO"; then :
   11285   ac_cv_lib_dl_dlopen=yes
   11286 else
   11287   ac_cv_lib_dl_dlopen=no
   11288 fi
   11289 rm -f core conftest.err conftest.$ac_objext \
   11290     conftest$ac_exeext conftest.$ac_ext
   11291 LIBS=$ac_check_lib_save_LIBS
   11292 fi
   11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11294 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11295 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11296   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11297 else
   11298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11299 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11300 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11301   $as_echo_n "(cached) " >&6
   11302 else
   11303   ac_check_lib_save_LIBS=$LIBS
   11304 LIBS="-lsvld  $LIBS"
   11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11306 /* end confdefs.h.  */
   11307 
   11308 /* Override any GCC internal prototype to avoid an error.
   11309    Use char because int might match the return type of a GCC
   11310    builtin and then its argument prototype would still apply.  */
   11311 #ifdef __cplusplus
   11312 extern "C"
   11313 #endif
   11314 char dlopen ();
   11315 int
   11316 main ()
   11317 {
   11318 return dlopen ();
   11319   ;
   11320   return 0;
   11321 }
   11322 _ACEOF
   11323 if ac_fn_c_try_link "$LINENO"; then :
   11324   ac_cv_lib_svld_dlopen=yes
   11325 else
   11326   ac_cv_lib_svld_dlopen=no
   11327 fi
   11328 rm -f core conftest.err conftest.$ac_objext \
   11329     conftest$ac_exeext conftest.$ac_ext
   11330 LIBS=$ac_check_lib_save_LIBS
   11331 fi
   11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11333 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11334 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11335   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11336 else
   11337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11338 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11339 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11340   $as_echo_n "(cached) " >&6
   11341 else
   11342   ac_check_lib_save_LIBS=$LIBS
   11343 LIBS="-ldld  $LIBS"
   11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11345 /* end confdefs.h.  */
   11346 
   11347 /* Override any GCC internal prototype to avoid an error.
   11348    Use char because int might match the return type of a GCC
   11349    builtin and then its argument prototype would still apply.  */
   11350 #ifdef __cplusplus
   11351 extern "C"
   11352 #endif
   11353 char dld_link ();
   11354 int
   11355 main ()
   11356 {
   11357 return dld_link ();
   11358   ;
   11359   return 0;
   11360 }
   11361 _ACEOF
   11362 if ac_fn_c_try_link "$LINENO"; then :
   11363   ac_cv_lib_dld_dld_link=yes
   11364 else
   11365   ac_cv_lib_dld_dld_link=no
   11366 fi
   11367 rm -f core conftest.err conftest.$ac_objext \
   11368     conftest$ac_exeext conftest.$ac_ext
   11369 LIBS=$ac_check_lib_save_LIBS
   11370 fi
   11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11372 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11373 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11374   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11375 fi
   11376 
   11377 
   11378 fi
   11379 
   11380 
   11381 fi
   11382 
   11383 
   11384 fi
   11385 
   11386 
   11387 fi
   11388 
   11389 
   11390 fi
   11391 
   11392     ;;
   11393   esac
   11394 
   11395   if test "x$lt_cv_dlopen" != xno; then
   11396     enable_dlopen=yes
   11397   else
   11398     enable_dlopen=no
   11399   fi
   11400 
   11401   case $lt_cv_dlopen in
   11402   dlopen)
   11403     save_CPPFLAGS="$CPPFLAGS"
   11404     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11405 
   11406     save_LDFLAGS="$LDFLAGS"
   11407     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11408 
   11409     save_LIBS="$LIBS"
   11410     LIBS="$lt_cv_dlopen_libs $LIBS"
   11411 
   11412     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11413 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11414 if ${lt_cv_dlopen_self+:} false; then :
   11415   $as_echo_n "(cached) " >&6
   11416 else
   11417   	  if test "$cross_compiling" = yes; then :
   11418   lt_cv_dlopen_self=cross
   11419 else
   11420   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11421   lt_status=$lt_dlunknown
   11422   cat > conftest.$ac_ext <<_LT_EOF
   11423 #line 11423 "configure"
   11424 #include "confdefs.h"
   11425 
   11426 #if HAVE_DLFCN_H
   11427 #include <dlfcn.h>
   11428 #endif
   11429 
   11430 #include <stdio.h>
   11431 
   11432 #ifdef RTLD_GLOBAL
   11433 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11434 #else
   11435 #  ifdef DL_GLOBAL
   11436 #    define LT_DLGLOBAL		DL_GLOBAL
   11437 #  else
   11438 #    define LT_DLGLOBAL		0
   11439 #  endif
   11440 #endif
   11441 
   11442 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11443    find out it does not work in some platform. */
   11444 #ifndef LT_DLLAZY_OR_NOW
   11445 #  ifdef RTLD_LAZY
   11446 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11447 #  else
   11448 #    ifdef DL_LAZY
   11449 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11450 #    else
   11451 #      ifdef RTLD_NOW
   11452 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11453 #      else
   11454 #        ifdef DL_NOW
   11455 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11456 #        else
   11457 #          define LT_DLLAZY_OR_NOW	0
   11458 #        endif
   11459 #      endif
   11460 #    endif
   11461 #  endif
   11462 #endif
   11463 
   11464 void fnord() { int i=42;}
   11465 int main ()
   11466 {
   11467   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11468   int status = $lt_dlunknown;
   11469 
   11470   if (self)
   11471     {
   11472       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11473       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11474       /* dlclose (self); */
   11475     }
   11476   else
   11477     puts (dlerror ());
   11478 
   11479   return status;
   11480 }
   11481 _LT_EOF
   11482   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11483   (eval $ac_link) 2>&5
   11484   ac_status=$?
   11485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11486   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11487     (./conftest; exit; ) >&5 2>/dev/null
   11488     lt_status=$?
   11489     case x$lt_status in
   11490       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11491       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11492       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11493     esac
   11494   else :
   11495     # compilation failed
   11496     lt_cv_dlopen_self=no
   11497   fi
   11498 fi
   11499 rm -fr conftest*
   11500 
   11501 
   11502 fi
   11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11504 $as_echo "$lt_cv_dlopen_self" >&6; }
   11505 
   11506     if test "x$lt_cv_dlopen_self" = xyes; then
   11507       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11508       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11509 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11510 if ${lt_cv_dlopen_self_static+:} false; then :
   11511   $as_echo_n "(cached) " >&6
   11512 else
   11513   	  if test "$cross_compiling" = yes; then :
   11514   lt_cv_dlopen_self_static=cross
   11515 else
   11516   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11517   lt_status=$lt_dlunknown
   11518   cat > conftest.$ac_ext <<_LT_EOF
   11519 #line 11519 "configure"
   11520 #include "confdefs.h"
   11521 
   11522 #if HAVE_DLFCN_H
   11523 #include <dlfcn.h>
   11524 #endif
   11525 
   11526 #include <stdio.h>
   11527 
   11528 #ifdef RTLD_GLOBAL
   11529 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11530 #else
   11531 #  ifdef DL_GLOBAL
   11532 #    define LT_DLGLOBAL		DL_GLOBAL
   11533 #  else
   11534 #    define LT_DLGLOBAL		0
   11535 #  endif
   11536 #endif
   11537 
   11538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11539    find out it does not work in some platform. */
   11540 #ifndef LT_DLLAZY_OR_NOW
   11541 #  ifdef RTLD_LAZY
   11542 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11543 #  else
   11544 #    ifdef DL_LAZY
   11545 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11546 #    else
   11547 #      ifdef RTLD_NOW
   11548 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11549 #      else
   11550 #        ifdef DL_NOW
   11551 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11552 #        else
   11553 #          define LT_DLLAZY_OR_NOW	0
   11554 #        endif
   11555 #      endif
   11556 #    endif
   11557 #  endif
   11558 #endif
   11559 
   11560 void fnord() { int i=42;}
   11561 int main ()
   11562 {
   11563   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11564   int status = $lt_dlunknown;
   11565 
   11566   if (self)
   11567     {
   11568       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11569       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11570       /* dlclose (self); */
   11571     }
   11572   else
   11573     puts (dlerror ());
   11574 
   11575   return status;
   11576 }
   11577 _LT_EOF
   11578   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11579   (eval $ac_link) 2>&5
   11580   ac_status=$?
   11581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11582   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11583     (./conftest; exit; ) >&5 2>/dev/null
   11584     lt_status=$?
   11585     case x$lt_status in
   11586       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11587       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11588       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11589     esac
   11590   else :
   11591     # compilation failed
   11592     lt_cv_dlopen_self_static=no
   11593   fi
   11594 fi
   11595 rm -fr conftest*
   11596 
   11597 
   11598 fi
   11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11600 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11601     fi
   11602 
   11603     CPPFLAGS="$save_CPPFLAGS"
   11604     LDFLAGS="$save_LDFLAGS"
   11605     LIBS="$save_LIBS"
   11606     ;;
   11607   esac
   11608 
   11609   case $lt_cv_dlopen_self in
   11610   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11611   *) enable_dlopen_self=unknown ;;
   11612   esac
   11613 
   11614   case $lt_cv_dlopen_self_static in
   11615   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11616   *) enable_dlopen_self_static=unknown ;;
   11617   esac
   11618 fi
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 striplib=
   11637 old_striplib=
   11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11639 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11640 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11641   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11642   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11644 $as_echo "yes" >&6; }
   11645 else
   11646 # FIXME - insert some real tests, host_os isn't really good enough
   11647   case $host_os in
   11648   darwin*)
   11649     if test -n "$STRIP" ; then
   11650       striplib="$STRIP -x"
   11651       old_striplib="$STRIP -S"
   11652       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11653 $as_echo "yes" >&6; }
   11654     else
   11655       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11656 $as_echo "no" >&6; }
   11657     fi
   11658     ;;
   11659   *)
   11660     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11661 $as_echo "no" >&6; }
   11662     ;;
   11663   esac
   11664 fi
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677   # Report which library types will actually be built
   11678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11679 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11681 $as_echo "$can_build_shared" >&6; }
   11682 
   11683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11684 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11685   test "$can_build_shared" = "no" && enable_shared=no
   11686 
   11687   # On AIX, shared libraries and static libraries use the same namespace, and
   11688   # are all built from PIC.
   11689   case $host_os in
   11690   aix3*)
   11691     test "$enable_shared" = yes && enable_static=no
   11692     if test -n "$RANLIB"; then
   11693       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11694       postinstall_cmds='$RANLIB $lib'
   11695     fi
   11696     ;;
   11697 
   11698   aix[4-9]*)
   11699     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11700       test "$enable_shared" = yes && enable_static=no
   11701     fi
   11702     ;;
   11703   esac
   11704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11705 $as_echo "$enable_shared" >&6; }
   11706 
   11707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11708 $as_echo_n "checking whether to build static libraries... " >&6; }
   11709   # Make sure either enable_shared or enable_static is yes.
   11710   test "$enable_shared" = yes || enable_static=yes
   11711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11712 $as_echo "$enable_static" >&6; }
   11713 
   11714 
   11715 
   11716 
   11717 fi
   11718 ac_ext=c
   11719 ac_cpp='$CPP $CPPFLAGS'
   11720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11723 
   11724 CC="$lt_save_CC"
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738         ac_config_commands="$ac_config_commands libtool"
   11739 
   11740 
   11741 
   11742 
   11743 # Only expand once:
   11744 
   11745 
   11746 
   11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   11748 $as_echo_n "checking for ANSI C header files... " >&6; }
   11749 if ${ac_cv_header_stdc+:} false; then :
   11750   $as_echo_n "(cached) " >&6
   11751 else
   11752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11753 /* end confdefs.h.  */
   11754 #include <stdlib.h>
   11755 #include <stdarg.h>
   11756 #include <string.h>
   11757 #include <float.h>
   11758 
   11759 int
   11760 main ()
   11761 {
   11762 
   11763   ;
   11764   return 0;
   11765 }
   11766 _ACEOF
   11767 if ac_fn_c_try_compile "$LINENO"; then :
   11768   ac_cv_header_stdc=yes
   11769 else
   11770   ac_cv_header_stdc=no
   11771 fi
   11772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11773 
   11774 if test $ac_cv_header_stdc = yes; then
   11775   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   11776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11777 /* end confdefs.h.  */
   11778 #include <string.h>
   11779 
   11780 _ACEOF
   11781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11782   $EGREP "memchr" >/dev/null 2>&1; then :
   11783 
   11784 else
   11785   ac_cv_header_stdc=no
   11786 fi
   11787 rm -f conftest*
   11788 
   11789 fi
   11790 
   11791 if test $ac_cv_header_stdc = yes; then
   11792   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   11793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11794 /* end confdefs.h.  */
   11795 #include <stdlib.h>
   11796 
   11797 _ACEOF
   11798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11799   $EGREP "free" >/dev/null 2>&1; then :
   11800 
   11801 else
   11802   ac_cv_header_stdc=no
   11803 fi
   11804 rm -f conftest*
   11805 
   11806 fi
   11807 
   11808 if test $ac_cv_header_stdc = yes; then
   11809   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   11810   if test "$cross_compiling" = yes; then :
   11811   :
   11812 else
   11813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11814 /* end confdefs.h.  */
   11815 #include <ctype.h>
   11816 #include <stdlib.h>
   11817 #if ((' ' & 0x0FF) == 0x020)
   11818 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   11819 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   11820 #else
   11821 # define ISLOWER(c) \
   11822 		   (('a' <= (c) && (c) <= 'i') \
   11823 		     || ('j' <= (c) && (c) <= 'r') \
   11824 		     || ('s' <= (c) && (c) <= 'z'))
   11825 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   11826 #endif
   11827 
   11828 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   11829 int
   11830 main ()
   11831 {
   11832   int i;
   11833   for (i = 0; i < 256; i++)
   11834     if (XOR (islower (i), ISLOWER (i))
   11835 	|| toupper (i) != TOUPPER (i))
   11836       return 2;
   11837   return 0;
   11838 }
   11839 _ACEOF
   11840 if ac_fn_c_try_run "$LINENO"; then :
   11841 
   11842 else
   11843   ac_cv_header_stdc=no
   11844 fi
   11845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11846   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11847 fi
   11848 
   11849 fi
   11850 fi
   11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   11852 $as_echo "$ac_cv_header_stdc" >&6; }
   11853 if test $ac_cv_header_stdc = yes; then
   11854 
   11855 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   11856 
   11857 fi
   11858 
   11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
   11860 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
   11861 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
   11862   $as_echo_n "(cached) " >&6
   11863 else
   11864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11865 /* end confdefs.h.  */
   11866 #include <sys/types.h>
   11867 int
   11868 main ()
   11869 {
   11870 return makedev(0, 0);
   11871   ;
   11872   return 0;
   11873 }
   11874 _ACEOF
   11875 if ac_fn_c_try_link "$LINENO"; then :
   11876   ac_cv_header_sys_types_h_makedev=yes
   11877 else
   11878   ac_cv_header_sys_types_h_makedev=no
   11879 fi
   11880 rm -f core conftest.err conftest.$ac_objext \
   11881     conftest$ac_exeext conftest.$ac_ext
   11882 
   11883 fi
   11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
   11885 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
   11886 
   11887 if test $ac_cv_header_sys_types_h_makedev = no; then
   11888 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
   11889 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
   11890 
   11891 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
   11892 
   11893 fi
   11894 
   11895 
   11896 
   11897   if test $ac_cv_header_sys_mkdev_h = no; then
   11898     ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
   11899 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
   11900 
   11901 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
   11902 
   11903 fi
   11904 
   11905 
   11906   fi
   11907 fi
   11908 
   11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
   11910 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
   11911 if ${ac_cv_header_sys_wait_h+:} false; then :
   11912   $as_echo_n "(cached) " >&6
   11913 else
   11914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11915 /* end confdefs.h.  */
   11916 #include <sys/types.h>
   11917 #include <sys/wait.h>
   11918 #ifndef WEXITSTATUS
   11919 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
   11920 #endif
   11921 #ifndef WIFEXITED
   11922 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
   11923 #endif
   11924 
   11925 int
   11926 main ()
   11927 {
   11928   int s;
   11929   wait (&s);
   11930   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   11931   ;
   11932   return 0;
   11933 }
   11934 _ACEOF
   11935 if ac_fn_c_try_compile "$LINENO"; then :
   11936   ac_cv_header_sys_wait_h=yes
   11937 else
   11938   ac_cv_header_sys_wait_h=no
   11939 fi
   11940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11941 fi
   11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
   11943 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
   11944 if test $ac_cv_header_sys_wait_h = yes; then
   11945 
   11946 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
   11947 
   11948 fi
   11949 
   11950 for ac_header in stdint.h fcntl.h locale.h stdint.h inttypes.h unistd.h
   11951 do :
   11952   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11953 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11955   cat >>confdefs.h <<_ACEOF
   11956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11957 _ACEOF
   11958 
   11959 fi
   11960 
   11961 done
   11962 
   11963 for ac_header in utime.h wchar.h wctype.h limits.h
   11964 do :
   11965   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11966 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11967 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11968   cat >>confdefs.h <<_ACEOF
   11969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11970 _ACEOF
   11971 
   11972 fi
   11973 
   11974 done
   11975 
   11976 for ac_header in getopt.h err.h
   11977 do :
   11978   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11979 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11980 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11981   cat >>confdefs.h <<_ACEOF
   11982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11983 _ACEOF
   11984 
   11985 fi
   11986 
   11987 done
   11988 
   11989 for ac_header in sys/mman.h sys/stat.h sys/types.h sys/utime.h sys/time.h
   11990 do :
   11991   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11992 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11994   cat >>confdefs.h <<_ACEOF
   11995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11996 _ACEOF
   11997 
   11998 fi
   11999 
   12000 done
   12001 
   12002 for ac_header in zlib.h
   12003 do :
   12004   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   12005 if test "x$ac_cv_header_zlib_h" = xyes; then :
   12006   cat >>confdefs.h <<_ACEOF
   12007 #define HAVE_ZLIB_H 1
   12008 _ACEOF
   12009 
   12010 fi
   12011 
   12012 done
   12013 
   12014 
   12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   12016 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   12017 if ${ac_cv_c_const+:} false; then :
   12018   $as_echo_n "(cached) " >&6
   12019 else
   12020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12021 /* end confdefs.h.  */
   12022 
   12023 int
   12024 main ()
   12025 {
   12026 /* FIXME: Include the comments suggested by Paul. */
   12027 #ifndef __cplusplus
   12028   /* Ultrix mips cc rejects this.  */
   12029   typedef int charset[2];
   12030   const charset cs;
   12031   /* SunOS 4.1.1 cc rejects this.  */
   12032   char const *const *pcpcc;
   12033   char **ppc;
   12034   /* NEC SVR4.0.2 mips cc rejects this.  */
   12035   struct point {int x, y;};
   12036   static struct point const zero = {0,0};
   12037   /* AIX XL C 1.02.0.0 rejects this.
   12038      It does not let you subtract one const X* pointer from another in
   12039      an arm of an if-expression whose if-part is not a constant
   12040      expression */
   12041   const char *g = "string";
   12042   pcpcc = &g + (g ? g-g : 0);
   12043   /* HPUX 7.0 cc rejects these. */
   12044   ++pcpcc;
   12045   ppc = (char**) pcpcc;
   12046   pcpcc = (char const *const *) ppc;
   12047   { /* SCO 3.2v4 cc rejects this.  */
   12048     char *t;
   12049     char const *s = 0 ? (char *) 0 : (char const *) 0;
   12050 
   12051     *t++ = 0;
   12052     if (s) return 0;
   12053   }
   12054   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   12055     int x[] = {25, 17};
   12056     const int *foo = &x[0];
   12057     ++foo;
   12058   }
   12059   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   12060     typedef const int *iptr;
   12061     iptr p = 0;
   12062     ++p;
   12063   }
   12064   { /* AIX XL C 1.02.0.0 rejects this saying
   12065        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   12066     struct s { int j; const int *ap[3]; };
   12067     struct s *b; b->j = 5;
   12068   }
   12069   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   12070     const int foo = 10;
   12071     if (!foo) return 0;
   12072   }
   12073   return !cs[0] && !zero.x;
   12074 #endif
   12075 
   12076   ;
   12077   return 0;
   12078 }
   12079 _ACEOF
   12080 if ac_fn_c_try_compile "$LINENO"; then :
   12081   ac_cv_c_const=yes
   12082 else
   12083   ac_cv_c_const=no
   12084 fi
   12085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12086 fi
   12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   12088 $as_echo "$ac_cv_c_const" >&6; }
   12089 if test $ac_cv_c_const = no; then
   12090 
   12091 $as_echo "#define const /**/" >>confdefs.h
   12092 
   12093 fi
   12094 
   12095 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   12096 if test "x$ac_cv_type_off_t" = xyes; then :
   12097 
   12098 else
   12099 
   12100 cat >>confdefs.h <<_ACEOF
   12101 #define off_t long int
   12102 _ACEOF
   12103 
   12104 fi
   12105 
   12106 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   12107 if test "x$ac_cv_type_size_t" = xyes; then :
   12108 
   12109 else
   12110 
   12111 cat >>confdefs.h <<_ACEOF
   12112 #define size_t unsigned int
   12113 _ACEOF
   12114 
   12115 fi
   12116 
   12117 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
   12118 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
   12119 
   12120 cat >>confdefs.h <<_ACEOF
   12121 #define HAVE_STRUCT_STAT_ST_RDEV 1
   12122 _ACEOF
   12123 
   12124 
   12125 fi
   12126 
   12127 
   12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
   12129 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
   12130 if ${ac_cv_struct_tm+:} false; then :
   12131   $as_echo_n "(cached) " >&6
   12132 else
   12133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12134 /* end confdefs.h.  */
   12135 #include <sys/types.h>
   12136 #include <time.h>
   12137 
   12138 int
   12139 main ()
   12140 {
   12141 struct tm tm;
   12142 				     int *p = &tm.tm_sec;
   12143 				     return !p;
   12144   ;
   12145   return 0;
   12146 }
   12147 _ACEOF
   12148 if ac_fn_c_try_compile "$LINENO"; then :
   12149   ac_cv_struct_tm=time.h
   12150 else
   12151   ac_cv_struct_tm=sys/time.h
   12152 fi
   12153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12154 fi
   12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
   12156 $as_echo "$ac_cv_struct_tm" >&6; }
   12157 if test $ac_cv_struct_tm = sys/time.h; then
   12158 
   12159 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
   12160 
   12161 fi
   12162 
   12163 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
   12164 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
   12165 
   12166 cat >>confdefs.h <<_ACEOF
   12167 #define HAVE_STRUCT_TM_TM_GMTOFF 1
   12168 _ACEOF
   12169 
   12170 
   12171 fi
   12172 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "$ac_includes_default"
   12173 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
   12174 
   12175 cat >>confdefs.h <<_ACEOF
   12176 #define HAVE_STRUCT_TM_TM_ZONE 1
   12177 _ACEOF
   12178 
   12179 
   12180 fi
   12181 
   12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_zone in struct tm" >&5
   12183 $as_echo_n "checking for tm_zone in struct tm... " >&6; }
   12184 if ${ac_cv_struct_tm_zone+:} false; then :
   12185   $as_echo_n "(cached) " >&6
   12186 else
   12187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12188 /* end confdefs.h.  */
   12189 #include <sys/types.h>
   12190 #include <$ac_cv_struct_tm>
   12191 int
   12192 main ()
   12193 {
   12194 struct tm tm; tm.tm_zone;
   12195   ;
   12196   return 0;
   12197 }
   12198 _ACEOF
   12199 if ac_fn_c_try_compile "$LINENO"; then :
   12200   ac_cv_struct_tm_zone=yes
   12201 else
   12202   ac_cv_struct_tm_zone=no
   12203 fi
   12204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12205 fi
   12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_zone" >&5
   12207 $as_echo "$ac_cv_struct_tm_zone" >&6; }
   12208 if test "$ac_cv_struct_tm_zone" = yes; then
   12209 
   12210 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
   12211 
   12212 fi
   12213 
   12214 # On SGI, apparently tzname is a #define, but that's ok, AC_CHECK_DECL will
   12215 # consider it declared and we won't give our own extern.
   12216 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
   12217 "
   12218 if test "x$ac_cv_have_decl_tzname" = xyes; then :
   12219   ac_have_decl=1
   12220 else
   12221   ac_have_decl=0
   12222 fi
   12223 
   12224 cat >>confdefs.h <<_ACEOF
   12225 #define HAVE_DECL_TZNAME $ac_have_decl
   12226 _ACEOF
   12227 
   12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
   12229 $as_echo_n "checking for tzname... " >&6; }
   12230 if ${ac_cv_var_tzname+:} false; then :
   12231   $as_echo_n "(cached) " >&6
   12232 else
   12233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12234 /* end confdefs.h.  */
   12235 #include <time.h>
   12236 #if !HAVE_DECL_TZNAME
   12237 extern char *tzname[];
   12238 #endif
   12239 int
   12240 main ()
   12241 {
   12242 return tzname[0][0];
   12243   ;
   12244   return 0;
   12245 }
   12246 _ACEOF
   12247 if ac_fn_c_try_link "$LINENO"; then :
   12248   ac_cv_var_tzname=yes
   12249 else
   12250   ac_cv_var_tzname=no
   12251 fi
   12252 rm -f core conftest.err conftest.$ac_objext \
   12253     conftest$ac_exeext conftest.$ac_ext
   12254 fi
   12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
   12256 $as_echo "$ac_cv_var_tzname" >&6; }
   12257   if test $ac_cv_var_tzname = yes; then
   12258 
   12259 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
   12260 
   12261   fi
   12262 
   12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_isdst in struct tm" >&5
   12264 $as_echo_n "checking for tm_isdst in struct tm... " >&6; }
   12265 if ${ac_cv_struct_tm_isdst+:} false; then :
   12266   $as_echo_n "(cached) " >&6
   12267 else
   12268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12269 /* end confdefs.h.  */
   12270 #include <sys/types.h>
   12271 #include <$ac_cv_struct_tm>
   12272 int
   12273 main ()
   12274 {
   12275 struct tm tm; tm.tm_isdst;
   12276   ;
   12277   return 0;
   12278 }
   12279 _ACEOF
   12280 if ac_fn_c_try_compile "$LINENO"; then :
   12281   ac_cv_struct_tm_isdst=yes
   12282 else
   12283   ac_cv_struct_tm_isdst=no
   12284 fi
   12285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12286 fi
   12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_isdst" >&5
   12288 $as_echo "$ac_cv_struct_tm_isdst" >&6; }
   12289 if test "$ac_cv_struct_tm_isdst" = yes; then
   12290 
   12291 $as_echo "#define HAVE_TM_ISDST 1" >>confdefs.h
   12292 
   12293 fi
   12294 
   12295 
   12296 ac_fn_c_check_decl "$LINENO" "daylight" "ac_cv_have_decl_daylight" "#include <time.h>
   12297 "
   12298 if test "x$ac_cv_have_decl_daylight" = xyes; then :
   12299   ac_have_decl=1
   12300 else
   12301   ac_have_decl=0
   12302 fi
   12303 
   12304 cat >>confdefs.h <<_ACEOF
   12305 #define HAVE_DECL_DAYLIGHT $ac_have_decl
   12306 _ACEOF
   12307 
   12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight" >&5
   12309 $as_echo_n "checking for daylight... " >&6; }
   12310 if ${ac_cv_var_daylight+:} false; then :
   12311   $as_echo_n "(cached) " >&6
   12312 else
   12313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12314 /* end confdefs.h.  */
   12315 #include <time.h>
   12316 #if !HAVE_DECL_DAYLIGHT
   12317 extern int daylight;
   12318 #endif
   12319 int
   12320 main ()
   12321 {
   12322 atoi(daylight);
   12323   ;
   12324   return 0;
   12325 }
   12326 _ACEOF
   12327 if ac_fn_c_try_link "$LINENO"; then :
   12328   ac_cv_var_daylight=yes
   12329 else
   12330   ac_cv_var_daylight=no
   12331 fi
   12332 rm -f core conftest.err conftest.$ac_objext \
   12333     conftest$ac_exeext conftest.$ac_ext
   12334 fi
   12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_daylight" >&5
   12336 $as_echo "$ac_cv_var_daylight" >&6; }
   12337   if test $ac_cv_var_daylight = yes; then
   12338 
   12339 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
   12340 
   12341   fi
   12342 
   12343 # Check whether --enable-largefile was given.
   12344 if test "${enable_largefile+set}" = set; then :
   12345   enableval=$enable_largefile;
   12346 fi
   12347 
   12348 if test "$enable_largefile" != no; then
   12349 
   12350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   12351 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   12352 if ${ac_cv_sys_largefile_CC+:} false; then :
   12353   $as_echo_n "(cached) " >&6
   12354 else
   12355   ac_cv_sys_largefile_CC=no
   12356      if test "$GCC" != yes; then
   12357        ac_save_CC=$CC
   12358        while :; do
   12359 	 # IRIX 6.2 and later do not support large files by default,
   12360 	 # so use the C compiler's -n32 option if that helps.
   12361 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12362 /* end confdefs.h.  */
   12363 #include <sys/types.h>
   12364  /* Check that off_t can represent 2**63 - 1 correctly.
   12365     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12366     since some C++ compilers masquerading as C compilers
   12367     incorrectly reject 9223372036854775807.  */
   12368 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12369   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12370 		       && LARGE_OFF_T % 2147483647 == 1)
   12371 		      ? 1 : -1];
   12372 int
   12373 main ()
   12374 {
   12375 
   12376   ;
   12377   return 0;
   12378 }
   12379 _ACEOF
   12380 	 if ac_fn_c_try_compile "$LINENO"; then :
   12381   break
   12382 fi
   12383 rm -f core conftest.err conftest.$ac_objext
   12384 	 CC="$CC -n32"
   12385 	 if ac_fn_c_try_compile "$LINENO"; then :
   12386   ac_cv_sys_largefile_CC=' -n32'; break
   12387 fi
   12388 rm -f core conftest.err conftest.$ac_objext
   12389 	 break
   12390        done
   12391        CC=$ac_save_CC
   12392        rm -f conftest.$ac_ext
   12393     fi
   12394 fi
   12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   12396 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   12397   if test "$ac_cv_sys_largefile_CC" != no; then
   12398     CC=$CC$ac_cv_sys_largefile_CC
   12399   fi
   12400 
   12401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   12402 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   12403 if ${ac_cv_sys_file_offset_bits+:} false; then :
   12404   $as_echo_n "(cached) " >&6
   12405 else
   12406   while :; do
   12407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12408 /* end confdefs.h.  */
   12409 #include <sys/types.h>
   12410  /* Check that off_t can represent 2**63 - 1 correctly.
   12411     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12412     since some C++ compilers masquerading as C compilers
   12413     incorrectly reject 9223372036854775807.  */
   12414 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12415   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12416 		       && LARGE_OFF_T % 2147483647 == 1)
   12417 		      ? 1 : -1];
   12418 int
   12419 main ()
   12420 {
   12421 
   12422   ;
   12423   return 0;
   12424 }
   12425 _ACEOF
   12426 if ac_fn_c_try_compile "$LINENO"; then :
   12427   ac_cv_sys_file_offset_bits=no; break
   12428 fi
   12429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12431 /* end confdefs.h.  */
   12432 #define _FILE_OFFSET_BITS 64
   12433 #include <sys/types.h>
   12434  /* Check that off_t can represent 2**63 - 1 correctly.
   12435     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12436     since some C++ compilers masquerading as C compilers
   12437     incorrectly reject 9223372036854775807.  */
   12438 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12439   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12440 		       && LARGE_OFF_T % 2147483647 == 1)
   12441 		      ? 1 : -1];
   12442 int
   12443 main ()
   12444 {
   12445 
   12446   ;
   12447   return 0;
   12448 }
   12449 _ACEOF
   12450 if ac_fn_c_try_compile "$LINENO"; then :
   12451   ac_cv_sys_file_offset_bits=64; break
   12452 fi
   12453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12454   ac_cv_sys_file_offset_bits=unknown
   12455   break
   12456 done
   12457 fi
   12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   12459 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   12460 case $ac_cv_sys_file_offset_bits in #(
   12461   no | unknown) ;;
   12462   *)
   12463 cat >>confdefs.h <<_ACEOF
   12464 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   12465 _ACEOF
   12466 ;;
   12467 esac
   12468 rm -rf conftest*
   12469   if test $ac_cv_sys_file_offset_bits = unknown; then
   12470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   12471 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   12472 if ${ac_cv_sys_large_files+:} false; then :
   12473   $as_echo_n "(cached) " >&6
   12474 else
   12475   while :; do
   12476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12477 /* end confdefs.h.  */
   12478 #include <sys/types.h>
   12479  /* Check that off_t can represent 2**63 - 1 correctly.
   12480     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12481     since some C++ compilers masquerading as C compilers
   12482     incorrectly reject 9223372036854775807.  */
   12483 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12484   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12485 		       && LARGE_OFF_T % 2147483647 == 1)
   12486 		      ? 1 : -1];
   12487 int
   12488 main ()
   12489 {
   12490 
   12491   ;
   12492   return 0;
   12493 }
   12494 _ACEOF
   12495 if ac_fn_c_try_compile "$LINENO"; then :
   12496   ac_cv_sys_large_files=no; break
   12497 fi
   12498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12500 /* end confdefs.h.  */
   12501 #define _LARGE_FILES 1
   12502 #include <sys/types.h>
   12503  /* Check that off_t can represent 2**63 - 1 correctly.
   12504     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12505     since some C++ compilers masquerading as C compilers
   12506     incorrectly reject 9223372036854775807.  */
   12507 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12508   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12509 		       && LARGE_OFF_T % 2147483647 == 1)
   12510 		      ? 1 : -1];
   12511 int
   12512 main ()
   12513 {
   12514 
   12515   ;
   12516   return 0;
   12517 }
   12518 _ACEOF
   12519 if ac_fn_c_try_compile "$LINENO"; then :
   12520   ac_cv_sys_large_files=1; break
   12521 fi
   12522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12523   ac_cv_sys_large_files=unknown
   12524   break
   12525 done
   12526 fi
   12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   12528 $as_echo "$ac_cv_sys_large_files" >&6; }
   12529 case $ac_cv_sys_large_files in #(
   12530   no | unknown) ;;
   12531   *)
   12532 cat >>confdefs.h <<_ACEOF
   12533 #define _LARGE_FILES $ac_cv_sys_large_files
   12534 _ACEOF
   12535 ;;
   12536 esac
   12537 rm -rf conftest*
   12538   fi
   12539 fi
   12540 
   12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
   12542 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
   12543 if ${ac_cv_sys_largefile_source+:} false; then :
   12544   $as_echo_n "(cached) " >&6
   12545 else
   12546   while :; do
   12547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12548 /* end confdefs.h.  */
   12549 #include <sys/types.h> /* for off_t */
   12550      #include <stdio.h>
   12551 int
   12552 main ()
   12553 {
   12554 int (*fp) (FILE *, off_t, int) = fseeko;
   12555      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   12556   ;
   12557   return 0;
   12558 }
   12559 _ACEOF
   12560 if ac_fn_c_try_link "$LINENO"; then :
   12561   ac_cv_sys_largefile_source=no; break
   12562 fi
   12563 rm -f core conftest.err conftest.$ac_objext \
   12564     conftest$ac_exeext conftest.$ac_ext
   12565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12566 /* end confdefs.h.  */
   12567 #define _LARGEFILE_SOURCE 1
   12568 #include <sys/types.h> /* for off_t */
   12569      #include <stdio.h>
   12570 int
   12571 main ()
   12572 {
   12573 int (*fp) (FILE *, off_t, int) = fseeko;
   12574      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   12575   ;
   12576   return 0;
   12577 }
   12578 _ACEOF
   12579 if ac_fn_c_try_link "$LINENO"; then :
   12580   ac_cv_sys_largefile_source=1; break
   12581 fi
   12582 rm -f core conftest.err conftest.$ac_objext \
   12583     conftest$ac_exeext conftest.$ac_ext
   12584   ac_cv_sys_largefile_source=unknown
   12585   break
   12586 done
   12587 fi
   12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
   12589 $as_echo "$ac_cv_sys_largefile_source" >&6; }
   12590 case $ac_cv_sys_largefile_source in #(
   12591   no | unknown) ;;
   12592   *)
   12593 cat >>confdefs.h <<_ACEOF
   12594 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
   12595 _ACEOF
   12596 ;;
   12597 esac
   12598 rm -rf conftest*
   12599 
   12600 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
   12601 # in glibc 2.1.3, but that breaks too many other things.
   12602 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
   12603 if test $ac_cv_sys_largefile_source != unknown; then
   12604 
   12605 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
   12606 
   12607 fi
   12608 
   12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
   12610 $as_echo_n "checking for mbstate_t... " >&6; }
   12611 if ${ac_cv_type_mbstate_t+:} false; then :
   12612   $as_echo_n "(cached) " >&6
   12613 else
   12614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12615 /* end confdefs.h.  */
   12616 $ac_includes_default
   12617 #	    include <wchar.h>
   12618 int
   12619 main ()
   12620 {
   12621 mbstate_t x; return sizeof x;
   12622   ;
   12623   return 0;
   12624 }
   12625 _ACEOF
   12626 if ac_fn_c_try_compile "$LINENO"; then :
   12627   ac_cv_type_mbstate_t=yes
   12628 else
   12629   ac_cv_type_mbstate_t=no
   12630 fi
   12631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12632 fi
   12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
   12634 $as_echo "$ac_cv_type_mbstate_t" >&6; }
   12635    if test $ac_cv_type_mbstate_t = yes; then
   12636 
   12637 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
   12638 
   12639    else
   12640 
   12641 $as_echo "#define mbstate_t int" >>confdefs.h
   12642 
   12643    fi
   12644 
   12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct option in getopt" >&5
   12646 $as_echo_n "checking for struct option in getopt... " >&6; }
   12647 if ${ac_cv_struct_option_getopt_h+:} false; then :
   12648   $as_echo_n "(cached) " >&6
   12649 else
   12650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12651 /* end confdefs.h.  */
   12652 #include <getopt.h>
   12653 int
   12654 main ()
   12655 {
   12656 struct option op; op.name;
   12657   ;
   12658   return 0;
   12659 }
   12660 _ACEOF
   12661 if ac_fn_c_try_compile "$LINENO"; then :
   12662   ac_cv_struct_option_getopt_h=yes
   12663 else
   12664   ac_cv_struct_option_getopt_h=no
   12665 fi
   12666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12667 fi
   12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_option_getopt_h" >&5
   12669 $as_echo "$ac_cv_struct_option_getopt_h" >&6; }
   12670 if test "$ac_cv_struct_option_getopt_h" = yes; then
   12671 
   12672 $as_echo "#define HAVE_STRUCT_OPTION 1" >>confdefs.h
   12673 
   12674 fi
   12675 
   12676 
   12677 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   12678 if test "x$ac_cv_type_pid_t" = xyes; then :
   12679 
   12680 cat >>confdefs.h <<_ACEOF
   12681 #define HAVE_PID_T 1
   12682 _ACEOF
   12683 
   12684 
   12685 fi
   12686 ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
   12687 if test "x$ac_cv_type_uint8_t" = xyes; then :
   12688 
   12689 cat >>confdefs.h <<_ACEOF
   12690 #define HAVE_UINT8_T 1
   12691 _ACEOF
   12692 
   12693 
   12694 fi
   12695 ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
   12696 if test "x$ac_cv_type_uint16_t" = xyes; then :
   12697 
   12698 cat >>confdefs.h <<_ACEOF
   12699 #define HAVE_UINT16_T 1
   12700 _ACEOF
   12701 
   12702 
   12703 fi
   12704 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
   12705 if test "x$ac_cv_type_uint32_t" = xyes; then :
   12706 
   12707 cat >>confdefs.h <<_ACEOF
   12708 #define HAVE_UINT32_T 1
   12709 _ACEOF
   12710 
   12711 
   12712 fi
   12713 ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
   12714 if test "x$ac_cv_type_int32_t" = xyes; then :
   12715 
   12716 cat >>confdefs.h <<_ACEOF
   12717 #define HAVE_INT32_T 1
   12718 _ACEOF
   12719 
   12720 
   12721 fi
   12722 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
   12723 if test "x$ac_cv_type_uint64_t" = xyes; then :
   12724 
   12725 cat >>confdefs.h <<_ACEOF
   12726 #define HAVE_UINT64_T 1
   12727 _ACEOF
   12728 
   12729 
   12730 fi
   12731 ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
   12732 if test "x$ac_cv_type_int64_t" = xyes; then :
   12733 
   12734 cat >>confdefs.h <<_ACEOF
   12735 #define HAVE_INT64_T 1
   12736 _ACEOF
   12737 
   12738 
   12739 fi
   12740 
   12741 # The cast to long int works around a bug in the HP C Compiler
   12742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12744 # This bug is HP SR number 8606223364.
   12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   12746 $as_echo_n "checking size of long long... " >&6; }
   12747 if ${ac_cv_sizeof_long_long+:} false; then :
   12748   $as_echo_n "(cached) " >&6
   12749 else
   12750   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   12751 
   12752 else
   12753   if test "$ac_cv_type_long_long" = yes; then
   12754      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12756 as_fn_error 77 "cannot compute sizeof (long long)
   12757 See \`config.log' for more details" "$LINENO" 5; }
   12758    else
   12759      ac_cv_sizeof_long_long=0
   12760    fi
   12761 fi
   12762 
   12763 fi
   12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   12765 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   12766 
   12767 
   12768 
   12769 cat >>confdefs.h <<_ACEOF
   12770 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   12771 _ACEOF
   12772 
   12773 
   12774 
   12775 
   12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc compiler warnings" >&5
   12777 $as_echo_n "checking for gcc compiler warnings... " >&6; }
   12778 # Check whether --enable-warnings was given.
   12779 if test "${enable_warnings+set}" = set; then :
   12780   enableval=$enable_warnings; if test "${enableval}" = no -o "$GCC" = no; then
   12781    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12782 $as_echo "no" >&6; }
   12783    WARNINGS=
   12784 else
   12785    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12786 $as_echo "yes" >&6; }
   12787    WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
   12788        -Wmissing-declarations -Wredundant-decls -Wnested-externs \
   12789        -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
   12790        -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
   12791 fi
   12792 else
   12793 
   12794 if test "$GCC" = yes; then
   12795    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12796 $as_echo "yes" >&6; }
   12797    WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
   12798        -Wmissing-declarations -Wredundant-decls -Wnested-externs \
   12799        -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
   12800        -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
   12801 else
   12802    WARNINGS=
   12803    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12804 $as_echo "no" >&6; }
   12805 fi
   12806 fi
   12807 
   12808 
   12809 for ac_func in mmap strerror strndup strtoul mbrtowc mkstemp utimes utime wcwidth strtof fork
   12810 do :
   12811   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   12814   cat >>confdefs.h <<_ACEOF
   12815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12816 _ACEOF
   12817 
   12818 fi
   12819 done
   12820 
   12821 
   12822 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
   12823 if test "x$ac_cv_func_getopt_long" = xyes; then :
   12824   $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
   12825 
   12826 else
   12827   case " $LIBOBJS " in
   12828   *" getopt_long.$ac_objext "* ) ;;
   12829   *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext"
   12830  ;;
   12831 esac
   12832 
   12833 fi
   12834 
   12835 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   12836 if test "x$ac_cv_func_asprintf" = xyes; then :
   12837   $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
   12838 
   12839 else
   12840   case " $LIBOBJS " in
   12841   *" asprintf.$ac_objext "* ) ;;
   12842   *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
   12843  ;;
   12844 esac
   12845 
   12846 fi
   12847 
   12848 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   12849 if test "x$ac_cv_func_vasprintf" = xyes; then :
   12850   $as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h
   12851 
   12852 else
   12853   case " $LIBOBJS " in
   12854   *" vasprintf.$ac_objext "* ) ;;
   12855   *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
   12856  ;;
   12857 esac
   12858 
   12859 fi
   12860 
   12861 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   12862 if test "x$ac_cv_func_strlcpy" = xyes; then :
   12863   $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
   12864 
   12865 else
   12866   case " $LIBOBJS " in
   12867   *" strlcpy.$ac_objext "* ) ;;
   12868   *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
   12869  ;;
   12870 esac
   12871 
   12872 fi
   12873 
   12874 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   12875 if test "x$ac_cv_func_strlcat" = xyes; then :
   12876   $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
   12877 
   12878 else
   12879   case " $LIBOBJS " in
   12880   *" strlcat.$ac_objext "* ) ;;
   12881   *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
   12882  ;;
   12883 esac
   12884 
   12885 fi
   12886 
   12887 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
   12888 if test "x$ac_cv_func_getline" = xyes; then :
   12889   $as_echo "#define HAVE_GETLINE 1" >>confdefs.h
   12890 
   12891 else
   12892   case " $LIBOBJS " in
   12893   *" getline.$ac_objext "* ) ;;
   12894   *) LIBOBJS="$LIBOBJS getline.$ac_objext"
   12895  ;;
   12896 esac
   12897 
   12898 fi
   12899 
   12900 
   12901 
   12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   12903 $as_echo_n "checking for gzopen in -lz... " >&6; }
   12904 if ${ac_cv_lib_z_gzopen+:} false; then :
   12905   $as_echo_n "(cached) " >&6
   12906 else
   12907   ac_check_lib_save_LIBS=$LIBS
   12908 LIBS="-lz  $LIBS"
   12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12910 /* end confdefs.h.  */
   12911 
   12912 /* Override any GCC internal prototype to avoid an error.
   12913    Use char because int might match the return type of a GCC
   12914    builtin and then its argument prototype would still apply.  */
   12915 #ifdef __cplusplus
   12916 extern "C"
   12917 #endif
   12918 char gzopen ();
   12919 int
   12920 main ()
   12921 {
   12922 return gzopen ();
   12923   ;
   12924   return 0;
   12925 }
   12926 _ACEOF
   12927 if ac_fn_c_try_link "$LINENO"; then :
   12928   ac_cv_lib_z_gzopen=yes
   12929 else
   12930   ac_cv_lib_z_gzopen=no
   12931 fi
   12932 rm -f core conftest.err conftest.$ac_objext \
   12933     conftest$ac_exeext conftest.$ac_ext
   12934 LIBS=$ac_check_lib_save_LIBS
   12935 fi
   12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   12937 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   12938 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   12939   cat >>confdefs.h <<_ACEOF
   12940 #define HAVE_LIBZ 1
   12941 _ACEOF
   12942 
   12943   LIBS="-lz $LIBS"
   12944 
   12945 fi
   12946 
   12947 if test "$MINGW" = 1; then
   12948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -lgnurx" >&5
   12949 $as_echo_n "checking for regexec in -lgnurx... " >&6; }
   12950 if ${ac_cv_lib_gnurx_regexec+:} false; then :
   12951   $as_echo_n "(cached) " >&6
   12952 else
   12953   ac_check_lib_save_LIBS=$LIBS
   12954 LIBS="-lgnurx  $LIBS"
   12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12956 /* end confdefs.h.  */
   12957 
   12958 /* Override any GCC internal prototype to avoid an error.
   12959    Use char because int might match the return type of a GCC
   12960    builtin and then its argument prototype would still apply.  */
   12961 #ifdef __cplusplus
   12962 extern "C"
   12963 #endif
   12964 char regexec ();
   12965 int
   12966 main ()
   12967 {
   12968 return regexec ();
   12969   ;
   12970   return 0;
   12971 }
   12972 _ACEOF
   12973 if ac_fn_c_try_link "$LINENO"; then :
   12974   ac_cv_lib_gnurx_regexec=yes
   12975 else
   12976   ac_cv_lib_gnurx_regexec=no
   12977 fi
   12978 rm -f core conftest.err conftest.$ac_objext \
   12979     conftest$ac_exeext conftest.$ac_ext
   12980 LIBS=$ac_check_lib_save_LIBS
   12981 fi
   12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnurx_regexec" >&5
   12983 $as_echo "$ac_cv_lib_gnurx_regexec" >&6; }
   12984 if test "x$ac_cv_lib_gnurx_regexec" = xyes; then :
   12985   cat >>confdefs.h <<_ACEOF
   12986 #define HAVE_LIBGNURX 1
   12987 _ACEOF
   12988 
   12989   LIBS="-lgnurx $LIBS"
   12990 
   12991 else
   12992   as_fn_error $? "libgnurx is required to build file(1) with MinGW" "$LINENO" 5
   12993 fi
   12994 
   12995 fi
   12996 
   12997  if test "$cross_compiling" = yes; then
   12998   IS_CROSS_COMPILE_TRUE=
   12999   IS_CROSS_COMPILE_FALSE='#'
   13000 else
   13001   IS_CROSS_COMPILE_TRUE='#'
   13002   IS_CROSS_COMPILE_FALSE=
   13003 fi
   13004 
   13005 
   13006 ac_config_files="$ac_config_files Makefile src/Makefile magic/Makefile tests/Makefile doc/Makefile python/Makefile"
   13007 
   13008 cat >confcache <<\_ACEOF
   13009 # This file is a shell script that caches the results of configure
   13010 # tests run on this system so they can be shared between configure
   13011 # scripts and configure runs, see configure's option --config-cache.
   13012 # It is not useful on other systems.  If it contains results you don't
   13013 # want to keep, you may remove or edit it.
   13014 #
   13015 # config.status only pays attention to the cache file if you give it
   13016 # the --recheck option to rerun configure.
   13017 #
   13018 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13019 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13020 # following values.
   13021 
   13022 _ACEOF
   13023 
   13024 # The following way of writing the cache mishandles newlines in values,
   13025 # but we know of no workaround that is simple, portable, and efficient.
   13026 # So, we kill variables containing newlines.
   13027 # Ultrix sh set writes to stderr and can't be redirected directly,
   13028 # and sets the high bit in the cache file unless we assign to the vars.
   13029 (
   13030   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13031     eval ac_val=\$$ac_var
   13032     case $ac_val in #(
   13033     *${as_nl}*)
   13034       case $ac_var in #(
   13035       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   13036 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13037       esac
   13038       case $ac_var in #(
   13039       _ | IFS | as_nl) ;; #(
   13040       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13041       *) { eval $ac_var=; unset $ac_var;} ;;
   13042       esac ;;
   13043     esac
   13044   done
   13045 
   13046   (set) 2>&1 |
   13047     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13048     *${as_nl}ac_space=\ *)
   13049       # `set' does not quote correctly, so add quotes: double-quote
   13050       # substitution turns \\\\ into \\, and sed turns \\ into \.
   13051       sed -n \
   13052 	"s/'/'\\\\''/g;
   13053 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13054       ;; #(
   13055     *)
   13056       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13057       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13058       ;;
   13059     esac |
   13060     sort
   13061 ) |
   13062   sed '
   13063      /^ac_cv_env_/b end
   13064      t clear
   13065      :clear
   13066      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13067      t end
   13068      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13069      :end' >>confcache
   13070 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13071   if test -w "$cache_file"; then
   13072     if test "x$cache_file" != "x/dev/null"; then
   13073       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   13074 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13075       if test ! -f "$cache_file" || test -h "$cache_file"; then
   13076 	cat confcache >"$cache_file"
   13077       else
   13078         case $cache_file in #(
   13079         */* | ?:*)
   13080 	  mv -f confcache "$cache_file"$$ &&
   13081 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   13082         *)
   13083 	  mv -f confcache "$cache_file" ;;
   13084 	esac
   13085       fi
   13086     fi
   13087   else
   13088     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   13089 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13090   fi
   13091 fi
   13092 rm -f confcache
   13093 
   13094 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13095 # Let make expand exec_prefix.
   13096 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13097 
   13098 DEFS=-DHAVE_CONFIG_H
   13099 
   13100 ac_libobjs=
   13101 ac_ltlibobjs=
   13102 U=
   13103 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13104   # 1. Remove the extension, and $U if already installed.
   13105   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13106   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13107   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13108   #    will be set to the directory where LIBOBJS objects are built.
   13109   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13110   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   13111 done
   13112 LIBOBJS=$ac_libobjs
   13113 
   13114 LTLIBOBJS=$ac_ltlibobjs
   13115 
   13116 
   13117  if test -n "$EXEEXT"; then
   13118   am__EXEEXT_TRUE=
   13119   am__EXEEXT_FALSE='#'
   13120 else
   13121   am__EXEEXT_TRUE='#'
   13122   am__EXEEXT_FALSE=
   13123 fi
   13124 
   13125 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
   13126   as_fn_error $? "conditional \"MINGW\" was never defined.
   13127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13128 fi
   13129 if test -z "${FSECT5_TRUE}" && test -z "${FSECT5_FALSE}"; then
   13130   as_fn_error $? "conditional \"FSECT5\" was never defined.
   13131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13132 fi
   13133 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13134   as_fn_error $? "conditional \"AMDEP\" was never defined.
   13135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13136 fi
   13137 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13138   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   13139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13140 fi
   13141 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13142   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   13143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13144 fi
   13145 if test -z "${IS_CROSS_COMPILE_TRUE}" && test -z "${IS_CROSS_COMPILE_FALSE}"; then
   13146   as_fn_error $? "conditional \"IS_CROSS_COMPILE\" was never defined.
   13147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13148 fi
   13149 
   13150 : "${CONFIG_STATUS=./config.status}"
   13151 ac_write_fail=0
   13152 ac_clean_files_save=$ac_clean_files
   13153 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   13155 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13156 as_write_fail=0
   13157 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   13158 #! $SHELL
   13159 # Generated by $as_me.
   13160 # Run this file to recreate the current configuration.
   13161 # Compiler output produced by configure, useful for debugging
   13162 # configure, is in config.log if it exists.
   13163 
   13164 debug=false
   13165 ac_cs_recheck=false
   13166 ac_cs_silent=false
   13167 
   13168 SHELL=\${CONFIG_SHELL-$SHELL}
   13169 export SHELL
   13170 _ASEOF
   13171 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   13172 ## -------------------- ##
   13173 ## M4sh Initialization. ##
   13174 ## -------------------- ##
   13175 
   13176 # Be more Bourne compatible
   13177 DUALCASE=1; export DUALCASE # for MKS sh
   13178 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   13179   emulate sh
   13180   NULLCMD=:
   13181   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13182   # is contrary to our usage.  Disable this feature.
   13183   alias -g '${1+"$@"}'='"$@"'
   13184   setopt NO_GLOB_SUBST
   13185 else
   13186   case `(set -o) 2>/dev/null` in #(
   13187   *posix*) :
   13188     set -o posix ;; #(
   13189   *) :
   13190      ;;
   13191 esac
   13192 fi
   13193 
   13194 
   13195 as_nl='
   13196 '
   13197 export as_nl
   13198 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13199 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13200 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13201 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13202 # Prefer a ksh shell builtin over an external printf program on Solaris,
   13203 # but without wasting forks for bash or zsh.
   13204 if test -z "$BASH_VERSION$ZSH_VERSION" \
   13205     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   13206   as_echo='print -r --'
   13207   as_echo_n='print -rn --'
   13208 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13209   as_echo='printf %s\n'
   13210   as_echo_n='printf %s'
   13211 else
   13212   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13213     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13214     as_echo_n='/usr/ucb/echo -n'
   13215   else
   13216     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13217     as_echo_n_body='eval
   13218       arg=$1;
   13219       case $arg in #(
   13220       *"$as_nl"*)
   13221 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13222 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13223       esac;
   13224       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13225     '
   13226     export as_echo_n_body
   13227     as_echo_n='sh -c $as_echo_n_body as_echo'
   13228   fi
   13229   export as_echo_body
   13230   as_echo='sh -c $as_echo_body as_echo'
   13231 fi
   13232 
   13233 # The user is always right.
   13234 if test "${PATH_SEPARATOR+set}" != set; then
   13235   PATH_SEPARATOR=:
   13236   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13237     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13238       PATH_SEPARATOR=';'
   13239   }
   13240 fi
   13241 
   13242 
   13243 # IFS
   13244 # We need space, tab and new line, in precisely that order.  Quoting is
   13245 # there to prevent editors from complaining about space-tab.
   13246 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13247 # splitting by setting IFS to empty value.)
   13248 IFS=" ""	$as_nl"
   13249 
   13250 # Find who we are.  Look in the path if we contain no directory separator.
   13251 as_myself=
   13252 case $0 in #((
   13253   *[\\/]* ) as_myself=$0 ;;
   13254   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13255 for as_dir in $PATH
   13256 do
   13257   IFS=$as_save_IFS
   13258   test -z "$as_dir" && as_dir=.
   13259     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13260   done
   13261 IFS=$as_save_IFS
   13262 
   13263      ;;
   13264 esac
   13265 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13266 # in which case we are not to be found in the path.
   13267 if test "x$as_myself" = x; then
   13268   as_myself=$0
   13269 fi
   13270 if test ! -f "$as_myself"; then
   13271   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13272   exit 1
   13273 fi
   13274 
   13275 # Unset variables that we do not need and which cause bugs (e.g. in
   13276 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   13277 # suppresses any "Segmentation fault" message there.  '((' could
   13278 # trigger a bug in pdksh 5.2.14.
   13279 for as_var in BASH_ENV ENV MAIL MAILPATH
   13280 do eval test x\${$as_var+set} = xset \
   13281   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   13282 done
   13283 PS1='$ '
   13284 PS2='> '
   13285 PS4='+ '
   13286 
   13287 # NLS nuisances.
   13288 LC_ALL=C
   13289 export LC_ALL
   13290 LANGUAGE=C
   13291 export LANGUAGE
   13292 
   13293 # CDPATH.
   13294 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13295 
   13296 
   13297 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   13298 # ----------------------------------------
   13299 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   13300 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   13301 # script with STATUS, using 1 if that was 0.
   13302 as_fn_error ()
   13303 {
   13304   as_status=$1; test $as_status -eq 0 && as_status=1
   13305   if test "$4"; then
   13306     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   13307     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   13308   fi
   13309   $as_echo "$as_me: error: $2" >&2
   13310   as_fn_exit $as_status
   13311 } # as_fn_error
   13312 
   13313 
   13314 # as_fn_set_status STATUS
   13315 # -----------------------
   13316 # Set $? to STATUS, without forking.
   13317 as_fn_set_status ()
   13318 {
   13319   return $1
   13320 } # as_fn_set_status
   13321 
   13322 # as_fn_exit STATUS
   13323 # -----------------
   13324 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   13325 as_fn_exit ()
   13326 {
   13327   set +e
   13328   as_fn_set_status $1
   13329   exit $1
   13330 } # as_fn_exit
   13331 
   13332 # as_fn_unset VAR
   13333 # ---------------
   13334 # Portably unset VAR.
   13335 as_fn_unset ()
   13336 {
   13337   { eval $1=; unset $1;}
   13338 }
   13339 as_unset=as_fn_unset
   13340 # as_fn_append VAR VALUE
   13341 # ----------------------
   13342 # Append the text in VALUE to the end of the definition contained in VAR. Take
   13343 # advantage of any shell optimizations that allow amortized linear growth over
   13344 # repeated appends, instead of the typical quadratic growth present in naive
   13345 # implementations.
   13346 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   13347   eval 'as_fn_append ()
   13348   {
   13349     eval $1+=\$2
   13350   }'
   13351 else
   13352   as_fn_append ()
   13353   {
   13354     eval $1=\$$1\$2
   13355   }
   13356 fi # as_fn_append
   13357 
   13358 # as_fn_arith ARG...
   13359 # ------------------
   13360 # Perform arithmetic evaluation on the ARGs, and store the result in the
   13361 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   13362 # must be portable across $(()) and expr.
   13363 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   13364   eval 'as_fn_arith ()
   13365   {
   13366     as_val=$(( $* ))
   13367   }'
   13368 else
   13369   as_fn_arith ()
   13370   {
   13371     as_val=`expr "$@" || test $? -eq 1`
   13372   }
   13373 fi # as_fn_arith
   13374 
   13375 
   13376 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13377    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13378   as_expr=expr
   13379 else
   13380   as_expr=false
   13381 fi
   13382 
   13383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13384   as_basename=basename
   13385 else
   13386   as_basename=false
   13387 fi
   13388 
   13389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13390   as_dirname=dirname
   13391 else
   13392   as_dirname=false
   13393 fi
   13394 
   13395 as_me=`$as_basename -- "$0" ||
   13396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13397 	 X"$0" : 'X\(//\)$' \| \
   13398 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13399 $as_echo X/"$0" |
   13400     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13401 	    s//\1/
   13402 	    q
   13403 	  }
   13404 	  /^X\/\(\/\/\)$/{
   13405 	    s//\1/
   13406 	    q
   13407 	  }
   13408 	  /^X\/\(\/\).*/{
   13409 	    s//\1/
   13410 	    q
   13411 	  }
   13412 	  s/.*/./; q'`
   13413 
   13414 # Avoid depending upon Character Ranges.
   13415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13418 as_cr_digits='0123456789'
   13419 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13420 
   13421 ECHO_C= ECHO_N= ECHO_T=
   13422 case `echo -n x` in #(((((
   13423 -n*)
   13424   case `echo 'xy\c'` in
   13425   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13426   xy)  ECHO_C='\c';;
   13427   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   13428        ECHO_T='	';;
   13429   esac;;
   13430 *)
   13431   ECHO_N='-n';;
   13432 esac
   13433 
   13434 rm -f conf$$ conf$$.exe conf$$.file
   13435 if test -d conf$$.dir; then
   13436   rm -f conf$$.dir/conf$$.file
   13437 else
   13438   rm -f conf$$.dir
   13439   mkdir conf$$.dir 2>/dev/null
   13440 fi
   13441 if (echo >conf$$.file) 2>/dev/null; then
   13442   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13443     as_ln_s='ln -s'
   13444     # ... but there are two gotchas:
   13445     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13446     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13447     # In both cases, we have to default to `cp -p'.
   13448     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13449       as_ln_s='cp -p'
   13450   elif ln conf$$.file conf$$ 2>/dev/null; then
   13451     as_ln_s=ln
   13452   else
   13453     as_ln_s='cp -p'
   13454   fi
   13455 else
   13456   as_ln_s='cp -p'
   13457 fi
   13458 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13459 rmdir conf$$.dir 2>/dev/null
   13460 
   13461 
   13462 # as_fn_mkdir_p
   13463 # -------------
   13464 # Create "$as_dir" as a directory, including parents if necessary.
   13465 as_fn_mkdir_p ()
   13466 {
   13467 
   13468   case $as_dir in #(
   13469   -*) as_dir=./$as_dir;;
   13470   esac
   13471   test -d "$as_dir" || eval $as_mkdir_p || {
   13472     as_dirs=
   13473     while :; do
   13474       case $as_dir in #(
   13475       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13476       *) as_qdir=$as_dir;;
   13477       esac
   13478       as_dirs="'$as_qdir' $as_dirs"
   13479       as_dir=`$as_dirname -- "$as_dir" ||
   13480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13481 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13482 	 X"$as_dir" : 'X\(//\)$' \| \
   13483 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13484 $as_echo X"$as_dir" |
   13485     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13486 	    s//\1/
   13487 	    q
   13488 	  }
   13489 	  /^X\(\/\/\)[^/].*/{
   13490 	    s//\1/
   13491 	    q
   13492 	  }
   13493 	  /^X\(\/\/\)$/{
   13494 	    s//\1/
   13495 	    q
   13496 	  }
   13497 	  /^X\(\/\).*/{
   13498 	    s//\1/
   13499 	    q
   13500 	  }
   13501 	  s/.*/./; q'`
   13502       test -d "$as_dir" && break
   13503     done
   13504     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13505   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   13506 
   13507 
   13508 } # as_fn_mkdir_p
   13509 if mkdir -p . 2>/dev/null; then
   13510   as_mkdir_p='mkdir -p "$as_dir"'
   13511 else
   13512   test -d ./-p && rmdir ./-p
   13513   as_mkdir_p=false
   13514 fi
   13515 
   13516 if test -x / >/dev/null 2>&1; then
   13517   as_test_x='test -x'
   13518 else
   13519   if ls -dL / >/dev/null 2>&1; then
   13520     as_ls_L_option=L
   13521   else
   13522     as_ls_L_option=
   13523   fi
   13524   as_test_x='
   13525     eval sh -c '\''
   13526       if test -d "$1"; then
   13527 	test -d "$1/.";
   13528       else
   13529 	case $1 in #(
   13530 	-*)set "./$1";;
   13531 	esac;
   13532 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   13533 	???[sx]*):;;*)false;;esac;fi
   13534     '\'' sh
   13535   '
   13536 fi
   13537 as_executable_p=$as_test_x
   13538 
   13539 # Sed expression to map a string onto a valid CPP name.
   13540 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13541 
   13542 # Sed expression to map a string onto a valid variable name.
   13543 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13544 
   13545 
   13546 exec 6>&1
   13547 ## ----------------------------------- ##
   13548 ## Main body of $CONFIG_STATUS script. ##
   13549 ## ----------------------------------- ##
   13550 _ASEOF
   13551 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   13552 
   13553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13554 # Save the log message, to keep $0 and so on meaningful, and to
   13555 # report actual input values of CONFIG_FILES etc. instead of their
   13556 # values after options handling.
   13557 ac_log="
   13558 This file was extended by file $as_me 5.09, which was
   13559 generated by GNU Autoconf 2.68.  Invocation command line was
   13560 
   13561   CONFIG_FILES    = $CONFIG_FILES
   13562   CONFIG_HEADERS  = $CONFIG_HEADERS
   13563   CONFIG_LINKS    = $CONFIG_LINKS
   13564   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13565   $ $0 $@
   13566 
   13567 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13568 "
   13569 
   13570 _ACEOF
   13571 
   13572 case $ac_config_files in *"
   13573 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13574 esac
   13575 
   13576 case $ac_config_headers in *"
   13577 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13578 esac
   13579 
   13580 
   13581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13582 # Files that config.status was made for.
   13583 config_files="$ac_config_files"
   13584 config_headers="$ac_config_headers"
   13585 config_commands="$ac_config_commands"
   13586 
   13587 _ACEOF
   13588 
   13589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13590 ac_cs_usage="\
   13591 \`$as_me' instantiates files and other configuration actions
   13592 from templates according to the current configuration.  Unless the files
   13593 and actions are specified as TAGs, all are instantiated by default.
   13594 
   13595 Usage: $0 [OPTION]... [TAG]...
   13596 
   13597   -h, --help       print this help, then exit
   13598   -V, --version    print version number and configuration settings, then exit
   13599       --config     print configuration, then exit
   13600   -q, --quiet, --silent
   13601                    do not print progress messages
   13602   -d, --debug      don't remove temporary files
   13603       --recheck    update $as_me by reconfiguring in the same conditions
   13604       --file=FILE[:TEMPLATE]
   13605                    instantiate the configuration file FILE
   13606       --header=FILE[:TEMPLATE]
   13607                    instantiate the configuration header FILE
   13608 
   13609 Configuration files:
   13610 $config_files
   13611 
   13612 Configuration headers:
   13613 $config_headers
   13614 
   13615 Configuration commands:
   13616 $config_commands
   13617 
   13618 Report bugs to <christos (at] astron.com>."
   13619 
   13620 _ACEOF
   13621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13622 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   13623 ac_cs_version="\\
   13624 file config.status 5.09
   13625 configured by $0, generated by GNU Autoconf 2.68,
   13626   with options \\"\$ac_cs_config\\"
   13627 
   13628 Copyright (C) 2010 Free Software Foundation, Inc.
   13629 This config.status script is free software; the Free Software Foundation
   13630 gives unlimited permission to copy, distribute and modify it."
   13631 
   13632 ac_pwd='$ac_pwd'
   13633 srcdir='$srcdir'
   13634 INSTALL='$INSTALL'
   13635 MKDIR_P='$MKDIR_P'
   13636 AWK='$AWK'
   13637 test -n "\$AWK" || AWK=awk
   13638 _ACEOF
   13639 
   13640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13641 # The default lists apply if the user does not specify any file.
   13642 ac_need_defaults=:
   13643 while test $# != 0
   13644 do
   13645   case $1 in
   13646   --*=?*)
   13647     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13648     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13649     ac_shift=:
   13650     ;;
   13651   --*=)
   13652     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13653     ac_optarg=
   13654     ac_shift=:
   13655     ;;
   13656   *)
   13657     ac_option=$1
   13658     ac_optarg=$2
   13659     ac_shift=shift
   13660     ;;
   13661   esac
   13662 
   13663   case $ac_option in
   13664   # Handling of the options.
   13665   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13666     ac_cs_recheck=: ;;
   13667   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13668     $as_echo "$ac_cs_version"; exit ;;
   13669   --config | --confi | --conf | --con | --co | --c )
   13670     $as_echo "$ac_cs_config"; exit ;;
   13671   --debug | --debu | --deb | --de | --d | -d )
   13672     debug=: ;;
   13673   --file | --fil | --fi | --f )
   13674     $ac_shift
   13675     case $ac_optarg in
   13676     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13677     '') as_fn_error $? "missing file argument" ;;
   13678     esac
   13679     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13680     ac_need_defaults=false;;
   13681   --header | --heade | --head | --hea )
   13682     $ac_shift
   13683     case $ac_optarg in
   13684     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13685     esac
   13686     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13687     ac_need_defaults=false;;
   13688   --he | --h)
   13689     # Conflict between --help and --header
   13690     as_fn_error $? "ambiguous option: \`$1'
   13691 Try \`$0 --help' for more information.";;
   13692   --help | --hel | -h )
   13693     $as_echo "$ac_cs_usage"; exit ;;
   13694   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13695   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13696     ac_cs_silent=: ;;
   13697 
   13698   # This is an error.
   13699   -*) as_fn_error $? "unrecognized option: \`$1'
   13700 Try \`$0 --help' for more information." ;;
   13701 
   13702   *) as_fn_append ac_config_targets " $1"
   13703      ac_need_defaults=false ;;
   13704 
   13705   esac
   13706   shift
   13707 done
   13708 
   13709 ac_configure_extra_args=
   13710 
   13711 if $ac_cs_silent; then
   13712   exec 6>/dev/null
   13713   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13714 fi
   13715 
   13716 _ACEOF
   13717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13718 if \$ac_cs_recheck; then
   13719   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13720   shift
   13721   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13722   CONFIG_SHELL='$SHELL'
   13723   export CONFIG_SHELL
   13724   exec "\$@"
   13725 fi
   13726 
   13727 _ACEOF
   13728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13729 exec 5>>config.log
   13730 {
   13731   echo
   13732   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13733 ## Running $as_me. ##
   13734 _ASBOX
   13735   $as_echo "$ac_log"
   13736 } >&5
   13737 
   13738 _ACEOF
   13739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13740 #
   13741 # INIT-COMMANDS
   13742 #
   13743 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13744 
   13745 
   13746 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13747 # if CDPATH is set.
   13748 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13749 
   13750 sed_quote_subst='$sed_quote_subst'
   13751 double_quote_subst='$double_quote_subst'
   13752 delay_variable_subst='$delay_variable_subst'
   13753 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   13754 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   13755 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   13756 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   13757 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   13758 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   13759 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13760 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   13761 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   13762 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13763 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   13764 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   13765 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   13766 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   13767 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   13768 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13769 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13770 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   13771 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   13772 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   13773 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   13774 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   13775 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   13776 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   13777 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   13778 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   13779 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13780 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13781 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   13782 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   13783 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   13784 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   13785 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13786 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   13787 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   13788 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13789 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13790 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13791 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   13792 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13793 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   13794 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   13795 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   13796 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   13797 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"`'
   13798 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"`'
   13799 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   13800 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   13801 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   13802 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   13803 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13804 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   13805 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   13806 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   13807 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   13808 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   13809 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   13810 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   13811 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   13812 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   13813 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   13814 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   13815 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13816 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13817 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   13818 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   13819 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13820 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13821 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   13822 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13823 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13824 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13825 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13826 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13827 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13828 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13829 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13830 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13831 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13832 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13833 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   13834 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   13835 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   13836 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   13837 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13838 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   13839 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   13840 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   13841 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   13842 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   13843 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13844 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13845 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13846 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13847 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13848 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   13849 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   13850 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   13851 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   13852 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13853 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13854 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   13855 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13856 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13857 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13858 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13859 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13860 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13861 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   13862 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   13863 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13864 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13865 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   13866 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   13867 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   13868 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   13869 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13870 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13871 
   13872 LTCC='$LTCC'
   13873 LTCFLAGS='$LTCFLAGS'
   13874 compiler='$compiler_DEFAULT'
   13875 
   13876 # Quote evaled strings.
   13877 for var in SED \
   13878 GREP \
   13879 EGREP \
   13880 FGREP \
   13881 LD \
   13882 NM \
   13883 LN_S \
   13884 lt_SP2NL \
   13885 lt_NL2SP \
   13886 reload_flag \
   13887 OBJDUMP \
   13888 deplibs_check_method \
   13889 file_magic_cmd \
   13890 AR \
   13891 AR_FLAGS \
   13892 STRIP \
   13893 RANLIB \
   13894 CC \
   13895 CFLAGS \
   13896 compiler \
   13897 lt_cv_sys_global_symbol_pipe \
   13898 lt_cv_sys_global_symbol_to_cdecl \
   13899 lt_cv_sys_global_symbol_to_c_name_address \
   13900 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   13901 SHELL \
   13902 ECHO \
   13903 lt_prog_compiler_no_builtin_flag \
   13904 lt_prog_compiler_wl \
   13905 lt_prog_compiler_pic \
   13906 lt_prog_compiler_static \
   13907 lt_cv_prog_compiler_c_o \
   13908 need_locks \
   13909 DSYMUTIL \
   13910 NMEDIT \
   13911 LIPO \
   13912 OTOOL \
   13913 OTOOL64 \
   13914 shrext_cmds \
   13915 export_dynamic_flag_spec \
   13916 whole_archive_flag_spec \
   13917 compiler_needs_object \
   13918 with_gnu_ld \
   13919 allow_undefined_flag \
   13920 no_undefined_flag \
   13921 hardcode_libdir_flag_spec \
   13922 hardcode_libdir_flag_spec_ld \
   13923 hardcode_libdir_separator \
   13924 fix_srcfile_path \
   13925 exclude_expsyms \
   13926 include_expsyms \
   13927 file_list_spec \
   13928 variables_saved_for_relink \
   13929 libname_spec \
   13930 library_names_spec \
   13931 soname_spec \
   13932 finish_eval \
   13933 old_striplib \
   13934 striplib; do
   13935     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13936     *[\\\\\\\`\\"\\\$]*)
   13937       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   13938       ;;
   13939     *)
   13940       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13941       ;;
   13942     esac
   13943 done
   13944 
   13945 # Double-quote double-evaled strings.
   13946 for var in reload_cmds \
   13947 old_postinstall_cmds \
   13948 old_postuninstall_cmds \
   13949 old_archive_cmds \
   13950 extract_expsyms_cmds \
   13951 old_archive_from_new_cmds \
   13952 old_archive_from_expsyms_cmds \
   13953 archive_cmds \
   13954 archive_expsym_cmds \
   13955 module_cmds \
   13956 module_expsym_cmds \
   13957 export_symbols_cmds \
   13958 prelink_cmds \
   13959 postinstall_cmds \
   13960 postuninstall_cmds \
   13961 finish_cmds \
   13962 sys_lib_search_path_spec \
   13963 sys_lib_dlsearch_path_spec; do
   13964     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13965     *[\\\\\\\`\\"\\\$]*)
   13966       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13967       ;;
   13968     *)
   13969       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13970       ;;
   13971     esac
   13972 done
   13973 
   13974 # Fix-up fallback echo if it was mangled by the above quoting rules.
   13975 case \$lt_ECHO in
   13976 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   13977   ;;
   13978 esac
   13979 
   13980 ac_aux_dir='$ac_aux_dir'
   13981 xsi_shell='$xsi_shell'
   13982 lt_shell_append='$lt_shell_append'
   13983 
   13984 # See if we are running on zsh, and set the options which allow our
   13985 # commands through without removal of \ escapes INIT.
   13986 if test -n "\${ZSH_VERSION+set}" ; then
   13987    setopt NO_GLOB_SUBST
   13988 fi
   13989 
   13990 
   13991     PACKAGE='$PACKAGE'
   13992     VERSION='$VERSION'
   13993     TIMESTAMP='$TIMESTAMP'
   13994     RM='$RM'
   13995     ofile='$ofile'
   13996 
   13997 
   13998 
   13999 
   14000 _ACEOF
   14001 
   14002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14003 
   14004 # Handling of arguments.
   14005 for ac_config_target in $ac_config_targets
   14006 do
   14007   case $ac_config_target in
   14008     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14009     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14010     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14011     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14012     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   14013     "magic/Makefile") CONFIG_FILES="$CONFIG_FILES magic/Makefile" ;;
   14014     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   14015     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   14016     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
   14017 
   14018   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   14019   esac
   14020 done
   14021 
   14022 
   14023 # If the user did not use the arguments to specify the items to instantiate,
   14024 # then the envvar interface is used.  Set only those that are not.
   14025 # We use the long form for the default assignment because of an extremely
   14026 # bizarre bug on SunOS 4.1.3.
   14027 if $ac_need_defaults; then
   14028   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14029   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14030   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14031 fi
   14032 
   14033 # Have a temporary directory for convenience.  Make it in the build tree
   14034 # simply because there is no reason against having it here, and in addition,
   14035 # creating and moving files from /tmp can sometimes cause problems.
   14036 # Hook for its removal unless debugging.
   14037 # Note that there is a small window in which the directory will not be cleaned:
   14038 # after its creation but before its name has been assigned to `$tmp'.
   14039 $debug ||
   14040 {
   14041   tmp= ac_tmp=
   14042   trap 'exit_status=$?
   14043   : "${ac_tmp:=$tmp}"
   14044   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   14045 ' 0
   14046   trap 'as_fn_exit 1' 1 2 13 15
   14047 }
   14048 # Create a (secure) tmp directory for tmp files.
   14049 
   14050 {
   14051   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14052   test -d "$tmp"
   14053 }  ||
   14054 {
   14055   tmp=./conf$$-$RANDOM
   14056   (umask 077 && mkdir "$tmp")
   14057 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   14058 ac_tmp=$tmp
   14059 
   14060 # Set up the scripts for CONFIG_FILES section.
   14061 # No need to generate them if there are no CONFIG_FILES.
   14062 # This happens for instance with `./config.status config.h'.
   14063 if test -n "$CONFIG_FILES"; then
   14064 
   14065 
   14066 ac_cr=`echo X | tr X '\015'`
   14067 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   14068 # But we know of no other shell where ac_cr would be empty at this
   14069 # point, so we can use a bashism as a fallback.
   14070 if test "x$ac_cr" = x; then
   14071   eval ac_cr=\$\'\\r\'
   14072 fi
   14073 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14074 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14075   ac_cs_awk_cr='\\r'
   14076 else
   14077   ac_cs_awk_cr=$ac_cr
   14078 fi
   14079 
   14080 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   14081 _ACEOF
   14082 
   14083 
   14084 {
   14085   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14086   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14087   echo "_ACEOF"
   14088 } >conf$$subs.sh ||
   14089   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14090 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   14091 ac_delim='%!_!# '
   14092 for ac_last_try in false false false false false :; do
   14093   . ./conf$$subs.sh ||
   14094     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14095 
   14096   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14097   if test $ac_delim_n = $ac_delim_num; then
   14098     break
   14099   elif $ac_last_try; then
   14100     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14101   else
   14102     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14103   fi
   14104 done
   14105 rm -f conf$$subs.sh
   14106 
   14107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14108 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   14109 _ACEOF
   14110 sed -n '
   14111 h
   14112 s/^/S["/; s/!.*/"]=/
   14113 p
   14114 g
   14115 s/^[^!]*!//
   14116 :repl
   14117 t repl
   14118 s/'"$ac_delim"'$//
   14119 t delim
   14120 :nl
   14121 h
   14122 s/\(.\{148\}\)..*/\1/
   14123 t more1
   14124 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14125 p
   14126 n
   14127 b repl
   14128 :more1
   14129 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14130 p
   14131 g
   14132 s/.\{148\}//
   14133 t nl
   14134 :delim
   14135 h
   14136 s/\(.\{148\}\)..*/\1/
   14137 t more2
   14138 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14139 p
   14140 b
   14141 :more2
   14142 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14143 p
   14144 g
   14145 s/.\{148\}//
   14146 t delim
   14147 ' <conf$$subs.awk | sed '
   14148 /^[^""]/{
   14149   N
   14150   s/\n//
   14151 }
   14152 ' >>$CONFIG_STATUS || ac_write_fail=1
   14153 rm -f conf$$subs.awk
   14154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14155 _ACAWK
   14156 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   14157   for (key in S) S_is_set[key] = 1
   14158   FS = ""
   14159 
   14160 }
   14161 {
   14162   line = $ 0
   14163   nfields = split(line, field, "@")
   14164   substed = 0
   14165   len = length(field[1])
   14166   for (i = 2; i < nfields; i++) {
   14167     key = field[i]
   14168     keylen = length(key)
   14169     if (S_is_set[key]) {
   14170       value = S[key]
   14171       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14172       len += length(value) + length(field[++i])
   14173       substed = 1
   14174     } else
   14175       len += 1 + keylen
   14176   }
   14177 
   14178   print line
   14179 }
   14180 
   14181 _ACAWK
   14182 _ACEOF
   14183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14184 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14185   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14186 else
   14187   cat
   14188 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   14189   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   14190 _ACEOF
   14191 
   14192 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   14193 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   14194 # trailing colons and then remove the whole line if VPATH becomes empty
   14195 # (actually we leave an empty line to preserve line numbers).
   14196 if test "x$srcdir" = x.; then
   14197   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   14198 h
   14199 s///
   14200 s/^/:/
   14201 s/[	 ]*$/:/
   14202 s/:\$(srcdir):/:/g
   14203 s/:\${srcdir}:/:/g
   14204 s/:@srcdir@:/:/g
   14205 s/^:*//
   14206 s/:*$//
   14207 x
   14208 s/\(=[	 ]*\).*/\1/
   14209 G
   14210 s/\n//
   14211 s/^[^=]*=[	 ]*$//
   14212 }'
   14213 fi
   14214 
   14215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14216 fi # test -n "$CONFIG_FILES"
   14217 
   14218 # Set up the scripts for CONFIG_HEADERS section.
   14219 # No need to generate them if there are no CONFIG_HEADERS.
   14220 # This happens for instance with `./config.status Makefile'.
   14221 if test -n "$CONFIG_HEADERS"; then
   14222 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   14223 BEGIN {
   14224 _ACEOF
   14225 
   14226 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14227 # here-document in config.status, that substitutes the proper values into
   14228 # config.h.in to produce config.h.
   14229 
   14230 # Create a delimiter string that does not exist in confdefs.h, to ease
   14231 # handling of long lines.
   14232 ac_delim='%!_!# '
   14233 for ac_last_try in false false :; do
   14234   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   14235   if test -z "$ac_tt"; then
   14236     break
   14237   elif $ac_last_try; then
   14238     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   14239   else
   14240     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14241   fi
   14242 done
   14243 
   14244 # For the awk script, D is an array of macro values keyed by name,
   14245 # likewise P contains macro parameters if any.  Preserve backslash
   14246 # newline sequences.
   14247 
   14248 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14249 sed -n '
   14250 s/.\{148\}/&'"$ac_delim"'/g
   14251 t rset
   14252 :rset
   14253 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14254 t def
   14255 d
   14256 :def
   14257 s/\\$//
   14258 t bsnl
   14259 s/["\\]/\\&/g
   14260 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14261 D["\1"]=" \3"/p
   14262 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14263 d
   14264 :bsnl
   14265 s/["\\]/\\&/g
   14266 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14267 D["\1"]=" \3\\\\\\n"\\/p
   14268 t cont
   14269 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14270 t cont
   14271 d
   14272 :cont
   14273 n
   14274 s/.\{148\}/&'"$ac_delim"'/g
   14275 t clear
   14276 :clear
   14277 s/\\$//
   14278 t bsnlc
   14279 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14280 d
   14281 :bsnlc
   14282 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14283 b cont
   14284 ' <confdefs.h | sed '
   14285 s/'"$ac_delim"'/"\\\
   14286 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14287 
   14288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14289   for (key in D) D_is_set[key] = 1
   14290   FS = ""
   14291 }
   14292 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14293   line = \$ 0
   14294   split(line, arg, " ")
   14295   if (arg[1] == "#") {
   14296     defundef = arg[2]
   14297     mac1 = arg[3]
   14298   } else {
   14299     defundef = substr(arg[1], 2)
   14300     mac1 = arg[2]
   14301   }
   14302   split(mac1, mac2, "(") #)
   14303   macro = mac2[1]
   14304   prefix = substr(line, 1, index(line, defundef) - 1)
   14305   if (D_is_set[macro]) {
   14306     # Preserve the white space surrounding the "#".
   14307     print prefix "define", macro P[macro] D[macro]
   14308     next
   14309   } else {
   14310     # Replace #undef with comments.  This is necessary, for example,
   14311     # in the case of _POSIX_SOURCE, which is predefined and required
   14312     # on some systems where configure will not decide to define it.
   14313     if (defundef == "undef") {
   14314       print "/*", prefix defundef, macro, "*/"
   14315       next
   14316     }
   14317   }
   14318 }
   14319 { print }
   14320 _ACAWK
   14321 _ACEOF
   14322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14323   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   14324 fi # test -n "$CONFIG_HEADERS"
   14325 
   14326 
   14327 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14328 shift
   14329 for ac_tag
   14330 do
   14331   case $ac_tag in
   14332   :[FHLC]) ac_mode=$ac_tag; continue;;
   14333   esac
   14334   case $ac_mode$ac_tag in
   14335   :[FHL]*:*);;
   14336   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   14337   :[FH]-) ac_tag=-:-;;
   14338   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14339   esac
   14340   ac_save_IFS=$IFS
   14341   IFS=:
   14342   set x $ac_tag
   14343   IFS=$ac_save_IFS
   14344   shift
   14345   ac_file=$1
   14346   shift
   14347 
   14348   case $ac_mode in
   14349   :L) ac_source=$1;;
   14350   :[FH])
   14351     ac_file_inputs=
   14352     for ac_f
   14353     do
   14354       case $ac_f in
   14355       -) ac_f="$ac_tmp/stdin";;
   14356       *) # Look for the file first in the build tree, then in the source tree
   14357 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14358 	 # because $ac_f cannot contain `:'.
   14359 	 test -f "$ac_f" ||
   14360 	   case $ac_f in
   14361 	   [\\/$]*) false;;
   14362 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14363 	   esac ||
   14364 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   14365       esac
   14366       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14367       as_fn_append ac_file_inputs " '$ac_f'"
   14368     done
   14369 
   14370     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14371     # use $as_me), people would be surprised to read:
   14372     #    /* config.h.  Generated by config.status.  */
   14373     configure_input='Generated from '`
   14374 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14375 	`' by configure.'
   14376     if test x"$ac_file" != x-; then
   14377       configure_input="$ac_file.  $configure_input"
   14378       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   14379 $as_echo "$as_me: creating $ac_file" >&6;}
   14380     fi
   14381     # Neutralize special characters interpreted by sed in replacement strings.
   14382     case $configure_input in #(
   14383     *\&* | *\|* | *\\* )
   14384        ac_sed_conf_input=`$as_echo "$configure_input" |
   14385        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14386     *) ac_sed_conf_input=$configure_input;;
   14387     esac
   14388 
   14389     case $ac_tag in
   14390     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   14391       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   14392     esac
   14393     ;;
   14394   esac
   14395 
   14396   ac_dir=`$as_dirname -- "$ac_file" ||
   14397 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14398 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14399 	 X"$ac_file" : 'X\(//\)$' \| \
   14400 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14401 $as_echo X"$ac_file" |
   14402     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14403 	    s//\1/
   14404 	    q
   14405 	  }
   14406 	  /^X\(\/\/\)[^/].*/{
   14407 	    s//\1/
   14408 	    q
   14409 	  }
   14410 	  /^X\(\/\/\)$/{
   14411 	    s//\1/
   14412 	    q
   14413 	  }
   14414 	  /^X\(\/\).*/{
   14415 	    s//\1/
   14416 	    q
   14417 	  }
   14418 	  s/.*/./; q'`
   14419   as_dir="$ac_dir"; as_fn_mkdir_p
   14420   ac_builddir=.
   14421 
   14422 case "$ac_dir" in
   14423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14424 *)
   14425   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14426   # A ".." for each directory in $ac_dir_suffix.
   14427   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14428   case $ac_top_builddir_sub in
   14429   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14430   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14431   esac ;;
   14432 esac
   14433 ac_abs_top_builddir=$ac_pwd
   14434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14435 # for backward compatibility:
   14436 ac_top_builddir=$ac_top_build_prefix
   14437 
   14438 case $srcdir in
   14439   .)  # We are building in place.
   14440     ac_srcdir=.
   14441     ac_top_srcdir=$ac_top_builddir_sub
   14442     ac_abs_top_srcdir=$ac_pwd ;;
   14443   [\\/]* | ?:[\\/]* )  # Absolute name.
   14444     ac_srcdir=$srcdir$ac_dir_suffix;
   14445     ac_top_srcdir=$srcdir
   14446     ac_abs_top_srcdir=$srcdir ;;
   14447   *) # Relative name.
   14448     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14449     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14450     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14451 esac
   14452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14453 
   14454 
   14455   case $ac_mode in
   14456   :F)
   14457   #
   14458   # CONFIG_FILE
   14459   #
   14460 
   14461   case $INSTALL in
   14462   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14463   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14464   esac
   14465   ac_MKDIR_P=$MKDIR_P
   14466   case $MKDIR_P in
   14467   [\\/$]* | ?:[\\/]* ) ;;
   14468   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14469   esac
   14470 _ACEOF
   14471 
   14472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14473 # If the template does not know about datarootdir, expand it.
   14474 # FIXME: This hack should be removed a few years after 2.60.
   14475 ac_datarootdir_hack=; ac_datarootdir_seen=
   14476 ac_sed_dataroot='
   14477 /datarootdir/ {
   14478   p
   14479   q
   14480 }
   14481 /@datadir@/p
   14482 /@docdir@/p
   14483 /@infodir@/p
   14484 /@localedir@/p
   14485 /@mandir@/p'
   14486 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14487 *datarootdir*) ac_datarootdir_seen=yes;;
   14488 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14489   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14490 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14491 _ACEOF
   14492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14493   ac_datarootdir_hack='
   14494   s&@datadir@&$datadir&g
   14495   s&@docdir@&$docdir&g
   14496   s&@infodir@&$infodir&g
   14497   s&@localedir@&$localedir&g
   14498   s&@mandir@&$mandir&g
   14499   s&\\\${datarootdir}&$datarootdir&g' ;;
   14500 esac
   14501 _ACEOF
   14502 
   14503 # Neutralize VPATH when `$srcdir' = `.'.
   14504 # Shell code in configure.ac might set extrasub.
   14505 # FIXME: do we really want to maintain this feature?
   14506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14507 ac_sed_extra="$ac_vpsub
   14508 $extrasub
   14509 _ACEOF
   14510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14511 :t
   14512 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14513 s|@configure_input@|$ac_sed_conf_input|;t t
   14514 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14515 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14516 s&@srcdir@&$ac_srcdir&;t t
   14517 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14518 s&@top_srcdir@&$ac_top_srcdir&;t t
   14519 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14520 s&@builddir@&$ac_builddir&;t t
   14521 s&@abs_builddir@&$ac_abs_builddir&;t t
   14522 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14523 s&@INSTALL@&$ac_INSTALL&;t t
   14524 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14525 $ac_datarootdir_hack
   14526 "
   14527 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   14528   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14529 
   14530 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14531   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   14532   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   14533       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   14534   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14535 which seems to be undefined.  Please make sure it is defined" >&5
   14536 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14537 which seems to be undefined.  Please make sure it is defined" >&2;}
   14538 
   14539   rm -f "$ac_tmp/stdin"
   14540   case $ac_file in
   14541   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   14542   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   14543   esac \
   14544   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14545  ;;
   14546   :H)
   14547   #
   14548   # CONFIG_HEADER
   14549   #
   14550   if test x"$ac_file" != x-; then
   14551     {
   14552       $as_echo "/* $configure_input  */" \
   14553       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   14554     } >"$ac_tmp/config.h" \
   14555       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14556     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   14557       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   14558 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14559     else
   14560       rm -f "$ac_file"
   14561       mv "$ac_tmp/config.h" "$ac_file" \
   14562 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14563     fi
   14564   else
   14565     $as_echo "/* $configure_input  */" \
   14566       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   14567       || as_fn_error $? "could not create -" "$LINENO" 5
   14568   fi
   14569 # Compute "$ac_file"'s index in $config_headers.
   14570 _am_arg="$ac_file"
   14571 _am_stamp_count=1
   14572 for _am_header in $config_headers :; do
   14573   case $_am_header in
   14574     $_am_arg | $_am_arg:* )
   14575       break ;;
   14576     * )
   14577       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14578   esac
   14579 done
   14580 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14581 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14582 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14583 	 X"$_am_arg" : 'X\(//\)$' \| \
   14584 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14585 $as_echo X"$_am_arg" |
   14586     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14587 	    s//\1/
   14588 	    q
   14589 	  }
   14590 	  /^X\(\/\/\)[^/].*/{
   14591 	    s//\1/
   14592 	    q
   14593 	  }
   14594 	  /^X\(\/\/\)$/{
   14595 	    s//\1/
   14596 	    q
   14597 	  }
   14598 	  /^X\(\/\).*/{
   14599 	    s//\1/
   14600 	    q
   14601 	  }
   14602 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14603  ;;
   14604 
   14605   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   14606 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14607  ;;
   14608   esac
   14609 
   14610 
   14611   case $ac_file$ac_mode in
   14612     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   14613   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14614   # are listed without --file.  Let's play safe and only enable the eval
   14615   # if we detect the quoting.
   14616   case $CONFIG_FILES in
   14617   *\'*) eval set x "$CONFIG_FILES" ;;
   14618   *)   set x $CONFIG_FILES ;;
   14619   esac
   14620   shift
   14621   for mf
   14622   do
   14623     # Strip MF so we end up with the name of the file.
   14624     mf=`echo "$mf" | sed -e 's/:.*$//'`
   14625     # Check whether this is an Automake generated Makefile or not.
   14626     # We used to match only the files named `Makefile.in', but
   14627     # some people rename them; so instead we look at the file content.
   14628     # Grep'ing the first line is not enough: some people post-process
   14629     # each Makefile.in and add a new line on top of each file to say so.
   14630     # Grep'ing the whole file is not good either: AIX grep has a line
   14631     # limit of 2048, but all sed's we know have understand at least 4000.
   14632     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14633       dirpart=`$as_dirname -- "$mf" ||
   14634 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14635 	 X"$mf" : 'X\(//\)[^/]' \| \
   14636 	 X"$mf" : 'X\(//\)$' \| \
   14637 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14638 $as_echo X"$mf" |
   14639     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14640 	    s//\1/
   14641 	    q
   14642 	  }
   14643 	  /^X\(\/\/\)[^/].*/{
   14644 	    s//\1/
   14645 	    q
   14646 	  }
   14647 	  /^X\(\/\/\)$/{
   14648 	    s//\1/
   14649 	    q
   14650 	  }
   14651 	  /^X\(\/\).*/{
   14652 	    s//\1/
   14653 	    q
   14654 	  }
   14655 	  s/.*/./; q'`
   14656     else
   14657       continue
   14658     fi
   14659     # Extract the definition of DEPDIR, am__include, and am__quote
   14660     # from the Makefile without running `make'.
   14661     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14662     test -z "$DEPDIR" && continue
   14663     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14664     test -z "am__include" && continue
   14665     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14666     # When using ansi2knr, U may be empty or an underscore; expand it
   14667     U=`sed -n 's/^U = //p' < "$mf"`
   14668     # Find all dependency output files, they are included files with
   14669     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14670     # simplest approach to changing $(DEPDIR) to its actual value in the
   14671     # expansion.
   14672     for file in `sed -n "
   14673       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14674 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14675       # Make sure the directory exists.
   14676       test -f "$dirpart/$file" && continue
   14677       fdir=`$as_dirname -- "$file" ||
   14678 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14679 	 X"$file" : 'X\(//\)[^/]' \| \
   14680 	 X"$file" : 'X\(//\)$' \| \
   14681 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14682 $as_echo X"$file" |
   14683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14684 	    s//\1/
   14685 	    q
   14686 	  }
   14687 	  /^X\(\/\/\)[^/].*/{
   14688 	    s//\1/
   14689 	    q
   14690 	  }
   14691 	  /^X\(\/\/\)$/{
   14692 	    s//\1/
   14693 	    q
   14694 	  }
   14695 	  /^X\(\/\).*/{
   14696 	    s//\1/
   14697 	    q
   14698 	  }
   14699 	  s/.*/./; q'`
   14700       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   14701       # echo "creating $dirpart/$file"
   14702       echo '# dummy' > "$dirpart/$file"
   14703     done
   14704   done
   14705 }
   14706  ;;
   14707     "libtool":C)
   14708 
   14709     # See if we are running on zsh, and set the options which allow our
   14710     # commands through without removal of \ escapes.
   14711     if test -n "${ZSH_VERSION+set}" ; then
   14712       setopt NO_GLOB_SUBST
   14713     fi
   14714 
   14715     cfgfile="${ofile}T"
   14716     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14717     $RM "$cfgfile"
   14718 
   14719     cat <<_LT_EOF >> "$cfgfile"
   14720 #! $SHELL
   14721 
   14722 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14723 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14724 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14725 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14726 #
   14727 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14728 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   14729 #   Written by Gordon Matzigkeit, 1996
   14730 #
   14731 #   This file is part of GNU Libtool.
   14732 #
   14733 # GNU Libtool is free software; you can redistribute it and/or
   14734 # modify it under the terms of the GNU General Public License as
   14735 # published by the Free Software Foundation; either version 2 of
   14736 # the License, or (at your option) any later version.
   14737 #
   14738 # As a special exception to the GNU General Public License,
   14739 # if you distribute this file as part of a program or library that
   14740 # is built using GNU Libtool, you may include this file under the
   14741 # same distribution terms that you use for the rest of that program.
   14742 #
   14743 # GNU Libtool is distributed in the hope that it will be useful,
   14744 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14745 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14746 # GNU General Public License for more details.
   14747 #
   14748 # You should have received a copy of the GNU General Public License
   14749 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14750 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14751 # obtained by writing to the Free Software Foundation, Inc.,
   14752 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14753 
   14754 
   14755 # The names of the tagged configurations supported by this script.
   14756 available_tags=""
   14757 
   14758 # ### BEGIN LIBTOOL CONFIG
   14759 
   14760 # Which release of libtool.m4 was used?
   14761 macro_version=$macro_version
   14762 macro_revision=$macro_revision
   14763 
   14764 # Whether or not to build shared libraries.
   14765 build_libtool_libs=$enable_shared
   14766 
   14767 # Whether or not to build static libraries.
   14768 build_old_libs=$enable_static
   14769 
   14770 # What type of objects to build.
   14771 pic_mode=$pic_mode
   14772 
   14773 # Whether or not to optimize for fast installation.
   14774 fast_install=$enable_fast_install
   14775 
   14776 # The host system.
   14777 host_alias=$host_alias
   14778 host=$host
   14779 host_os=$host_os
   14780 
   14781 # The build system.
   14782 build_alias=$build_alias
   14783 build=$build
   14784 build_os=$build_os
   14785 
   14786 # A sed program that does not truncate output.
   14787 SED=$lt_SED
   14788 
   14789 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14790 Xsed="\$SED -e 1s/^X//"
   14791 
   14792 # A grep program that handles long lines.
   14793 GREP=$lt_GREP
   14794 
   14795 # An ERE matcher.
   14796 EGREP=$lt_EGREP
   14797 
   14798 # A literal string matcher.
   14799 FGREP=$lt_FGREP
   14800 
   14801 # A BSD- or MS-compatible name lister.
   14802 NM=$lt_NM
   14803 
   14804 # Whether we need soft or hard links.
   14805 LN_S=$lt_LN_S
   14806 
   14807 # What is the maximum length of a command?
   14808 max_cmd_len=$max_cmd_len
   14809 
   14810 # Object file suffix (normally "o").
   14811 objext=$ac_objext
   14812 
   14813 # Executable file suffix (normally "").
   14814 exeext=$exeext
   14815 
   14816 # whether the shell understands "unset".
   14817 lt_unset=$lt_unset
   14818 
   14819 # turn spaces into newlines.
   14820 SP2NL=$lt_lt_SP2NL
   14821 
   14822 # turn newlines into spaces.
   14823 NL2SP=$lt_lt_NL2SP
   14824 
   14825 # How to create reloadable object files.
   14826 reload_flag=$lt_reload_flag
   14827 reload_cmds=$lt_reload_cmds
   14828 
   14829 # An object symbol dumper.
   14830 OBJDUMP=$lt_OBJDUMP
   14831 
   14832 # Method to check whether dependent libraries are shared objects.
   14833 deplibs_check_method=$lt_deplibs_check_method
   14834 
   14835 # Command to use when deplibs_check_method == "file_magic".
   14836 file_magic_cmd=$lt_file_magic_cmd
   14837 
   14838 # The archiver.
   14839 AR=$lt_AR
   14840 AR_FLAGS=$lt_AR_FLAGS
   14841 
   14842 # A symbol stripping program.
   14843 STRIP=$lt_STRIP
   14844 
   14845 # Commands used to install an old-style archive.
   14846 RANLIB=$lt_RANLIB
   14847 old_postinstall_cmds=$lt_old_postinstall_cmds
   14848 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14849 
   14850 # A C compiler.
   14851 LTCC=$lt_CC
   14852 
   14853 # LTCC compiler flags.
   14854 LTCFLAGS=$lt_CFLAGS
   14855 
   14856 # Take the output of nm and produce a listing of raw symbols and C names.
   14857 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14858 
   14859 # Transform the output of nm in a proper C declaration.
   14860 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14861 
   14862 # Transform the output of nm in a C name address pair.
   14863 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14864 
   14865 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14866 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14867 
   14868 # The name of the directory that contains temporary libtool files.
   14869 objdir=$objdir
   14870 
   14871 # Shell to use when invoking shell scripts.
   14872 SHELL=$lt_SHELL
   14873 
   14874 # An echo program that does not interpret backslashes.
   14875 ECHO=$lt_ECHO
   14876 
   14877 # Used to examine libraries when file_magic_cmd begins with "file".
   14878 MAGIC_CMD=$MAGIC_CMD
   14879 
   14880 # Must we lock files when doing compilation?
   14881 need_locks=$lt_need_locks
   14882 
   14883 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14884 DSYMUTIL=$lt_DSYMUTIL
   14885 
   14886 # Tool to change global to local symbols on Mac OS X.
   14887 NMEDIT=$lt_NMEDIT
   14888 
   14889 # Tool to manipulate fat objects and archives on Mac OS X.
   14890 LIPO=$lt_LIPO
   14891 
   14892 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14893 OTOOL=$lt_OTOOL
   14894 
   14895 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14896 OTOOL64=$lt_OTOOL64
   14897 
   14898 # Old archive suffix (normally "a").
   14899 libext=$libext
   14900 
   14901 # Shared library suffix (normally ".so").
   14902 shrext_cmds=$lt_shrext_cmds
   14903 
   14904 # The commands to extract the exported symbol list from a shared archive.
   14905 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14906 
   14907 # Variables whose values should be saved in libtool wrapper scripts and
   14908 # restored at link time.
   14909 variables_saved_for_relink=$lt_variables_saved_for_relink
   14910 
   14911 # Do we need the "lib" prefix for modules?
   14912 need_lib_prefix=$need_lib_prefix
   14913 
   14914 # Do we need a version for libraries?
   14915 need_version=$need_version
   14916 
   14917 # Library versioning type.
   14918 version_type=$version_type
   14919 
   14920 # Shared library runtime path variable.
   14921 runpath_var=$runpath_var
   14922 
   14923 # Shared library path variable.
   14924 shlibpath_var=$shlibpath_var
   14925 
   14926 # Is shlibpath searched before the hard-coded library search path?
   14927 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14928 
   14929 # Format of library name prefix.
   14930 libname_spec=$lt_libname_spec
   14931 
   14932 # List of archive names.  First name is the real one, the rest are links.
   14933 # The last name is the one that the linker finds with -lNAME
   14934 library_names_spec=$lt_library_names_spec
   14935 
   14936 # The coded name of the library, if different from the real name.
   14937 soname_spec=$lt_soname_spec
   14938 
   14939 # Command to use after installation of a shared archive.
   14940 postinstall_cmds=$lt_postinstall_cmds
   14941 
   14942 # Command to use after uninstallation of a shared archive.
   14943 postuninstall_cmds=$lt_postuninstall_cmds
   14944 
   14945 # Commands used to finish a libtool library installation in a directory.
   14946 finish_cmds=$lt_finish_cmds
   14947 
   14948 # As "finish_cmds", except a single script fragment to be evaled but
   14949 # not shown.
   14950 finish_eval=$lt_finish_eval
   14951 
   14952 # Whether we should hardcode library paths into libraries.
   14953 hardcode_into_libs=$hardcode_into_libs
   14954 
   14955 # Compile-time system search path for libraries.
   14956 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14957 
   14958 # Run-time system search path for libraries.
   14959 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14960 
   14961 # Whether dlopen is supported.
   14962 dlopen_support=$enable_dlopen
   14963 
   14964 # Whether dlopen of programs is supported.
   14965 dlopen_self=$enable_dlopen_self
   14966 
   14967 # Whether dlopen of statically linked programs is supported.
   14968 dlopen_self_static=$enable_dlopen_self_static
   14969 
   14970 # Commands to strip libraries.
   14971 old_striplib=$lt_old_striplib
   14972 striplib=$lt_striplib
   14973 
   14974 
   14975 # The linker used to build libraries.
   14976 LD=$lt_LD
   14977 
   14978 # Commands used to build an old-style archive.
   14979 old_archive_cmds=$lt_old_archive_cmds
   14980 
   14981 # A language specific compiler.
   14982 CC=$lt_compiler
   14983 
   14984 # Is the compiler the GNU compiler?
   14985 with_gcc=$GCC
   14986 
   14987 # Compiler flag to turn off builtin functions.
   14988 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14989 
   14990 # How to pass a linker flag through the compiler.
   14991 wl=$lt_lt_prog_compiler_wl
   14992 
   14993 # Additional compiler flags for building library objects.
   14994 pic_flag=$lt_lt_prog_compiler_pic
   14995 
   14996 # Compiler flag to prevent dynamic linking.
   14997 link_static_flag=$lt_lt_prog_compiler_static
   14998 
   14999 # Does compiler simultaneously support -c and -o options?
   15000 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15001 
   15002 # Whether or not to add -lc for building shared libraries.
   15003 build_libtool_need_lc=$archive_cmds_need_lc
   15004 
   15005 # Whether or not to disallow shared libs when runtime libs are static.
   15006 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15007 
   15008 # Compiler flag to allow reflexive dlopens.
   15009 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15010 
   15011 # Compiler flag to generate shared objects directly from archives.
   15012 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15013 
   15014 # Whether the compiler copes with passing no objects directly.
   15015 compiler_needs_object=$lt_compiler_needs_object
   15016 
   15017 # Create an old-style archive from a shared archive.
   15018 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15019 
   15020 # Create a temporary old-style archive to link instead of a shared archive.
   15021 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15022 
   15023 # Commands used to build a shared archive.
   15024 archive_cmds=$lt_archive_cmds
   15025 archive_expsym_cmds=$lt_archive_expsym_cmds
   15026 
   15027 # Commands used to build a loadable module if different from building
   15028 # a shared archive.
   15029 module_cmds=$lt_module_cmds
   15030 module_expsym_cmds=$lt_module_expsym_cmds
   15031 
   15032 # Whether we are building with GNU ld or not.
   15033 with_gnu_ld=$lt_with_gnu_ld
   15034 
   15035 # Flag that allows shared libraries with undefined symbols to be built.
   15036 allow_undefined_flag=$lt_allow_undefined_flag
   15037 
   15038 # Flag that enforces no undefined symbols.
   15039 no_undefined_flag=$lt_no_undefined_flag
   15040 
   15041 # Flag to hardcode \$libdir into a binary during linking.
   15042 # This must work even if \$libdir does not exist
   15043 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15044 
   15045 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15046 # during linking.  This must work even if \$libdir does not exist.
   15047 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15048 
   15049 # Whether we need a single "-rpath" flag with a separated argument.
   15050 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15051 
   15052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15053 # DIR into the resulting binary.
   15054 hardcode_direct=$hardcode_direct
   15055 
   15056 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15057 # DIR into the resulting binary and the resulting library dependency is
   15058 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15059 # library is relocated.
   15060 hardcode_direct_absolute=$hardcode_direct_absolute
   15061 
   15062 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15063 # into the resulting binary.
   15064 hardcode_minus_L=$hardcode_minus_L
   15065 
   15066 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15067 # into the resulting binary.
   15068 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15069 
   15070 # Set to "yes" if building a shared library automatically hardcodes DIR
   15071 # into the library and all subsequent libraries and executables linked
   15072 # against it.
   15073 hardcode_automatic=$hardcode_automatic
   15074 
   15075 # Set to yes if linker adds runtime paths of dependent libraries
   15076 # to runtime path list.
   15077 inherit_rpath=$inherit_rpath
   15078 
   15079 # Whether libtool must link a program against all its dependency libraries.
   15080 link_all_deplibs=$link_all_deplibs
   15081 
   15082 # Fix the shell variable \$srcfile for the compiler.
   15083 fix_srcfile_path=$lt_fix_srcfile_path
   15084 
   15085 # Set to "yes" if exported symbols are required.
   15086 always_export_symbols=$always_export_symbols
   15087 
   15088 # The commands to list exported symbols.
   15089 export_symbols_cmds=$lt_export_symbols_cmds
   15090 
   15091 # Symbols that should not be listed in the preloaded symbols.
   15092 exclude_expsyms=$lt_exclude_expsyms
   15093 
   15094 # Symbols that must always be exported.
   15095 include_expsyms=$lt_include_expsyms
   15096 
   15097 # Commands necessary for linking programs (against libraries) with templates.
   15098 prelink_cmds=$lt_prelink_cmds
   15099 
   15100 # Specify filename containing input files.
   15101 file_list_spec=$lt_file_list_spec
   15102 
   15103 # How to hardcode a shared library path into an executable.
   15104 hardcode_action=$hardcode_action
   15105 
   15106 # ### END LIBTOOL CONFIG
   15107 
   15108 _LT_EOF
   15109 
   15110   case $host_os in
   15111   aix3*)
   15112     cat <<\_LT_EOF >> "$cfgfile"
   15113 # AIX sometimes has problems with the GCC collect2 program.  For some
   15114 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15115 # vanish in a puff of smoke.
   15116 if test "X${COLLECT_NAMES+set}" != Xset; then
   15117   COLLECT_NAMES=
   15118   export COLLECT_NAMES
   15119 fi
   15120 _LT_EOF
   15121     ;;
   15122   esac
   15123 
   15124 
   15125 ltmain="$ac_aux_dir/ltmain.sh"
   15126 
   15127 
   15128   # We use sed instead of cat because bash on DJGPP gets confused if
   15129   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15130   # text mode, it properly converts lines to CR/LF.  This bash problem
   15131   # is reportedly fixed, but why not run on old versions too?
   15132   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15133     || (rm -f "$cfgfile"; exit 1)
   15134 
   15135   case $xsi_shell in
   15136   yes)
   15137     cat << \_LT_EOF >> "$cfgfile"
   15138 
   15139 # func_dirname file append nondir_replacement
   15140 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15141 # otherwise set result to NONDIR_REPLACEMENT.
   15142 func_dirname ()
   15143 {
   15144   case ${1} in
   15145     */*) func_dirname_result="${1%/*}${2}" ;;
   15146     *  ) func_dirname_result="${3}" ;;
   15147   esac
   15148 }
   15149 
   15150 # func_basename file
   15151 func_basename ()
   15152 {
   15153   func_basename_result="${1##*/}"
   15154 }
   15155 
   15156 # func_dirname_and_basename file append nondir_replacement
   15157 # perform func_basename and func_dirname in a single function
   15158 # call:
   15159 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15160 #             add APPEND to the result, otherwise set result
   15161 #             to NONDIR_REPLACEMENT.
   15162 #             value returned in "$func_dirname_result"
   15163 #   basename: Compute filename of FILE.
   15164 #             value retuned in "$func_basename_result"
   15165 # Implementation must be kept synchronized with func_dirname
   15166 # and func_basename. For efficiency, we do not delegate to
   15167 # those functions but instead duplicate the functionality here.
   15168 func_dirname_and_basename ()
   15169 {
   15170   case ${1} in
   15171     */*) func_dirname_result="${1%/*}${2}" ;;
   15172     *  ) func_dirname_result="${3}" ;;
   15173   esac
   15174   func_basename_result="${1##*/}"
   15175 }
   15176 
   15177 # func_stripname prefix suffix name
   15178 # strip PREFIX and SUFFIX off of NAME.
   15179 # PREFIX and SUFFIX must not contain globbing or regex special
   15180 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15181 # dot (in which case that matches only a dot).
   15182 func_stripname ()
   15183 {
   15184   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15185   # positional parameters, so assign one to ordinary parameter first.
   15186   func_stripname_result=${3}
   15187   func_stripname_result=${func_stripname_result#"${1}"}
   15188   func_stripname_result=${func_stripname_result%"${2}"}
   15189 }
   15190 
   15191 # func_opt_split
   15192 func_opt_split ()
   15193 {
   15194   func_opt_split_opt=${1%%=*}
   15195   func_opt_split_arg=${1#*=}
   15196 }
   15197 
   15198 # func_lo2o object
   15199 func_lo2o ()
   15200 {
   15201   case ${1} in
   15202     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15203     *)    func_lo2o_result=${1} ;;
   15204   esac
   15205 }
   15206 
   15207 # func_xform libobj-or-source
   15208 func_xform ()
   15209 {
   15210   func_xform_result=${1%.*}.lo
   15211 }
   15212 
   15213 # func_arith arithmetic-term...
   15214 func_arith ()
   15215 {
   15216   func_arith_result=$(( $* ))
   15217 }
   15218 
   15219 # func_len string
   15220 # STRING may not start with a hyphen.
   15221 func_len ()
   15222 {
   15223   func_len_result=${#1}
   15224 }
   15225 
   15226 _LT_EOF
   15227     ;;
   15228   *) # Bourne compatible functions.
   15229     cat << \_LT_EOF >> "$cfgfile"
   15230 
   15231 # func_dirname file append nondir_replacement
   15232 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15233 # otherwise set result to NONDIR_REPLACEMENT.
   15234 func_dirname ()
   15235 {
   15236   # Extract subdirectory from the argument.
   15237   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15238   if test "X$func_dirname_result" = "X${1}"; then
   15239     func_dirname_result="${3}"
   15240   else
   15241     func_dirname_result="$func_dirname_result${2}"
   15242   fi
   15243 }
   15244 
   15245 # func_basename file
   15246 func_basename ()
   15247 {
   15248   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15249 }
   15250 
   15251 
   15252 # func_stripname prefix suffix name
   15253 # strip PREFIX and SUFFIX off of NAME.
   15254 # PREFIX and SUFFIX must not contain globbing or regex special
   15255 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15256 # dot (in which case that matches only a dot).
   15257 # func_strip_suffix prefix name
   15258 func_stripname ()
   15259 {
   15260   case ${2} in
   15261     .*) func_stripname_result=`$ECHO "X${3}" \
   15262            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15263     *)  func_stripname_result=`$ECHO "X${3}" \
   15264            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15265   esac
   15266 }
   15267 
   15268 # sed scripts:
   15269 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15270 my_sed_long_arg='1s/^-[^=]*=//'
   15271 
   15272 # func_opt_split
   15273 func_opt_split ()
   15274 {
   15275   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15276   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15277 }
   15278 
   15279 # func_lo2o object
   15280 func_lo2o ()
   15281 {
   15282   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15283 }
   15284 
   15285 # func_xform libobj-or-source
   15286 func_xform ()
   15287 {
   15288   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   15289 }
   15290 
   15291 # func_arith arithmetic-term...
   15292 func_arith ()
   15293 {
   15294   func_arith_result=`expr "$@"`
   15295 }
   15296 
   15297 # func_len string
   15298 # STRING may not start with a hyphen.
   15299 func_len ()
   15300 {
   15301   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15302 }
   15303 
   15304 _LT_EOF
   15305 esac
   15306 
   15307 case $lt_shell_append in
   15308   yes)
   15309     cat << \_LT_EOF >> "$cfgfile"
   15310 
   15311 # func_append var value
   15312 # Append VALUE to the end of shell variable VAR.
   15313 func_append ()
   15314 {
   15315   eval "$1+=\$2"
   15316 }
   15317 _LT_EOF
   15318     ;;
   15319   *)
   15320     cat << \_LT_EOF >> "$cfgfile"
   15321 
   15322 # func_append var value
   15323 # Append VALUE to the end of shell variable VAR.
   15324 func_append ()
   15325 {
   15326   eval "$1=\$$1\$2"
   15327 }
   15328 
   15329 _LT_EOF
   15330     ;;
   15331   esac
   15332 
   15333 
   15334   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15335     || (rm -f "$cfgfile"; exit 1)
   15336 
   15337   mv -f "$cfgfile" "$ofile" ||
   15338     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15339   chmod +x "$ofile"
   15340 
   15341  ;;
   15342 
   15343   esac
   15344 done # for ac_tag
   15345 
   15346 
   15347 as_fn_exit 0
   15348 _ACEOF
   15349 ac_clean_files=$ac_clean_files_save
   15350 
   15351 test $ac_write_fail = 0 ||
   15352   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15353 
   15354 
   15355 # configure is writing to config.log, and then calls config.status.
   15356 # config.status does its own redirection, appending to config.log.
   15357 # Unfortunately, on DOS this fails, as config.log is still kept open
   15358 # by configure, so config.status won't be able to write to it; its
   15359 # output is simply discarded.  So we exec the FD to /dev/null,
   15360 # effectively closing config.log, so it can be properly (re)opened and
   15361 # appended to by config.status.  When coming back to configure, we
   15362 # need to make the FD available again.
   15363 if test "$no_create" != yes; then
   15364   ac_cs_success=:
   15365   ac_config_status_args=
   15366   test "$silent" = yes &&
   15367     ac_config_status_args="$ac_config_status_args --quiet"
   15368   exec 5>/dev/null
   15369   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15370   exec 5>>config.log
   15371   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15372   # would make configure fail if this is the last instruction.
   15373   $ac_cs_success || as_fn_exit 1
   15374 fi
   15375 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15376   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15377 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15378 fi
   15379 
   15380