Home | History | Annotate | Line # | Download | only in dist
configure revision 1.12
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for file 5.20.
      4 #
      5 # Report bugs to <christos (at] astron.com>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: christos (at] astron.com about your system, including any
    279 $0: error possibly output before this message. Then install
    280 $0: a modern shell, or manually run the script under such a
    281 $0: shell if you do have one."
    282   fi
    283   exit 1
    284 fi
    285 fi
    286 fi
    287 SHELL=${CONFIG_SHELL-/bin/sh}
    288 export SHELL
    289 # Unset more variables known to interfere with behavior of common tools.
    290 CLICOLOR_FORCE= GREP_OPTIONS=
    291 unset CLICOLOR_FORCE GREP_OPTIONS
    292 
    293 ## --------------------- ##
    294 ## M4sh Shell Functions. ##
    295 ## --------------------- ##
    296 # as_fn_unset VAR
    297 # ---------------
    298 # Portably unset VAR.
    299 as_fn_unset ()
    300 {
    301   { eval $1=; unset $1;}
    302 }
    303 as_unset=as_fn_unset
    304 
    305 # as_fn_set_status STATUS
    306 # -----------------------
    307 # Set $? to STATUS, without forking.
    308 as_fn_set_status ()
    309 {
    310   return $1
    311 } # as_fn_set_status
    312 
    313 # as_fn_exit STATUS
    314 # -----------------
    315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    316 as_fn_exit ()
    317 {
    318   set +e
    319   as_fn_set_status $1
    320   exit $1
    321 } # as_fn_exit
    322 
    323 # as_fn_mkdir_p
    324 # -------------
    325 # Create "$as_dir" as a directory, including parents if necessary.
    326 as_fn_mkdir_p ()
    327 {
    328 
    329   case $as_dir in #(
    330   -*) as_dir=./$as_dir;;
    331   esac
    332   test -d "$as_dir" || eval $as_mkdir_p || {
    333     as_dirs=
    334     while :; do
    335       case $as_dir in #(
    336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    337       *) as_qdir=$as_dir;;
    338       esac
    339       as_dirs="'$as_qdir' $as_dirs"
    340       as_dir=`$as_dirname -- "$as_dir" ||
    341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    342 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    343 	 X"$as_dir" : 'X\(//\)$' \| \
    344 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    345 $as_echo X"$as_dir" |
    346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\/\)[^/].*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  /^X\(\/\/\)$/{
    355 	    s//\1/
    356 	    q
    357 	  }
    358 	  /^X\(\/\).*/{
    359 	    s//\1/
    360 	    q
    361 	  }
    362 	  s/.*/./; q'`
    363       test -d "$as_dir" && break
    364     done
    365     test -z "$as_dirs" || eval "mkdir $as_dirs"
    366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    367 
    368 
    369 } # as_fn_mkdir_p
    370 
    371 # as_fn_executable_p FILE
    372 # -----------------------
    373 # Test if FILE is an executable regular file.
    374 as_fn_executable_p ()
    375 {
    376   test -f "$1" && test -x "$1"
    377 } # as_fn_executable_p
    378 # as_fn_append VAR VALUE
    379 # ----------------------
    380 # Append the text in VALUE to the end of the definition contained in VAR. Take
    381 # advantage of any shell optimizations that allow amortized linear growth over
    382 # repeated appends, instead of the typical quadratic growth present in naive
    383 # implementations.
    384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else
    390   as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   }
    394 fi # as_fn_append
    395 
    396 # as_fn_arith ARG...
    397 # ------------------
    398 # Perform arithmetic evaluation on the ARGs, and store the result in the
    399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    400 # must be portable across $(()) and expr.
    401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    402   eval 'as_fn_arith ()
    403   {
    404     as_val=$(( $* ))
    405   }'
    406 else
    407   as_fn_arith ()
    408   {
    409     as_val=`expr "$@" || test $? -eq 1`
    410   }
    411 fi # as_fn_arith
    412 
    413 
    414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    415 # ----------------------------------------
    416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    418 # script with STATUS, using 1 if that was 0.
    419 as_fn_error ()
    420 {
    421   as_status=$1; test $as_status -eq 0 && as_status=1
    422   if test "$4"; then
    423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    425   fi
    426   $as_echo "$as_me: error: $2" >&2
    427   as_fn_exit $as_status
    428 } # as_fn_error
    429 
    430 if expr a : '\(a\)' >/dev/null 2>&1 &&
    431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    432   as_expr=expr
    433 else
    434   as_expr=false
    435 fi
    436 
    437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    438   as_basename=basename
    439 else
    440   as_basename=false
    441 fi
    442 
    443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    444   as_dirname=dirname
    445 else
    446   as_dirname=false
    447 fi
    448 
    449 as_me=`$as_basename -- "$0" ||
    450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    451 	 X"$0" : 'X\(//\)$' \| \
    452 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    453 $as_echo X/"$0" |
    454     sed '/^.*\/\([^/][^/]*\)\/*$/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  /^X\/\(\/\/\)$/{
    459 	    s//\1/
    460 	    q
    461 	  }
    462 	  /^X\/\(\/\).*/{
    463 	    s//\1/
    464 	    q
    465 	  }
    466 	  s/.*/./; q'`
    467 
    468 # Avoid depending upon Character Ranges.
    469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    472 as_cr_digits='0123456789'
    473 as_cr_alnum=$as_cr_Letters$as_cr_digits
    474 
    475 
    476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    481   sed -n '
    482     p
    483     /[$]LINENO/=
    484   ' <$as_myself |
    485     sed '
    486       s/[$]LINENO.*/&-/
    487       t lineno
    488       b
    489       :lineno
    490       N
    491       :loop
    492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    493       t loop
    494       s/-\n.*//
    495     ' >$as_me.lineno &&
    496   chmod +x "$as_me.lineno" ||
    497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    498 
    499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    500   # already done that, so ensure we don't try to do so again and fall
    501   # in an infinite loop.  This has already happened in practice.
    502   _as_can_reexec=no; export _as_can_reexec
    503   # Don't try to exec as it changes $[0], causing all sort of problems
    504   # (the dirname of $[0] is not the place where we might find the
    505   # original and so on.  Autoconf is especially sensitive to this).
    506   . "./$as_me.lineno"
    507   # Exit status is that of the last command.
    508   exit
    509 }
    510 
    511 ECHO_C= ECHO_N= ECHO_T=
    512 case `echo -n x` in #(((((
    513 -n*)
    514   case `echo 'xy\c'` in
    515   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    516   xy)  ECHO_C='\c';;
    517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    518        ECHO_T='	';;
    519   esac;;
    520 *)
    521   ECHO_N='-n';;
    522 esac
    523 
    524 rm -f conf$$ conf$$.exe conf$$.file
    525 if test -d conf$$.dir; then
    526   rm -f conf$$.dir/conf$$.file
    527 else
    528   rm -f conf$$.dir
    529   mkdir conf$$.dir 2>/dev/null
    530 fi
    531 if (echo >conf$$.file) 2>/dev/null; then
    532   if ln -s conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s='ln -s'
    534     # ... but there are two gotchas:
    535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    537     # In both cases, we have to default to `cp -pR'.
    538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    539       as_ln_s='cp -pR'
    540   elif ln conf$$.file conf$$ 2>/dev/null; then
    541     as_ln_s=ln
    542   else
    543     as_ln_s='cp -pR'
    544   fi
    545 else
    546   as_ln_s='cp -pR'
    547 fi
    548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    549 rmdir conf$$.dir 2>/dev/null
    550 
    551 if mkdir -p . 2>/dev/null; then
    552   as_mkdir_p='mkdir -p "$as_dir"'
    553 else
    554   test -d ./-p && rmdir ./-p
    555   as_mkdir_p=false
    556 fi
    557 
    558 as_test_x='test -x'
    559 as_executable_p=as_fn_executable_p
    560 
    561 # Sed expression to map a string onto a valid CPP name.
    562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 # Sed expression to map a string onto a valid variable name.
    565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566 
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569 
    570 test -n "$DJDIR" || exec 7<&0 </dev/null
    571 exec 6>&1
    572 
    573 # Name of the host.
    574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    575 # so uname gets run too.
    576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    577 
    578 #
    579 # Initializations.
    580 #
    581 ac_default_prefix=/usr/local
    582 ac_clean_files=
    583 ac_config_libobj_dir=.
    584 LIBOBJS=
    585 cross_compiling=no
    586 subdirs=
    587 MFLAGS=
    588 MAKEFLAGS=
    589 
    590 # Identity of this package.
    591 PACKAGE_NAME='file'
    592 PACKAGE_TARNAME='file'
    593 PACKAGE_VERSION='5.20'
    594 PACKAGE_STRING='file 5.20'
    595 PACKAGE_BUGREPORT='christos (at] astron.com'
    596 PACKAGE_URL=''
    597 
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stdio.h>
    601 #ifdef HAVE_SYS_TYPES_H
    602 # include <sys/types.h>
    603 #endif
    604 #ifdef HAVE_SYS_STAT_H
    605 # include <sys/stat.h>
    606 #endif
    607 #ifdef STDC_HEADERS
    608 # include <stdlib.h>
    609 # include <stddef.h>
    610 #else
    611 # ifdef HAVE_STDLIB_H
    612 #  include <stdlib.h>
    613 # endif
    614 #endif
    615 #ifdef HAVE_STRING_H
    616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    617 #  include <memory.h>
    618 # endif
    619 # include <string.h>
    620 #endif
    621 #ifdef HAVE_STRINGS_H
    622 # include <strings.h>
    623 #endif
    624 #ifdef HAVE_INTTYPES_H
    625 # include <inttypes.h>
    626 #endif
    627 #ifdef HAVE_STDINT_H
    628 # include <stdint.h>
    629 #endif
    630 #ifdef HAVE_UNISTD_H
    631 # include <unistd.h>
    632 #endif"
    633 
    634 ac_header_list=
    635 ac_subst_vars='am__EXEEXT_FALSE
    636 am__EXEEXT_TRUE
    637 LTLIBOBJS
    638 IS_CROSS_COMPILE_FALSE
    639 IS_CROSS_COMPILE_TRUE
    640 LIBOBJS
    641 HAVE_VISIBILITY
    642 CFLAG_VISIBILITY
    643 OTOOL64
    644 OTOOL
    645 LIPO
    646 NMEDIT
    647 DSYMUTIL
    648 MANIFEST_TOOL
    649 RANLIB
    650 ac_ct_AR
    651 AR
    652 DLLTOOL
    653 OBJDUMP
    654 NM
    655 ac_ct_DUMPBIN
    656 DUMPBIN
    657 LD
    658 FGREP
    659 SED
    660 LIBTOOL
    661 LN_S
    662 EGREP
    663 GREP
    664 CPP
    665 am__fastdepCC_FALSE
    666 am__fastdepCC_TRUE
    667 CCDEPMODE
    668 am__nodep
    669 AMDEPBACKSLASH
    670 AMDEP_FALSE
    671 AMDEP_TRUE
    672 am__quote
    673 am__include
    674 DEPDIR
    675 OBJEXT
    676 EXEEXT
    677 ac_ct_CC
    678 CPPFLAGS
    679 LDFLAGS
    680 CFLAGS
    681 CC
    682 WARNINGS
    683 FSECT5_FALSE
    684 FSECT5_TRUE
    685 fsect
    686 pkgdatadir
    687 MINGW_FALSE
    688 MINGW_TRUE
    689 MINGW
    690 host_os
    691 host_vendor
    692 host_cpu
    693 host
    694 build_os
    695 build_vendor
    696 build_cpu
    697 build
    698 MAINT
    699 MAINTAINER_MODE_FALSE
    700 MAINTAINER_MODE_TRUE
    701 AM_BACKSLASH
    702 AM_DEFAULT_VERBOSITY
    703 AM_DEFAULT_V
    704 AM_V
    705 am__untar
    706 am__tar
    707 AMTAR
    708 am__leading_dot
    709 SET_MAKE
    710 AWK
    711 mkdir_p
    712 MKDIR_P
    713 INSTALL_STRIP_PROGRAM
    714 STRIP
    715 install_sh
    716 MAKEINFO
    717 AUTOHEADER
    718 AUTOMAKE
    719 AUTOCONF
    720 ACLOCAL
    721 VERSION
    722 PACKAGE
    723 CYGPATH_W
    724 am__isrc
    725 INSTALL_DATA
    726 INSTALL_SCRIPT
    727 INSTALL_PROGRAM
    728 target_alias
    729 host_alias
    730 build_alias
    731 LIBS
    732 ECHO_T
    733 ECHO_N
    734 ECHO_C
    735 DEFS
    736 mandir
    737 localedir
    738 libdir
    739 psdir
    740 pdfdir
    741 dvidir
    742 htmldir
    743 infodir
    744 docdir
    745 oldincludedir
    746 includedir
    747 localstatedir
    748 sharedstatedir
    749 sysconfdir
    750 datadir
    751 datarootdir
    752 libexecdir
    753 sbindir
    754 bindir
    755 program_transform_name
    756 prefix
    757 exec_prefix
    758 PACKAGE_URL
    759 PACKAGE_BUGREPORT
    760 PACKAGE_STRING
    761 PACKAGE_VERSION
    762 PACKAGE_TARNAME
    763 PACKAGE_NAME
    764 PATH_SEPARATOR
    765 SHELL'
    766 ac_subst_files=''
    767 ac_user_opts='
    768 enable_option_checking
    769 enable_silent_rules
    770 enable_maintainer_mode
    771 enable_elf
    772 enable_elf_core
    773 enable_fsect_man5
    774 enable_dependency_tracking
    775 enable_static
    776 with_pic
    777 enable_shared
    778 enable_fast_install
    779 with_gnu_ld
    780 with_sysroot
    781 enable_libtool_lock
    782 enable_largefile
    783 enable_warnings
    784 '
    785       ac_precious_vars='build_alias
    786 host_alias
    787 target_alias
    788 CC
    789 CFLAGS
    790 LDFLAGS
    791 LIBS
    792 CPPFLAGS
    793 CPP'
    794 
    795 
    796 # Initialize some variables set by options.
    797 ac_init_help=
    798 ac_init_version=false
    799 ac_unrecognized_opts=
    800 ac_unrecognized_sep=
    801 # The variables have the same names as the options, with
    802 # dashes changed to underlines.
    803 cache_file=/dev/null
    804 exec_prefix=NONE
    805 no_create=
    806 no_recursion=
    807 prefix=NONE
    808 program_prefix=NONE
    809 program_suffix=NONE
    810 program_transform_name=s,x,x,
    811 silent=
    812 site=
    813 srcdir=
    814 verbose=
    815 x_includes=NONE
    816 x_libraries=NONE
    817 
    818 # Installation directory options.
    819 # These are left unexpanded so users can "make install exec_prefix=/foo"
    820 # and all the variables that are supposed to be based on exec_prefix
    821 # by default will actually change.
    822 # Use braces instead of parens because sh, perl, etc. also accept them.
    823 # (The list follows the same order as the GNU Coding Standards.)
    824 bindir='${exec_prefix}/bin'
    825 sbindir='${exec_prefix}/sbin'
    826 libexecdir='${exec_prefix}/libexec'
    827 datarootdir='${prefix}/share'
    828 datadir='${datarootdir}'
    829 sysconfdir='${prefix}/etc'
    830 sharedstatedir='${prefix}/com'
    831 localstatedir='${prefix}/var'
    832 includedir='${prefix}/include'
    833 oldincludedir='/usr/include'
    834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    835 infodir='${datarootdir}/info'
    836 htmldir='${docdir}'
    837 dvidir='${docdir}'
    838 pdfdir='${docdir}'
    839 psdir='${docdir}'
    840 libdir='${exec_prefix}/lib'
    841 localedir='${datarootdir}/locale'
    842 mandir='${datarootdir}/man'
    843 
    844 ac_prev=
    845 ac_dashdash=
    846 for ac_option
    847 do
    848   # If the previous option needs an argument, assign it.
    849   if test -n "$ac_prev"; then
    850     eval $ac_prev=\$ac_option
    851     ac_prev=
    852     continue
    853   fi
    854 
    855   case $ac_option in
    856   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    857   *=)   ac_optarg= ;;
    858   *)    ac_optarg=yes ;;
    859   esac
    860 
    861   # Accept the important Cygnus configure options, so we can diagnose typos.
    862 
    863   case $ac_dashdash$ac_option in
    864   --)
    865     ac_dashdash=yes ;;
    866 
    867   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    868     ac_prev=bindir ;;
    869   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    870     bindir=$ac_optarg ;;
    871 
    872   -build | --build | --buil | --bui | --bu)
    873     ac_prev=build_alias ;;
    874   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    875     build_alias=$ac_optarg ;;
    876 
    877   -cache-file | --cache-file | --cache-fil | --cache-fi \
    878   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    879     ac_prev=cache_file ;;
    880   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    881   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    882     cache_file=$ac_optarg ;;
    883 
    884   --config-cache | -C)
    885     cache_file=config.cache ;;
    886 
    887   -datadir | --datadir | --datadi | --datad)
    888     ac_prev=datadir ;;
    889   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    890     datadir=$ac_optarg ;;
    891 
    892   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    893   | --dataroo | --dataro | --datar)
    894     ac_prev=datarootdir ;;
    895   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    896   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    897     datarootdir=$ac_optarg ;;
    898 
    899   -disable-* | --disable-*)
    900     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    901     # Reject names that are not valid shell variable names.
    902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       as_fn_error $? "invalid feature name: $ac_useropt"
    904     ac_useropt_orig=$ac_useropt
    905     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    906     case $ac_user_opts in
    907       *"
    908 "enable_$ac_useropt"
    909 "*) ;;
    910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    911 	 ac_unrecognized_sep=', ';;
    912     esac
    913     eval enable_$ac_useropt=no ;;
    914 
    915   -docdir | --docdir | --docdi | --doc | --do)
    916     ac_prev=docdir ;;
    917   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    918     docdir=$ac_optarg ;;
    919 
    920   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    921     ac_prev=dvidir ;;
    922   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    923     dvidir=$ac_optarg ;;
    924 
    925   -enable-* | --enable-*)
    926     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    927     # Reject names that are not valid shell variable names.
    928     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    929       as_fn_error $? "invalid feature name: $ac_useropt"
    930     ac_useropt_orig=$ac_useropt
    931     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    932     case $ac_user_opts in
    933       *"
    934 "enable_$ac_useropt"
    935 "*) ;;
    936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    937 	 ac_unrecognized_sep=', ';;
    938     esac
    939     eval enable_$ac_useropt=\$ac_optarg ;;
    940 
    941   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    942   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    943   | --exec | --exe | --ex)
    944     ac_prev=exec_prefix ;;
    945   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    946   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    947   | --exec=* | --exe=* | --ex=*)
    948     exec_prefix=$ac_optarg ;;
    949 
    950   -gas | --gas | --ga | --g)
    951     # Obsolete; use --with-gas.
    952     with_gas=yes ;;
    953 
    954   -help | --help | --hel | --he | -h)
    955     ac_init_help=long ;;
    956   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    957     ac_init_help=recursive ;;
    958   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    959     ac_init_help=short ;;
    960 
    961   -host | --host | --hos | --ho)
    962     ac_prev=host_alias ;;
    963   -host=* | --host=* | --hos=* | --ho=*)
    964     host_alias=$ac_optarg ;;
    965 
    966   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    967     ac_prev=htmldir ;;
    968   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    969   | --ht=*)
    970     htmldir=$ac_optarg ;;
    971 
    972   -includedir | --includedir | --includedi | --included | --include \
    973   | --includ | --inclu | --incl | --inc)
    974     ac_prev=includedir ;;
    975   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    976   | --includ=* | --inclu=* | --incl=* | --inc=*)
    977     includedir=$ac_optarg ;;
    978 
    979   -infodir | --infodir | --infodi | --infod | --info | --inf)
    980     ac_prev=infodir ;;
    981   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    982     infodir=$ac_optarg ;;
    983 
    984   -libdir | --libdir | --libdi | --libd)
    985     ac_prev=libdir ;;
    986   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    987     libdir=$ac_optarg ;;
    988 
    989   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    990   | --libexe | --libex | --libe)
    991     ac_prev=libexecdir ;;
    992   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    993   | --libexe=* | --libex=* | --libe=*)
    994     libexecdir=$ac_optarg ;;
    995 
    996   -localedir | --localedir | --localedi | --localed | --locale)
    997     ac_prev=localedir ;;
    998   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    999     localedir=$ac_optarg ;;
   1000 
   1001   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1002   | --localstate | --localstat | --localsta | --localst | --locals)
   1003     ac_prev=localstatedir ;;
   1004   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1005   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1006     localstatedir=$ac_optarg ;;
   1007 
   1008   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1009     ac_prev=mandir ;;
   1010   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1011     mandir=$ac_optarg ;;
   1012 
   1013   -nfp | --nfp | --nf)
   1014     # Obsolete; use --without-fp.
   1015     with_fp=no ;;
   1016 
   1017   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1018   | --no-cr | --no-c | -n)
   1019     no_create=yes ;;
   1020 
   1021   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1022   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1023     no_recursion=yes ;;
   1024 
   1025   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1026   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1027   | --oldin | --oldi | --old | --ol | --o)
   1028     ac_prev=oldincludedir ;;
   1029   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1030   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1031   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1032     oldincludedir=$ac_optarg ;;
   1033 
   1034   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1035     ac_prev=prefix ;;
   1036   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1037     prefix=$ac_optarg ;;
   1038 
   1039   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1040   | --program-pre | --program-pr | --program-p)
   1041     ac_prev=program_prefix ;;
   1042   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1043   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1044     program_prefix=$ac_optarg ;;
   1045 
   1046   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1047   | --program-suf | --program-su | --program-s)
   1048     ac_prev=program_suffix ;;
   1049   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1050   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1051     program_suffix=$ac_optarg ;;
   1052 
   1053   -program-transform-name | --program-transform-name \
   1054   | --program-transform-nam | --program-transform-na \
   1055   | --program-transform-n | --program-transform- \
   1056   | --program-transform | --program-transfor \
   1057   | --program-transfo | --program-transf \
   1058   | --program-trans | --program-tran \
   1059   | --progr-tra | --program-tr | --program-t)
   1060     ac_prev=program_transform_name ;;
   1061   -program-transform-name=* | --program-transform-name=* \
   1062   | --program-transform-nam=* | --program-transform-na=* \
   1063   | --program-transform-n=* | --program-transform-=* \
   1064   | --program-transform=* | --program-transfor=* \
   1065   | --program-transfo=* | --program-transf=* \
   1066   | --program-trans=* | --program-tran=* \
   1067   | --progr-tra=* | --program-tr=* | --program-t=*)
   1068     program_transform_name=$ac_optarg ;;
   1069 
   1070   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1071     ac_prev=pdfdir ;;
   1072   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1073     pdfdir=$ac_optarg ;;
   1074 
   1075   -psdir | --psdir | --psdi | --psd | --ps)
   1076     ac_prev=psdir ;;
   1077   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1078     psdir=$ac_optarg ;;
   1079 
   1080   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1081   | -silent | --silent | --silen | --sile | --sil)
   1082     silent=yes ;;
   1083 
   1084   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1085     ac_prev=sbindir ;;
   1086   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1087   | --sbi=* | --sb=*)
   1088     sbindir=$ac_optarg ;;
   1089 
   1090   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1091   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1092   | --sharedst | --shareds | --shared | --share | --shar \
   1093   | --sha | --sh)
   1094     ac_prev=sharedstatedir ;;
   1095   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1096   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1097   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1098   | --sha=* | --sh=*)
   1099     sharedstatedir=$ac_optarg ;;
   1100 
   1101   -site | --site | --sit)
   1102     ac_prev=site ;;
   1103   -site=* | --site=* | --sit=*)
   1104     site=$ac_optarg ;;
   1105 
   1106   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1107     ac_prev=srcdir ;;
   1108   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1109     srcdir=$ac_optarg ;;
   1110 
   1111   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1112   | --syscon | --sysco | --sysc | --sys | --sy)
   1113     ac_prev=sysconfdir ;;
   1114   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1115   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1116     sysconfdir=$ac_optarg ;;
   1117 
   1118   -target | --target | --targe | --targ | --tar | --ta | --t)
   1119     ac_prev=target_alias ;;
   1120   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1121     target_alias=$ac_optarg ;;
   1122 
   1123   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1124     verbose=yes ;;
   1125 
   1126   -version | --version | --versio | --versi | --vers | -V)
   1127     ac_init_version=: ;;
   1128 
   1129   -with-* | --with-*)
   1130     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1131     # Reject names that are not valid shell variable names.
   1132     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1133       as_fn_error $? "invalid package name: $ac_useropt"
   1134     ac_useropt_orig=$ac_useropt
   1135     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1136     case $ac_user_opts in
   1137       *"
   1138 "with_$ac_useropt"
   1139 "*) ;;
   1140       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1141 	 ac_unrecognized_sep=', ';;
   1142     esac
   1143     eval with_$ac_useropt=\$ac_optarg ;;
   1144 
   1145   -without-* | --without-*)
   1146     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1147     # Reject names that are not valid shell variable names.
   1148     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1149       as_fn_error $? "invalid package name: $ac_useropt"
   1150     ac_useropt_orig=$ac_useropt
   1151     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1152     case $ac_user_opts in
   1153       *"
   1154 "with_$ac_useropt"
   1155 "*) ;;
   1156       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1157 	 ac_unrecognized_sep=', ';;
   1158     esac
   1159     eval with_$ac_useropt=no ;;
   1160 
   1161   --x)
   1162     # Obsolete; use --with-x.
   1163     with_x=yes ;;
   1164 
   1165   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1166   | --x-incl | --x-inc | --x-in | --x-i)
   1167     ac_prev=x_includes ;;
   1168   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1169   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1170     x_includes=$ac_optarg ;;
   1171 
   1172   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1173   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1174     ac_prev=x_libraries ;;
   1175   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1176   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1177     x_libraries=$ac_optarg ;;
   1178 
   1179   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1180 Try \`$0 --help' for more information"
   1181     ;;
   1182 
   1183   *=*)
   1184     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1185     # Reject names that are not valid shell variable names.
   1186     case $ac_envvar in #(
   1187       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1188       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1189     esac
   1190     eval $ac_envvar=\$ac_optarg
   1191     export $ac_envvar ;;
   1192 
   1193   *)
   1194     # FIXME: should be removed in autoconf 3.0.
   1195     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1196     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1197       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1198     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1199     ;;
   1200 
   1201   esac
   1202 done
   1203 
   1204 if test -n "$ac_prev"; then
   1205   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1206   as_fn_error $? "missing argument to $ac_option"
   1207 fi
   1208 
   1209 if test -n "$ac_unrecognized_opts"; then
   1210   case $enable_option_checking in
   1211     no) ;;
   1212     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1213     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1214   esac
   1215 fi
   1216 
   1217 # Check all directory arguments for consistency.
   1218 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1219 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1220 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1221 		libdir localedir mandir
   1222 do
   1223   eval ac_val=\$$ac_var
   1224   # Remove trailing slashes.
   1225   case $ac_val in
   1226     */ )
   1227       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1228       eval $ac_var=\$ac_val;;
   1229   esac
   1230   # Be sure to have absolute directory names.
   1231   case $ac_val in
   1232     [\\/$]* | ?:[\\/]* )  continue;;
   1233     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1234   esac
   1235   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1236 done
   1237 
   1238 # There might be people who depend on the old broken behavior: `$host'
   1239 # used to hold the argument of --host etc.
   1240 # FIXME: To remove some day.
   1241 build=$build_alias
   1242 host=$host_alias
   1243 target=$target_alias
   1244 
   1245 # FIXME: To remove some day.
   1246 if test "x$host_alias" != x; then
   1247   if test "x$build_alias" = x; then
   1248     cross_compiling=maybe
   1249   elif test "x$build_alias" != "x$host_alias"; then
   1250     cross_compiling=yes
   1251   fi
   1252 fi
   1253 
   1254 ac_tool_prefix=
   1255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1256 
   1257 test "$silent" = yes && exec 6>/dev/null
   1258 
   1259 
   1260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1261 ac_ls_di=`ls -di .` &&
   1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1263   as_fn_error $? "working directory cannot be determined"
   1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1265   as_fn_error $? "pwd does not report name of working directory"
   1266 
   1267 
   1268 # Find the source files, if location was not specified.
   1269 if test -z "$srcdir"; then
   1270   ac_srcdir_defaulted=yes
   1271   # Try the directory containing this script, then the parent directory.
   1272   ac_confdir=`$as_dirname -- "$as_myself" ||
   1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1274 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1275 	 X"$as_myself" : 'X\(//\)$' \| \
   1276 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1277 $as_echo X"$as_myself" |
   1278     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)[^/].*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\/\)$/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\).*/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  s/.*/./; q'`
   1295   srcdir=$ac_confdir
   1296   if test ! -r "$srcdir/$ac_unique_file"; then
   1297     srcdir=..
   1298   fi
   1299 else
   1300   ac_srcdir_defaulted=no
   1301 fi
   1302 if test ! -r "$srcdir/$ac_unique_file"; then
   1303   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1304   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1305 fi
   1306 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1307 ac_abs_confdir=`(
   1308 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1309 	pwd)`
   1310 # When building in place, set srcdir=.
   1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1312   srcdir=.
   1313 fi
   1314 # Remove unnecessary trailing slashes from srcdir.
   1315 # Double slashes in file names in object file debugging info
   1316 # mess up M-x gdb in Emacs.
   1317 case $srcdir in
   1318 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1319 esac
   1320 for ac_var in $ac_precious_vars; do
   1321   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1322   eval ac_env_${ac_var}_value=\$${ac_var}
   1323   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1324   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1325 done
   1326 
   1327 #
   1328 # Report the --help message.
   1329 #
   1330 if test "$ac_init_help" = "long"; then
   1331   # Omit some internal or obsolete options to make the list less imposing.
   1332   # This message is too long to be a string in the A/UX 3.1 sh.
   1333   cat <<_ACEOF
   1334 \`configure' configures file 5.20 to adapt to many kinds of systems.
   1335 
   1336 Usage: $0 [OPTION]... [VAR=VALUE]...
   1337 
   1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1339 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1340 
   1341 Defaults for the options are specified in brackets.
   1342 
   1343 Configuration:
   1344   -h, --help              display this help and exit
   1345       --help=short        display options specific to this package
   1346       --help=recursive    display the short help of all the included packages
   1347   -V, --version           display version information and exit
   1348   -q, --quiet, --silent   do not print \`checking ...' messages
   1349       --cache-file=FILE   cache test results in FILE [disabled]
   1350   -C, --config-cache      alias for \`--cache-file=config.cache'
   1351   -n, --no-create         do not create output files
   1352       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1353 
   1354 Installation directories:
   1355   --prefix=PREFIX         install architecture-independent files in PREFIX
   1356                           [$ac_default_prefix]
   1357   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1358                           [PREFIX]
   1359 
   1360 By default, \`make install' will install all the files in
   1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1363 for instance \`--prefix=\$HOME'.
   1364 
   1365 For better control, use the options below.
   1366 
   1367 Fine tuning of the installation directories:
   1368   --bindir=DIR            user executables [EPREFIX/bin]
   1369   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1370   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1371   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1372   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1373   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1374   --libdir=DIR            object code libraries [EPREFIX/lib]
   1375   --includedir=DIR        C header files [PREFIX/include]
   1376   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1377   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1378   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1379   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1380   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1381   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1382   --docdir=DIR            documentation root [DATAROOTDIR/doc/file]
   1383   --htmldir=DIR           html documentation [DOCDIR]
   1384   --dvidir=DIR            dvi documentation [DOCDIR]
   1385   --pdfdir=DIR            pdf documentation [DOCDIR]
   1386   --psdir=DIR             ps documentation [DOCDIR]
   1387 _ACEOF
   1388 
   1389   cat <<\_ACEOF
   1390 
   1391 Program names:
   1392   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1393   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1394   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1395 
   1396 System types:
   1397   --build=BUILD     configure for building on BUILD [guessed]
   1398   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1399 _ACEOF
   1400 fi
   1401 
   1402 if test -n "$ac_init_help"; then
   1403   case $ac_init_help in
   1404      short | recursive ) echo "Configuration of file 5.20:";;
   1405    esac
   1406   cat <<\_ACEOF
   1407 
   1408 Optional Features:
   1409   --disable-option-checking  ignore unrecognized --enable/--with options
   1410   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1411   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1412   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1413   --disable-silent-rules  verbose build output (undo: "make V=0")
   1414   --enable-maintainer-mode
   1415                           enable make rules and dependencies not useful (and
   1416                           sometimes confusing) to the casual installer
   1417   --disable-elf            disable builtin ELF support
   1418   --disable-elf-core       disable ELF core file support
   1419   --enable-fsect-man5      enable file formats in man section 5
   1420   --enable-dependency-tracking
   1421                           do not reject slow dependency extractors
   1422   --disable-dependency-tracking
   1423                           speeds up one-time build
   1424   --enable-static[=PKGS]  build static libraries [default=no]
   1425   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1426   --enable-fast-install[=PKGS]
   1427                           optimize for fast installation [default=yes]
   1428   --disable-libtool-lock  avoid locking (might break parallel builds)
   1429   --disable-largefile     omit support for large files
   1430   --disable-warnings	disable compiler warnings
   1431 
   1432 Optional Packages:
   1433   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1434   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1435   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1436                           both]
   1437   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1438   --with-sysroot=DIR Search for dependent libraries within DIR
   1439                         (or the compiler's sysroot if not specified).
   1440 
   1441 Some influential environment variables:
   1442   CC          C compiler command
   1443   CFLAGS      C compiler flags
   1444   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1445               nonstandard directory <lib dir>
   1446   LIBS        libraries to pass to the linker, e.g. -l<library>
   1447   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1448               you have headers in a nonstandard directory <include dir>
   1449   CPP         C preprocessor
   1450 
   1451 Use these variables to override the choices made by `configure' or to help
   1452 it to find libraries and programs with nonstandard names/locations.
   1453 
   1454 Report bugs to <christos (at] astron.com>.
   1455 _ACEOF
   1456 ac_status=$?
   1457 fi
   1458 
   1459 if test "$ac_init_help" = "recursive"; then
   1460   # If there are subdirs, report their specific --help.
   1461   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1462     test -d "$ac_dir" ||
   1463       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1464       continue
   1465     ac_builddir=.
   1466 
   1467 case "$ac_dir" in
   1468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1469 *)
   1470   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1471   # A ".." for each directory in $ac_dir_suffix.
   1472   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1473   case $ac_top_builddir_sub in
   1474   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1475   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1476   esac ;;
   1477 esac
   1478 ac_abs_top_builddir=$ac_pwd
   1479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1480 # for backward compatibility:
   1481 ac_top_builddir=$ac_top_build_prefix
   1482 
   1483 case $srcdir in
   1484   .)  # We are building in place.
   1485     ac_srcdir=.
   1486     ac_top_srcdir=$ac_top_builddir_sub
   1487     ac_abs_top_srcdir=$ac_pwd ;;
   1488   [\\/]* | ?:[\\/]* )  # Absolute name.
   1489     ac_srcdir=$srcdir$ac_dir_suffix;
   1490     ac_top_srcdir=$srcdir
   1491     ac_abs_top_srcdir=$srcdir ;;
   1492   *) # Relative name.
   1493     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1494     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1495     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1496 esac
   1497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1498 
   1499     cd "$ac_dir" || { ac_status=$?; continue; }
   1500     # Check for guested configure.
   1501     if test -f "$ac_srcdir/configure.gnu"; then
   1502       echo &&
   1503       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1504     elif test -f "$ac_srcdir/configure"; then
   1505       echo &&
   1506       $SHELL "$ac_srcdir/configure" --help=recursive
   1507     else
   1508       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1509     fi || ac_status=$?
   1510     cd "$ac_pwd" || { ac_status=$?; break; }
   1511   done
   1512 fi
   1513 
   1514 test -n "$ac_init_help" && exit $ac_status
   1515 if $ac_init_version; then
   1516   cat <<\_ACEOF
   1517 file configure 5.20
   1518 generated by GNU Autoconf 2.69
   1519 
   1520 Copyright (C) 2012 Free Software Foundation, Inc.
   1521 This configure script is free software; the Free Software Foundation
   1522 gives unlimited permission to copy, distribute and modify it.
   1523 _ACEOF
   1524   exit
   1525 fi
   1526 
   1527 ## ------------------------ ##
   1528 ## Autoconf initialization. ##
   1529 ## ------------------------ ##
   1530 
   1531 # ac_fn_c_try_compile LINENO
   1532 # --------------------------
   1533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1534 ac_fn_c_try_compile ()
   1535 {
   1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1537   rm -f conftest.$ac_objext
   1538   if { { ac_try="$ac_compile"
   1539 case "(($ac_try" in
   1540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1541   *) ac_try_echo=$ac_try;;
   1542 esac
   1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1544 $as_echo "$ac_try_echo"; } >&5
   1545   (eval "$ac_compile") 2>conftest.err
   1546   ac_status=$?
   1547   if test -s conftest.err; then
   1548     grep -v '^ *+' conftest.err >conftest.er1
   1549     cat conftest.er1 >&5
   1550     mv -f conftest.er1 conftest.err
   1551   fi
   1552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1553   test $ac_status = 0; } && {
   1554 	 test -z "$ac_c_werror_flag" ||
   1555 	 test ! -s conftest.err
   1556        } && test -s conftest.$ac_objext; then :
   1557   ac_retval=0
   1558 else
   1559   $as_echo "$as_me: failed program was:" >&5
   1560 sed 's/^/| /' conftest.$ac_ext >&5
   1561 
   1562 	ac_retval=1
   1563 fi
   1564   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1565   as_fn_set_status $ac_retval
   1566 
   1567 } # ac_fn_c_try_compile
   1568 
   1569 # ac_fn_c_try_cpp LINENO
   1570 # ----------------------
   1571 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1572 ac_fn_c_try_cpp ()
   1573 {
   1574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1575   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1576 case "(($ac_try" in
   1577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1578   *) ac_try_echo=$ac_try;;
   1579 esac
   1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1581 $as_echo "$ac_try_echo"; } >&5
   1582   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1583   ac_status=$?
   1584   if test -s conftest.err; then
   1585     grep -v '^ *+' conftest.err >conftest.er1
   1586     cat conftest.er1 >&5
   1587     mv -f conftest.er1 conftest.err
   1588   fi
   1589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1590   test $ac_status = 0; } > conftest.i && {
   1591 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1592 	 test ! -s conftest.err
   1593        }; then :
   1594   ac_retval=0
   1595 else
   1596   $as_echo "$as_me: failed program was:" >&5
   1597 sed 's/^/| /' conftest.$ac_ext >&5
   1598 
   1599     ac_retval=1
   1600 fi
   1601   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1602   as_fn_set_status $ac_retval
   1603 
   1604 } # ac_fn_c_try_cpp
   1605 
   1606 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1607 # -------------------------------------------------------
   1608 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1609 # the include files in INCLUDES and setting the cache variable VAR
   1610 # accordingly.
   1611 ac_fn_c_check_header_mongrel ()
   1612 {
   1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1614   if eval \${$3+:} false; then :
   1615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1616 $as_echo_n "checking for $2... " >&6; }
   1617 if eval \${$3+:} false; then :
   1618   $as_echo_n "(cached) " >&6
   1619 fi
   1620 eval ac_res=\$$3
   1621 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1622 $as_echo "$ac_res" >&6; }
   1623 else
   1624   # Is the header compilable?
   1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1626 $as_echo_n "checking $2 usability... " >&6; }
   1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1628 /* end confdefs.h.  */
   1629 $4
   1630 #include <$2>
   1631 _ACEOF
   1632 if ac_fn_c_try_compile "$LINENO"; then :
   1633   ac_header_compiler=yes
   1634 else
   1635   ac_header_compiler=no
   1636 fi
   1637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1639 $as_echo "$ac_header_compiler" >&6; }
   1640 
   1641 # Is the header present?
   1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1643 $as_echo_n "checking $2 presence... " >&6; }
   1644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1645 /* end confdefs.h.  */
   1646 #include <$2>
   1647 _ACEOF
   1648 if ac_fn_c_try_cpp "$LINENO"; then :
   1649   ac_header_preproc=yes
   1650 else
   1651   ac_header_preproc=no
   1652 fi
   1653 rm -f conftest.err conftest.i conftest.$ac_ext
   1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1655 $as_echo "$ac_header_preproc" >&6; }
   1656 
   1657 # So?  What about this header?
   1658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1659   yes:no: )
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1661 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1663 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1664     ;;
   1665   no:yes:* )
   1666     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1667 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1668     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1669 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1670     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1671 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1672     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1673 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1674     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1675 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1676 ( $as_echo "## ---------------------------------- ##
   1677 ## Report this to christos (at] astron.com ##
   1678 ## ---------------------------------- ##"
   1679      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1680     ;;
   1681 esac
   1682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1683 $as_echo_n "checking for $2... " >&6; }
   1684 if eval \${$3+:} false; then :
   1685   $as_echo_n "(cached) " >&6
   1686 else
   1687   eval "$3=\$ac_header_compiler"
   1688 fi
   1689 eval ac_res=\$$3
   1690 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1691 $as_echo "$ac_res" >&6; }
   1692 fi
   1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1694 
   1695 } # ac_fn_c_check_header_mongrel
   1696 
   1697 # ac_fn_c_try_run LINENO
   1698 # ----------------------
   1699 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1700 # that executables *can* be run.
   1701 ac_fn_c_try_run ()
   1702 {
   1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1704   if { { ac_try="$ac_link"
   1705 case "(($ac_try" in
   1706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1707   *) ac_try_echo=$ac_try;;
   1708 esac
   1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1710 $as_echo "$ac_try_echo"; } >&5
   1711   (eval "$ac_link") 2>&5
   1712   ac_status=$?
   1713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1714   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1715   { { case "(($ac_try" in
   1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1717   *) ac_try_echo=$ac_try;;
   1718 esac
   1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1720 $as_echo "$ac_try_echo"; } >&5
   1721   (eval "$ac_try") 2>&5
   1722   ac_status=$?
   1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1724   test $ac_status = 0; }; }; then :
   1725   ac_retval=0
   1726 else
   1727   $as_echo "$as_me: program exited with status $ac_status" >&5
   1728        $as_echo "$as_me: failed program was:" >&5
   1729 sed 's/^/| /' conftest.$ac_ext >&5
   1730 
   1731        ac_retval=$ac_status
   1732 fi
   1733   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1735   as_fn_set_status $ac_retval
   1736 
   1737 } # ac_fn_c_try_run
   1738 
   1739 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1740 # -------------------------------------------------------
   1741 # Tests whether HEADER exists and can be compiled using the include files in
   1742 # INCLUDES, setting the cache variable VAR accordingly.
   1743 ac_fn_c_check_header_compile ()
   1744 {
   1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1747 $as_echo_n "checking for $2... " >&6; }
   1748 if eval \${$3+:} false; then :
   1749   $as_echo_n "(cached) " >&6
   1750 else
   1751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1752 /* end confdefs.h.  */
   1753 $4
   1754 #include <$2>
   1755 _ACEOF
   1756 if ac_fn_c_try_compile "$LINENO"; then :
   1757   eval "$3=yes"
   1758 else
   1759   eval "$3=no"
   1760 fi
   1761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1762 fi
   1763 eval ac_res=\$$3
   1764 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1765 $as_echo "$ac_res" >&6; }
   1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1767 
   1768 } # ac_fn_c_check_header_compile
   1769 
   1770 # ac_fn_c_try_link LINENO
   1771 # -----------------------
   1772 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1773 ac_fn_c_try_link ()
   1774 {
   1775   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1776   rm -f conftest.$ac_objext conftest$ac_exeext
   1777   if { { ac_try="$ac_link"
   1778 case "(($ac_try" in
   1779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1780   *) ac_try_echo=$ac_try;;
   1781 esac
   1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1783 $as_echo "$ac_try_echo"; } >&5
   1784   (eval "$ac_link") 2>conftest.err
   1785   ac_status=$?
   1786   if test -s conftest.err; then
   1787     grep -v '^ *+' conftest.err >conftest.er1
   1788     cat conftest.er1 >&5
   1789     mv -f conftest.er1 conftest.err
   1790   fi
   1791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1792   test $ac_status = 0; } && {
   1793 	 test -z "$ac_c_werror_flag" ||
   1794 	 test ! -s conftest.err
   1795        } && test -s conftest$ac_exeext && {
   1796 	 test "$cross_compiling" = yes ||
   1797 	 test -x conftest$ac_exeext
   1798        }; then :
   1799   ac_retval=0
   1800 else
   1801   $as_echo "$as_me: failed program was:" >&5
   1802 sed 's/^/| /' conftest.$ac_ext >&5
   1803 
   1804 	ac_retval=1
   1805 fi
   1806   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1807   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1808   # interfere with the next link command; also delete a directory that is
   1809   # left behind by Apple's compiler.  We do this before executing the actions.
   1810   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1811   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1812   as_fn_set_status $ac_retval
   1813 
   1814 } # ac_fn_c_try_link
   1815 
   1816 # ac_fn_c_check_func LINENO FUNC VAR
   1817 # ----------------------------------
   1818 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1819 ac_fn_c_check_func ()
   1820 {
   1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1823 $as_echo_n "checking for $2... " >&6; }
   1824 if eval \${$3+:} false; then :
   1825   $as_echo_n "(cached) " >&6
   1826 else
   1827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1828 /* end confdefs.h.  */
   1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1831 #define $2 innocuous_$2
   1832 
   1833 /* System header to define __stub macros and hopefully few prototypes,
   1834     which can conflict with char $2 (); below.
   1835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1836     <limits.h> exists even on freestanding compilers.  */
   1837 
   1838 #ifdef __STDC__
   1839 # include <limits.h>
   1840 #else
   1841 # include <assert.h>
   1842 #endif
   1843 
   1844 #undef $2
   1845 
   1846 /* Override any GCC internal prototype to avoid an error.
   1847    Use char because int might match the return type of a GCC
   1848    builtin and then its argument prototype would still apply.  */
   1849 #ifdef __cplusplus
   1850 extern "C"
   1851 #endif
   1852 char $2 ();
   1853 /* The GNU C library defines this for functions which it implements
   1854     to always fail with ENOSYS.  Some functions are actually named
   1855     something starting with __ and the normal name is an alias.  */
   1856 #if defined __stub_$2 || defined __stub___$2
   1857 choke me
   1858 #endif
   1859 
   1860 int
   1861 main ()
   1862 {
   1863 return $2 ();
   1864   ;
   1865   return 0;
   1866 }
   1867 _ACEOF
   1868 if ac_fn_c_try_link "$LINENO"; then :
   1869   eval "$3=yes"
   1870 else
   1871   eval "$3=no"
   1872 fi
   1873 rm -f core conftest.err conftest.$ac_objext \
   1874     conftest$ac_exeext conftest.$ac_ext
   1875 fi
   1876 eval ac_res=\$$3
   1877 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1878 $as_echo "$ac_res" >&6; }
   1879   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1880 
   1881 } # ac_fn_c_check_func
   1882 
   1883 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1884 # -------------------------------------------
   1885 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1886 # variable VAR accordingly.
   1887 ac_fn_c_check_type ()
   1888 {
   1889   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1891 $as_echo_n "checking for $2... " >&6; }
   1892 if eval \${$3+:} false; then :
   1893   $as_echo_n "(cached) " >&6
   1894 else
   1895   eval "$3=no"
   1896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1897 /* end confdefs.h.  */
   1898 $4
   1899 int
   1900 main ()
   1901 {
   1902 if (sizeof ($2))
   1903 	 return 0;
   1904   ;
   1905   return 0;
   1906 }
   1907 _ACEOF
   1908 if ac_fn_c_try_compile "$LINENO"; then :
   1909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1910 /* end confdefs.h.  */
   1911 $4
   1912 int
   1913 main ()
   1914 {
   1915 if (sizeof (($2)))
   1916 	    return 0;
   1917   ;
   1918   return 0;
   1919 }
   1920 _ACEOF
   1921 if ac_fn_c_try_compile "$LINENO"; then :
   1922 
   1923 else
   1924   eval "$3=yes"
   1925 fi
   1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1927 fi
   1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1929 fi
   1930 eval ac_res=\$$3
   1931 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1932 $as_echo "$ac_res" >&6; }
   1933   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1934 
   1935 } # ac_fn_c_check_type
   1936 
   1937 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1938 # ----------------------------------------------------
   1939 # Tries to find if the field MEMBER exists in type AGGR, after including
   1940 # INCLUDES, setting cache variable VAR accordingly.
   1941 ac_fn_c_check_member ()
   1942 {
   1943   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1945 $as_echo_n "checking for $2.$3... " >&6; }
   1946 if eval \${$4+:} false; then :
   1947   $as_echo_n "(cached) " >&6
   1948 else
   1949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1950 /* end confdefs.h.  */
   1951 $5
   1952 int
   1953 main ()
   1954 {
   1955 static $2 ac_aggr;
   1956 if (ac_aggr.$3)
   1957 return 0;
   1958   ;
   1959   return 0;
   1960 }
   1961 _ACEOF
   1962 if ac_fn_c_try_compile "$LINENO"; then :
   1963   eval "$4=yes"
   1964 else
   1965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1966 /* end confdefs.h.  */
   1967 $5
   1968 int
   1969 main ()
   1970 {
   1971 static $2 ac_aggr;
   1972 if (sizeof ac_aggr.$3)
   1973 return 0;
   1974   ;
   1975   return 0;
   1976 }
   1977 _ACEOF
   1978 if ac_fn_c_try_compile "$LINENO"; then :
   1979   eval "$4=yes"
   1980 else
   1981   eval "$4=no"
   1982 fi
   1983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1984 fi
   1985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1986 fi
   1987 eval ac_res=\$$4
   1988 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1989 $as_echo "$ac_res" >&6; }
   1990   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1991 
   1992 } # ac_fn_c_check_member
   1993 
   1994 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1995 # ---------------------------------------------
   1996 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1997 # accordingly.
   1998 ac_fn_c_check_decl ()
   1999 {
   2000   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2001   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2002   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2004 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2005 if eval \${$3+:} false; then :
   2006   $as_echo_n "(cached) " >&6
   2007 else
   2008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2009 /* end confdefs.h.  */
   2010 $4
   2011 int
   2012 main ()
   2013 {
   2014 #ifndef $as_decl_name
   2015 #ifdef __cplusplus
   2016   (void) $as_decl_use;
   2017 #else
   2018   (void) $as_decl_name;
   2019 #endif
   2020 #endif
   2021 
   2022   ;
   2023   return 0;
   2024 }
   2025 _ACEOF
   2026 if ac_fn_c_try_compile "$LINENO"; then :
   2027   eval "$3=yes"
   2028 else
   2029   eval "$3=no"
   2030 fi
   2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2032 fi
   2033 eval ac_res=\$$3
   2034 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2035 $as_echo "$ac_res" >&6; }
   2036   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2037 
   2038 } # ac_fn_c_check_decl
   2039 
   2040 # ac_fn_c_find_uintX_t LINENO BITS VAR
   2041 # ------------------------------------
   2042 # Finds an unsigned integer type with width BITS, setting cache variable VAR
   2043 # accordingly.
   2044 ac_fn_c_find_uintX_t ()
   2045 {
   2046   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
   2048 $as_echo_n "checking for uint$2_t... " >&6; }
   2049 if eval \${$3+:} false; then :
   2050   $as_echo_n "(cached) " >&6
   2051 else
   2052   eval "$3=no"
   2053      # Order is important - never check a type that is potentially smaller
   2054      # than half of the expected target width.
   2055      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
   2056 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   2057        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2058 /* end confdefs.h.  */
   2059 $ac_includes_default
   2060 int
   2061 main ()
   2062 {
   2063 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
   2064 test_array [0] = 0;
   2065 return test_array [0];
   2066 
   2067   ;
   2068   return 0;
   2069 }
   2070 _ACEOF
   2071 if ac_fn_c_try_compile "$LINENO"; then :
   2072   case $ac_type in #(
   2073   uint$2_t) :
   2074     eval "$3=yes" ;; #(
   2075   *) :
   2076     eval "$3=\$ac_type" ;;
   2077 esac
   2078 fi
   2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2080        if eval test \"x\$"$3"\" = x"no"; then :
   2081 
   2082 else
   2083   break
   2084 fi
   2085      done
   2086 fi
   2087 eval ac_res=\$$3
   2088 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2089 $as_echo "$ac_res" >&6; }
   2090   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2091 
   2092 } # ac_fn_c_find_uintX_t
   2093 
   2094 # ac_fn_c_find_intX_t LINENO BITS VAR
   2095 # -----------------------------------
   2096 # Finds a signed integer type with width BITS, setting cache variable VAR
   2097 # accordingly.
   2098 ac_fn_c_find_intX_t ()
   2099 {
   2100   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
   2102 $as_echo_n "checking for int$2_t... " >&6; }
   2103 if eval \${$3+:} false; then :
   2104   $as_echo_n "(cached) " >&6
   2105 else
   2106   eval "$3=no"
   2107      # Order is important - never check a type that is potentially smaller
   2108      # than half of the expected target width.
   2109      for ac_type in int$2_t 'int' 'long int' \
   2110 	 'long long int' 'short int' 'signed char'; do
   2111        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2112 /* end confdefs.h.  */
   2113 $ac_includes_default
   2114 	     enum { N = $2 / 2 - 1 };
   2115 int
   2116 main ()
   2117 {
   2118 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
   2119 test_array [0] = 0;
   2120 return test_array [0];
   2121 
   2122   ;
   2123   return 0;
   2124 }
   2125 _ACEOF
   2126 if ac_fn_c_try_compile "$LINENO"; then :
   2127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2128 /* end confdefs.h.  */
   2129 $ac_includes_default
   2130 	        enum { N = $2 / 2 - 1 };
   2131 int
   2132 main ()
   2133 {
   2134 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
   2135 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
   2136 test_array [0] = 0;
   2137 return test_array [0];
   2138 
   2139   ;
   2140   return 0;
   2141 }
   2142 _ACEOF
   2143 if ac_fn_c_try_compile "$LINENO"; then :
   2144 
   2145 else
   2146   case $ac_type in #(
   2147   int$2_t) :
   2148     eval "$3=yes" ;; #(
   2149   *) :
   2150     eval "$3=\$ac_type" ;;
   2151 esac
   2152 fi
   2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2154 fi
   2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2156        if eval test \"x\$"$3"\" = x"no"; then :
   2157 
   2158 else
   2159   break
   2160 fi
   2161      done
   2162 fi
   2163 eval ac_res=\$$3
   2164 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2165 $as_echo "$ac_res" >&6; }
   2166   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2167 
   2168 } # ac_fn_c_find_intX_t
   2169 cat >config.log <<_ACEOF
   2170 This file contains any messages produced by compilers while
   2171 running configure, to aid debugging if configure makes a mistake.
   2172 
   2173 It was created by file $as_me 5.20, which was
   2174 generated by GNU Autoconf 2.69.  Invocation command line was
   2175 
   2176   $ $0 $@
   2177 
   2178 _ACEOF
   2179 exec 5>>config.log
   2180 {
   2181 cat <<_ASUNAME
   2182 ## --------- ##
   2183 ## Platform. ##
   2184 ## --------- ##
   2185 
   2186 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2187 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2188 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2189 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2190 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2191 
   2192 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2193 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2194 
   2195 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2196 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2197 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2198 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2199 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2200 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2201 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2202 
   2203 _ASUNAME
   2204 
   2205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2206 for as_dir in $PATH
   2207 do
   2208   IFS=$as_save_IFS
   2209   test -z "$as_dir" && as_dir=.
   2210     $as_echo "PATH: $as_dir"
   2211   done
   2212 IFS=$as_save_IFS
   2213 
   2214 } >&5
   2215 
   2216 cat >&5 <<_ACEOF
   2217 
   2218 
   2219 ## ----------- ##
   2220 ## Core tests. ##
   2221 ## ----------- ##
   2222 
   2223 _ACEOF
   2224 
   2225 
   2226 # Keep a trace of the command line.
   2227 # Strip out --no-create and --no-recursion so they do not pile up.
   2228 # Strip out --silent because we don't want to record it for future runs.
   2229 # Also quote any args containing shell meta-characters.
   2230 # Make two passes to allow for proper duplicate-argument suppression.
   2231 ac_configure_args=
   2232 ac_configure_args0=
   2233 ac_configure_args1=
   2234 ac_must_keep_next=false
   2235 for ac_pass in 1 2
   2236 do
   2237   for ac_arg
   2238   do
   2239     case $ac_arg in
   2240     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2241     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2242     | -silent | --silent | --silen | --sile | --sil)
   2243       continue ;;
   2244     *\'*)
   2245       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2246     esac
   2247     case $ac_pass in
   2248     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2249     2)
   2250       as_fn_append ac_configure_args1 " '$ac_arg'"
   2251       if test $ac_must_keep_next = true; then
   2252 	ac_must_keep_next=false # Got value, back to normal.
   2253       else
   2254 	case $ac_arg in
   2255 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2256 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2257 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2258 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2259 	    case "$ac_configure_args0 " in
   2260 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2261 	    esac
   2262 	    ;;
   2263 	  -* ) ac_must_keep_next=true ;;
   2264 	esac
   2265       fi
   2266       as_fn_append ac_configure_args " '$ac_arg'"
   2267       ;;
   2268     esac
   2269   done
   2270 done
   2271 { ac_configure_args0=; unset ac_configure_args0;}
   2272 { ac_configure_args1=; unset ac_configure_args1;}
   2273 
   2274 # When interrupted or exit'd, cleanup temporary files, and complete
   2275 # config.log.  We remove comments because anyway the quotes in there
   2276 # would cause problems or look ugly.
   2277 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2278 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2279 trap 'exit_status=$?
   2280   # Save into config.log some information that might help in debugging.
   2281   {
   2282     echo
   2283 
   2284     $as_echo "## ---------------- ##
   2285 ## Cache variables. ##
   2286 ## ---------------- ##"
   2287     echo
   2288     # The following way of writing the cache mishandles newlines in values,
   2289 (
   2290   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2291     eval ac_val=\$$ac_var
   2292     case $ac_val in #(
   2293     *${as_nl}*)
   2294       case $ac_var in #(
   2295       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2296 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2297       esac
   2298       case $ac_var in #(
   2299       _ | IFS | as_nl) ;; #(
   2300       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2301       *) { eval $ac_var=; unset $ac_var;} ;;
   2302       esac ;;
   2303     esac
   2304   done
   2305   (set) 2>&1 |
   2306     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2307     *${as_nl}ac_space=\ *)
   2308       sed -n \
   2309 	"s/'\''/'\''\\\\'\'''\''/g;
   2310 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2311       ;; #(
   2312     *)
   2313       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2314       ;;
   2315     esac |
   2316     sort
   2317 )
   2318     echo
   2319 
   2320     $as_echo "## ----------------- ##
   2321 ## Output variables. ##
   2322 ## ----------------- ##"
   2323     echo
   2324     for ac_var in $ac_subst_vars
   2325     do
   2326       eval ac_val=\$$ac_var
   2327       case $ac_val in
   2328       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2329       esac
   2330       $as_echo "$ac_var='\''$ac_val'\''"
   2331     done | sort
   2332     echo
   2333 
   2334     if test -n "$ac_subst_files"; then
   2335       $as_echo "## ------------------- ##
   2336 ## File substitutions. ##
   2337 ## ------------------- ##"
   2338       echo
   2339       for ac_var in $ac_subst_files
   2340       do
   2341 	eval ac_val=\$$ac_var
   2342 	case $ac_val in
   2343 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2344 	esac
   2345 	$as_echo "$ac_var='\''$ac_val'\''"
   2346       done | sort
   2347       echo
   2348     fi
   2349 
   2350     if test -s confdefs.h; then
   2351       $as_echo "## ----------- ##
   2352 ## confdefs.h. ##
   2353 ## ----------- ##"
   2354       echo
   2355       cat confdefs.h
   2356       echo
   2357     fi
   2358     test "$ac_signal" != 0 &&
   2359       $as_echo "$as_me: caught signal $ac_signal"
   2360     $as_echo "$as_me: exit $exit_status"
   2361   } >&5
   2362   rm -f core *.core core.conftest.* &&
   2363     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2364     exit $exit_status
   2365 ' 0
   2366 for ac_signal in 1 2 13 15; do
   2367   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2368 done
   2369 ac_signal=0
   2370 
   2371 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2372 rm -f -r conftest* confdefs.h
   2373 
   2374 $as_echo "/* confdefs.h */" > confdefs.h
   2375 
   2376 # Predefined preprocessor variables.
   2377 
   2378 cat >>confdefs.h <<_ACEOF
   2379 #define PACKAGE_NAME "$PACKAGE_NAME"
   2380 _ACEOF
   2381 
   2382 cat >>confdefs.h <<_ACEOF
   2383 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2384 _ACEOF
   2385 
   2386 cat >>confdefs.h <<_ACEOF
   2387 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2388 _ACEOF
   2389 
   2390 cat >>confdefs.h <<_ACEOF
   2391 #define PACKAGE_STRING "$PACKAGE_STRING"
   2392 _ACEOF
   2393 
   2394 cat >>confdefs.h <<_ACEOF
   2395 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2396 _ACEOF
   2397 
   2398 cat >>confdefs.h <<_ACEOF
   2399 #define PACKAGE_URL "$PACKAGE_URL"
   2400 _ACEOF
   2401 
   2402 
   2403 # Let the site file select an alternate cache file if it wants to.
   2404 # Prefer an explicitly selected file to automatically selected ones.
   2405 ac_site_file1=NONE
   2406 ac_site_file2=NONE
   2407 if test -n "$CONFIG_SITE"; then
   2408   # We do not want a PATH search for config.site.
   2409   case $CONFIG_SITE in #((
   2410     -*)  ac_site_file1=./$CONFIG_SITE;;
   2411     */*) ac_site_file1=$CONFIG_SITE;;
   2412     *)   ac_site_file1=./$CONFIG_SITE;;
   2413   esac
   2414 elif test "x$prefix" != xNONE; then
   2415   ac_site_file1=$prefix/share/config.site
   2416   ac_site_file2=$prefix/etc/config.site
   2417 else
   2418   ac_site_file1=$ac_default_prefix/share/config.site
   2419   ac_site_file2=$ac_default_prefix/etc/config.site
   2420 fi
   2421 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2422 do
   2423   test "x$ac_site_file" = xNONE && continue
   2424   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2425     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2426 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2427     sed 's/^/| /' "$ac_site_file" >&5
   2428     . "$ac_site_file" \
   2429       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2431 as_fn_error $? "failed to load site script $ac_site_file
   2432 See \`config.log' for more details" "$LINENO" 5; }
   2433   fi
   2434 done
   2435 
   2436 if test -r "$cache_file"; then
   2437   # Some versions of bash will fail to source /dev/null (special files
   2438   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2439   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2440     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2441 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2442     case $cache_file in
   2443       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2444       *)                      . "./$cache_file";;
   2445     esac
   2446   fi
   2447 else
   2448   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2449 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2450   >$cache_file
   2451 fi
   2452 
   2453 as_fn_append ac_header_list " stdlib.h"
   2454 as_fn_append ac_header_list " unistd.h"
   2455 as_fn_append ac_header_list " sys/param.h"
   2456 # Check that the precious variables saved in the cache have kept the same
   2457 # value.
   2458 ac_cache_corrupted=false
   2459 for ac_var in $ac_precious_vars; do
   2460   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2461   eval ac_new_set=\$ac_env_${ac_var}_set
   2462   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2463   eval ac_new_val=\$ac_env_${ac_var}_value
   2464   case $ac_old_set,$ac_new_set in
   2465     set,)
   2466       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2467 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2468       ac_cache_corrupted=: ;;
   2469     ,set)
   2470       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2471 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2472       ac_cache_corrupted=: ;;
   2473     ,);;
   2474     *)
   2475       if test "x$ac_old_val" != "x$ac_new_val"; then
   2476 	# differences in whitespace do not lead to failure.
   2477 	ac_old_val_w=`echo x $ac_old_val`
   2478 	ac_new_val_w=`echo x $ac_new_val`
   2479 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2480 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2481 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2482 	  ac_cache_corrupted=:
   2483 	else
   2484 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2485 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2486 	  eval $ac_var=\$ac_old_val
   2487 	fi
   2488 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2489 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2490 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2491 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2492       fi;;
   2493   esac
   2494   # Pass precious variables to config.status.
   2495   if test "$ac_new_set" = set; then
   2496     case $ac_new_val in
   2497     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2498     *) ac_arg=$ac_var=$ac_new_val ;;
   2499     esac
   2500     case " $ac_configure_args " in
   2501       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2502       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2503     esac
   2504   fi
   2505 done
   2506 if $ac_cache_corrupted; then
   2507   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2509   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2510 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2511   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2512 fi
   2513 ## -------------------- ##
   2514 ## Main body of script. ##
   2515 ## -------------------- ##
   2516 
   2517 ac_ext=c
   2518 ac_cpp='$CPP $CPPFLAGS'
   2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2522 
   2523 
   2524 am__api_version='1.14'
   2525 
   2526 ac_aux_dir=
   2527 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2528   if test -f "$ac_dir/install-sh"; then
   2529     ac_aux_dir=$ac_dir
   2530     ac_install_sh="$ac_aux_dir/install-sh -c"
   2531     break
   2532   elif test -f "$ac_dir/install.sh"; then
   2533     ac_aux_dir=$ac_dir
   2534     ac_install_sh="$ac_aux_dir/install.sh -c"
   2535     break
   2536   elif test -f "$ac_dir/shtool"; then
   2537     ac_aux_dir=$ac_dir
   2538     ac_install_sh="$ac_aux_dir/shtool install -c"
   2539     break
   2540   fi
   2541 done
   2542 if test -z "$ac_aux_dir"; then
   2543   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2544 fi
   2545 
   2546 # These three variables are undocumented and unsupported,
   2547 # and are intended to be withdrawn in a future Autoconf release.
   2548 # They can cause serious problems if a builder's source tree is in a directory
   2549 # whose full name contains unusual characters.
   2550 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2551 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2552 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2553 
   2554 
   2555 # Find a good install program.  We prefer a C program (faster),
   2556 # so one script is as good as another.  But avoid the broken or
   2557 # incompatible versions:
   2558 # SysV /etc/install, /usr/sbin/install
   2559 # SunOS /usr/etc/install
   2560 # IRIX /sbin/install
   2561 # AIX /bin/install
   2562 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2563 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2564 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2565 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2566 # OS/2's system install, which has a completely different semantic
   2567 # ./install, which can be erroneously created by make from ./install.sh.
   2568 # Reject install programs that cannot install multiple files.
   2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2570 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2571 if test -z "$INSTALL"; then
   2572 if ${ac_cv_path_install+:} false; then :
   2573   $as_echo_n "(cached) " >&6
   2574 else
   2575   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2576 for as_dir in $PATH
   2577 do
   2578   IFS=$as_save_IFS
   2579   test -z "$as_dir" && as_dir=.
   2580     # Account for people who put trailing slashes in PATH elements.
   2581 case $as_dir/ in #((
   2582   ./ | .// | /[cC]/* | \
   2583   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2584   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2585   /usr/ucb/* ) ;;
   2586   *)
   2587     # OSF1 and SCO ODT 3.0 have their own names for install.
   2588     # Don't use installbsd from OSF since it installs stuff as root
   2589     # by default.
   2590     for ac_prog in ginstall scoinst install; do
   2591       for ac_exec_ext in '' $ac_executable_extensions; do
   2592 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2593 	  if test $ac_prog = install &&
   2594 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2595 	    # AIX install.  It has an incompatible calling convention.
   2596 	    :
   2597 	  elif test $ac_prog = install &&
   2598 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2599 	    # program-specific install script used by HP pwplus--don't use.
   2600 	    :
   2601 	  else
   2602 	    rm -rf conftest.one conftest.two conftest.dir
   2603 	    echo one > conftest.one
   2604 	    echo two > conftest.two
   2605 	    mkdir conftest.dir
   2606 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2607 	      test -s conftest.one && test -s conftest.two &&
   2608 	      test -s conftest.dir/conftest.one &&
   2609 	      test -s conftest.dir/conftest.two
   2610 	    then
   2611 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2612 	      break 3
   2613 	    fi
   2614 	  fi
   2615 	fi
   2616       done
   2617     done
   2618     ;;
   2619 esac
   2620 
   2621   done
   2622 IFS=$as_save_IFS
   2623 
   2624 rm -rf conftest.one conftest.two conftest.dir
   2625 
   2626 fi
   2627   if test "${ac_cv_path_install+set}" = set; then
   2628     INSTALL=$ac_cv_path_install
   2629   else
   2630     # As a last resort, use the slow shell script.  Don't cache a
   2631     # value for INSTALL within a source directory, because that will
   2632     # break other packages using the cache if that directory is
   2633     # removed, or if the value is a relative name.
   2634     INSTALL=$ac_install_sh
   2635   fi
   2636 fi
   2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2638 $as_echo "$INSTALL" >&6; }
   2639 
   2640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2641 # It thinks the first close brace ends the variable substitution.
   2642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2643 
   2644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2645 
   2646 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2647 
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2649 $as_echo_n "checking whether build environment is sane... " >&6; }
   2650 # Reject unsafe characters in $srcdir or the absolute working directory
   2651 # name.  Accept space and tab only in the latter.
   2652 am_lf='
   2653 '
   2654 case `pwd` in
   2655   *[\\\"\#\$\&\'\`$am_lf]*)
   2656     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2657 esac
   2658 case $srcdir in
   2659   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2660     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2661 esac
   2662 
   2663 # Do 'set' in a subshell so we don't clobber the current shell's
   2664 # arguments.  Must try -L first in case configure is actually a
   2665 # symlink; some systems play weird games with the mod time of symlinks
   2666 # (eg FreeBSD returns the mod time of the symlink's containing
   2667 # directory).
   2668 if (
   2669    am_has_slept=no
   2670    for am_try in 1 2; do
   2671      echo "timestamp, slept: $am_has_slept" > conftest.file
   2672      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2673      if test "$*" = "X"; then
   2674 	# -L didn't work.
   2675 	set X `ls -t "$srcdir/configure" conftest.file`
   2676      fi
   2677      if test "$*" != "X $srcdir/configure conftest.file" \
   2678 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2679 
   2680 	# If neither matched, then we have a broken ls.  This can happen
   2681 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2682 	# broken ls alias from the environment.  This has actually
   2683 	# happened.  Such a system could not be considered "sane".
   2684 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2685   alias in your environment" "$LINENO" 5
   2686      fi
   2687      if test "$2" = conftest.file || test $am_try -eq 2; then
   2688        break
   2689      fi
   2690      # Just in case.
   2691      sleep 1
   2692      am_has_slept=yes
   2693    done
   2694    test "$2" = conftest.file
   2695    )
   2696 then
   2697    # Ok.
   2698    :
   2699 else
   2700    as_fn_error $? "newly created file is older than distributed files!
   2701 Check your system clock" "$LINENO" 5
   2702 fi
   2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2704 $as_echo "yes" >&6; }
   2705 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2706 # generated files are strictly newer.
   2707 am_sleep_pid=
   2708 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2709   ( sleep 1 ) &
   2710   am_sleep_pid=$!
   2711 fi
   2712 
   2713 rm -f conftest.file
   2714 
   2715 test "$program_prefix" != NONE &&
   2716   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2717 # Use a double $ so make ignores it.
   2718 test "$program_suffix" != NONE &&
   2719   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2720 # Double any \ or $.
   2721 # By default was `s,x,x', remove it if useless.
   2722 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2723 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2724 
   2725 # expand $ac_aux_dir to an absolute path
   2726 am_aux_dir=`cd $ac_aux_dir && pwd`
   2727 
   2728 if test x"${MISSING+set}" != xset; then
   2729   case $am_aux_dir in
   2730   *\ * | *\	*)
   2731     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2732   *)
   2733     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2734   esac
   2735 fi
   2736 # Use eval to expand $SHELL
   2737 if eval "$MISSING --is-lightweight"; then
   2738   am_missing_run="$MISSING "
   2739 else
   2740   am_missing_run=
   2741   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2742 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2743 fi
   2744 
   2745 if test x"${install_sh}" != xset; then
   2746   case $am_aux_dir in
   2747   *\ * | *\	*)
   2748     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2749   *)
   2750     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2751   esac
   2752 fi
   2753 
   2754 # Installed binaries are usually stripped using 'strip' when the user
   2755 # run "make install-strip".  However 'strip' might not be the right
   2756 # tool to use in cross-compilation environments, therefore Automake
   2757 # will honor the 'STRIP' environment variable to overrule this program.
   2758 if test "$cross_compiling" != no; then
   2759   if test -n "$ac_tool_prefix"; then
   2760   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2761 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2763 $as_echo_n "checking for $ac_word... " >&6; }
   2764 if ${ac_cv_prog_STRIP+:} false; then :
   2765   $as_echo_n "(cached) " >&6
   2766 else
   2767   if test -n "$STRIP"; then
   2768   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2769 else
   2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2771 for as_dir in $PATH
   2772 do
   2773   IFS=$as_save_IFS
   2774   test -z "$as_dir" && as_dir=.
   2775     for ac_exec_ext in '' $ac_executable_extensions; do
   2776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2777     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2779     break 2
   2780   fi
   2781 done
   2782   done
   2783 IFS=$as_save_IFS
   2784 
   2785 fi
   2786 fi
   2787 STRIP=$ac_cv_prog_STRIP
   2788 if test -n "$STRIP"; then
   2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2790 $as_echo "$STRIP" >&6; }
   2791 else
   2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2793 $as_echo "no" >&6; }
   2794 fi
   2795 
   2796 
   2797 fi
   2798 if test -z "$ac_cv_prog_STRIP"; then
   2799   ac_ct_STRIP=$STRIP
   2800   # Extract the first word of "strip", so it can be a program name with args.
   2801 set dummy strip; ac_word=$2
   2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2803 $as_echo_n "checking for $ac_word... " >&6; }
   2804 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2805   $as_echo_n "(cached) " >&6
   2806 else
   2807   if test -n "$ac_ct_STRIP"; then
   2808   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2809 else
   2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2811 for as_dir in $PATH
   2812 do
   2813   IFS=$as_save_IFS
   2814   test -z "$as_dir" && as_dir=.
   2815     for ac_exec_ext in '' $ac_executable_extensions; do
   2816   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2817     ac_cv_prog_ac_ct_STRIP="strip"
   2818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2819     break 2
   2820   fi
   2821 done
   2822   done
   2823 IFS=$as_save_IFS
   2824 
   2825 fi
   2826 fi
   2827 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2828 if test -n "$ac_ct_STRIP"; then
   2829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2830 $as_echo "$ac_ct_STRIP" >&6; }
   2831 else
   2832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2833 $as_echo "no" >&6; }
   2834 fi
   2835 
   2836   if test "x$ac_ct_STRIP" = x; then
   2837     STRIP=":"
   2838   else
   2839     case $cross_compiling:$ac_tool_warned in
   2840 yes:)
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2843 ac_tool_warned=yes ;;
   2844 esac
   2845     STRIP=$ac_ct_STRIP
   2846   fi
   2847 else
   2848   STRIP="$ac_cv_prog_STRIP"
   2849 fi
   2850 
   2851 fi
   2852 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2853 
   2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2855 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2856 if test -z "$MKDIR_P"; then
   2857   if ${ac_cv_path_mkdir+:} false; then :
   2858   $as_echo_n "(cached) " >&6
   2859 else
   2860   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2861 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2862 do
   2863   IFS=$as_save_IFS
   2864   test -z "$as_dir" && as_dir=.
   2865     for ac_prog in mkdir gmkdir; do
   2866 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2867 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2868 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2869 	     'mkdir (GNU coreutils) '* | \
   2870 	     'mkdir (coreutils) '* | \
   2871 	     'mkdir (fileutils) '4.1*)
   2872 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2873 	       break 3;;
   2874 	   esac
   2875 	 done
   2876        done
   2877   done
   2878 IFS=$as_save_IFS
   2879 
   2880 fi
   2881 
   2882   test -d ./--version && rmdir ./--version
   2883   if test "${ac_cv_path_mkdir+set}" = set; then
   2884     MKDIR_P="$ac_cv_path_mkdir -p"
   2885   else
   2886     # As a last resort, use the slow shell script.  Don't cache a
   2887     # value for MKDIR_P within a source directory, because that will
   2888     # break other packages using the cache if that directory is
   2889     # removed, or if the value is a relative name.
   2890     MKDIR_P="$ac_install_sh -d"
   2891   fi
   2892 fi
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2894 $as_echo "$MKDIR_P" >&6; }
   2895 
   2896 for ac_prog in gawk mawk nawk awk
   2897 do
   2898   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2899 set dummy $ac_prog; ac_word=$2
   2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2901 $as_echo_n "checking for $ac_word... " >&6; }
   2902 if ${ac_cv_prog_AWK+:} false; then :
   2903   $as_echo_n "(cached) " >&6
   2904 else
   2905   if test -n "$AWK"; then
   2906   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2907 else
   2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2909 for as_dir in $PATH
   2910 do
   2911   IFS=$as_save_IFS
   2912   test -z "$as_dir" && as_dir=.
   2913     for ac_exec_ext in '' $ac_executable_extensions; do
   2914   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2915     ac_cv_prog_AWK="$ac_prog"
   2916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2917     break 2
   2918   fi
   2919 done
   2920   done
   2921 IFS=$as_save_IFS
   2922 
   2923 fi
   2924 fi
   2925 AWK=$ac_cv_prog_AWK
   2926 if test -n "$AWK"; then
   2927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2928 $as_echo "$AWK" >&6; }
   2929 else
   2930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2931 $as_echo "no" >&6; }
   2932 fi
   2933 
   2934 
   2935   test -n "$AWK" && break
   2936 done
   2937 
   2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2939 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2940 set x ${MAKE-make}
   2941 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2942 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2943   $as_echo_n "(cached) " >&6
   2944 else
   2945   cat >conftest.make <<\_ACEOF
   2946 SHELL = /bin/sh
   2947 all:
   2948 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2949 _ACEOF
   2950 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2951 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2952   *@@@%%%=?*=@@@%%%*)
   2953     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2954   *)
   2955     eval ac_cv_prog_make_${ac_make}_set=no;;
   2956 esac
   2957 rm -f conftest.make
   2958 fi
   2959 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2961 $as_echo "yes" >&6; }
   2962   SET_MAKE=
   2963 else
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 $as_echo "no" >&6; }
   2966   SET_MAKE="MAKE=${MAKE-make}"
   2967 fi
   2968 
   2969 rm -rf .tst 2>/dev/null
   2970 mkdir .tst 2>/dev/null
   2971 if test -d .tst; then
   2972   am__leading_dot=.
   2973 else
   2974   am__leading_dot=_
   2975 fi
   2976 rmdir .tst 2>/dev/null
   2977 
   2978 # Check whether --enable-silent-rules was given.
   2979 if test "${enable_silent_rules+set}" = set; then :
   2980   enableval=$enable_silent_rules;
   2981 fi
   2982 
   2983 case $enable_silent_rules in # (((
   2984   yes) AM_DEFAULT_VERBOSITY=0;;
   2985    no) AM_DEFAULT_VERBOSITY=1;;
   2986     *) AM_DEFAULT_VERBOSITY=1;;
   2987 esac
   2988 am_make=${MAKE-make}
   2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2990 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2991 if ${am_cv_make_support_nested_variables+:} false; then :
   2992   $as_echo_n "(cached) " >&6
   2993 else
   2994   if $as_echo 'TRUE=$(BAR$(V))
   2995 BAR0=false
   2996 BAR1=true
   2997 V=1
   2998 am__doit:
   2999 	@$(TRUE)
   3000 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3001   am_cv_make_support_nested_variables=yes
   3002 else
   3003   am_cv_make_support_nested_variables=no
   3004 fi
   3005 fi
   3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3007 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3008 if test $am_cv_make_support_nested_variables = yes; then
   3009     AM_V='$(V)'
   3010   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3011 else
   3012   AM_V=$AM_DEFAULT_VERBOSITY
   3013   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3014 fi
   3015 AM_BACKSLASH='\'
   3016 
   3017 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3018   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3019   # is not polluted with repeated "-I."
   3020   am__isrc=' -I$(srcdir)'
   3021   # test to see if srcdir already configured
   3022   if test -f $srcdir/config.status; then
   3023     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3024   fi
   3025 fi
   3026 
   3027 # test whether we have cygpath
   3028 if test -z "$CYGPATH_W"; then
   3029   if (cygpath --version) >/dev/null 2>/dev/null; then
   3030     CYGPATH_W='cygpath -w'
   3031   else
   3032     CYGPATH_W=echo
   3033   fi
   3034 fi
   3035 
   3036 
   3037 # Define the identity of the package.
   3038  PACKAGE='file'
   3039  VERSION='5.20'
   3040 
   3041 
   3042 cat >>confdefs.h <<_ACEOF
   3043 #define PACKAGE "$PACKAGE"
   3044 _ACEOF
   3045 
   3046 
   3047 cat >>confdefs.h <<_ACEOF
   3048 #define VERSION "$VERSION"
   3049 _ACEOF
   3050 
   3051 # Some tools Automake needs.
   3052 
   3053 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3054 
   3055 
   3056 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3057 
   3058 
   3059 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3060 
   3061 
   3062 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3063 
   3064 
   3065 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3066 
   3067 # For better backward compatibility.  To be removed once Automake 1.9.x
   3068 # dies out for good.  For more background, see:
   3069 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3070 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3071 mkdir_p='$(MKDIR_P)'
   3072 
   3073 # We need awk for the "check" target.  The system "awk" is bad on
   3074 # some platforms.
   3075 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3076 # in the wild :-(  We should find a proper way to deprecate it ...
   3077 AMTAR='$${TAR-tar}'
   3078 
   3079 
   3080 # We'll loop over all known methods to create a tar archive until one works.
   3081 _am_tools='gnutar  pax cpio none'
   3082 
   3083 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3084 
   3085 
   3086 
   3087 
   3088 
   3089 
   3090 # POSIX will say in a future version that running "rm -f" with no argument
   3091 # is OK; and we want to be able to make that assumption in our Makefile
   3092 # recipes.  So use an aggressive probe to check that the usage we want is
   3093 # actually supported "in the wild" to an acceptable degree.
   3094 # See automake bug#10828.
   3095 # To make any issue more visible, cause the running configure to be aborted
   3096 # by default if the 'rm' program in use doesn't match our expectations; the
   3097 # user can still override this though.
   3098 if rm -f && rm -fr && rm -rf; then : OK; else
   3099   cat >&2 <<'END'
   3100 Oops!
   3101 
   3102 Your 'rm' program seems unable to run without file operands specified
   3103 on the command line, even when the '-f' option is present.  This is contrary
   3104 to the behaviour of most rm programs out there, and not conforming with
   3105 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3106 
   3107 Please tell bug-automake@gnu.org about your system, including the value
   3108 of your $PATH and any error possibly output before this message.  This
   3109 can help us improve future automake versions.
   3110 
   3111 END
   3112   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3113     echo 'Configuration will proceed anyway, since you have set the' >&2
   3114     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3115     echo >&2
   3116   else
   3117     cat >&2 <<'END'
   3118 Aborting the configuration process, to ensure you take notice of the issue.
   3119 
   3120 You can download and install GNU coreutils to get an 'rm' implementation
   3121 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3122 
   3123 If you want to complete the configuration process using your problematic
   3124 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3125 to "yes", and re-run configure.
   3126 
   3127 END
   3128     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3129   fi
   3130 fi
   3131 
   3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3133 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3134     # Check whether --enable-maintainer-mode was given.
   3135 if test "${enable_maintainer_mode+set}" = set; then :
   3136   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3137 else
   3138   USE_MAINTAINER_MODE=no
   3139 fi
   3140 
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3142 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3143    if test $USE_MAINTAINER_MODE = yes; then
   3144   MAINTAINER_MODE_TRUE=
   3145   MAINTAINER_MODE_FALSE='#'
   3146 else
   3147   MAINTAINER_MODE_TRUE='#'
   3148   MAINTAINER_MODE_FALSE=
   3149 fi
   3150 
   3151   MAINT=$MAINTAINER_MODE_TRUE
   3152 
   3153 
   3154 # Check whether --enable-silent-rules was given.
   3155 if test "${enable_silent_rules+set}" = set; then :
   3156   enableval=$enable_silent_rules;
   3157 fi
   3158 
   3159 case $enable_silent_rules in # (((
   3160   yes) AM_DEFAULT_VERBOSITY=0;;
   3161    no) AM_DEFAULT_VERBOSITY=1;;
   3162     *) AM_DEFAULT_VERBOSITY=0;;
   3163 esac
   3164 am_make=${MAKE-make}
   3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3166 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3167 if ${am_cv_make_support_nested_variables+:} false; then :
   3168   $as_echo_n "(cached) " >&6
   3169 else
   3170   if $as_echo 'TRUE=$(BAR$(V))
   3171 BAR0=false
   3172 BAR1=true
   3173 V=1
   3174 am__doit:
   3175 	@$(TRUE)
   3176 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3177   am_cv_make_support_nested_variables=yes
   3178 else
   3179   am_cv_make_support_nested_variables=no
   3180 fi
   3181 fi
   3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3183 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3184 if test $am_cv_make_support_nested_variables = yes; then
   3185     AM_V='$(V)'
   3186   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3187 else
   3188   AM_V=$AM_DEFAULT_VERBOSITY
   3189   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3190 fi
   3191 AM_BACKSLASH='\'
   3192 
   3193 
   3194 ac_config_headers="$ac_config_headers config.h"
   3195 
   3196 
   3197 
   3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for builtin ELF support" >&5
   3199 $as_echo_n "checking for builtin ELF support... " >&6; }
   3200 # Check whether --enable-elf was given.
   3201 if test "${enable_elf+set}" = set; then :
   3202   enableval=$enable_elf; if test "${enableval}" = yes; then
   3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3204 $as_echo "yes" >&6; }
   3205 
   3206 $as_echo "#define BUILTIN_ELF 1" >>confdefs.h
   3207 
   3208 else
   3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3210 $as_echo "no" >&6; }
   3211 fi
   3212 else
   3213 
   3214   # enable by default
   3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3216 $as_echo "yes" >&6; }
   3217 
   3218 $as_echo "#define BUILTIN_ELF 1" >>confdefs.h
   3219 
   3220 
   3221 fi
   3222 
   3223 
   3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF core file support" >&5
   3225 $as_echo_n "checking for ELF core file support... " >&6; }
   3226 # Check whether --enable-elf-core was given.
   3227 if test "${enable_elf_core+set}" = set; then :
   3228   enableval=$enable_elf_core; if test "${enableval}" = yes; then
   3229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3230 $as_echo "yes" >&6; }
   3231 
   3232 $as_echo "#define ELFCORE 1" >>confdefs.h
   3233 
   3234 else
   3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3236 $as_echo "no" >&6; }
   3237 fi
   3238 else
   3239 
   3240   # enable by default
   3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3242 $as_echo "yes" >&6; }
   3243 
   3244 $as_echo "#define ELFCORE 1" >>confdefs.h
   3245 
   3246 
   3247 fi
   3248 
   3249 
   3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file formats in man section 5" >&5
   3251 $as_echo_n "checking for file formats in man section 5... " >&6; }
   3252 # Check whether --enable-fsect-man5 was given.
   3253 if test "${enable_fsect_man5+set}" = set; then :
   3254   enableval=$enable_fsect_man5; if test "${enableval}" = yes; then
   3255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3256 $as_echo "yes" >&6; }
   3257   fsect=5
   3258 else
   3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3260 $as_echo "no" >&6; }
   3261   fsect=4
   3262 fi
   3263 else
   3264 
   3265   # disable by default
   3266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3267 $as_echo "no" >&6; }
   3268   fsect=4
   3269 
   3270 fi
   3271 
   3272 
   3273 # Make sure we can run config.sub.
   3274 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3275   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3276 
   3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3278 $as_echo_n "checking build system type... " >&6; }
   3279 if ${ac_cv_build+:} false; then :
   3280   $as_echo_n "(cached) " >&6
   3281 else
   3282   ac_build_alias=$build_alias
   3283 test "x$ac_build_alias" = x &&
   3284   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3285 test "x$ac_build_alias" = x &&
   3286   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3287 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3288   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3289 
   3290 fi
   3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3292 $as_echo "$ac_cv_build" >&6; }
   3293 case $ac_cv_build in
   3294 *-*-*) ;;
   3295 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3296 esac
   3297 build=$ac_cv_build
   3298 ac_save_IFS=$IFS; IFS='-'
   3299 set x $ac_cv_build
   3300 shift
   3301 build_cpu=$1
   3302 build_vendor=$2
   3303 shift; shift
   3304 # Remember, the first character of IFS is used to create $*,
   3305 # except with old shells:
   3306 build_os=$*
   3307 IFS=$ac_save_IFS
   3308 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3309 
   3310 
   3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3312 $as_echo_n "checking host system type... " >&6; }
   3313 if ${ac_cv_host+:} false; then :
   3314   $as_echo_n "(cached) " >&6
   3315 else
   3316   if test "x$host_alias" = x; then
   3317   ac_cv_host=$ac_cv_build
   3318 else
   3319   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3320     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3321 fi
   3322 
   3323 fi
   3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3325 $as_echo "$ac_cv_host" >&6; }
   3326 case $ac_cv_host in
   3327 *-*-*) ;;
   3328 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3329 esac
   3330 host=$ac_cv_host
   3331 ac_save_IFS=$IFS; IFS='-'
   3332 set x $ac_cv_host
   3333 shift
   3334 host_cpu=$1
   3335 host_vendor=$2
   3336 shift; shift
   3337 # Remember, the first character of IFS is used to create $*,
   3338 # except with old shells:
   3339 host_os=$*
   3340 IFS=$ac_save_IFS
   3341 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3342 
   3343 
   3344 case "$host_os" in
   3345    mingw32*)
   3346       MINGW=1
   3347       ;;
   3348    *)
   3349       MINGW=0
   3350       ;;
   3351 esac
   3352 
   3353  if test "$MINGW" = 1; then
   3354   MINGW_TRUE=
   3355   MINGW_FALSE='#'
   3356 else
   3357   MINGW_TRUE='#'
   3358   MINGW_FALSE=
   3359 fi
   3360 
   3361 
   3362 pkgdatadir='$(datadir)/misc'
   3363 
   3364 
   3365  if test x$fsect = x5; then
   3366   FSECT5_TRUE=
   3367   FSECT5_FALSE='#'
   3368 else
   3369   FSECT5_TRUE='#'
   3370   FSECT5_FALSE=
   3371 fi
   3372 
   3373 
   3374 
   3375 
   3376 DEPDIR="${am__leading_dot}deps"
   3377 
   3378 ac_config_commands="$ac_config_commands depfiles"
   3379 
   3380 
   3381 am_make=${MAKE-make}
   3382 cat > confinc << 'END'
   3383 am__doit:
   3384 	@echo this is the am__doit target
   3385 .PHONY: am__doit
   3386 END
   3387 # If we don't find an include directive, just comment out the code.
   3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3389 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3390 am__include="#"
   3391 am__quote=
   3392 _am_result=none
   3393 # First try GNU make style include.
   3394 echo "include confinc" > confmf
   3395 # Ignore all kinds of additional output from 'make'.
   3396 case `$am_make -s -f confmf 2> /dev/null` in #(
   3397 *the\ am__doit\ target*)
   3398   am__include=include
   3399   am__quote=
   3400   _am_result=GNU
   3401   ;;
   3402 esac
   3403 # Now try BSD make style include.
   3404 if test "$am__include" = "#"; then
   3405    echo '.include "confinc"' > confmf
   3406    case `$am_make -s -f confmf 2> /dev/null` in #(
   3407    *the\ am__doit\ target*)
   3408      am__include=.include
   3409      am__quote="\""
   3410      _am_result=BSD
   3411      ;;
   3412    esac
   3413 fi
   3414 
   3415 
   3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3417 $as_echo "$_am_result" >&6; }
   3418 rm -f confinc confmf
   3419 
   3420 # Check whether --enable-dependency-tracking was given.
   3421 if test "${enable_dependency_tracking+set}" = set; then :
   3422   enableval=$enable_dependency_tracking;
   3423 fi
   3424 
   3425 if test "x$enable_dependency_tracking" != xno; then
   3426   am_depcomp="$ac_aux_dir/depcomp"
   3427   AMDEPBACKSLASH='\'
   3428   am__nodep='_no'
   3429 fi
   3430  if test "x$enable_dependency_tracking" != xno; then
   3431   AMDEP_TRUE=
   3432   AMDEP_FALSE='#'
   3433 else
   3434   AMDEP_TRUE='#'
   3435   AMDEP_FALSE=
   3436 fi
   3437 
   3438 
   3439 ac_ext=c
   3440 ac_cpp='$CPP $CPPFLAGS'
   3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3444 if test -n "$ac_tool_prefix"; then
   3445   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3446 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3448 $as_echo_n "checking for $ac_word... " >&6; }
   3449 if ${ac_cv_prog_CC+:} false; then :
   3450   $as_echo_n "(cached) " >&6
   3451 else
   3452   if test -n "$CC"; then
   3453   ac_cv_prog_CC="$CC" # Let the user override the test.
   3454 else
   3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3456 for as_dir in $PATH
   3457 do
   3458   IFS=$as_save_IFS
   3459   test -z "$as_dir" && as_dir=.
   3460     for ac_exec_ext in '' $ac_executable_extensions; do
   3461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3462     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3464     break 2
   3465   fi
   3466 done
   3467   done
   3468 IFS=$as_save_IFS
   3469 
   3470 fi
   3471 fi
   3472 CC=$ac_cv_prog_CC
   3473 if test -n "$CC"; then
   3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3475 $as_echo "$CC" >&6; }
   3476 else
   3477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3478 $as_echo "no" >&6; }
   3479 fi
   3480 
   3481 
   3482 fi
   3483 if test -z "$ac_cv_prog_CC"; then
   3484   ac_ct_CC=$CC
   3485   # Extract the first word of "gcc", so it can be a program name with args.
   3486 set dummy gcc; ac_word=$2
   3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3488 $as_echo_n "checking for $ac_word... " >&6; }
   3489 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3490   $as_echo_n "(cached) " >&6
   3491 else
   3492   if test -n "$ac_ct_CC"; then
   3493   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3494 else
   3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3496 for as_dir in $PATH
   3497 do
   3498   IFS=$as_save_IFS
   3499   test -z "$as_dir" && as_dir=.
   3500     for ac_exec_ext in '' $ac_executable_extensions; do
   3501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3502     ac_cv_prog_ac_ct_CC="gcc"
   3503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3504     break 2
   3505   fi
   3506 done
   3507   done
   3508 IFS=$as_save_IFS
   3509 
   3510 fi
   3511 fi
   3512 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3513 if test -n "$ac_ct_CC"; then
   3514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3515 $as_echo "$ac_ct_CC" >&6; }
   3516 else
   3517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3518 $as_echo "no" >&6; }
   3519 fi
   3520 
   3521   if test "x$ac_ct_CC" = x; then
   3522     CC=""
   3523   else
   3524     case $cross_compiling:$ac_tool_warned in
   3525 yes:)
   3526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3528 ac_tool_warned=yes ;;
   3529 esac
   3530     CC=$ac_ct_CC
   3531   fi
   3532 else
   3533   CC="$ac_cv_prog_CC"
   3534 fi
   3535 
   3536 if test -z "$CC"; then
   3537           if test -n "$ac_tool_prefix"; then
   3538     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3539 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3541 $as_echo_n "checking for $ac_word... " >&6; }
   3542 if ${ac_cv_prog_CC+:} false; then :
   3543   $as_echo_n "(cached) " >&6
   3544 else
   3545   if test -n "$CC"; then
   3546   ac_cv_prog_CC="$CC" # Let the user override the test.
   3547 else
   3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3549 for as_dir in $PATH
   3550 do
   3551   IFS=$as_save_IFS
   3552   test -z "$as_dir" && as_dir=.
   3553     for ac_exec_ext in '' $ac_executable_extensions; do
   3554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3555     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3557     break 2
   3558   fi
   3559 done
   3560   done
   3561 IFS=$as_save_IFS
   3562 
   3563 fi
   3564 fi
   3565 CC=$ac_cv_prog_CC
   3566 if test -n "$CC"; then
   3567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3568 $as_echo "$CC" >&6; }
   3569 else
   3570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3571 $as_echo "no" >&6; }
   3572 fi
   3573 
   3574 
   3575   fi
   3576 fi
   3577 if test -z "$CC"; then
   3578   # Extract the first word of "cc", so it can be a program name with args.
   3579 set dummy cc; ac_word=$2
   3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3581 $as_echo_n "checking for $ac_word... " >&6; }
   3582 if ${ac_cv_prog_CC+:} false; then :
   3583   $as_echo_n "(cached) " >&6
   3584 else
   3585   if test -n "$CC"; then
   3586   ac_cv_prog_CC="$CC" # Let the user override the test.
   3587 else
   3588   ac_prog_rejected=no
   3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3590 for as_dir in $PATH
   3591 do
   3592   IFS=$as_save_IFS
   3593   test -z "$as_dir" && as_dir=.
   3594     for ac_exec_ext in '' $ac_executable_extensions; do
   3595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3596     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3597        ac_prog_rejected=yes
   3598        continue
   3599      fi
   3600     ac_cv_prog_CC="cc"
   3601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3602     break 2
   3603   fi
   3604 done
   3605   done
   3606 IFS=$as_save_IFS
   3607 
   3608 if test $ac_prog_rejected = yes; then
   3609   # We found a bogon in the path, so make sure we never use it.
   3610   set dummy $ac_cv_prog_CC
   3611   shift
   3612   if test $# != 0; then
   3613     # We chose a different compiler from the bogus one.
   3614     # However, it has the same basename, so the bogon will be chosen
   3615     # first if we set CC to just the basename; use the full file name.
   3616     shift
   3617     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3618   fi
   3619 fi
   3620 fi
   3621 fi
   3622 CC=$ac_cv_prog_CC
   3623 if test -n "$CC"; then
   3624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3625 $as_echo "$CC" >&6; }
   3626 else
   3627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3628 $as_echo "no" >&6; }
   3629 fi
   3630 
   3631 
   3632 fi
   3633 if test -z "$CC"; then
   3634   if test -n "$ac_tool_prefix"; then
   3635   for ac_prog in cl.exe
   3636   do
   3637     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3640 $as_echo_n "checking for $ac_word... " >&6; }
   3641 if ${ac_cv_prog_CC+:} false; then :
   3642   $as_echo_n "(cached) " >&6
   3643 else
   3644   if test -n "$CC"; then
   3645   ac_cv_prog_CC="$CC" # Let the user override the test.
   3646 else
   3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3648 for as_dir in $PATH
   3649 do
   3650   IFS=$as_save_IFS
   3651   test -z "$as_dir" && as_dir=.
   3652     for ac_exec_ext in '' $ac_executable_extensions; do
   3653   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3654     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3656     break 2
   3657   fi
   3658 done
   3659   done
   3660 IFS=$as_save_IFS
   3661 
   3662 fi
   3663 fi
   3664 CC=$ac_cv_prog_CC
   3665 if test -n "$CC"; then
   3666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3667 $as_echo "$CC" >&6; }
   3668 else
   3669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3670 $as_echo "no" >&6; }
   3671 fi
   3672 
   3673 
   3674     test -n "$CC" && break
   3675   done
   3676 fi
   3677 if test -z "$CC"; then
   3678   ac_ct_CC=$CC
   3679   for ac_prog in cl.exe
   3680 do
   3681   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3682 set dummy $ac_prog; ac_word=$2
   3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3684 $as_echo_n "checking for $ac_word... " >&6; }
   3685 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3686   $as_echo_n "(cached) " >&6
   3687 else
   3688   if test -n "$ac_ct_CC"; then
   3689   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3690 else
   3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3692 for as_dir in $PATH
   3693 do
   3694   IFS=$as_save_IFS
   3695   test -z "$as_dir" && as_dir=.
   3696     for ac_exec_ext in '' $ac_executable_extensions; do
   3697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3698     ac_cv_prog_ac_ct_CC="$ac_prog"
   3699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3700     break 2
   3701   fi
   3702 done
   3703   done
   3704 IFS=$as_save_IFS
   3705 
   3706 fi
   3707 fi
   3708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3709 if test -n "$ac_ct_CC"; then
   3710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3711 $as_echo "$ac_ct_CC" >&6; }
   3712 else
   3713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3714 $as_echo "no" >&6; }
   3715 fi
   3716 
   3717 
   3718   test -n "$ac_ct_CC" && break
   3719 done
   3720 
   3721   if test "x$ac_ct_CC" = x; then
   3722     CC=""
   3723   else
   3724     case $cross_compiling:$ac_tool_warned in
   3725 yes:)
   3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3728 ac_tool_warned=yes ;;
   3729 esac
   3730     CC=$ac_ct_CC
   3731   fi
   3732 fi
   3733 
   3734 fi
   3735 
   3736 
   3737 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3739 as_fn_error $? "no acceptable C compiler found in \$PATH
   3740 See \`config.log' for more details" "$LINENO" 5; }
   3741 
   3742 # Provide some information about the compiler.
   3743 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3744 set X $ac_compile
   3745 ac_compiler=$2
   3746 for ac_option in --version -v -V -qversion; do
   3747   { { ac_try="$ac_compiler $ac_option >&5"
   3748 case "(($ac_try" in
   3749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3750   *) ac_try_echo=$ac_try;;
   3751 esac
   3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3753 $as_echo "$ac_try_echo"; } >&5
   3754   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3755   ac_status=$?
   3756   if test -s conftest.err; then
   3757     sed '10a\
   3758 ... rest of stderr output deleted ...
   3759          10q' conftest.err >conftest.er1
   3760     cat conftest.er1 >&5
   3761   fi
   3762   rm -f conftest.er1 conftest.err
   3763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3764   test $ac_status = 0; }
   3765 done
   3766 
   3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3768 /* end confdefs.h.  */
   3769 
   3770 int
   3771 main ()
   3772 {
   3773 
   3774   ;
   3775   return 0;
   3776 }
   3777 _ACEOF
   3778 ac_clean_files_save=$ac_clean_files
   3779 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3780 # Try to create an executable without -o first, disregard a.out.
   3781 # It will help us diagnose broken compilers, and finding out an intuition
   3782 # of exeext.
   3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3784 $as_echo_n "checking whether the C compiler works... " >&6; }
   3785 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3786 
   3787 # The possible output files:
   3788 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3789 
   3790 ac_rmfiles=
   3791 for ac_file in $ac_files
   3792 do
   3793   case $ac_file in
   3794     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3795     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3796   esac
   3797 done
   3798 rm -f $ac_rmfiles
   3799 
   3800 if { { ac_try="$ac_link_default"
   3801 case "(($ac_try" in
   3802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3803   *) ac_try_echo=$ac_try;;
   3804 esac
   3805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3806 $as_echo "$ac_try_echo"; } >&5
   3807   (eval "$ac_link_default") 2>&5
   3808   ac_status=$?
   3809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3810   test $ac_status = 0; }; then :
   3811   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3812 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3813 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3814 # so that the user can short-circuit this test for compilers unknown to
   3815 # Autoconf.
   3816 for ac_file in $ac_files ''
   3817 do
   3818   test -f "$ac_file" || continue
   3819   case $ac_file in
   3820     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3821 	;;
   3822     [ab].out )
   3823 	# We found the default executable, but exeext='' is most
   3824 	# certainly right.
   3825 	break;;
   3826     *.* )
   3827 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3828 	then :; else
   3829 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3830 	fi
   3831 	# We set ac_cv_exeext here because the later test for it is not
   3832 	# safe: cross compilers may not add the suffix if given an `-o'
   3833 	# argument, so we may need to know it at that point already.
   3834 	# Even if this section looks crufty: it has the advantage of
   3835 	# actually working.
   3836 	break;;
   3837     * )
   3838 	break;;
   3839   esac
   3840 done
   3841 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3842 
   3843 else
   3844   ac_file=''
   3845 fi
   3846 if test -z "$ac_file"; then :
   3847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3848 $as_echo "no" >&6; }
   3849 $as_echo "$as_me: failed program was:" >&5
   3850 sed 's/^/| /' conftest.$ac_ext >&5
   3851 
   3852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3854 as_fn_error 77 "C compiler cannot create executables
   3855 See \`config.log' for more details" "$LINENO" 5; }
   3856 else
   3857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3858 $as_echo "yes" >&6; }
   3859 fi
   3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3861 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3863 $as_echo "$ac_file" >&6; }
   3864 ac_exeext=$ac_cv_exeext
   3865 
   3866 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3867 ac_clean_files=$ac_clean_files_save
   3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3869 $as_echo_n "checking for suffix of executables... " >&6; }
   3870 if { { ac_try="$ac_link"
   3871 case "(($ac_try" in
   3872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3873   *) ac_try_echo=$ac_try;;
   3874 esac
   3875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3876 $as_echo "$ac_try_echo"; } >&5
   3877   (eval "$ac_link") 2>&5
   3878   ac_status=$?
   3879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3880   test $ac_status = 0; }; then :
   3881   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3882 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3883 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3884 # `rm'.
   3885 for ac_file in conftest.exe conftest conftest.*; do
   3886   test -f "$ac_file" || continue
   3887   case $ac_file in
   3888     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3889     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3890 	  break;;
   3891     * ) break;;
   3892   esac
   3893 done
   3894 else
   3895   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3897 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3898 See \`config.log' for more details" "$LINENO" 5; }
   3899 fi
   3900 rm -f conftest conftest$ac_cv_exeext
   3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3902 $as_echo "$ac_cv_exeext" >&6; }
   3903 
   3904 rm -f conftest.$ac_ext
   3905 EXEEXT=$ac_cv_exeext
   3906 ac_exeext=$EXEEXT
   3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3908 /* end confdefs.h.  */
   3909 #include <stdio.h>
   3910 int
   3911 main ()
   3912 {
   3913 FILE *f = fopen ("conftest.out", "w");
   3914  return ferror (f) || fclose (f) != 0;
   3915 
   3916   ;
   3917   return 0;
   3918 }
   3919 _ACEOF
   3920 ac_clean_files="$ac_clean_files conftest.out"
   3921 # Check that the compiler produces executables we can run.  If not, either
   3922 # the compiler is broken, or we cross compile.
   3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3924 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3925 if test "$cross_compiling" != yes; then
   3926   { { ac_try="$ac_link"
   3927 case "(($ac_try" in
   3928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3929   *) ac_try_echo=$ac_try;;
   3930 esac
   3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3932 $as_echo "$ac_try_echo"; } >&5
   3933   (eval "$ac_link") 2>&5
   3934   ac_status=$?
   3935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3936   test $ac_status = 0; }
   3937   if { ac_try='./conftest$ac_cv_exeext'
   3938   { { case "(($ac_try" in
   3939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3940   *) ac_try_echo=$ac_try;;
   3941 esac
   3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3943 $as_echo "$ac_try_echo"; } >&5
   3944   (eval "$ac_try") 2>&5
   3945   ac_status=$?
   3946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3947   test $ac_status = 0; }; }; then
   3948     cross_compiling=no
   3949   else
   3950     if test "$cross_compiling" = maybe; then
   3951 	cross_compiling=yes
   3952     else
   3953 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3955 as_fn_error $? "cannot run C compiled programs.
   3956 If you meant to cross compile, use \`--host'.
   3957 See \`config.log' for more details" "$LINENO" 5; }
   3958     fi
   3959   fi
   3960 fi
   3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3962 $as_echo "$cross_compiling" >&6; }
   3963 
   3964 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3965 ac_clean_files=$ac_clean_files_save
   3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3967 $as_echo_n "checking for suffix of object files... " >&6; }
   3968 if ${ac_cv_objext+:} false; then :
   3969   $as_echo_n "(cached) " >&6
   3970 else
   3971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3972 /* end confdefs.h.  */
   3973 
   3974 int
   3975 main ()
   3976 {
   3977 
   3978   ;
   3979   return 0;
   3980 }
   3981 _ACEOF
   3982 rm -f conftest.o conftest.obj
   3983 if { { ac_try="$ac_compile"
   3984 case "(($ac_try" in
   3985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3986   *) ac_try_echo=$ac_try;;
   3987 esac
   3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3989 $as_echo "$ac_try_echo"; } >&5
   3990   (eval "$ac_compile") 2>&5
   3991   ac_status=$?
   3992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3993   test $ac_status = 0; }; then :
   3994   for ac_file in conftest.o conftest.obj conftest.*; do
   3995   test -f "$ac_file" || continue;
   3996   case $ac_file in
   3997     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3998     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3999        break;;
   4000   esac
   4001 done
   4002 else
   4003   $as_echo "$as_me: failed program was:" >&5
   4004 sed 's/^/| /' conftest.$ac_ext >&5
   4005 
   4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4008 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4009 See \`config.log' for more details" "$LINENO" 5; }
   4010 fi
   4011 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4012 fi
   4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4014 $as_echo "$ac_cv_objext" >&6; }
   4015 OBJEXT=$ac_cv_objext
   4016 ac_objext=$OBJEXT
   4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4018 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4019 if ${ac_cv_c_compiler_gnu+:} false; then :
   4020   $as_echo_n "(cached) " >&6
   4021 else
   4022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4023 /* end confdefs.h.  */
   4024 
   4025 int
   4026 main ()
   4027 {
   4028 #ifndef __GNUC__
   4029        choke me
   4030 #endif
   4031 
   4032   ;
   4033   return 0;
   4034 }
   4035 _ACEOF
   4036 if ac_fn_c_try_compile "$LINENO"; then :
   4037   ac_compiler_gnu=yes
   4038 else
   4039   ac_compiler_gnu=no
   4040 fi
   4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4042 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4043 
   4044 fi
   4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4046 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4047 if test $ac_compiler_gnu = yes; then
   4048   GCC=yes
   4049 else
   4050   GCC=
   4051 fi
   4052 ac_test_CFLAGS=${CFLAGS+set}
   4053 ac_save_CFLAGS=$CFLAGS
   4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4055 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4056 if ${ac_cv_prog_cc_g+:} false; then :
   4057   $as_echo_n "(cached) " >&6
   4058 else
   4059   ac_save_c_werror_flag=$ac_c_werror_flag
   4060    ac_c_werror_flag=yes
   4061    ac_cv_prog_cc_g=no
   4062    CFLAGS="-g"
   4063    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4064 /* end confdefs.h.  */
   4065 
   4066 int
   4067 main ()
   4068 {
   4069 
   4070   ;
   4071   return 0;
   4072 }
   4073 _ACEOF
   4074 if ac_fn_c_try_compile "$LINENO"; then :
   4075   ac_cv_prog_cc_g=yes
   4076 else
   4077   CFLAGS=""
   4078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4079 /* end confdefs.h.  */
   4080 
   4081 int
   4082 main ()
   4083 {
   4084 
   4085   ;
   4086   return 0;
   4087 }
   4088 _ACEOF
   4089 if ac_fn_c_try_compile "$LINENO"; then :
   4090 
   4091 else
   4092   ac_c_werror_flag=$ac_save_c_werror_flag
   4093 	 CFLAGS="-g"
   4094 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4095 /* end confdefs.h.  */
   4096 
   4097 int
   4098 main ()
   4099 {
   4100 
   4101   ;
   4102   return 0;
   4103 }
   4104 _ACEOF
   4105 if ac_fn_c_try_compile "$LINENO"; then :
   4106   ac_cv_prog_cc_g=yes
   4107 fi
   4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4109 fi
   4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4111 fi
   4112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4113    ac_c_werror_flag=$ac_save_c_werror_flag
   4114 fi
   4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4116 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4117 if test "$ac_test_CFLAGS" = set; then
   4118   CFLAGS=$ac_save_CFLAGS
   4119 elif test $ac_cv_prog_cc_g = yes; then
   4120   if test "$GCC" = yes; then
   4121     CFLAGS="-g -O2"
   4122   else
   4123     CFLAGS="-g"
   4124   fi
   4125 else
   4126   if test "$GCC" = yes; then
   4127     CFLAGS="-O2"
   4128   else
   4129     CFLAGS=
   4130   fi
   4131 fi
   4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4133 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4134 if ${ac_cv_prog_cc_c89+:} false; then :
   4135   $as_echo_n "(cached) " >&6
   4136 else
   4137   ac_cv_prog_cc_c89=no
   4138 ac_save_CC=$CC
   4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4140 /* end confdefs.h.  */
   4141 #include <stdarg.h>
   4142 #include <stdio.h>
   4143 struct stat;
   4144 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4145 struct buf { int x; };
   4146 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4147 static char *e (p, i)
   4148      char **p;
   4149      int i;
   4150 {
   4151   return p[i];
   4152 }
   4153 static char *f (char * (*g) (char **, int), char **p, ...)
   4154 {
   4155   char *s;
   4156   va_list v;
   4157   va_start (v,p);
   4158   s = g (p, va_arg (v,int));
   4159   va_end (v);
   4160   return s;
   4161 }
   4162 
   4163 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4164    function prototypes and stuff, but not '\xHH' hex character constants.
   4165    These don't provoke an error unfortunately, instead are silently treated
   4166    as 'x'.  The following induces an error, until -std is added to get
   4167    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4168    array size at least.  It's necessary to write '\x00'==0 to get something
   4169    that's true only with -std.  */
   4170 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4171 
   4172 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4173    inside strings and character constants.  */
   4174 #define FOO(x) 'x'
   4175 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4176 
   4177 int test (int i, double x);
   4178 struct s1 {int (*f) (int a);};
   4179 struct s2 {int (*f) (double a);};
   4180 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4181 int argc;
   4182 char **argv;
   4183 int
   4184 main ()
   4185 {
   4186 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4187   ;
   4188   return 0;
   4189 }
   4190 _ACEOF
   4191 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4192 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4193 do
   4194   CC="$ac_save_CC $ac_arg"
   4195   if ac_fn_c_try_compile "$LINENO"; then :
   4196   ac_cv_prog_cc_c89=$ac_arg
   4197 fi
   4198 rm -f core conftest.err conftest.$ac_objext
   4199   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4200 done
   4201 rm -f conftest.$ac_ext
   4202 CC=$ac_save_CC
   4203 
   4204 fi
   4205 # AC_CACHE_VAL
   4206 case "x$ac_cv_prog_cc_c89" in
   4207   x)
   4208     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4209 $as_echo "none needed" >&6; } ;;
   4210   xno)
   4211     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4212 $as_echo "unsupported" >&6; } ;;
   4213   *)
   4214     CC="$CC $ac_cv_prog_cc_c89"
   4215     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4216 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4217 esac
   4218 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4219 
   4220 fi
   4221 
   4222 ac_ext=c
   4223 ac_cpp='$CPP $CPPFLAGS'
   4224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4227 
   4228 ac_ext=c
   4229 ac_cpp='$CPP $CPPFLAGS'
   4230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4234 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4235 if ${am_cv_prog_cc_c_o+:} false; then :
   4236   $as_echo_n "(cached) " >&6
   4237 else
   4238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4239 /* end confdefs.h.  */
   4240 
   4241 int
   4242 main ()
   4243 {
   4244 
   4245   ;
   4246   return 0;
   4247 }
   4248 _ACEOF
   4249   # Make sure it works both with $CC and with simple cc.
   4250   # Following AC_PROG_CC_C_O, we do the test twice because some
   4251   # compilers refuse to overwrite an existing .o file with -o,
   4252   # though they will create one.
   4253   am_cv_prog_cc_c_o=yes
   4254   for am_i in 1 2; do
   4255     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4256    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4257    ac_status=$?
   4258    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4259    (exit $ac_status); } \
   4260          && test -f conftest2.$ac_objext; then
   4261       : OK
   4262     else
   4263       am_cv_prog_cc_c_o=no
   4264       break
   4265     fi
   4266   done
   4267   rm -f core conftest*
   4268   unset am_i
   4269 fi
   4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4271 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4272 if test "$am_cv_prog_cc_c_o" != yes; then
   4273    # Losing compiler, so override with the script.
   4274    # FIXME: It is wrong to rewrite CC.
   4275    # But if we don't then we get into trouble of one sort or another.
   4276    # A longer-term fix would be to have automake use am__CC in this case,
   4277    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4278    CC="$am_aux_dir/compile $CC"
   4279 fi
   4280 ac_ext=c
   4281 ac_cpp='$CPP $CPPFLAGS'
   4282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4285 
   4286 
   4287 depcc="$CC"   am_compiler_list=
   4288 
   4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4290 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4291 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4292   $as_echo_n "(cached) " >&6
   4293 else
   4294   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4295   # We make a subdir and do the tests there.  Otherwise we can end up
   4296   # making bogus files that we don't know about and never remove.  For
   4297   # instance it was reported that on HP-UX the gcc test will end up
   4298   # making a dummy file named 'D' -- because '-MD' means "put the output
   4299   # in D".
   4300   rm -rf conftest.dir
   4301   mkdir conftest.dir
   4302   # Copy depcomp to subdir because otherwise we won't find it if we're
   4303   # using a relative directory.
   4304   cp "$am_depcomp" conftest.dir
   4305   cd conftest.dir
   4306   # We will build objects and dependencies in a subdirectory because
   4307   # it helps to detect inapplicable dependency modes.  For instance
   4308   # both Tru64's cc and ICC support -MD to output dependencies as a
   4309   # side effect of compilation, but ICC will put the dependencies in
   4310   # the current directory while Tru64 will put them in the object
   4311   # directory.
   4312   mkdir sub
   4313 
   4314   am_cv_CC_dependencies_compiler_type=none
   4315   if test "$am_compiler_list" = ""; then
   4316      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4317   fi
   4318   am__universal=false
   4319   case " $depcc " in #(
   4320      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4321      esac
   4322 
   4323   for depmode in $am_compiler_list; do
   4324     # Setup a source with many dependencies, because some compilers
   4325     # like to wrap large dependency lists on column 80 (with \), and
   4326     # we should not choose a depcomp mode which is confused by this.
   4327     #
   4328     # We need to recreate these files for each test, as the compiler may
   4329     # overwrite some of them when testing with obscure command lines.
   4330     # This happens at least with the AIX C compiler.
   4331     : > sub/conftest.c
   4332     for i in 1 2 3 4 5 6; do
   4333       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4334       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4335       # Solaris 10 /bin/sh.
   4336       echo '/* dummy */' > sub/conftst$i.h
   4337     done
   4338     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4339 
   4340     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4341     # mode.  It turns out that the SunPro C++ compiler does not properly
   4342     # handle '-M -o', and we need to detect this.  Also, some Intel
   4343     # versions had trouble with output in subdirs.
   4344     am__obj=sub/conftest.${OBJEXT-o}
   4345     am__minus_obj="-o $am__obj"
   4346     case $depmode in
   4347     gcc)
   4348       # This depmode causes a compiler race in universal mode.
   4349       test "$am__universal" = false || continue
   4350       ;;
   4351     nosideeffect)
   4352       # After this tag, mechanisms are not by side-effect, so they'll
   4353       # only be used when explicitly requested.
   4354       if test "x$enable_dependency_tracking" = xyes; then
   4355 	continue
   4356       else
   4357 	break
   4358       fi
   4359       ;;
   4360     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4361       # This compiler won't grok '-c -o', but also, the minuso test has
   4362       # not run yet.  These depmodes are late enough in the game, and
   4363       # so weak that their functioning should not be impacted.
   4364       am__obj=conftest.${OBJEXT-o}
   4365       am__minus_obj=
   4366       ;;
   4367     none) break ;;
   4368     esac
   4369     if depmode=$depmode \
   4370        source=sub/conftest.c object=$am__obj \
   4371        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4372        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4373          >/dev/null 2>conftest.err &&
   4374        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4375        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4376        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4377        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4378       # icc doesn't choke on unknown options, it will just issue warnings
   4379       # or remarks (even with -Werror).  So we grep stderr for any message
   4380       # that says an option was ignored or not supported.
   4381       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4382       #   icc: Command line warning: ignoring option '-M'; no argument required
   4383       # The diagnosis changed in icc 8.0:
   4384       #   icc: Command line remark: option '-MP' not supported
   4385       if (grep 'ignoring option' conftest.err ||
   4386           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4387         am_cv_CC_dependencies_compiler_type=$depmode
   4388         break
   4389       fi
   4390     fi
   4391   done
   4392 
   4393   cd ..
   4394   rm -rf conftest.dir
   4395 else
   4396   am_cv_CC_dependencies_compiler_type=none
   4397 fi
   4398 
   4399 fi
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4401 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4402 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4403 
   4404  if
   4405   test "x$enable_dependency_tracking" != xno \
   4406   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4407   am__fastdepCC_TRUE=
   4408   am__fastdepCC_FALSE='#'
   4409 else
   4410   am__fastdepCC_TRUE='#'
   4411   am__fastdepCC_FALSE=
   4412 fi
   4413 
   4414 
   4415    case $ac_cv_prog_cc_stdc in #(
   4416   no) :
   4417     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
   4418   *) :
   4419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4420 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4421 if ${ac_cv_prog_cc_c99+:} false; then :
   4422   $as_echo_n "(cached) " >&6
   4423 else
   4424   ac_cv_prog_cc_c99=no
   4425 ac_save_CC=$CC
   4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4427 /* end confdefs.h.  */
   4428 #include <stdarg.h>
   4429 #include <stdbool.h>
   4430 #include <stdlib.h>
   4431 #include <wchar.h>
   4432 #include <stdio.h>
   4433 
   4434 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4435 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4436 #define showlist(...) puts (#__VA_ARGS__)
   4437 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4438 static void
   4439 test_varargs_macros (void)
   4440 {
   4441   int x = 1234;
   4442   int y = 5678;
   4443   debug ("Flag");
   4444   debug ("X = %d\n", x);
   4445   showlist (The first, second, and third items.);
   4446   report (x>y, "x is %d but y is %d", x, y);
   4447 }
   4448 
   4449 // Check long long types.
   4450 #define BIG64 18446744073709551615ull
   4451 #define BIG32 4294967295ul
   4452 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4453 #if !BIG_OK
   4454   your preprocessor is broken;
   4455 #endif
   4456 #if BIG_OK
   4457 #else
   4458   your preprocessor is broken;
   4459 #endif
   4460 static long long int bignum = -9223372036854775807LL;
   4461 static unsigned long long int ubignum = BIG64;
   4462 
   4463 struct incomplete_array
   4464 {
   4465   int datasize;
   4466   double data[];
   4467 };
   4468 
   4469 struct named_init {
   4470   int number;
   4471   const wchar_t *name;
   4472   double average;
   4473 };
   4474 
   4475 typedef const char *ccp;
   4476 
   4477 static inline int
   4478 test_restrict (ccp restrict text)
   4479 {
   4480   // See if C++-style comments work.
   4481   // Iterate through items via the restricted pointer.
   4482   // Also check for declarations in for loops.
   4483   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4484     continue;
   4485   return 0;
   4486 }
   4487 
   4488 // Check varargs and va_copy.
   4489 static void
   4490 test_varargs (const char *format, ...)
   4491 {
   4492   va_list args;
   4493   va_start (args, format);
   4494   va_list args_copy;
   4495   va_copy (args_copy, args);
   4496 
   4497   const char *str;
   4498   int number;
   4499   float fnumber;
   4500 
   4501   while (*format)
   4502     {
   4503       switch (*format++)
   4504 	{
   4505 	case 's': // string
   4506 	  str = va_arg (args_copy, const char *);
   4507 	  break;
   4508 	case 'd': // int
   4509 	  number = va_arg (args_copy, int);
   4510 	  break;
   4511 	case 'f': // float
   4512 	  fnumber = va_arg (args_copy, double);
   4513 	  break;
   4514 	default:
   4515 	  break;
   4516 	}
   4517     }
   4518   va_end (args_copy);
   4519   va_end (args);
   4520 }
   4521 
   4522 int
   4523 main ()
   4524 {
   4525 
   4526   // Check bool.
   4527   _Bool success = false;
   4528 
   4529   // Check restrict.
   4530   if (test_restrict ("String literal") == 0)
   4531     success = true;
   4532   char *restrict newvar = "Another string";
   4533 
   4534   // Check varargs.
   4535   test_varargs ("s, d' f .", "string", 65, 34.234);
   4536   test_varargs_macros ();
   4537 
   4538   // Check flexible array members.
   4539   struct incomplete_array *ia =
   4540     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4541   ia->datasize = 10;
   4542   for (int i = 0; i < ia->datasize; ++i)
   4543     ia->data[i] = i * 1.234;
   4544 
   4545   // Check named initializers.
   4546   struct named_init ni = {
   4547     .number = 34,
   4548     .name = L"Test wide string",
   4549     .average = 543.34343,
   4550   };
   4551 
   4552   ni.number = 58;
   4553 
   4554   int dynamic_array[ni.number];
   4555   dynamic_array[ni.number - 1] = 543;
   4556 
   4557   // work around unused variable warnings
   4558   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4559 	  || dynamic_array[ni.number - 1] != 543);
   4560 
   4561   ;
   4562   return 0;
   4563 }
   4564 _ACEOF
   4565 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4566 do
   4567   CC="$ac_save_CC $ac_arg"
   4568   if ac_fn_c_try_compile "$LINENO"; then :
   4569   ac_cv_prog_cc_c99=$ac_arg
   4570 fi
   4571 rm -f core conftest.err conftest.$ac_objext
   4572   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4573 done
   4574 rm -f conftest.$ac_ext
   4575 CC=$ac_save_CC
   4576 
   4577 fi
   4578 # AC_CACHE_VAL
   4579 case "x$ac_cv_prog_cc_c99" in
   4580   x)
   4581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4582 $as_echo "none needed" >&6; } ;;
   4583   xno)
   4584     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4585 $as_echo "unsupported" >&6; } ;;
   4586   *)
   4587     CC="$CC $ac_cv_prog_cc_c99"
   4588     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4589 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4590 esac
   4591 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4592   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4593 else
   4594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4596 if ${ac_cv_prog_cc_c89+:} false; then :
   4597   $as_echo_n "(cached) " >&6
   4598 else
   4599   ac_cv_prog_cc_c89=no
   4600 ac_save_CC=$CC
   4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4602 /* end confdefs.h.  */
   4603 #include <stdarg.h>
   4604 #include <stdio.h>
   4605 struct stat;
   4606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4607 struct buf { int x; };
   4608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4609 static char *e (p, i)
   4610      char **p;
   4611      int i;
   4612 {
   4613   return p[i];
   4614 }
   4615 static char *f (char * (*g) (char **, int), char **p, ...)
   4616 {
   4617   char *s;
   4618   va_list v;
   4619   va_start (v,p);
   4620   s = g (p, va_arg (v,int));
   4621   va_end (v);
   4622   return s;
   4623 }
   4624 
   4625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4626    function prototypes and stuff, but not '\xHH' hex character constants.
   4627    These don't provoke an error unfortunately, instead are silently treated
   4628    as 'x'.  The following induces an error, until -std is added to get
   4629    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4630    array size at least.  It's necessary to write '\x00'==0 to get something
   4631    that's true only with -std.  */
   4632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4633 
   4634 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4635    inside strings and character constants.  */
   4636 #define FOO(x) 'x'
   4637 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4638 
   4639 int test (int i, double x);
   4640 struct s1 {int (*f) (int a);};
   4641 struct s2 {int (*f) (double a);};
   4642 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4643 int argc;
   4644 char **argv;
   4645 int
   4646 main ()
   4647 {
   4648 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4649   ;
   4650   return 0;
   4651 }
   4652 _ACEOF
   4653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4654 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4655 do
   4656   CC="$ac_save_CC $ac_arg"
   4657   if ac_fn_c_try_compile "$LINENO"; then :
   4658   ac_cv_prog_cc_c89=$ac_arg
   4659 fi
   4660 rm -f core conftest.err conftest.$ac_objext
   4661   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4662 done
   4663 rm -f conftest.$ac_ext
   4664 CC=$ac_save_CC
   4665 
   4666 fi
   4667 # AC_CACHE_VAL
   4668 case "x$ac_cv_prog_cc_c89" in
   4669   x)
   4670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4671 $as_echo "none needed" >&6; } ;;
   4672   xno)
   4673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4674 $as_echo "unsupported" >&6; } ;;
   4675   *)
   4676     CC="$CC $ac_cv_prog_cc_c89"
   4677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4678 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4679 esac
   4680 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4681   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4682 else
   4683   ac_cv_prog_cc_stdc=no
   4684 fi
   4685 
   4686 fi
   4687  ;;
   4688 esac
   4689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
   4690 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
   4691   if ${ac_cv_prog_cc_stdc+:} false; then :
   4692   $as_echo_n "(cached) " >&6
   4693 fi
   4694 
   4695   case $ac_cv_prog_cc_stdc in #(
   4696   no) :
   4697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4698 $as_echo "unsupported" >&6; } ;; #(
   4699   '') :
   4700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4701 $as_echo "none needed" >&6; } ;; #(
   4702   *) :
   4703     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
   4704 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
   4705 esac
   4706 
   4707 
   4708 ac_ext=c
   4709 ac_cpp='$CPP $CPPFLAGS'
   4710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4714 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4715 # On Suns, sometimes $CPP names a directory.
   4716 if test -n "$CPP" && test -d "$CPP"; then
   4717   CPP=
   4718 fi
   4719 if test -z "$CPP"; then
   4720   if ${ac_cv_prog_CPP+:} false; then :
   4721   $as_echo_n "(cached) " >&6
   4722 else
   4723       # Double quotes because CPP needs to be expanded
   4724     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4725     do
   4726       ac_preproc_ok=false
   4727 for ac_c_preproc_warn_flag in '' yes
   4728 do
   4729   # Use a header file that comes with gcc, so configuring glibc
   4730   # with a fresh cross-compiler works.
   4731   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4732   # <limits.h> exists even on freestanding compilers.
   4733   # On the NeXT, cc -E runs the code through the compiler's parser,
   4734   # not just through cpp. "Syntax error" is here to catch this case.
   4735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4736 /* end confdefs.h.  */
   4737 #ifdef __STDC__
   4738 # include <limits.h>
   4739 #else
   4740 # include <assert.h>
   4741 #endif
   4742 		     Syntax error
   4743 _ACEOF
   4744 if ac_fn_c_try_cpp "$LINENO"; then :
   4745 
   4746 else
   4747   # Broken: fails on valid input.
   4748 continue
   4749 fi
   4750 rm -f conftest.err conftest.i conftest.$ac_ext
   4751 
   4752   # OK, works on sane cases.  Now check whether nonexistent headers
   4753   # can be detected and how.
   4754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4755 /* end confdefs.h.  */
   4756 #include <ac_nonexistent.h>
   4757 _ACEOF
   4758 if ac_fn_c_try_cpp "$LINENO"; then :
   4759   # Broken: success on invalid input.
   4760 continue
   4761 else
   4762   # Passes both tests.
   4763 ac_preproc_ok=:
   4764 break
   4765 fi
   4766 rm -f conftest.err conftest.i conftest.$ac_ext
   4767 
   4768 done
   4769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4770 rm -f conftest.i conftest.err conftest.$ac_ext
   4771 if $ac_preproc_ok; then :
   4772   break
   4773 fi
   4774 
   4775     done
   4776     ac_cv_prog_CPP=$CPP
   4777 
   4778 fi
   4779   CPP=$ac_cv_prog_CPP
   4780 else
   4781   ac_cv_prog_CPP=$CPP
   4782 fi
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4784 $as_echo "$CPP" >&6; }
   4785 ac_preproc_ok=false
   4786 for ac_c_preproc_warn_flag in '' yes
   4787 do
   4788   # Use a header file that comes with gcc, so configuring glibc
   4789   # with a fresh cross-compiler works.
   4790   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4791   # <limits.h> exists even on freestanding compilers.
   4792   # On the NeXT, cc -E runs the code through the compiler's parser,
   4793   # not just through cpp. "Syntax error" is here to catch this case.
   4794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4795 /* end confdefs.h.  */
   4796 #ifdef __STDC__
   4797 # include <limits.h>
   4798 #else
   4799 # include <assert.h>
   4800 #endif
   4801 		     Syntax error
   4802 _ACEOF
   4803 if ac_fn_c_try_cpp "$LINENO"; then :
   4804 
   4805 else
   4806   # Broken: fails on valid input.
   4807 continue
   4808 fi
   4809 rm -f conftest.err conftest.i conftest.$ac_ext
   4810 
   4811   # OK, works on sane cases.  Now check whether nonexistent headers
   4812   # can be detected and how.
   4813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4814 /* end confdefs.h.  */
   4815 #include <ac_nonexistent.h>
   4816 _ACEOF
   4817 if ac_fn_c_try_cpp "$LINENO"; then :
   4818   # Broken: success on invalid input.
   4819 continue
   4820 else
   4821   # Passes both tests.
   4822 ac_preproc_ok=:
   4823 break
   4824 fi
   4825 rm -f conftest.err conftest.i conftest.$ac_ext
   4826 
   4827 done
   4828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4829 rm -f conftest.i conftest.err conftest.$ac_ext
   4830 if $ac_preproc_ok; then :
   4831 
   4832 else
   4833   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4835 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4836 See \`config.log' for more details" "$LINENO" 5; }
   4837 fi
   4838 
   4839 ac_ext=c
   4840 ac_cpp='$CPP $CPPFLAGS'
   4841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4844 
   4845 
   4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4847 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4848 if ${ac_cv_path_GREP+:} false; then :
   4849   $as_echo_n "(cached) " >&6
   4850 else
   4851   if test -z "$GREP"; then
   4852   ac_path_GREP_found=false
   4853   # Loop through the user's path and test for each of PROGNAME-LIST
   4854   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4855 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4856 do
   4857   IFS=$as_save_IFS
   4858   test -z "$as_dir" && as_dir=.
   4859     for ac_prog in grep ggrep; do
   4860     for ac_exec_ext in '' $ac_executable_extensions; do
   4861       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4862       as_fn_executable_p "$ac_path_GREP" || continue
   4863 # Check for GNU ac_path_GREP and select it if it is found.
   4864   # Check for GNU $ac_path_GREP
   4865 case `"$ac_path_GREP" --version 2>&1` in
   4866 *GNU*)
   4867   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4868 *)
   4869   ac_count=0
   4870   $as_echo_n 0123456789 >"conftest.in"
   4871   while :
   4872   do
   4873     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4874     mv "conftest.tmp" "conftest.in"
   4875     cp "conftest.in" "conftest.nl"
   4876     $as_echo 'GREP' >> "conftest.nl"
   4877     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4878     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4879     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4880     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4881       # Best one so far, save it but keep looking for a better one
   4882       ac_cv_path_GREP="$ac_path_GREP"
   4883       ac_path_GREP_max=$ac_count
   4884     fi
   4885     # 10*(2^10) chars as input seems more than enough
   4886     test $ac_count -gt 10 && break
   4887   done
   4888   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4889 esac
   4890 
   4891       $ac_path_GREP_found && break 3
   4892     done
   4893   done
   4894   done
   4895 IFS=$as_save_IFS
   4896   if test -z "$ac_cv_path_GREP"; then
   4897     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4898   fi
   4899 else
   4900   ac_cv_path_GREP=$GREP
   4901 fi
   4902 
   4903 fi
   4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4905 $as_echo "$ac_cv_path_GREP" >&6; }
   4906  GREP="$ac_cv_path_GREP"
   4907 
   4908 
   4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4910 $as_echo_n "checking for egrep... " >&6; }
   4911 if ${ac_cv_path_EGREP+:} false; then :
   4912   $as_echo_n "(cached) " >&6
   4913 else
   4914   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4915    then ac_cv_path_EGREP="$GREP -E"
   4916    else
   4917      if test -z "$EGREP"; then
   4918   ac_path_EGREP_found=false
   4919   # Loop through the user's path and test for each of PROGNAME-LIST
   4920   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4921 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4922 do
   4923   IFS=$as_save_IFS
   4924   test -z "$as_dir" && as_dir=.
   4925     for ac_prog in egrep; do
   4926     for ac_exec_ext in '' $ac_executable_extensions; do
   4927       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4928       as_fn_executable_p "$ac_path_EGREP" || continue
   4929 # Check for GNU ac_path_EGREP and select it if it is found.
   4930   # Check for GNU $ac_path_EGREP
   4931 case `"$ac_path_EGREP" --version 2>&1` in
   4932 *GNU*)
   4933   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4934 *)
   4935   ac_count=0
   4936   $as_echo_n 0123456789 >"conftest.in"
   4937   while :
   4938   do
   4939     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4940     mv "conftest.tmp" "conftest.in"
   4941     cp "conftest.in" "conftest.nl"
   4942     $as_echo 'EGREP' >> "conftest.nl"
   4943     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4944     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4945     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4946     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4947       # Best one so far, save it but keep looking for a better one
   4948       ac_cv_path_EGREP="$ac_path_EGREP"
   4949       ac_path_EGREP_max=$ac_count
   4950     fi
   4951     # 10*(2^10) chars as input seems more than enough
   4952     test $ac_count -gt 10 && break
   4953   done
   4954   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4955 esac
   4956 
   4957       $ac_path_EGREP_found && break 3
   4958     done
   4959   done
   4960   done
   4961 IFS=$as_save_IFS
   4962   if test -z "$ac_cv_path_EGREP"; then
   4963     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4964   fi
   4965 else
   4966   ac_cv_path_EGREP=$EGREP
   4967 fi
   4968 
   4969    fi
   4970 fi
   4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4972 $as_echo "$ac_cv_path_EGREP" >&6; }
   4973  EGREP="$ac_cv_path_EGREP"
   4974 
   4975 
   4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4977 $as_echo_n "checking for ANSI C header files... " >&6; }
   4978 if ${ac_cv_header_stdc+:} false; then :
   4979   $as_echo_n "(cached) " >&6
   4980 else
   4981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4982 /* end confdefs.h.  */
   4983 #include <stdlib.h>
   4984 #include <stdarg.h>
   4985 #include <string.h>
   4986 #include <float.h>
   4987 
   4988 int
   4989 main ()
   4990 {
   4991 
   4992   ;
   4993   return 0;
   4994 }
   4995 _ACEOF
   4996 if ac_fn_c_try_compile "$LINENO"; then :
   4997   ac_cv_header_stdc=yes
   4998 else
   4999   ac_cv_header_stdc=no
   5000 fi
   5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5002 
   5003 if test $ac_cv_header_stdc = yes; then
   5004   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5006 /* end confdefs.h.  */
   5007 #include <string.h>
   5008 
   5009 _ACEOF
   5010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5011   $EGREP "memchr" >/dev/null 2>&1; then :
   5012 
   5013 else
   5014   ac_cv_header_stdc=no
   5015 fi
   5016 rm -f conftest*
   5017 
   5018 fi
   5019 
   5020 if test $ac_cv_header_stdc = yes; then
   5021   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5023 /* end confdefs.h.  */
   5024 #include <stdlib.h>
   5025 
   5026 _ACEOF
   5027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5028   $EGREP "free" >/dev/null 2>&1; then :
   5029 
   5030 else
   5031   ac_cv_header_stdc=no
   5032 fi
   5033 rm -f conftest*
   5034 
   5035 fi
   5036 
   5037 if test $ac_cv_header_stdc = yes; then
   5038   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5039   if test "$cross_compiling" = yes; then :
   5040   :
   5041 else
   5042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 #include <ctype.h>
   5045 #include <stdlib.h>
   5046 #if ((' ' & 0x0FF) == 0x020)
   5047 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5048 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5049 #else
   5050 # define ISLOWER(c) \
   5051 		   (('a' <= (c) && (c) <= 'i') \
   5052 		     || ('j' <= (c) && (c) <= 'r') \
   5053 		     || ('s' <= (c) && (c) <= 'z'))
   5054 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5055 #endif
   5056 
   5057 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5058 int
   5059 main ()
   5060 {
   5061   int i;
   5062   for (i = 0; i < 256; i++)
   5063     if (XOR (islower (i), ISLOWER (i))
   5064 	|| toupper (i) != TOUPPER (i))
   5065       return 2;
   5066   return 0;
   5067 }
   5068 _ACEOF
   5069 if ac_fn_c_try_run "$LINENO"; then :
   5070 
   5071 else
   5072   ac_cv_header_stdc=no
   5073 fi
   5074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5075   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5076 fi
   5077 
   5078 fi
   5079 fi
   5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5081 $as_echo "$ac_cv_header_stdc" >&6; }
   5082 if test $ac_cv_header_stdc = yes; then
   5083 
   5084 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   5085 
   5086 fi
   5087 
   5088 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5089 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5090 		  inttypes.h stdint.h unistd.h
   5091 do :
   5092   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5093 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5094 "
   5095 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5096   cat >>confdefs.h <<_ACEOF
   5097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5098 _ACEOF
   5099 
   5100 fi
   5101 
   5102 done
   5103 
   5104 
   5105 
   5106   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   5107 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   5108   MINIX=yes
   5109 else
   5110   MINIX=
   5111 fi
   5112 
   5113 
   5114   if test "$MINIX" = yes; then
   5115 
   5116 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   5117 
   5118 
   5119 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5120 
   5121 
   5122 $as_echo "#define _MINIX 1" >>confdefs.h
   5123 
   5124   fi
   5125 
   5126 
   5127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5128 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5129 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   5130   $as_echo_n "(cached) " >&6
   5131 else
   5132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5133 /* end confdefs.h.  */
   5134 
   5135 #         define __EXTENSIONS__ 1
   5136           $ac_includes_default
   5137 int
   5138 main ()
   5139 {
   5140 
   5141   ;
   5142   return 0;
   5143 }
   5144 _ACEOF
   5145 if ac_fn_c_try_compile "$LINENO"; then :
   5146   ac_cv_safe_to_define___extensions__=yes
   5147 else
   5148   ac_cv_safe_to_define___extensions__=no
   5149 fi
   5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5151 fi
   5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5153 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   5154   test $ac_cv_safe_to_define___extensions__ = yes &&
   5155     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   5156 
   5157   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   5158 
   5159   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   5160 
   5161   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5162 
   5163   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   5164 
   5165 
   5166 
   5167  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   5168 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   5169 if ${ac_cv_c_bigendian+:} false; then :
   5170   $as_echo_n "(cached) " >&6
   5171 else
   5172   ac_cv_c_bigendian=unknown
   5173     # See if we're dealing with a universal compiler.
   5174     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5175 /* end confdefs.h.  */
   5176 #ifndef __APPLE_CC__
   5177 	       not a universal capable compiler
   5178 	     #endif
   5179 	     typedef int dummy;
   5180 
   5181 _ACEOF
   5182 if ac_fn_c_try_compile "$LINENO"; then :
   5183 
   5184 	# Check for potential -arch flags.  It is not universal unless
   5185 	# there are at least two -arch flags with different values.
   5186 	ac_arch=
   5187 	ac_prev=
   5188 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   5189 	 if test -n "$ac_prev"; then
   5190 	   case $ac_word in
   5191 	     i?86 | x86_64 | ppc | ppc64)
   5192 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   5193 		 ac_arch=$ac_word
   5194 	       else
   5195 		 ac_cv_c_bigendian=universal
   5196 		 break
   5197 	       fi
   5198 	       ;;
   5199 	   esac
   5200 	   ac_prev=
   5201 	 elif test "x$ac_word" = "x-arch"; then
   5202 	   ac_prev=arch
   5203 	 fi
   5204        done
   5205 fi
   5206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5207     if test $ac_cv_c_bigendian = unknown; then
   5208       # See if sys/param.h defines the BYTE_ORDER macro.
   5209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5210 /* end confdefs.h.  */
   5211 #include <sys/types.h>
   5212 	     #include <sys/param.h>
   5213 
   5214 int
   5215 main ()
   5216 {
   5217 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   5218 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   5219 		     && LITTLE_ENDIAN)
   5220 	      bogus endian macros
   5221 	     #endif
   5222 
   5223   ;
   5224   return 0;
   5225 }
   5226 _ACEOF
   5227 if ac_fn_c_try_compile "$LINENO"; then :
   5228   # It does; now see whether it defined to BIG_ENDIAN or not.
   5229 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5230 /* end confdefs.h.  */
   5231 #include <sys/types.h>
   5232 		#include <sys/param.h>
   5233 
   5234 int
   5235 main ()
   5236 {
   5237 #if BYTE_ORDER != BIG_ENDIAN
   5238 		 not big endian
   5239 		#endif
   5240 
   5241   ;
   5242   return 0;
   5243 }
   5244 _ACEOF
   5245 if ac_fn_c_try_compile "$LINENO"; then :
   5246   ac_cv_c_bigendian=yes
   5247 else
   5248   ac_cv_c_bigendian=no
   5249 fi
   5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5251 fi
   5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5253     fi
   5254     if test $ac_cv_c_bigendian = unknown; then
   5255       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   5256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5257 /* end confdefs.h.  */
   5258 #include <limits.h>
   5259 
   5260 int
   5261 main ()
   5262 {
   5263 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   5264 	      bogus endian macros
   5265 	     #endif
   5266 
   5267   ;
   5268   return 0;
   5269 }
   5270 _ACEOF
   5271 if ac_fn_c_try_compile "$LINENO"; then :
   5272   # It does; now see whether it defined to _BIG_ENDIAN or not.
   5273 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5274 /* end confdefs.h.  */
   5275 #include <limits.h>
   5276 
   5277 int
   5278 main ()
   5279 {
   5280 #ifndef _BIG_ENDIAN
   5281 		 not big endian
   5282 		#endif
   5283 
   5284   ;
   5285   return 0;
   5286 }
   5287 _ACEOF
   5288 if ac_fn_c_try_compile "$LINENO"; then :
   5289   ac_cv_c_bigendian=yes
   5290 else
   5291   ac_cv_c_bigendian=no
   5292 fi
   5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5294 fi
   5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5296     fi
   5297     if test $ac_cv_c_bigendian = unknown; then
   5298       # Compile a test program.
   5299       if test "$cross_compiling" = yes; then :
   5300   # Try to guess by grepping values from an object file.
   5301 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5302 /* end confdefs.h.  */
   5303 short int ascii_mm[] =
   5304 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   5305 		short int ascii_ii[] =
   5306 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   5307 		int use_ascii (int i) {
   5308 		  return ascii_mm[i] + ascii_ii[i];
   5309 		}
   5310 		short int ebcdic_ii[] =
   5311 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   5312 		short int ebcdic_mm[] =
   5313 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   5314 		int use_ebcdic (int i) {
   5315 		  return ebcdic_mm[i] + ebcdic_ii[i];
   5316 		}
   5317 		extern int foo;
   5318 
   5319 int
   5320 main ()
   5321 {
   5322 return use_ascii (foo) == use_ebcdic (foo);
   5323   ;
   5324   return 0;
   5325 }
   5326 _ACEOF
   5327 if ac_fn_c_try_compile "$LINENO"; then :
   5328   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   5329 	      ac_cv_c_bigendian=yes
   5330 	    fi
   5331 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   5332 	      if test "$ac_cv_c_bigendian" = unknown; then
   5333 		ac_cv_c_bigendian=no
   5334 	      else
   5335 		# finding both strings is unlikely to happen, but who knows?
   5336 		ac_cv_c_bigendian=unknown
   5337 	      fi
   5338 	    fi
   5339 fi
   5340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5341 else
   5342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5343 /* end confdefs.h.  */
   5344 $ac_includes_default
   5345 int
   5346 main ()
   5347 {
   5348 
   5349 	     /* Are we little or big endian?  From Harbison&Steele.  */
   5350 	     union
   5351 	     {
   5352 	       long int l;
   5353 	       char c[sizeof (long int)];
   5354 	     } u;
   5355 	     u.l = 1;
   5356 	     return u.c[sizeof (long int) - 1] == 1;
   5357 
   5358   ;
   5359   return 0;
   5360 }
   5361 _ACEOF
   5362 if ac_fn_c_try_run "$LINENO"; then :
   5363   ac_cv_c_bigendian=no
   5364 else
   5365   ac_cv_c_bigendian=yes
   5366 fi
   5367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5368   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5369 fi
   5370 
   5371     fi
   5372 fi
   5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   5374 $as_echo "$ac_cv_c_bigendian" >&6; }
   5375  case $ac_cv_c_bigendian in #(
   5376    yes)
   5377      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   5378 ;; #(
   5379    no)
   5380       ;; #(
   5381    universal)
   5382 
   5383 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   5384 
   5385      ;; #(
   5386    *)
   5387      as_fn_error $? "unknown endianness
   5388  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   5389  esac
   5390 
   5391 
   5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5393 $as_echo_n "checking whether ln -s works... " >&6; }
   5394 LN_S=$as_ln_s
   5395 if test "$LN_S" = "ln -s"; then
   5396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5397 $as_echo "yes" >&6; }
   5398 else
   5399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5400 $as_echo "no, using $LN_S" >&6; }
   5401 fi
   5402 
   5403 case `pwd` in
   5404   *\ * | *\	*)
   5405     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5406 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5407 esac
   5408 
   5409 
   5410 
   5411 macro_version='2.4.2'
   5412 macro_revision='1.3337'
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 ltmain="$ac_aux_dir/ltmain.sh"
   5427 
   5428 # Backslashify metacharacters that are still active within
   5429 # double-quoted strings.
   5430 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5431 
   5432 # Same as above, but do not quote variable references.
   5433 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5434 
   5435 # Sed substitution to delay expansion of an escaped shell variable in a
   5436 # double_quote_subst'ed string.
   5437 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5438 
   5439 # Sed substitution to delay expansion of an escaped single quote.
   5440 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5441 
   5442 # Sed substitution to avoid accidental globbing in evaled expressions
   5443 no_glob_subst='s/\*/\\\*/g'
   5444 
   5445 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5446 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5447 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5448 
   5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5450 $as_echo_n "checking how to print strings... " >&6; }
   5451 # Test print first, because it will be a builtin if present.
   5452 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5453    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5454   ECHO='print -r --'
   5455 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5456   ECHO='printf %s\n'
   5457 else
   5458   # Use this function as a fallback that always works.
   5459   func_fallback_echo ()
   5460   {
   5461     eval 'cat <<_LTECHO_EOF
   5462 $1
   5463 _LTECHO_EOF'
   5464   }
   5465   ECHO='func_fallback_echo'
   5466 fi
   5467 
   5468 # func_echo_all arg...
   5469 # Invoke $ECHO with all args, space-separated.
   5470 func_echo_all ()
   5471 {
   5472     $ECHO ""
   5473 }
   5474 
   5475 case "$ECHO" in
   5476   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5477 $as_echo "printf" >&6; } ;;
   5478   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5479 $as_echo "print -r" >&6; } ;;
   5480   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5481 $as_echo "cat" >&6; } ;;
   5482 esac
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5498 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5499 if ${ac_cv_path_SED+:} false; then :
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5503      for ac_i in 1 2 3 4 5 6 7; do
   5504        ac_script="$ac_script$as_nl$ac_script"
   5505      done
   5506      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5507      { ac_script=; unset ac_script;}
   5508      if test -z "$SED"; then
   5509   ac_path_SED_found=false
   5510   # Loop through the user's path and test for each of PROGNAME-LIST
   5511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5512 for as_dir in $PATH
   5513 do
   5514   IFS=$as_save_IFS
   5515   test -z "$as_dir" && as_dir=.
   5516     for ac_prog in sed gsed; do
   5517     for ac_exec_ext in '' $ac_executable_extensions; do
   5518       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5519       as_fn_executable_p "$ac_path_SED" || continue
   5520 # Check for GNU ac_path_SED and select it if it is found.
   5521   # Check for GNU $ac_path_SED
   5522 case `"$ac_path_SED" --version 2>&1` in
   5523 *GNU*)
   5524   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5525 *)
   5526   ac_count=0
   5527   $as_echo_n 0123456789 >"conftest.in"
   5528   while :
   5529   do
   5530     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5531     mv "conftest.tmp" "conftest.in"
   5532     cp "conftest.in" "conftest.nl"
   5533     $as_echo '' >> "conftest.nl"
   5534     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5535     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5536     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5537     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5538       # Best one so far, save it but keep looking for a better one
   5539       ac_cv_path_SED="$ac_path_SED"
   5540       ac_path_SED_max=$ac_count
   5541     fi
   5542     # 10*(2^10) chars as input seems more than enough
   5543     test $ac_count -gt 10 && break
   5544   done
   5545   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5546 esac
   5547 
   5548       $ac_path_SED_found && break 3
   5549     done
   5550   done
   5551   done
   5552 IFS=$as_save_IFS
   5553   if test -z "$ac_cv_path_SED"; then
   5554     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5555   fi
   5556 else
   5557   ac_cv_path_SED=$SED
   5558 fi
   5559 
   5560 fi
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5562 $as_echo "$ac_cv_path_SED" >&6; }
   5563  SED="$ac_cv_path_SED"
   5564   rm -f conftest.sed
   5565 
   5566 test -z "$SED" && SED=sed
   5567 Xsed="$SED -e 1s/^X//"
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5580 $as_echo_n "checking for fgrep... " >&6; }
   5581 if ${ac_cv_path_FGREP+:} false; then :
   5582   $as_echo_n "(cached) " >&6
   5583 else
   5584   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5585    then ac_cv_path_FGREP="$GREP -F"
   5586    else
   5587      if test -z "$FGREP"; then
   5588   ac_path_FGREP_found=false
   5589   # Loop through the user's path and test for each of PROGNAME-LIST
   5590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5591 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5592 do
   5593   IFS=$as_save_IFS
   5594   test -z "$as_dir" && as_dir=.
   5595     for ac_prog in fgrep; do
   5596     for ac_exec_ext in '' $ac_executable_extensions; do
   5597       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5598       as_fn_executable_p "$ac_path_FGREP" || continue
   5599 # Check for GNU ac_path_FGREP and select it if it is found.
   5600   # Check for GNU $ac_path_FGREP
   5601 case `"$ac_path_FGREP" --version 2>&1` in
   5602 *GNU*)
   5603   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5604 *)
   5605   ac_count=0
   5606   $as_echo_n 0123456789 >"conftest.in"
   5607   while :
   5608   do
   5609     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5610     mv "conftest.tmp" "conftest.in"
   5611     cp "conftest.in" "conftest.nl"
   5612     $as_echo 'FGREP' >> "conftest.nl"
   5613     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5614     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5615     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5616     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5617       # Best one so far, save it but keep looking for a better one
   5618       ac_cv_path_FGREP="$ac_path_FGREP"
   5619       ac_path_FGREP_max=$ac_count
   5620     fi
   5621     # 10*(2^10) chars as input seems more than enough
   5622     test $ac_count -gt 10 && break
   5623   done
   5624   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5625 esac
   5626 
   5627       $ac_path_FGREP_found && break 3
   5628     done
   5629   done
   5630   done
   5631 IFS=$as_save_IFS
   5632   if test -z "$ac_cv_path_FGREP"; then
   5633     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5634   fi
   5635 else
   5636   ac_cv_path_FGREP=$FGREP
   5637 fi
   5638 
   5639    fi
   5640 fi
   5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5642 $as_echo "$ac_cv_path_FGREP" >&6; }
   5643  FGREP="$ac_cv_path_FGREP"
   5644 
   5645 
   5646 test -z "$GREP" && GREP=grep
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 # Check whether --with-gnu-ld was given.
   5667 if test "${with_gnu_ld+set}" = set; then :
   5668   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5669 else
   5670   with_gnu_ld=no
   5671 fi
   5672 
   5673 ac_prog=ld
   5674 if test "$GCC" = yes; then
   5675   # Check if gcc -print-prog-name=ld gives a path.
   5676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5677 $as_echo_n "checking for ld used by $CC... " >&6; }
   5678   case $host in
   5679   *-*-mingw*)
   5680     # gcc leaves a trailing carriage return which upsets mingw
   5681     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5682   *)
   5683     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5684   esac
   5685   case $ac_prog in
   5686     # Accept absolute paths.
   5687     [\\/]* | ?:[\\/]*)
   5688       re_direlt='/[^/][^/]*/\.\./'
   5689       # Canonicalize the pathname of ld
   5690       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5691       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5692 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5693       done
   5694       test -z "$LD" && LD="$ac_prog"
   5695       ;;
   5696   "")
   5697     # If it fails, then pretend we aren't using GCC.
   5698     ac_prog=ld
   5699     ;;
   5700   *)
   5701     # If it is relative, then search for the first ld in PATH.
   5702     with_gnu_ld=unknown
   5703     ;;
   5704   esac
   5705 elif test "$with_gnu_ld" = yes; then
   5706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5707 $as_echo_n "checking for GNU ld... " >&6; }
   5708 else
   5709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5710 $as_echo_n "checking for non-GNU ld... " >&6; }
   5711 fi
   5712 if ${lt_cv_path_LD+:} false; then :
   5713   $as_echo_n "(cached) " >&6
   5714 else
   5715   if test -z "$LD"; then
   5716   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5717   for ac_dir in $PATH; do
   5718     IFS="$lt_save_ifs"
   5719     test -z "$ac_dir" && ac_dir=.
   5720     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5721       lt_cv_path_LD="$ac_dir/$ac_prog"
   5722       # Check to see if the program is GNU ld.  I'd rather use --version,
   5723       # but apparently some variants of GNU ld only accept -v.
   5724       # Break only if it was the GNU/non-GNU ld that we prefer.
   5725       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5726       *GNU* | *'with BFD'*)
   5727 	test "$with_gnu_ld" != no && break
   5728 	;;
   5729       *)
   5730 	test "$with_gnu_ld" != yes && break
   5731 	;;
   5732       esac
   5733     fi
   5734   done
   5735   IFS="$lt_save_ifs"
   5736 else
   5737   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5738 fi
   5739 fi
   5740 
   5741 LD="$lt_cv_path_LD"
   5742 if test -n "$LD"; then
   5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5744 $as_echo "$LD" >&6; }
   5745 else
   5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5747 $as_echo "no" >&6; }
   5748 fi
   5749 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5751 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5752 if ${lt_cv_prog_gnu_ld+:} false; then :
   5753   $as_echo_n "(cached) " >&6
   5754 else
   5755   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5756 case `$LD -v 2>&1 </dev/null` in
   5757 *GNU* | *'with BFD'*)
   5758   lt_cv_prog_gnu_ld=yes
   5759   ;;
   5760 *)
   5761   lt_cv_prog_gnu_ld=no
   5762   ;;
   5763 esac
   5764 fi
   5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5766 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5767 with_gnu_ld=$lt_cv_prog_gnu_ld
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5778 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5779 if ${lt_cv_path_NM+:} false; then :
   5780   $as_echo_n "(cached) " >&6
   5781 else
   5782   if test -n "$NM"; then
   5783   # Let the user override the test.
   5784   lt_cv_path_NM="$NM"
   5785 else
   5786   lt_nm_to_check="${ac_tool_prefix}nm"
   5787   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5788     lt_nm_to_check="$lt_nm_to_check nm"
   5789   fi
   5790   for lt_tmp_nm in $lt_nm_to_check; do
   5791     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5792     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5793       IFS="$lt_save_ifs"
   5794       test -z "$ac_dir" && ac_dir=.
   5795       tmp_nm="$ac_dir/$lt_tmp_nm"
   5796       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5797 	# Check to see if the nm accepts a BSD-compat flag.
   5798 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5799 	#   nm: unknown option "B" ignored
   5800 	# Tru64's nm complains that /dev/null is an invalid object file
   5801 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5802 	*/dev/null* | *'Invalid file or object type'*)
   5803 	  lt_cv_path_NM="$tmp_nm -B"
   5804 	  break
   5805 	  ;;
   5806 	*)
   5807 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5808 	  */dev/null*)
   5809 	    lt_cv_path_NM="$tmp_nm -p"
   5810 	    break
   5811 	    ;;
   5812 	  *)
   5813 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5814 	    continue # so that we can try to find one that supports BSD flags
   5815 	    ;;
   5816 	  esac
   5817 	  ;;
   5818 	esac
   5819       fi
   5820     done
   5821     IFS="$lt_save_ifs"
   5822   done
   5823   : ${lt_cv_path_NM=no}
   5824 fi
   5825 fi
   5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5827 $as_echo "$lt_cv_path_NM" >&6; }
   5828 if test "$lt_cv_path_NM" != "no"; then
   5829   NM="$lt_cv_path_NM"
   5830 else
   5831   # Didn't find any BSD compatible name lister, look for dumpbin.
   5832   if test -n "$DUMPBIN"; then :
   5833     # Let the user override the test.
   5834   else
   5835     if test -n "$ac_tool_prefix"; then
   5836   for ac_prog in dumpbin "link -dump"
   5837   do
   5838     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5839 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5841 $as_echo_n "checking for $ac_word... " >&6; }
   5842 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5843   $as_echo_n "(cached) " >&6
   5844 else
   5845   if test -n "$DUMPBIN"; then
   5846   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5847 else
   5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5849 for as_dir in $PATH
   5850 do
   5851   IFS=$as_save_IFS
   5852   test -z "$as_dir" && as_dir=.
   5853     for ac_exec_ext in '' $ac_executable_extensions; do
   5854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5855     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5857     break 2
   5858   fi
   5859 done
   5860   done
   5861 IFS=$as_save_IFS
   5862 
   5863 fi
   5864 fi
   5865 DUMPBIN=$ac_cv_prog_DUMPBIN
   5866 if test -n "$DUMPBIN"; then
   5867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5868 $as_echo "$DUMPBIN" >&6; }
   5869 else
   5870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5871 $as_echo "no" >&6; }
   5872 fi
   5873 
   5874 
   5875     test -n "$DUMPBIN" && break
   5876   done
   5877 fi
   5878 if test -z "$DUMPBIN"; then
   5879   ac_ct_DUMPBIN=$DUMPBIN
   5880   for ac_prog in dumpbin "link -dump"
   5881 do
   5882   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5883 set dummy $ac_prog; ac_word=$2
   5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5885 $as_echo_n "checking for $ac_word... " >&6; }
   5886 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5887   $as_echo_n "(cached) " >&6
   5888 else
   5889   if test -n "$ac_ct_DUMPBIN"; then
   5890   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5891 else
   5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5893 for as_dir in $PATH
   5894 do
   5895   IFS=$as_save_IFS
   5896   test -z "$as_dir" && as_dir=.
   5897     for ac_exec_ext in '' $ac_executable_extensions; do
   5898   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5899     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5901     break 2
   5902   fi
   5903 done
   5904   done
   5905 IFS=$as_save_IFS
   5906 
   5907 fi
   5908 fi
   5909 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5910 if test -n "$ac_ct_DUMPBIN"; then
   5911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5912 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5913 else
   5914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5915 $as_echo "no" >&6; }
   5916 fi
   5917 
   5918 
   5919   test -n "$ac_ct_DUMPBIN" && break
   5920 done
   5921 
   5922   if test "x$ac_ct_DUMPBIN" = x; then
   5923     DUMPBIN=":"
   5924   else
   5925     case $cross_compiling:$ac_tool_warned in
   5926 yes:)
   5927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5929 ac_tool_warned=yes ;;
   5930 esac
   5931     DUMPBIN=$ac_ct_DUMPBIN
   5932   fi
   5933 fi
   5934 
   5935     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5936     *COFF*)
   5937       DUMPBIN="$DUMPBIN -symbols"
   5938       ;;
   5939     *)
   5940       DUMPBIN=:
   5941       ;;
   5942     esac
   5943   fi
   5944 
   5945   if test "$DUMPBIN" != ":"; then
   5946     NM="$DUMPBIN"
   5947   fi
   5948 fi
   5949 test -z "$NM" && NM=nm
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5957 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5958 if ${lt_cv_nm_interface+:} false; then :
   5959   $as_echo_n "(cached) " >&6
   5960 else
   5961   lt_cv_nm_interface="BSD nm"
   5962   echo "int some_variable = 0;" > conftest.$ac_ext
   5963   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5964   (eval "$ac_compile" 2>conftest.err)
   5965   cat conftest.err >&5
   5966   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5967   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5968   cat conftest.err >&5
   5969   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5970   cat conftest.out >&5
   5971   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5972     lt_cv_nm_interface="MS dumpbin"
   5973   fi
   5974   rm -f conftest*
   5975 fi
   5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5977 $as_echo "$lt_cv_nm_interface" >&6; }
   5978 
   5979 # find the maximum length of command line arguments
   5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5981 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5982 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5983   $as_echo_n "(cached) " >&6
   5984 else
   5985     i=0
   5986   teststring="ABCD"
   5987 
   5988   case $build_os in
   5989   msdosdjgpp*)
   5990     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5991     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5992     # during glob expansion).  Even if it were fixed, the result of this
   5993     # check would be larger than it should be.
   5994     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5995     ;;
   5996 
   5997   gnu*)
   5998     # Under GNU Hurd, this test is not required because there is
   5999     # no limit to the length of command line arguments.
   6000     # Libtool will interpret -1 as no limit whatsoever
   6001     lt_cv_sys_max_cmd_len=-1;
   6002     ;;
   6003 
   6004   cygwin* | mingw* | cegcc*)
   6005     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6006     # about 5 minutes as the teststring grows exponentially.
   6007     # Worse, since 9x/ME are not pre-emptively multitasking,
   6008     # you end up with a "frozen" computer, even though with patience
   6009     # the test eventually succeeds (with a max line length of 256k).
   6010     # Instead, let's just punt: use the minimum linelength reported by
   6011     # all of the supported platforms: 8192 (on NT/2K/XP).
   6012     lt_cv_sys_max_cmd_len=8192;
   6013     ;;
   6014 
   6015   mint*)
   6016     # On MiNT this can take a long time and run out of memory.
   6017     lt_cv_sys_max_cmd_len=8192;
   6018     ;;
   6019 
   6020   amigaos*)
   6021     # On AmigaOS with pdksh, this test takes hours, literally.
   6022     # So we just punt and use a minimum line length of 8192.
   6023     lt_cv_sys_max_cmd_len=8192;
   6024     ;;
   6025 
   6026   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6027     # This has been around since 386BSD, at least.  Likely further.
   6028     if test -x /sbin/sysctl; then
   6029       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6030     elif test -x /usr/sbin/sysctl; then
   6031       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6032     else
   6033       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6034     fi
   6035     # And add a safety zone
   6036     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6037     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6038     ;;
   6039 
   6040   interix*)
   6041     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6042     lt_cv_sys_max_cmd_len=196608
   6043     ;;
   6044 
   6045   os2*)
   6046     # The test takes a long time on OS/2.
   6047     lt_cv_sys_max_cmd_len=8192
   6048     ;;
   6049 
   6050   osf*)
   6051     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6052     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6053     # nice to cause kernel panics so lets avoid the loop below.
   6054     # First set a reasonable default.
   6055     lt_cv_sys_max_cmd_len=16384
   6056     #
   6057     if test -x /sbin/sysconfig; then
   6058       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6059         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6060       esac
   6061     fi
   6062     ;;
   6063   sco3.2v5*)
   6064     lt_cv_sys_max_cmd_len=102400
   6065     ;;
   6066   sysv5* | sco5v6* | sysv4.2uw2*)
   6067     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6068     if test -n "$kargmax"; then
   6069       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6070     else
   6071       lt_cv_sys_max_cmd_len=32768
   6072     fi
   6073     ;;
   6074   *)
   6075     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6076     if test -n "$lt_cv_sys_max_cmd_len"; then
   6077       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6078       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6079     else
   6080       # Make teststring a little bigger before we do anything with it.
   6081       # a 1K string should be a reasonable start.
   6082       for i in 1 2 3 4 5 6 7 8 ; do
   6083         teststring=$teststring$teststring
   6084       done
   6085       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6086       # If test is not a shell built-in, we'll probably end up computing a
   6087       # maximum length that is only half of the actual maximum length, but
   6088       # we can't tell.
   6089       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   6090 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6091 	      test $i != 17 # 1/2 MB should be enough
   6092       do
   6093         i=`expr $i + 1`
   6094         teststring=$teststring$teststring
   6095       done
   6096       # Only check the string length outside the loop.
   6097       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6098       teststring=
   6099       # Add a significant safety factor because C++ compilers can tack on
   6100       # massive amounts of additional arguments before passing them to the
   6101       # linker.  It appears as though 1/2 is a usable value.
   6102       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6103     fi
   6104     ;;
   6105   esac
   6106 
   6107 fi
   6108 
   6109 if test -n $lt_cv_sys_max_cmd_len ; then
   6110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6111 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6112 else
   6113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6114 $as_echo "none" >&6; }
   6115 fi
   6116 max_cmd_len=$lt_cv_sys_max_cmd_len
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 : ${CP="cp -f"}
   6124 : ${MV="mv -f"}
   6125 : ${RM="rm -f"}
   6126 
   6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6128 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6129 # Try some XSI features
   6130 xsi_shell=no
   6131 ( _lt_dummy="a/b/c"
   6132   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   6133       = c,a/b,b/c, \
   6134     && eval 'test $(( 1 + 1 )) -eq 2 \
   6135     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6136   && xsi_shell=yes
   6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6138 $as_echo "$xsi_shell" >&6; }
   6139 
   6140 
   6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6142 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6143 lt_shell_append=no
   6144 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6145     >/dev/null 2>&1 \
   6146   && lt_shell_append=yes
   6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6148 $as_echo "$lt_shell_append" >&6; }
   6149 
   6150 
   6151 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6152   lt_unset=unset
   6153 else
   6154   lt_unset=false
   6155 fi
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 # test EBCDIC or ASCII
   6162 case `echo X|tr X '\101'` in
   6163  A) # ASCII based system
   6164     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6165   lt_SP2NL='tr \040 \012'
   6166   lt_NL2SP='tr \015\012 \040\040'
   6167   ;;
   6168  *) # EBCDIC based system
   6169   lt_SP2NL='tr \100 \n'
   6170   lt_NL2SP='tr \r\n \100\100'
   6171   ;;
   6172 esac
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6183 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   6184 if ${lt_cv_to_host_file_cmd+:} false; then :
   6185   $as_echo_n "(cached) " >&6
   6186 else
   6187   case $host in
   6188   *-*-mingw* )
   6189     case $build in
   6190       *-*-mingw* ) # actually msys
   6191         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6192         ;;
   6193       *-*-cygwin* )
   6194         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6195         ;;
   6196       * ) # otherwise, assume *nix
   6197         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6198         ;;
   6199     esac
   6200     ;;
   6201   *-*-cygwin* )
   6202     case $build in
   6203       *-*-mingw* ) # actually msys
   6204         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6205         ;;
   6206       *-*-cygwin* )
   6207         lt_cv_to_host_file_cmd=func_convert_file_noop
   6208         ;;
   6209       * ) # otherwise, assume *nix
   6210         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6211         ;;
   6212     esac
   6213     ;;
   6214   * ) # unhandled hosts (and "normal" native builds)
   6215     lt_cv_to_host_file_cmd=func_convert_file_noop
   6216     ;;
   6217 esac
   6218 
   6219 fi
   6220 
   6221 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6223 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6230 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   6231 if ${lt_cv_to_tool_file_cmd+:} false; then :
   6232   $as_echo_n "(cached) " >&6
   6233 else
   6234   #assume ordinary cross tools, or native build.
   6235 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6236 case $host in
   6237   *-*-mingw* )
   6238     case $build in
   6239       *-*-mingw* ) # actually msys
   6240         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6241         ;;
   6242     esac
   6243     ;;
   6244 esac
   6245 
   6246 fi
   6247 
   6248 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6250 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6257 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6258 if ${lt_cv_ld_reload_flag+:} false; then :
   6259   $as_echo_n "(cached) " >&6
   6260 else
   6261   lt_cv_ld_reload_flag='-r'
   6262 fi
   6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6264 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6265 reload_flag=$lt_cv_ld_reload_flag
   6266 case $reload_flag in
   6267 "" | " "*) ;;
   6268 *) reload_flag=" $reload_flag" ;;
   6269 esac
   6270 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6271 case $host_os in
   6272   cygwin* | mingw* | pw32* | cegcc*)
   6273     if test "$GCC" != yes; then
   6274       reload_cmds=false
   6275     fi
   6276     ;;
   6277   darwin*)
   6278     if test "$GCC" = yes; then
   6279       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6280     else
   6281       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6282     fi
   6283     ;;
   6284 esac
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 if test -n "$ac_tool_prefix"; then
   6295   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6296 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6298 $as_echo_n "checking for $ac_word... " >&6; }
   6299 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6300   $as_echo_n "(cached) " >&6
   6301 else
   6302   if test -n "$OBJDUMP"; then
   6303   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6304 else
   6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6306 for as_dir in $PATH
   6307 do
   6308   IFS=$as_save_IFS
   6309   test -z "$as_dir" && as_dir=.
   6310     for ac_exec_ext in '' $ac_executable_extensions; do
   6311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6312     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6314     break 2
   6315   fi
   6316 done
   6317   done
   6318 IFS=$as_save_IFS
   6319 
   6320 fi
   6321 fi
   6322 OBJDUMP=$ac_cv_prog_OBJDUMP
   6323 if test -n "$OBJDUMP"; then
   6324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6325 $as_echo "$OBJDUMP" >&6; }
   6326 else
   6327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6328 $as_echo "no" >&6; }
   6329 fi
   6330 
   6331 
   6332 fi
   6333 if test -z "$ac_cv_prog_OBJDUMP"; then
   6334   ac_ct_OBJDUMP=$OBJDUMP
   6335   # Extract the first word of "objdump", so it can be a program name with args.
   6336 set dummy objdump; ac_word=$2
   6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6338 $as_echo_n "checking for $ac_word... " >&6; }
   6339 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6340   $as_echo_n "(cached) " >&6
   6341 else
   6342   if test -n "$ac_ct_OBJDUMP"; then
   6343   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6344 else
   6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6346 for as_dir in $PATH
   6347 do
   6348   IFS=$as_save_IFS
   6349   test -z "$as_dir" && as_dir=.
   6350     for ac_exec_ext in '' $ac_executable_extensions; do
   6351   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6352     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6354     break 2
   6355   fi
   6356 done
   6357   done
   6358 IFS=$as_save_IFS
   6359 
   6360 fi
   6361 fi
   6362 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6363 if test -n "$ac_ct_OBJDUMP"; then
   6364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6365 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6366 else
   6367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6368 $as_echo "no" >&6; }
   6369 fi
   6370 
   6371   if test "x$ac_ct_OBJDUMP" = x; then
   6372     OBJDUMP="false"
   6373   else
   6374     case $cross_compiling:$ac_tool_warned in
   6375 yes:)
   6376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6378 ac_tool_warned=yes ;;
   6379 esac
   6380     OBJDUMP=$ac_ct_OBJDUMP
   6381   fi
   6382 else
   6383   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6384 fi
   6385 
   6386 test -z "$OBJDUMP" && OBJDUMP=objdump
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6397 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6398 if ${lt_cv_deplibs_check_method+:} false; then :
   6399   $as_echo_n "(cached) " >&6
   6400 else
   6401   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6402 lt_cv_file_magic_test_file=
   6403 lt_cv_deplibs_check_method='unknown'
   6404 # Need to set the preceding variable on all platforms that support
   6405 # interlibrary dependencies.
   6406 # 'none' -- dependencies not supported.
   6407 # `unknown' -- same as none, but documents that we really don't know.
   6408 # 'pass_all' -- all dependencies passed with no checks.
   6409 # 'test_compile' -- check by making test program.
   6410 # 'file_magic [[regex]]' -- check by looking for files in library path
   6411 # which responds to the $file_magic_cmd with a given extended regex.
   6412 # If you have `file' or equivalent on your system and you're not sure
   6413 # whether `pass_all' will *always* work, you probably want this one.
   6414 
   6415 case $host_os in
   6416 aix[4-9]*)
   6417   lt_cv_deplibs_check_method=pass_all
   6418   ;;
   6419 
   6420 beos*)
   6421   lt_cv_deplibs_check_method=pass_all
   6422   ;;
   6423 
   6424 bsdi[45]*)
   6425   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6426   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6427   lt_cv_file_magic_test_file=/shlib/libc.so
   6428   ;;
   6429 
   6430 cygwin*)
   6431   # func_win32_libid is a shell function defined in ltmain.sh
   6432   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6433   lt_cv_file_magic_cmd='func_win32_libid'
   6434   ;;
   6435 
   6436 mingw* | pw32*)
   6437   # Base MSYS/MinGW do not provide the 'file' command needed by
   6438   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6439   # unless we find 'file', for example because we are cross-compiling.
   6440   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6441   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6442     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6443     lt_cv_file_magic_cmd='func_win32_libid'
   6444   else
   6445     # Keep this pattern in sync with the one in func_win32_libid.
   6446     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6447     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6448   fi
   6449   ;;
   6450 
   6451 cegcc*)
   6452   # use the weaker test based on 'objdump'. See mingw*.
   6453   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6454   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6455   ;;
   6456 
   6457 darwin* | rhapsody*)
   6458   lt_cv_deplibs_check_method=pass_all
   6459   ;;
   6460 
   6461 freebsd* | dragonfly*)
   6462   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6463     case $host_cpu in
   6464     i*86 )
   6465       # Not sure whether the presence of OpenBSD here was a mistake.
   6466       # Let's accept both of them until this is cleared up.
   6467       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6468       lt_cv_file_magic_cmd=/usr/bin/file
   6469       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6470       ;;
   6471     esac
   6472   else
   6473     lt_cv_deplibs_check_method=pass_all
   6474   fi
   6475   ;;
   6476 
   6477 gnu*)
   6478   lt_cv_deplibs_check_method=pass_all
   6479   ;;
   6480 
   6481 haiku*)
   6482   lt_cv_deplibs_check_method=pass_all
   6483   ;;
   6484 
   6485 hpux10.20* | hpux11*)
   6486   lt_cv_file_magic_cmd=/usr/bin/file
   6487   case $host_cpu in
   6488   ia64*)
   6489     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6490     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6491     ;;
   6492   hppa*64*)
   6493     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   6494     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6495     ;;
   6496   *)
   6497     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6498     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6499     ;;
   6500   esac
   6501   ;;
   6502 
   6503 interix[3-9]*)
   6504   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6505   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6506   ;;
   6507 
   6508 irix5* | irix6* | nonstopux*)
   6509   case $LD in
   6510   *-32|*"-32 ") libmagic=32-bit;;
   6511   *-n32|*"-n32 ") libmagic=N32;;
   6512   *-64|*"-64 ") libmagic=64-bit;;
   6513   *) libmagic=never-match;;
   6514   esac
   6515   lt_cv_deplibs_check_method=pass_all
   6516   ;;
   6517 
   6518 # This must be glibc/ELF.
   6519 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6520   lt_cv_deplibs_check_method=pass_all
   6521   ;;
   6522 
   6523 netbsd*)
   6524   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6525     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6526   else
   6527     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6528   fi
   6529   ;;
   6530 
   6531 newos6*)
   6532   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6533   lt_cv_file_magic_cmd=/usr/bin/file
   6534   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6535   ;;
   6536 
   6537 *nto* | *qnx*)
   6538   lt_cv_deplibs_check_method=pass_all
   6539   ;;
   6540 
   6541 openbsd*)
   6542   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6543     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6544   else
   6545     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6546   fi
   6547   ;;
   6548 
   6549 osf3* | osf4* | osf5*)
   6550   lt_cv_deplibs_check_method=pass_all
   6551   ;;
   6552 
   6553 rdos*)
   6554   lt_cv_deplibs_check_method=pass_all
   6555   ;;
   6556 
   6557 solaris*)
   6558   lt_cv_deplibs_check_method=pass_all
   6559   ;;
   6560 
   6561 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6562   lt_cv_deplibs_check_method=pass_all
   6563   ;;
   6564 
   6565 sysv4 | sysv4.3*)
   6566   case $host_vendor in
   6567   motorola)
   6568     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]'
   6569     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6570     ;;
   6571   ncr)
   6572     lt_cv_deplibs_check_method=pass_all
   6573     ;;
   6574   sequent)
   6575     lt_cv_file_magic_cmd='/bin/file'
   6576     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6577     ;;
   6578   sni)
   6579     lt_cv_file_magic_cmd='/bin/file'
   6580     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6581     lt_cv_file_magic_test_file=/lib/libc.so
   6582     ;;
   6583   siemens)
   6584     lt_cv_deplibs_check_method=pass_all
   6585     ;;
   6586   pc)
   6587     lt_cv_deplibs_check_method=pass_all
   6588     ;;
   6589   esac
   6590   ;;
   6591 
   6592 tpf*)
   6593   lt_cv_deplibs_check_method=pass_all
   6594   ;;
   6595 esac
   6596 
   6597 fi
   6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6599 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6600 
   6601 file_magic_glob=
   6602 want_nocaseglob=no
   6603 if test "$build" = "$host"; then
   6604   case $host_os in
   6605   mingw* | pw32*)
   6606     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6607       want_nocaseglob=yes
   6608     else
   6609       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6610     fi
   6611     ;;
   6612   esac
   6613 fi
   6614 
   6615 file_magic_cmd=$lt_cv_file_magic_cmd
   6616 deplibs_check_method=$lt_cv_deplibs_check_method
   6617 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 if test -n "$ac_tool_prefix"; then
   6641   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6642 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6644 $as_echo_n "checking for $ac_word... " >&6; }
   6645 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6646   $as_echo_n "(cached) " >&6
   6647 else
   6648   if test -n "$DLLTOOL"; then
   6649   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6650 else
   6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6652 for as_dir in $PATH
   6653 do
   6654   IFS=$as_save_IFS
   6655   test -z "$as_dir" && as_dir=.
   6656     for ac_exec_ext in '' $ac_executable_extensions; do
   6657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6658     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6660     break 2
   6661   fi
   6662 done
   6663   done
   6664 IFS=$as_save_IFS
   6665 
   6666 fi
   6667 fi
   6668 DLLTOOL=$ac_cv_prog_DLLTOOL
   6669 if test -n "$DLLTOOL"; then
   6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6671 $as_echo "$DLLTOOL" >&6; }
   6672 else
   6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6674 $as_echo "no" >&6; }
   6675 fi
   6676 
   6677 
   6678 fi
   6679 if test -z "$ac_cv_prog_DLLTOOL"; then
   6680   ac_ct_DLLTOOL=$DLLTOOL
   6681   # Extract the first word of "dlltool", so it can be a program name with args.
   6682 set dummy dlltool; ac_word=$2
   6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6684 $as_echo_n "checking for $ac_word... " >&6; }
   6685 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6686   $as_echo_n "(cached) " >&6
   6687 else
   6688   if test -n "$ac_ct_DLLTOOL"; then
   6689   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6690 else
   6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6692 for as_dir in $PATH
   6693 do
   6694   IFS=$as_save_IFS
   6695   test -z "$as_dir" && as_dir=.
   6696     for ac_exec_ext in '' $ac_executable_extensions; do
   6697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6698     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6700     break 2
   6701   fi
   6702 done
   6703   done
   6704 IFS=$as_save_IFS
   6705 
   6706 fi
   6707 fi
   6708 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6709 if test -n "$ac_ct_DLLTOOL"; then
   6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6711 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6712 else
   6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6714 $as_echo "no" >&6; }
   6715 fi
   6716 
   6717   if test "x$ac_ct_DLLTOOL" = x; then
   6718     DLLTOOL="false"
   6719   else
   6720     case $cross_compiling:$ac_tool_warned in
   6721 yes:)
   6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6724 ac_tool_warned=yes ;;
   6725 esac
   6726     DLLTOOL=$ac_ct_DLLTOOL
   6727   fi
   6728 else
   6729   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6730 fi
   6731 
   6732 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6744 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6745 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6746   $as_echo_n "(cached) " >&6
   6747 else
   6748   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6749 
   6750 case $host_os in
   6751 cygwin* | mingw* | pw32* | cegcc*)
   6752   # two different shell functions defined in ltmain.sh
   6753   # decide which to use based on capabilities of $DLLTOOL
   6754   case `$DLLTOOL --help 2>&1` in
   6755   *--identify-strict*)
   6756     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6757     ;;
   6758   *)
   6759     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6760     ;;
   6761   esac
   6762   ;;
   6763 *)
   6764   # fallback: assume linklib IS sharedlib
   6765   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6766   ;;
   6767 esac
   6768 
   6769 fi
   6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6771 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6772 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6773 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 if test -n "$ac_tool_prefix"; then
   6782   for ac_prog in ar
   6783   do
   6784     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6785 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6787 $as_echo_n "checking for $ac_word... " >&6; }
   6788 if ${ac_cv_prog_AR+:} false; then :
   6789   $as_echo_n "(cached) " >&6
   6790 else
   6791   if test -n "$AR"; then
   6792   ac_cv_prog_AR="$AR" # Let the user override the test.
   6793 else
   6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6795 for as_dir in $PATH
   6796 do
   6797   IFS=$as_save_IFS
   6798   test -z "$as_dir" && as_dir=.
   6799     for ac_exec_ext in '' $ac_executable_extensions; do
   6800   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6801     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6803     break 2
   6804   fi
   6805 done
   6806   done
   6807 IFS=$as_save_IFS
   6808 
   6809 fi
   6810 fi
   6811 AR=$ac_cv_prog_AR
   6812 if test -n "$AR"; then
   6813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6814 $as_echo "$AR" >&6; }
   6815 else
   6816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6817 $as_echo "no" >&6; }
   6818 fi
   6819 
   6820 
   6821     test -n "$AR" && break
   6822   done
   6823 fi
   6824 if test -z "$AR"; then
   6825   ac_ct_AR=$AR
   6826   for ac_prog in ar
   6827 do
   6828   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6829 set dummy $ac_prog; ac_word=$2
   6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6831 $as_echo_n "checking for $ac_word... " >&6; }
   6832 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6833   $as_echo_n "(cached) " >&6
   6834 else
   6835   if test -n "$ac_ct_AR"; then
   6836   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6837 else
   6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6839 for as_dir in $PATH
   6840 do
   6841   IFS=$as_save_IFS
   6842   test -z "$as_dir" && as_dir=.
   6843     for ac_exec_ext in '' $ac_executable_extensions; do
   6844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6845     ac_cv_prog_ac_ct_AR="$ac_prog"
   6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6847     break 2
   6848   fi
   6849 done
   6850   done
   6851 IFS=$as_save_IFS
   6852 
   6853 fi
   6854 fi
   6855 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6856 if test -n "$ac_ct_AR"; then
   6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6858 $as_echo "$ac_ct_AR" >&6; }
   6859 else
   6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6861 $as_echo "no" >&6; }
   6862 fi
   6863 
   6864 
   6865   test -n "$ac_ct_AR" && break
   6866 done
   6867 
   6868   if test "x$ac_ct_AR" = x; then
   6869     AR="false"
   6870   else
   6871     case $cross_compiling:$ac_tool_warned in
   6872 yes:)
   6873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6875 ac_tool_warned=yes ;;
   6876 esac
   6877     AR=$ac_ct_AR
   6878   fi
   6879 fi
   6880 
   6881 : ${AR=ar}
   6882 : ${AR_FLAGS=cru}
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6895 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6896 if ${lt_cv_ar_at_file+:} false; then :
   6897   $as_echo_n "(cached) " >&6
   6898 else
   6899   lt_cv_ar_at_file=no
   6900    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6901 /* end confdefs.h.  */
   6902 
   6903 int
   6904 main ()
   6905 {
   6906 
   6907   ;
   6908   return 0;
   6909 }
   6910 _ACEOF
   6911 if ac_fn_c_try_compile "$LINENO"; then :
   6912   echo conftest.$ac_objext > conftest.lst
   6913       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6914       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6915   (eval $lt_ar_try) 2>&5
   6916   ac_status=$?
   6917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6918   test $ac_status = 0; }
   6919       if test "$ac_status" -eq 0; then
   6920 	# Ensure the archiver fails upon bogus file names.
   6921 	rm -f conftest.$ac_objext libconftest.a
   6922 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6923   (eval $lt_ar_try) 2>&5
   6924   ac_status=$?
   6925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6926   test $ac_status = 0; }
   6927 	if test "$ac_status" -ne 0; then
   6928           lt_cv_ar_at_file=@
   6929         fi
   6930       fi
   6931       rm -f conftest.* libconftest.a
   6932 
   6933 fi
   6934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6935 
   6936 fi
   6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6938 $as_echo "$lt_cv_ar_at_file" >&6; }
   6939 
   6940 if test "x$lt_cv_ar_at_file" = xno; then
   6941   archiver_list_spec=
   6942 else
   6943   archiver_list_spec=$lt_cv_ar_at_file
   6944 fi
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 if test -n "$ac_tool_prefix"; then
   6953   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6954 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6956 $as_echo_n "checking for $ac_word... " >&6; }
   6957 if ${ac_cv_prog_STRIP+:} false; then :
   6958   $as_echo_n "(cached) " >&6
   6959 else
   6960   if test -n "$STRIP"; then
   6961   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6962 else
   6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6964 for as_dir in $PATH
   6965 do
   6966   IFS=$as_save_IFS
   6967   test -z "$as_dir" && as_dir=.
   6968     for ac_exec_ext in '' $ac_executable_extensions; do
   6969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6970     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6972     break 2
   6973   fi
   6974 done
   6975   done
   6976 IFS=$as_save_IFS
   6977 
   6978 fi
   6979 fi
   6980 STRIP=$ac_cv_prog_STRIP
   6981 if test -n "$STRIP"; then
   6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6983 $as_echo "$STRIP" >&6; }
   6984 else
   6985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6986 $as_echo "no" >&6; }
   6987 fi
   6988 
   6989 
   6990 fi
   6991 if test -z "$ac_cv_prog_STRIP"; then
   6992   ac_ct_STRIP=$STRIP
   6993   # Extract the first word of "strip", so it can be a program name with args.
   6994 set dummy strip; ac_word=$2
   6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6996 $as_echo_n "checking for $ac_word... " >&6; }
   6997 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6998   $as_echo_n "(cached) " >&6
   6999 else
   7000   if test -n "$ac_ct_STRIP"; then
   7001   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7002 else
   7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7004 for as_dir in $PATH
   7005 do
   7006   IFS=$as_save_IFS
   7007   test -z "$as_dir" && as_dir=.
   7008     for ac_exec_ext in '' $ac_executable_extensions; do
   7009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7010     ac_cv_prog_ac_ct_STRIP="strip"
   7011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7012     break 2
   7013   fi
   7014 done
   7015   done
   7016 IFS=$as_save_IFS
   7017 
   7018 fi
   7019 fi
   7020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7021 if test -n "$ac_ct_STRIP"; then
   7022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7023 $as_echo "$ac_ct_STRIP" >&6; }
   7024 else
   7025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7026 $as_echo "no" >&6; }
   7027 fi
   7028 
   7029   if test "x$ac_ct_STRIP" = x; then
   7030     STRIP=":"
   7031   else
   7032     case $cross_compiling:$ac_tool_warned in
   7033 yes:)
   7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7036 ac_tool_warned=yes ;;
   7037 esac
   7038     STRIP=$ac_ct_STRIP
   7039   fi
   7040 else
   7041   STRIP="$ac_cv_prog_STRIP"
   7042 fi
   7043 
   7044 test -z "$STRIP" && STRIP=:
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 if test -n "$ac_tool_prefix"; then
   7052   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7053 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7055 $as_echo_n "checking for $ac_word... " >&6; }
   7056 if ${ac_cv_prog_RANLIB+:} false; then :
   7057   $as_echo_n "(cached) " >&6
   7058 else
   7059   if test -n "$RANLIB"; then
   7060   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7061 else
   7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7063 for as_dir in $PATH
   7064 do
   7065   IFS=$as_save_IFS
   7066   test -z "$as_dir" && as_dir=.
   7067     for ac_exec_ext in '' $ac_executable_extensions; do
   7068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7069     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7071     break 2
   7072   fi
   7073 done
   7074   done
   7075 IFS=$as_save_IFS
   7076 
   7077 fi
   7078 fi
   7079 RANLIB=$ac_cv_prog_RANLIB
   7080 if test -n "$RANLIB"; then
   7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7082 $as_echo "$RANLIB" >&6; }
   7083 else
   7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7085 $as_echo "no" >&6; }
   7086 fi
   7087 
   7088 
   7089 fi
   7090 if test -z "$ac_cv_prog_RANLIB"; then
   7091   ac_ct_RANLIB=$RANLIB
   7092   # Extract the first word of "ranlib", so it can be a program name with args.
   7093 set dummy ranlib; ac_word=$2
   7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7095 $as_echo_n "checking for $ac_word... " >&6; }
   7096 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7097   $as_echo_n "(cached) " >&6
   7098 else
   7099   if test -n "$ac_ct_RANLIB"; then
   7100   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7101 else
   7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7103 for as_dir in $PATH
   7104 do
   7105   IFS=$as_save_IFS
   7106   test -z "$as_dir" && as_dir=.
   7107     for ac_exec_ext in '' $ac_executable_extensions; do
   7108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7109     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7111     break 2
   7112   fi
   7113 done
   7114   done
   7115 IFS=$as_save_IFS
   7116 
   7117 fi
   7118 fi
   7119 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7120 if test -n "$ac_ct_RANLIB"; then
   7121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7122 $as_echo "$ac_ct_RANLIB" >&6; }
   7123 else
   7124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7125 $as_echo "no" >&6; }
   7126 fi
   7127 
   7128   if test "x$ac_ct_RANLIB" = x; then
   7129     RANLIB=":"
   7130   else
   7131     case $cross_compiling:$ac_tool_warned in
   7132 yes:)
   7133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7135 ac_tool_warned=yes ;;
   7136 esac
   7137     RANLIB=$ac_ct_RANLIB
   7138   fi
   7139 else
   7140   RANLIB="$ac_cv_prog_RANLIB"
   7141 fi
   7142 
   7143 test -z "$RANLIB" && RANLIB=:
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 # Determine commands to create old-style static archives.
   7151 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7152 old_postinstall_cmds='chmod 644 $oldlib'
   7153 old_postuninstall_cmds=
   7154 
   7155 if test -n "$RANLIB"; then
   7156   case $host_os in
   7157   openbsd*)
   7158     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7159     ;;
   7160   *)
   7161     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7162     ;;
   7163   esac
   7164   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7165 fi
   7166 
   7167 case $host_os in
   7168   darwin*)
   7169     lock_old_archive_extraction=yes ;;
   7170   *)
   7171     lock_old_archive_extraction=no ;;
   7172 esac
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 # If no C compiler was specified, use CC.
   7213 LTCC=${LTCC-"$CC"}
   7214 
   7215 # If no C compiler flags were specified, use CFLAGS.
   7216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7217 
   7218 # Allow CC to be a program name with arguments.
   7219 compiler=$CC
   7220 
   7221 
   7222 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7224 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7225 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7226   $as_echo_n "(cached) " >&6
   7227 else
   7228 
   7229 # These are sane defaults that work on at least a few old systems.
   7230 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7231 
   7232 # Character class describing NM global symbol codes.
   7233 symcode='[BCDEGRST]'
   7234 
   7235 # Regexp to match symbols that can be accessed directly from C.
   7236 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7237 
   7238 # Define system-specific variables.
   7239 case $host_os in
   7240 aix*)
   7241   symcode='[BCDT]'
   7242   ;;
   7243 cygwin* | mingw* | pw32* | cegcc*)
   7244   symcode='[ABCDGISTW]'
   7245   ;;
   7246 hpux*)
   7247   if test "$host_cpu" = ia64; then
   7248     symcode='[ABCDEGRST]'
   7249   fi
   7250   ;;
   7251 irix* | nonstopux*)
   7252   symcode='[BCDEGRST]'
   7253   ;;
   7254 osf*)
   7255   symcode='[BCDEGQRST]'
   7256   ;;
   7257 solaris*)
   7258   symcode='[BDRT]'
   7259   ;;
   7260 sco3.2v5*)
   7261   symcode='[DT]'
   7262   ;;
   7263 sysv4.2uw2*)
   7264   symcode='[DT]'
   7265   ;;
   7266 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7267   symcode='[ABDT]'
   7268   ;;
   7269 sysv4)
   7270   symcode='[DFNSTU]'
   7271   ;;
   7272 esac
   7273 
   7274 # If we're using GNU nm, then use its standard symbol codes.
   7275 case `$NM -V 2>&1` in
   7276 *GNU* | *'with BFD'*)
   7277   symcode='[ABCDGIRSTW]' ;;
   7278 esac
   7279 
   7280 # Transform an extracted symbol line into a proper C declaration.
   7281 # Some systems (esp. on ia64) link data and code symbols differently,
   7282 # so use this general approach.
   7283 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7284 
   7285 # Transform an extracted symbol line into symbol name and symbol address
   7286 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7287 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'"
   7288 
   7289 # Handle CRLF in mingw tool chain
   7290 opt_cr=
   7291 case $build_os in
   7292 mingw*)
   7293   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7294   ;;
   7295 esac
   7296 
   7297 # Try without a prefix underscore, then with it.
   7298 for ac_symprfx in "" "_"; do
   7299 
   7300   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7301   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7302 
   7303   # Write the raw and C identifiers.
   7304   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7305     # Fake it for dumpbin and say T for any non-static function
   7306     # and D for any global variable.
   7307     # Also find C++ and __fastcall symbols from MSVC++,
   7308     # which start with @ or ?.
   7309     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7310 "     {last_section=section; section=\$ 3};"\
   7311 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7312 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7313 "     \$ 0!~/External *\|/{next};"\
   7314 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7315 "     {if(hide[section]) next};"\
   7316 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7317 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7318 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7319 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7320 "     ' prfx=^$ac_symprfx"
   7321   else
   7322     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7323   fi
   7324   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7325 
   7326   # Check to see that the pipe works correctly.
   7327   pipe_works=no
   7328 
   7329   rm -f conftest*
   7330   cat > conftest.$ac_ext <<_LT_EOF
   7331 #ifdef __cplusplus
   7332 extern "C" {
   7333 #endif
   7334 char nm_test_var;
   7335 void nm_test_func(void);
   7336 void nm_test_func(void){}
   7337 #ifdef __cplusplus
   7338 }
   7339 #endif
   7340 int main(){nm_test_var='a';nm_test_func();return(0);}
   7341 _LT_EOF
   7342 
   7343   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7344   (eval $ac_compile) 2>&5
   7345   ac_status=$?
   7346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7347   test $ac_status = 0; }; then
   7348     # Now try to grab the symbols.
   7349     nlist=conftest.nm
   7350     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7351   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7352   ac_status=$?
   7353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7354   test $ac_status = 0; } && test -s "$nlist"; then
   7355       # Try sorting and uniquifying the output.
   7356       if sort "$nlist" | uniq > "$nlist"T; then
   7357 	mv -f "$nlist"T "$nlist"
   7358       else
   7359 	rm -f "$nlist"T
   7360       fi
   7361 
   7362       # Make sure that we snagged all the symbols we need.
   7363       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7364 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7365 	  cat <<_LT_EOF > conftest.$ac_ext
   7366 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7367 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   7368 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   7369    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7370 # define LT_DLSYM_CONST
   7371 #elif defined(__osf__)
   7372 /* This system does not cope well with relocations in const data.  */
   7373 # define LT_DLSYM_CONST
   7374 #else
   7375 # define LT_DLSYM_CONST const
   7376 #endif
   7377 
   7378 #ifdef __cplusplus
   7379 extern "C" {
   7380 #endif
   7381 
   7382 _LT_EOF
   7383 	  # Now generate the symbol file.
   7384 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7385 
   7386 	  cat <<_LT_EOF >> conftest.$ac_ext
   7387 
   7388 /* The mapping between symbol names and symbols.  */
   7389 LT_DLSYM_CONST struct {
   7390   const char *name;
   7391   void       *address;
   7392 }
   7393 lt__PROGRAM__LTX_preloaded_symbols[] =
   7394 {
   7395   { "@PROGRAM@", (void *) 0 },
   7396 _LT_EOF
   7397 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7398 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7399   {0, (void *) 0}
   7400 };
   7401 
   7402 /* This works around a problem in FreeBSD linker */
   7403 #ifdef FREEBSD_WORKAROUND
   7404 static const void *lt_preloaded_setup() {
   7405   return lt__PROGRAM__LTX_preloaded_symbols;
   7406 }
   7407 #endif
   7408 
   7409 #ifdef __cplusplus
   7410 }
   7411 #endif
   7412 _LT_EOF
   7413 	  # Now try linking the two files.
   7414 	  mv conftest.$ac_objext conftstm.$ac_objext
   7415 	  lt_globsym_save_LIBS=$LIBS
   7416 	  lt_globsym_save_CFLAGS=$CFLAGS
   7417 	  LIBS="conftstm.$ac_objext"
   7418 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7419 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7420   (eval $ac_link) 2>&5
   7421   ac_status=$?
   7422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7423   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7424 	    pipe_works=yes
   7425 	  fi
   7426 	  LIBS=$lt_globsym_save_LIBS
   7427 	  CFLAGS=$lt_globsym_save_CFLAGS
   7428 	else
   7429 	  echo "cannot find nm_test_func in $nlist" >&5
   7430 	fi
   7431       else
   7432 	echo "cannot find nm_test_var in $nlist" >&5
   7433       fi
   7434     else
   7435       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7436     fi
   7437   else
   7438     echo "$progname: failed program was:" >&5
   7439     cat conftest.$ac_ext >&5
   7440   fi
   7441   rm -rf conftest* conftst*
   7442 
   7443   # Do not use the global_symbol_pipe unless it works.
   7444   if test "$pipe_works" = yes; then
   7445     break
   7446   else
   7447     lt_cv_sys_global_symbol_pipe=
   7448   fi
   7449 done
   7450 
   7451 fi
   7452 
   7453 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7454   lt_cv_sys_global_symbol_to_cdecl=
   7455 fi
   7456 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7458 $as_echo "failed" >&6; }
   7459 else
   7460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7461 $as_echo "ok" >&6; }
   7462 fi
   7463 
   7464 # Response file support.
   7465 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7466   nm_file_list_spec='@'
   7467 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7468   nm_file_list_spec='@'
   7469 fi
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7498 $as_echo_n "checking for sysroot... " >&6; }
   7499 
   7500 # Check whether --with-sysroot was given.
   7501 if test "${with_sysroot+set}" = set; then :
   7502   withval=$with_sysroot;
   7503 else
   7504   with_sysroot=no
   7505 fi
   7506 
   7507 
   7508 lt_sysroot=
   7509 case ${with_sysroot} in #(
   7510  yes)
   7511    if test "$GCC" = yes; then
   7512      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7513    fi
   7514    ;; #(
   7515  /*)
   7516    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7517    ;; #(
   7518  no|'')
   7519    ;; #(
   7520  *)
   7521    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   7522 $as_echo "${with_sysroot}" >&6; }
   7523    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7524    ;;
   7525 esac
   7526 
   7527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7528 $as_echo "${lt_sysroot:-no}" >&6; }
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 # Check whether --enable-libtool-lock was given.
   7535 if test "${enable_libtool_lock+set}" = set; then :
   7536   enableval=$enable_libtool_lock;
   7537 fi
   7538 
   7539 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7540 
   7541 # Some flags need to be propagated to the compiler or linker for good
   7542 # libtool support.
   7543 case $host in
   7544 ia64-*-hpux*)
   7545   # Find out which ABI we are using.
   7546   echo 'int i;' > conftest.$ac_ext
   7547   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7548   (eval $ac_compile) 2>&5
   7549   ac_status=$?
   7550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7551   test $ac_status = 0; }; then
   7552     case `/usr/bin/file conftest.$ac_objext` in
   7553       *ELF-32*)
   7554 	HPUX_IA64_MODE="32"
   7555 	;;
   7556       *ELF-64*)
   7557 	HPUX_IA64_MODE="64"
   7558 	;;
   7559     esac
   7560   fi
   7561   rm -rf conftest*
   7562   ;;
   7563 *-*-irix6*)
   7564   # Find out which ABI we are using.
   7565   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7566   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7567   (eval $ac_compile) 2>&5
   7568   ac_status=$?
   7569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7570   test $ac_status = 0; }; then
   7571     if test "$lt_cv_prog_gnu_ld" = yes; then
   7572       case `/usr/bin/file conftest.$ac_objext` in
   7573 	*32-bit*)
   7574 	  LD="${LD-ld} -melf32bsmip"
   7575 	  ;;
   7576 	*N32*)
   7577 	  LD="${LD-ld} -melf32bmipn32"
   7578 	  ;;
   7579 	*64-bit*)
   7580 	  LD="${LD-ld} -melf64bmip"
   7581 	;;
   7582       esac
   7583     else
   7584       case `/usr/bin/file conftest.$ac_objext` in
   7585 	*32-bit*)
   7586 	  LD="${LD-ld} -32"
   7587 	  ;;
   7588 	*N32*)
   7589 	  LD="${LD-ld} -n32"
   7590 	  ;;
   7591 	*64-bit*)
   7592 	  LD="${LD-ld} -64"
   7593 	  ;;
   7594       esac
   7595     fi
   7596   fi
   7597   rm -rf conftest*
   7598   ;;
   7599 
   7600 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7601 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7602   # Find out which ABI we are using.
   7603   echo 'int i;' > conftest.$ac_ext
   7604   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7605   (eval $ac_compile) 2>&5
   7606   ac_status=$?
   7607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7608   test $ac_status = 0; }; then
   7609     case `/usr/bin/file conftest.o` in
   7610       *32-bit*)
   7611 	case $host in
   7612 	  x86_64-*kfreebsd*-gnu)
   7613 	    LD="${LD-ld} -m elf_i386_fbsd"
   7614 	    ;;
   7615 	  x86_64-*linux*)
   7616 	    LD="${LD-ld} -m elf_i386"
   7617 	    ;;
   7618 	  ppc64-*linux*|powerpc64-*linux*)
   7619 	    LD="${LD-ld} -m elf32ppclinux"
   7620 	    ;;
   7621 	  s390x-*linux*)
   7622 	    LD="${LD-ld} -m elf_s390"
   7623 	    ;;
   7624 	  sparc64-*linux*)
   7625 	    LD="${LD-ld} -m elf32_sparc"
   7626 	    ;;
   7627 	esac
   7628 	;;
   7629       *64-bit*)
   7630 	case $host in
   7631 	  x86_64-*kfreebsd*-gnu)
   7632 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7633 	    ;;
   7634 	  x86_64-*linux*)
   7635 	    LD="${LD-ld} -m elf_x86_64"
   7636 	    ;;
   7637 	  ppc*-*linux*|powerpc*-*linux*)
   7638 	    LD="${LD-ld} -m elf64ppc"
   7639 	    ;;
   7640 	  s390*-*linux*|s390*-*tpf*)
   7641 	    LD="${LD-ld} -m elf64_s390"
   7642 	    ;;
   7643 	  sparc*-*linux*)
   7644 	    LD="${LD-ld} -m elf64_sparc"
   7645 	    ;;
   7646 	esac
   7647 	;;
   7648     esac
   7649   fi
   7650   rm -rf conftest*
   7651   ;;
   7652 
   7653 *-*-sco3.2v5*)
   7654   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7655   SAVE_CFLAGS="$CFLAGS"
   7656   CFLAGS="$CFLAGS -belf"
   7657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7658 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7659 if ${lt_cv_cc_needs_belf+:} false; then :
   7660   $as_echo_n "(cached) " >&6
   7661 else
   7662   ac_ext=c
   7663 ac_cpp='$CPP $CPPFLAGS'
   7664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7667 
   7668      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7669 /* end confdefs.h.  */
   7670 
   7671 int
   7672 main ()
   7673 {
   7674 
   7675   ;
   7676   return 0;
   7677 }
   7678 _ACEOF
   7679 if ac_fn_c_try_link "$LINENO"; then :
   7680   lt_cv_cc_needs_belf=yes
   7681 else
   7682   lt_cv_cc_needs_belf=no
   7683 fi
   7684 rm -f core conftest.err conftest.$ac_objext \
   7685     conftest$ac_exeext conftest.$ac_ext
   7686      ac_ext=c
   7687 ac_cpp='$CPP $CPPFLAGS'
   7688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7691 
   7692 fi
   7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7694 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7695   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7696     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7697     CFLAGS="$SAVE_CFLAGS"
   7698   fi
   7699   ;;
   7700 *-*solaris*)
   7701   # Find out which ABI we are using.
   7702   echo 'int i;' > conftest.$ac_ext
   7703   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7704   (eval $ac_compile) 2>&5
   7705   ac_status=$?
   7706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7707   test $ac_status = 0; }; then
   7708     case `/usr/bin/file conftest.o` in
   7709     *64-bit*)
   7710       case $lt_cv_prog_gnu_ld in
   7711       yes*)
   7712         case $host in
   7713         i?86-*-solaris*)
   7714           LD="${LD-ld} -m elf_x86_64"
   7715           ;;
   7716         sparc*-*-solaris*)
   7717           LD="${LD-ld} -m elf64_sparc"
   7718           ;;
   7719         esac
   7720         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7721         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7722           LD="${LD-ld}_sol2"
   7723         fi
   7724         ;;
   7725       *)
   7726 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7727 	  LD="${LD-ld} -64"
   7728 	fi
   7729 	;;
   7730       esac
   7731       ;;
   7732     esac
   7733   fi
   7734   rm -rf conftest*
   7735   ;;
   7736 esac
   7737 
   7738 need_locks="$enable_libtool_lock"
   7739 
   7740 if test -n "$ac_tool_prefix"; then
   7741   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7742 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7744 $as_echo_n "checking for $ac_word... " >&6; }
   7745 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7746   $as_echo_n "(cached) " >&6
   7747 else
   7748   if test -n "$MANIFEST_TOOL"; then
   7749   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7750 else
   7751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7752 for as_dir in $PATH
   7753 do
   7754   IFS=$as_save_IFS
   7755   test -z "$as_dir" && as_dir=.
   7756     for ac_exec_ext in '' $ac_executable_extensions; do
   7757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7758     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7760     break 2
   7761   fi
   7762 done
   7763   done
   7764 IFS=$as_save_IFS
   7765 
   7766 fi
   7767 fi
   7768 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7769 if test -n "$MANIFEST_TOOL"; then
   7770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7771 $as_echo "$MANIFEST_TOOL" >&6; }
   7772 else
   7773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7774 $as_echo "no" >&6; }
   7775 fi
   7776 
   7777 
   7778 fi
   7779 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7780   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7781   # Extract the first word of "mt", so it can be a program name with args.
   7782 set dummy mt; ac_word=$2
   7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7784 $as_echo_n "checking for $ac_word... " >&6; }
   7785 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7786   $as_echo_n "(cached) " >&6
   7787 else
   7788   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7789   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7790 else
   7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7792 for as_dir in $PATH
   7793 do
   7794   IFS=$as_save_IFS
   7795   test -z "$as_dir" && as_dir=.
   7796     for ac_exec_ext in '' $ac_executable_extensions; do
   7797   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7798     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7800     break 2
   7801   fi
   7802 done
   7803   done
   7804 IFS=$as_save_IFS
   7805 
   7806 fi
   7807 fi
   7808 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7809 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7811 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7812 else
   7813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7814 $as_echo "no" >&6; }
   7815 fi
   7816 
   7817   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7818     MANIFEST_TOOL=":"
   7819   else
   7820     case $cross_compiling:$ac_tool_warned in
   7821 yes:)
   7822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7824 ac_tool_warned=yes ;;
   7825 esac
   7826     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7827   fi
   7828 else
   7829   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7830 fi
   7831 
   7832 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7834 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7835 if ${lt_cv_path_mainfest_tool+:} false; then :
   7836   $as_echo_n "(cached) " >&6
   7837 else
   7838   lt_cv_path_mainfest_tool=no
   7839   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7840   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7841   cat conftest.err >&5
   7842   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7843     lt_cv_path_mainfest_tool=yes
   7844   fi
   7845   rm -f conftest*
   7846 fi
   7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7848 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7849 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7850   MANIFEST_TOOL=:
   7851 fi
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858   case $host_os in
   7859     rhapsody* | darwin*)
   7860     if test -n "$ac_tool_prefix"; then
   7861   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7862 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7864 $as_echo_n "checking for $ac_word... " >&6; }
   7865 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7866   $as_echo_n "(cached) " >&6
   7867 else
   7868   if test -n "$DSYMUTIL"; then
   7869   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7870 else
   7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7872 for as_dir in $PATH
   7873 do
   7874   IFS=$as_save_IFS
   7875   test -z "$as_dir" && as_dir=.
   7876     for ac_exec_ext in '' $ac_executable_extensions; do
   7877   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7878     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7880     break 2
   7881   fi
   7882 done
   7883   done
   7884 IFS=$as_save_IFS
   7885 
   7886 fi
   7887 fi
   7888 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7889 if test -n "$DSYMUTIL"; then
   7890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7891 $as_echo "$DSYMUTIL" >&6; }
   7892 else
   7893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7894 $as_echo "no" >&6; }
   7895 fi
   7896 
   7897 
   7898 fi
   7899 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7900   ac_ct_DSYMUTIL=$DSYMUTIL
   7901   # Extract the first word of "dsymutil", so it can be a program name with args.
   7902 set dummy dsymutil; ac_word=$2
   7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7904 $as_echo_n "checking for $ac_word... " >&6; }
   7905 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7906   $as_echo_n "(cached) " >&6
   7907 else
   7908   if test -n "$ac_ct_DSYMUTIL"; then
   7909   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7910 else
   7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7912 for as_dir in $PATH
   7913 do
   7914   IFS=$as_save_IFS
   7915   test -z "$as_dir" && as_dir=.
   7916     for ac_exec_ext in '' $ac_executable_extensions; do
   7917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7918     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7920     break 2
   7921   fi
   7922 done
   7923   done
   7924 IFS=$as_save_IFS
   7925 
   7926 fi
   7927 fi
   7928 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7929 if test -n "$ac_ct_DSYMUTIL"; then
   7930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7931 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7932 else
   7933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7934 $as_echo "no" >&6; }
   7935 fi
   7936 
   7937   if test "x$ac_ct_DSYMUTIL" = x; then
   7938     DSYMUTIL=":"
   7939   else
   7940     case $cross_compiling:$ac_tool_warned in
   7941 yes:)
   7942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7944 ac_tool_warned=yes ;;
   7945 esac
   7946     DSYMUTIL=$ac_ct_DSYMUTIL
   7947   fi
   7948 else
   7949   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7950 fi
   7951 
   7952     if test -n "$ac_tool_prefix"; then
   7953   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7954 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7956 $as_echo_n "checking for $ac_word... " >&6; }
   7957 if ${ac_cv_prog_NMEDIT+:} false; then :
   7958   $as_echo_n "(cached) " >&6
   7959 else
   7960   if test -n "$NMEDIT"; then
   7961   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7962 else
   7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7964 for as_dir in $PATH
   7965 do
   7966   IFS=$as_save_IFS
   7967   test -z "$as_dir" && as_dir=.
   7968     for ac_exec_ext in '' $ac_executable_extensions; do
   7969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7970     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7972     break 2
   7973   fi
   7974 done
   7975   done
   7976 IFS=$as_save_IFS
   7977 
   7978 fi
   7979 fi
   7980 NMEDIT=$ac_cv_prog_NMEDIT
   7981 if test -n "$NMEDIT"; then
   7982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7983 $as_echo "$NMEDIT" >&6; }
   7984 else
   7985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7986 $as_echo "no" >&6; }
   7987 fi
   7988 
   7989 
   7990 fi
   7991 if test -z "$ac_cv_prog_NMEDIT"; then
   7992   ac_ct_NMEDIT=$NMEDIT
   7993   # Extract the first word of "nmedit", so it can be a program name with args.
   7994 set dummy nmedit; ac_word=$2
   7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7996 $as_echo_n "checking for $ac_word... " >&6; }
   7997 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7998   $as_echo_n "(cached) " >&6
   7999 else
   8000   if test -n "$ac_ct_NMEDIT"; then
   8001   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8002 else
   8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8004 for as_dir in $PATH
   8005 do
   8006   IFS=$as_save_IFS
   8007   test -z "$as_dir" && as_dir=.
   8008     for ac_exec_ext in '' $ac_executable_extensions; do
   8009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8010     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8012     break 2
   8013   fi
   8014 done
   8015   done
   8016 IFS=$as_save_IFS
   8017 
   8018 fi
   8019 fi
   8020 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8021 if test -n "$ac_ct_NMEDIT"; then
   8022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8023 $as_echo "$ac_ct_NMEDIT" >&6; }
   8024 else
   8025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8026 $as_echo "no" >&6; }
   8027 fi
   8028 
   8029   if test "x$ac_ct_NMEDIT" = x; then
   8030     NMEDIT=":"
   8031   else
   8032     case $cross_compiling:$ac_tool_warned in
   8033 yes:)
   8034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8036 ac_tool_warned=yes ;;
   8037 esac
   8038     NMEDIT=$ac_ct_NMEDIT
   8039   fi
   8040 else
   8041   NMEDIT="$ac_cv_prog_NMEDIT"
   8042 fi
   8043 
   8044     if test -n "$ac_tool_prefix"; then
   8045   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8046 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8048 $as_echo_n "checking for $ac_word... " >&6; }
   8049 if ${ac_cv_prog_LIPO+:} false; then :
   8050   $as_echo_n "(cached) " >&6
   8051 else
   8052   if test -n "$LIPO"; then
   8053   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8054 else
   8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8056 for as_dir in $PATH
   8057 do
   8058   IFS=$as_save_IFS
   8059   test -z "$as_dir" && as_dir=.
   8060     for ac_exec_ext in '' $ac_executable_extensions; do
   8061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8062     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8064     break 2
   8065   fi
   8066 done
   8067   done
   8068 IFS=$as_save_IFS
   8069 
   8070 fi
   8071 fi
   8072 LIPO=$ac_cv_prog_LIPO
   8073 if test -n "$LIPO"; then
   8074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8075 $as_echo "$LIPO" >&6; }
   8076 else
   8077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8078 $as_echo "no" >&6; }
   8079 fi
   8080 
   8081 
   8082 fi
   8083 if test -z "$ac_cv_prog_LIPO"; then
   8084   ac_ct_LIPO=$LIPO
   8085   # Extract the first word of "lipo", so it can be a program name with args.
   8086 set dummy lipo; ac_word=$2
   8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8088 $as_echo_n "checking for $ac_word... " >&6; }
   8089 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8090   $as_echo_n "(cached) " >&6
   8091 else
   8092   if test -n "$ac_ct_LIPO"; then
   8093   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8094 else
   8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8096 for as_dir in $PATH
   8097 do
   8098   IFS=$as_save_IFS
   8099   test -z "$as_dir" && as_dir=.
   8100     for ac_exec_ext in '' $ac_executable_extensions; do
   8101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8102     ac_cv_prog_ac_ct_LIPO="lipo"
   8103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8104     break 2
   8105   fi
   8106 done
   8107   done
   8108 IFS=$as_save_IFS
   8109 
   8110 fi
   8111 fi
   8112 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8113 if test -n "$ac_ct_LIPO"; then
   8114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8115 $as_echo "$ac_ct_LIPO" >&6; }
   8116 else
   8117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8118 $as_echo "no" >&6; }
   8119 fi
   8120 
   8121   if test "x$ac_ct_LIPO" = x; then
   8122     LIPO=":"
   8123   else
   8124     case $cross_compiling:$ac_tool_warned in
   8125 yes:)
   8126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8128 ac_tool_warned=yes ;;
   8129 esac
   8130     LIPO=$ac_ct_LIPO
   8131   fi
   8132 else
   8133   LIPO="$ac_cv_prog_LIPO"
   8134 fi
   8135 
   8136     if test -n "$ac_tool_prefix"; then
   8137   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8138 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8140 $as_echo_n "checking for $ac_word... " >&6; }
   8141 if ${ac_cv_prog_OTOOL+:} false; then :
   8142   $as_echo_n "(cached) " >&6
   8143 else
   8144   if test -n "$OTOOL"; then
   8145   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8146 else
   8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8148 for as_dir in $PATH
   8149 do
   8150   IFS=$as_save_IFS
   8151   test -z "$as_dir" && as_dir=.
   8152     for ac_exec_ext in '' $ac_executable_extensions; do
   8153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8154     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8156     break 2
   8157   fi
   8158 done
   8159   done
   8160 IFS=$as_save_IFS
   8161 
   8162 fi
   8163 fi
   8164 OTOOL=$ac_cv_prog_OTOOL
   8165 if test -n "$OTOOL"; then
   8166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8167 $as_echo "$OTOOL" >&6; }
   8168 else
   8169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8170 $as_echo "no" >&6; }
   8171 fi
   8172 
   8173 
   8174 fi
   8175 if test -z "$ac_cv_prog_OTOOL"; then
   8176   ac_ct_OTOOL=$OTOOL
   8177   # Extract the first word of "otool", so it can be a program name with args.
   8178 set dummy otool; ac_word=$2
   8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8180 $as_echo_n "checking for $ac_word... " >&6; }
   8181 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8182   $as_echo_n "(cached) " >&6
   8183 else
   8184   if test -n "$ac_ct_OTOOL"; then
   8185   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8186 else
   8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8188 for as_dir in $PATH
   8189 do
   8190   IFS=$as_save_IFS
   8191   test -z "$as_dir" && as_dir=.
   8192     for ac_exec_ext in '' $ac_executable_extensions; do
   8193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8194     ac_cv_prog_ac_ct_OTOOL="otool"
   8195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8196     break 2
   8197   fi
   8198 done
   8199   done
   8200 IFS=$as_save_IFS
   8201 
   8202 fi
   8203 fi
   8204 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8205 if test -n "$ac_ct_OTOOL"; then
   8206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8207 $as_echo "$ac_ct_OTOOL" >&6; }
   8208 else
   8209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8210 $as_echo "no" >&6; }
   8211 fi
   8212 
   8213   if test "x$ac_ct_OTOOL" = x; then
   8214     OTOOL=":"
   8215   else
   8216     case $cross_compiling:$ac_tool_warned in
   8217 yes:)
   8218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8220 ac_tool_warned=yes ;;
   8221 esac
   8222     OTOOL=$ac_ct_OTOOL
   8223   fi
   8224 else
   8225   OTOOL="$ac_cv_prog_OTOOL"
   8226 fi
   8227 
   8228     if test -n "$ac_tool_prefix"; then
   8229   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8230 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8232 $as_echo_n "checking for $ac_word... " >&6; }
   8233 if ${ac_cv_prog_OTOOL64+:} false; then :
   8234   $as_echo_n "(cached) " >&6
   8235 else
   8236   if test -n "$OTOOL64"; then
   8237   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8238 else
   8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8240 for as_dir in $PATH
   8241 do
   8242   IFS=$as_save_IFS
   8243   test -z "$as_dir" && as_dir=.
   8244     for ac_exec_ext in '' $ac_executable_extensions; do
   8245   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8246     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8248     break 2
   8249   fi
   8250 done
   8251   done
   8252 IFS=$as_save_IFS
   8253 
   8254 fi
   8255 fi
   8256 OTOOL64=$ac_cv_prog_OTOOL64
   8257 if test -n "$OTOOL64"; then
   8258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8259 $as_echo "$OTOOL64" >&6; }
   8260 else
   8261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8262 $as_echo "no" >&6; }
   8263 fi
   8264 
   8265 
   8266 fi
   8267 if test -z "$ac_cv_prog_OTOOL64"; then
   8268   ac_ct_OTOOL64=$OTOOL64
   8269   # Extract the first word of "otool64", so it can be a program name with args.
   8270 set dummy otool64; ac_word=$2
   8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8272 $as_echo_n "checking for $ac_word... " >&6; }
   8273 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8274   $as_echo_n "(cached) " >&6
   8275 else
   8276   if test -n "$ac_ct_OTOOL64"; then
   8277   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8278 else
   8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8280 for as_dir in $PATH
   8281 do
   8282   IFS=$as_save_IFS
   8283   test -z "$as_dir" && as_dir=.
   8284     for ac_exec_ext in '' $ac_executable_extensions; do
   8285   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8286     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8288     break 2
   8289   fi
   8290 done
   8291   done
   8292 IFS=$as_save_IFS
   8293 
   8294 fi
   8295 fi
   8296 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8297 if test -n "$ac_ct_OTOOL64"; then
   8298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8299 $as_echo "$ac_ct_OTOOL64" >&6; }
   8300 else
   8301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8302 $as_echo "no" >&6; }
   8303 fi
   8304 
   8305   if test "x$ac_ct_OTOOL64" = x; then
   8306     OTOOL64=":"
   8307   else
   8308     case $cross_compiling:$ac_tool_warned in
   8309 yes:)
   8310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8312 ac_tool_warned=yes ;;
   8313 esac
   8314     OTOOL64=$ac_ct_OTOOL64
   8315   fi
   8316 else
   8317   OTOOL64="$ac_cv_prog_OTOOL64"
   8318 fi
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8347 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8348 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8349   $as_echo_n "(cached) " >&6
   8350 else
   8351   lt_cv_apple_cc_single_mod=no
   8352       if test -z "${LT_MULTI_MODULE}"; then
   8353 	# By default we will add the -single_module flag. You can override
   8354 	# by either setting the environment variable LT_MULTI_MODULE
   8355 	# non-empty at configure time, or by adding -multi_module to the
   8356 	# link flags.
   8357 	rm -rf libconftest.dylib*
   8358 	echo "int foo(void){return 1;}" > conftest.c
   8359 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8360 -dynamiclib -Wl,-single_module conftest.c" >&5
   8361 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8362 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8363         _lt_result=$?
   8364 	# If there is a non-empty error log, and "single_module"
   8365 	# appears in it, assume the flag caused a linker warning
   8366         if test -s conftest.err && $GREP single_module conftest.err; then
   8367 	  cat conftest.err >&5
   8368 	# Otherwise, if the output was created with a 0 exit code from
   8369 	# the compiler, it worked.
   8370 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   8371 	  lt_cv_apple_cc_single_mod=yes
   8372 	else
   8373 	  cat conftest.err >&5
   8374 	fi
   8375 	rm -rf libconftest.dylib*
   8376 	rm -f conftest.*
   8377       fi
   8378 fi
   8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8380 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8381 
   8382     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8383 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8384 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8385   $as_echo_n "(cached) " >&6
   8386 else
   8387   lt_cv_ld_exported_symbols_list=no
   8388       save_LDFLAGS=$LDFLAGS
   8389       echo "_main" > conftest.sym
   8390       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8392 /* end confdefs.h.  */
   8393 
   8394 int
   8395 main ()
   8396 {
   8397 
   8398   ;
   8399   return 0;
   8400 }
   8401 _ACEOF
   8402 if ac_fn_c_try_link "$LINENO"; then :
   8403   lt_cv_ld_exported_symbols_list=yes
   8404 else
   8405   lt_cv_ld_exported_symbols_list=no
   8406 fi
   8407 rm -f core conftest.err conftest.$ac_objext \
   8408     conftest$ac_exeext conftest.$ac_ext
   8409 	LDFLAGS="$save_LDFLAGS"
   8410 
   8411 fi
   8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8413 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8414 
   8415     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8416 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8417 if ${lt_cv_ld_force_load+:} false; then :
   8418   $as_echo_n "(cached) " >&6
   8419 else
   8420   lt_cv_ld_force_load=no
   8421       cat > conftest.c << _LT_EOF
   8422 int forced_loaded() { return 2;}
   8423 _LT_EOF
   8424       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8425       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8426       echo "$AR cru libconftest.a conftest.o" >&5
   8427       $AR cru libconftest.a conftest.o 2>&5
   8428       echo "$RANLIB libconftest.a" >&5
   8429       $RANLIB libconftest.a 2>&5
   8430       cat > conftest.c << _LT_EOF
   8431 int main() { return 0;}
   8432 _LT_EOF
   8433       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8434       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8435       _lt_result=$?
   8436       if test -s conftest.err && $GREP force_load conftest.err; then
   8437 	cat conftest.err >&5
   8438       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   8439 	lt_cv_ld_force_load=yes
   8440       else
   8441 	cat conftest.err >&5
   8442       fi
   8443         rm -f conftest.err libconftest.a conftest conftest.c
   8444         rm -rf conftest.dSYM
   8445 
   8446 fi
   8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8448 $as_echo "$lt_cv_ld_force_load" >&6; }
   8449     case $host_os in
   8450     rhapsody* | darwin1.[012])
   8451       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8452     darwin1.*)
   8453       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8454     darwin*) # darwin 5.x on
   8455       # if running on 10.5 or later, the deployment target defaults
   8456       # to the OS version, if on x86, and 10.4, the deployment
   8457       # target defaults to 10.4. Don't you love it?
   8458       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8459 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8460 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8461 	10.[012]*)
   8462 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8463 	10.*)
   8464 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8465       esac
   8466     ;;
   8467   esac
   8468     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8469       _lt_dar_single_mod='$single_module'
   8470     fi
   8471     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8472       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8473     else
   8474       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8475     fi
   8476     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8477       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8478     else
   8479       _lt_dsymutil=
   8480     fi
   8481     ;;
   8482   esac
   8483 
   8484 for ac_header in dlfcn.h
   8485 do :
   8486   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8487 "
   8488 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8489   cat >>confdefs.h <<_ACEOF
   8490 #define HAVE_DLFCN_H 1
   8491 _ACEOF
   8492 
   8493 fi
   8494 
   8495 done
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 # Set options
   8502 # Check whether --enable-static was given.
   8503 if test "${enable_static+set}" = set; then :
   8504   enableval=$enable_static; p=${PACKAGE-default}
   8505     case $enableval in
   8506     yes) enable_static=yes ;;
   8507     no) enable_static=no ;;
   8508     *)
   8509      enable_static=no
   8510       # Look at the argument we got.  We use all the common list separators.
   8511       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8512       for pkg in $enableval; do
   8513 	IFS="$lt_save_ifs"
   8514 	if test "X$pkg" = "X$p"; then
   8515 	  enable_static=yes
   8516 	fi
   8517       done
   8518       IFS="$lt_save_ifs"
   8519       ;;
   8520     esac
   8521 else
   8522   enable_static=no
   8523 fi
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 # Check whether --with-pic was given.
   8533 if test "${with_pic+set}" = set; then :
   8534   withval=$with_pic; lt_p=${PACKAGE-default}
   8535     case $withval in
   8536     yes|no) pic_mode=$withval ;;
   8537     *)
   8538       pic_mode=default
   8539       # Look at the argument we got.  We use all the common list separators.
   8540       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8541       for lt_pkg in $withval; do
   8542 	IFS="$lt_save_ifs"
   8543 	if test "X$lt_pkg" = "X$lt_p"; then
   8544 	  pic_mode=yes
   8545 	fi
   8546       done
   8547       IFS="$lt_save_ifs"
   8548       ;;
   8549     esac
   8550 else
   8551   pic_mode=default
   8552 fi
   8553 
   8554 
   8555 test -z "$pic_mode" && pic_mode=yes
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564         enable_dlopen=no
   8565 
   8566 
   8567   enable_win32_dll=no
   8568 
   8569 
   8570             # Check whether --enable-shared was given.
   8571 if test "${enable_shared+set}" = set; then :
   8572   enableval=$enable_shared; p=${PACKAGE-default}
   8573     case $enableval in
   8574     yes) enable_shared=yes ;;
   8575     no) enable_shared=no ;;
   8576     *)
   8577       enable_shared=no
   8578       # Look at the argument we got.  We use all the common list separators.
   8579       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8580       for pkg in $enableval; do
   8581 	IFS="$lt_save_ifs"
   8582 	if test "X$pkg" = "X$p"; then
   8583 	  enable_shared=yes
   8584 	fi
   8585       done
   8586       IFS="$lt_save_ifs"
   8587       ;;
   8588     esac
   8589 else
   8590   enable_shared=yes
   8591 fi
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603   # Check whether --enable-fast-install was given.
   8604 if test "${enable_fast_install+set}" = set; then :
   8605   enableval=$enable_fast_install; p=${PACKAGE-default}
   8606     case $enableval in
   8607     yes) enable_fast_install=yes ;;
   8608     no) enable_fast_install=no ;;
   8609     *)
   8610       enable_fast_install=no
   8611       # Look at the argument we got.  We use all the common list separators.
   8612       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8613       for pkg in $enableval; do
   8614 	IFS="$lt_save_ifs"
   8615 	if test "X$pkg" = "X$p"; then
   8616 	  enable_fast_install=yes
   8617 	fi
   8618       done
   8619       IFS="$lt_save_ifs"
   8620       ;;
   8621     esac
   8622 else
   8623   enable_fast_install=yes
   8624 fi
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 # This can be used to rebuild libtool when needed
   8637 LIBTOOL_DEPS="$ltmain"
   8638 
   8639 # Always use our own libtool.
   8640 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 test -z "$LN_S" && LN_S="ln -s"
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 if test -n "${ZSH_VERSION+set}" ; then
   8687    setopt NO_GLOB_SUBST
   8688 fi
   8689 
   8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8691 $as_echo_n "checking for objdir... " >&6; }
   8692 if ${lt_cv_objdir+:} false; then :
   8693   $as_echo_n "(cached) " >&6
   8694 else
   8695   rm -f .libs 2>/dev/null
   8696 mkdir .libs 2>/dev/null
   8697 if test -d .libs; then
   8698   lt_cv_objdir=.libs
   8699 else
   8700   # MS-DOS does not allow filenames that begin with a dot.
   8701   lt_cv_objdir=_libs
   8702 fi
   8703 rmdir .libs 2>/dev/null
   8704 fi
   8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8706 $as_echo "$lt_cv_objdir" >&6; }
   8707 objdir=$lt_cv_objdir
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 cat >>confdefs.h <<_ACEOF
   8714 #define LT_OBJDIR "$lt_cv_objdir/"
   8715 _ACEOF
   8716 
   8717 
   8718 
   8719 
   8720 case $host_os in
   8721 aix3*)
   8722   # AIX sometimes has problems with the GCC collect2 program.  For some
   8723   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8724   # vanish in a puff of smoke.
   8725   if test "X${COLLECT_NAMES+set}" != Xset; then
   8726     COLLECT_NAMES=
   8727     export COLLECT_NAMES
   8728   fi
   8729   ;;
   8730 esac
   8731 
   8732 # Global variables:
   8733 ofile=libtool
   8734 can_build_shared=yes
   8735 
   8736 # All known linkers require a `.a' archive for static linking (except MSVC,
   8737 # which needs '.lib').
   8738 libext=a
   8739 
   8740 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8741 
   8742 old_CC="$CC"
   8743 old_CFLAGS="$CFLAGS"
   8744 
   8745 # Set sane defaults for various variables
   8746 test -z "$CC" && CC=cc
   8747 test -z "$LTCC" && LTCC=$CC
   8748 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8749 test -z "$LD" && LD=ld
   8750 test -z "$ac_objext" && ac_objext=o
   8751 
   8752 for cc_temp in $compiler""; do
   8753   case $cc_temp in
   8754     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8755     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8756     \-*) ;;
   8757     *) break;;
   8758   esac
   8759 done
   8760 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8761 
   8762 
   8763 # Only perform the check for file, if the check method requires it
   8764 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8765 case $deplibs_check_method in
   8766 file_magic*)
   8767   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8768     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8769 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8770 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8771   $as_echo_n "(cached) " >&6
   8772 else
   8773   case $MAGIC_CMD in
   8774 [\\/*] |  ?:[\\/]*)
   8775   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8776   ;;
   8777 *)
   8778   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8779   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8780   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8781   for ac_dir in $ac_dummy; do
   8782     IFS="$lt_save_ifs"
   8783     test -z "$ac_dir" && ac_dir=.
   8784     if test -f $ac_dir/${ac_tool_prefix}file; then
   8785       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8786       if test -n "$file_magic_test_file"; then
   8787 	case $deplibs_check_method in
   8788 	"file_magic "*)
   8789 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8790 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8791 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8792 	    $EGREP "$file_magic_regex" > /dev/null; then
   8793 	    :
   8794 	  else
   8795 	    cat <<_LT_EOF 1>&2
   8796 
   8797 *** Warning: the command libtool uses to detect shared libraries,
   8798 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8799 *** The result is that libtool may fail to recognize shared libraries
   8800 *** as such.  This will affect the creation of libtool libraries that
   8801 *** depend on shared libraries, but programs linked with such libtool
   8802 *** libraries will work regardless of this problem.  Nevertheless, you
   8803 *** may want to report the problem to your system manager and/or to
   8804 *** bug-libtool@gnu.org
   8805 
   8806 _LT_EOF
   8807 	  fi ;;
   8808 	esac
   8809       fi
   8810       break
   8811     fi
   8812   done
   8813   IFS="$lt_save_ifs"
   8814   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8815   ;;
   8816 esac
   8817 fi
   8818 
   8819 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8820 if test -n "$MAGIC_CMD"; then
   8821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8822 $as_echo "$MAGIC_CMD" >&6; }
   8823 else
   8824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8825 $as_echo "no" >&6; }
   8826 fi
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8833   if test -n "$ac_tool_prefix"; then
   8834     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8835 $as_echo_n "checking for file... " >&6; }
   8836 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8837   $as_echo_n "(cached) " >&6
   8838 else
   8839   case $MAGIC_CMD in
   8840 [\\/*] |  ?:[\\/]*)
   8841   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8842   ;;
   8843 *)
   8844   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8845   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8846   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8847   for ac_dir in $ac_dummy; do
   8848     IFS="$lt_save_ifs"
   8849     test -z "$ac_dir" && ac_dir=.
   8850     if test -f $ac_dir/file; then
   8851       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8852       if test -n "$file_magic_test_file"; then
   8853 	case $deplibs_check_method in
   8854 	"file_magic "*)
   8855 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8856 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8857 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8858 	    $EGREP "$file_magic_regex" > /dev/null; then
   8859 	    :
   8860 	  else
   8861 	    cat <<_LT_EOF 1>&2
   8862 
   8863 *** Warning: the command libtool uses to detect shared libraries,
   8864 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8865 *** The result is that libtool may fail to recognize shared libraries
   8866 *** as such.  This will affect the creation of libtool libraries that
   8867 *** depend on shared libraries, but programs linked with such libtool
   8868 *** libraries will work regardless of this problem.  Nevertheless, you
   8869 *** may want to report the problem to your system manager and/or to
   8870 *** bug-libtool@gnu.org
   8871 
   8872 _LT_EOF
   8873 	  fi ;;
   8874 	esac
   8875       fi
   8876       break
   8877     fi
   8878   done
   8879   IFS="$lt_save_ifs"
   8880   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8881   ;;
   8882 esac
   8883 fi
   8884 
   8885 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8886 if test -n "$MAGIC_CMD"; then
   8887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8888 $as_echo "$MAGIC_CMD" >&6; }
   8889 else
   8890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8891 $as_echo "no" >&6; }
   8892 fi
   8893 
   8894 
   8895   else
   8896     MAGIC_CMD=:
   8897   fi
   8898 fi
   8899 
   8900   fi
   8901   ;;
   8902 esac
   8903 
   8904 # Use C for the default configuration in the libtool script
   8905 
   8906 lt_save_CC="$CC"
   8907 ac_ext=c
   8908 ac_cpp='$CPP $CPPFLAGS'
   8909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8912 
   8913 
   8914 # Source file extension for C test sources.
   8915 ac_ext=c
   8916 
   8917 # Object file extension for compiled C test sources.
   8918 objext=o
   8919 objext=$objext
   8920 
   8921 # Code to be used in simple compile tests
   8922 lt_simple_compile_test_code="int some_variable = 0;"
   8923 
   8924 # Code to be used in simple link tests
   8925 lt_simple_link_test_code='int main(){return(0);}'
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 # If no C compiler was specified, use CC.
   8934 LTCC=${LTCC-"$CC"}
   8935 
   8936 # If no C compiler flags were specified, use CFLAGS.
   8937 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8938 
   8939 # Allow CC to be a program name with arguments.
   8940 compiler=$CC
   8941 
   8942 # Save the default compiler, since it gets overwritten when the other
   8943 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8944 compiler_DEFAULT=$CC
   8945 
   8946 # save warnings/boilerplate of simple test code
   8947 ac_outfile=conftest.$ac_objext
   8948 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8949 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8950 _lt_compiler_boilerplate=`cat conftest.err`
   8951 $RM conftest*
   8952 
   8953 ac_outfile=conftest.$ac_objext
   8954 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8955 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8956 _lt_linker_boilerplate=`cat conftest.err`
   8957 $RM -r conftest*
   8958 
   8959 
   8960 ## CAVEAT EMPTOR:
   8961 ## There is no encapsulation within the following macros, do not change
   8962 ## the running order or otherwise move them around unless you know exactly
   8963 ## what you are doing...
   8964 if test -n "$compiler"; then
   8965 
   8966 lt_prog_compiler_no_builtin_flag=
   8967 
   8968 if test "$GCC" = yes; then
   8969   case $cc_basename in
   8970   nvcc*)
   8971     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8972   *)
   8973     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8974   esac
   8975 
   8976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8977 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8978 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8979   $as_echo_n "(cached) " >&6
   8980 else
   8981   lt_cv_prog_compiler_rtti_exceptions=no
   8982    ac_outfile=conftest.$ac_objext
   8983    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8984    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8985    # Insert the option either (1) after the last *FLAGS variable, or
   8986    # (2) before a word containing "conftest.", or (3) at the end.
   8987    # Note that $ac_compile itself does not contain backslashes and begins
   8988    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8989    # The option is referenced via a variable to avoid confusing sed.
   8990    lt_compile=`echo "$ac_compile" | $SED \
   8991    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8992    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8993    -e 's:$: $lt_compiler_flag:'`
   8994    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8995    (eval "$lt_compile" 2>conftest.err)
   8996    ac_status=$?
   8997    cat conftest.err >&5
   8998    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8999    if (exit $ac_status) && test -s "$ac_outfile"; then
   9000      # The compiler can only warn and ignore the option if not recognized
   9001      # So say no if there are warnings other than the usual output.
   9002      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9003      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9004      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9005        lt_cv_prog_compiler_rtti_exceptions=yes
   9006      fi
   9007    fi
   9008    $RM conftest*
   9009 
   9010 fi
   9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9012 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9013 
   9014 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9015     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9016 else
   9017     :
   9018 fi
   9019 
   9020 fi
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027   lt_prog_compiler_wl=
   9028 lt_prog_compiler_pic=
   9029 lt_prog_compiler_static=
   9030 
   9031 
   9032   if test "$GCC" = yes; then
   9033     lt_prog_compiler_wl='-Wl,'
   9034     lt_prog_compiler_static='-static'
   9035 
   9036     case $host_os in
   9037       aix*)
   9038       # All AIX code is PIC.
   9039       if test "$host_cpu" = ia64; then
   9040 	# AIX 5 now supports IA64 processor
   9041 	lt_prog_compiler_static='-Bstatic'
   9042       fi
   9043       ;;
   9044 
   9045     amigaos*)
   9046       case $host_cpu in
   9047       powerpc)
   9048             # see comment about AmigaOS4 .so support
   9049             lt_prog_compiler_pic='-fPIC'
   9050         ;;
   9051       m68k)
   9052             # FIXME: we need at least 68020 code to build shared libraries, but
   9053             # adding the `-m68020' flag to GCC prevents building anything better,
   9054             # like `-m68040'.
   9055             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9056         ;;
   9057       esac
   9058       ;;
   9059 
   9060     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9061       # PIC is the default for these OSes.
   9062       ;;
   9063 
   9064     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9065       # This hack is so that the source file can tell whether it is being
   9066       # built for inclusion in a dll (and should export symbols for example).
   9067       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9068       # (--disable-auto-import) libraries
   9069       lt_prog_compiler_pic='-DDLL_EXPORT'
   9070       ;;
   9071 
   9072     darwin* | rhapsody*)
   9073       # PIC is the default on this platform
   9074       # Common symbols not allowed in MH_DYLIB files
   9075       lt_prog_compiler_pic='-fno-common'
   9076       ;;
   9077 
   9078     haiku*)
   9079       # PIC is the default for Haiku.
   9080       # The "-static" flag exists, but is broken.
   9081       lt_prog_compiler_static=
   9082       ;;
   9083 
   9084     hpux*)
   9085       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9086       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9087       # sets the default TLS model and affects inlining.
   9088       case $host_cpu in
   9089       hppa*64*)
   9090 	# +Z the default
   9091 	;;
   9092       *)
   9093 	lt_prog_compiler_pic='-fPIC'
   9094 	;;
   9095       esac
   9096       ;;
   9097 
   9098     interix[3-9]*)
   9099       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9100       # Instead, we relocate shared libraries at runtime.
   9101       ;;
   9102 
   9103     msdosdjgpp*)
   9104       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9105       # on systems that don't support them.
   9106       lt_prog_compiler_can_build_shared=no
   9107       enable_shared=no
   9108       ;;
   9109 
   9110     *nto* | *qnx*)
   9111       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9112       # it will coredump.
   9113       lt_prog_compiler_pic='-fPIC -shared'
   9114       ;;
   9115 
   9116     sysv4*MP*)
   9117       if test -d /usr/nec; then
   9118 	lt_prog_compiler_pic=-Kconform_pic
   9119       fi
   9120       ;;
   9121 
   9122     *)
   9123       lt_prog_compiler_pic='-fPIC'
   9124       ;;
   9125     esac
   9126 
   9127     case $cc_basename in
   9128     nvcc*) # Cuda Compiler Driver 2.2
   9129       lt_prog_compiler_wl='-Xlinker '
   9130       if test -n "$lt_prog_compiler_pic"; then
   9131         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9132       fi
   9133       ;;
   9134     esac
   9135   else
   9136     # PORTME Check for flag to pass linker flags through the system compiler.
   9137     case $host_os in
   9138     aix*)
   9139       lt_prog_compiler_wl='-Wl,'
   9140       if test "$host_cpu" = ia64; then
   9141 	# AIX 5 now supports IA64 processor
   9142 	lt_prog_compiler_static='-Bstatic'
   9143       else
   9144 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9145       fi
   9146       ;;
   9147 
   9148     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9149       # This hack is so that the source file can tell whether it is being
   9150       # built for inclusion in a dll (and should export symbols for example).
   9151       lt_prog_compiler_pic='-DDLL_EXPORT'
   9152       ;;
   9153 
   9154     hpux9* | hpux10* | hpux11*)
   9155       lt_prog_compiler_wl='-Wl,'
   9156       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9157       # not for PA HP-UX.
   9158       case $host_cpu in
   9159       hppa*64*|ia64*)
   9160 	# +Z the default
   9161 	;;
   9162       *)
   9163 	lt_prog_compiler_pic='+Z'
   9164 	;;
   9165       esac
   9166       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9167       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9168       ;;
   9169 
   9170     irix5* | irix6* | nonstopux*)
   9171       lt_prog_compiler_wl='-Wl,'
   9172       # PIC (with -KPIC) is the default.
   9173       lt_prog_compiler_static='-non_shared'
   9174       ;;
   9175 
   9176     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9177       case $cc_basename in
   9178       # old Intel for x86_64 which still supported -KPIC.
   9179       ecc*)
   9180 	lt_prog_compiler_wl='-Wl,'
   9181 	lt_prog_compiler_pic='-KPIC'
   9182 	lt_prog_compiler_static='-static'
   9183         ;;
   9184       # icc used to be incompatible with GCC.
   9185       # ICC 10 doesn't accept -KPIC any more.
   9186       icc* | ifort*)
   9187 	lt_prog_compiler_wl='-Wl,'
   9188 	lt_prog_compiler_pic='-fPIC'
   9189 	lt_prog_compiler_static='-static'
   9190         ;;
   9191       # Lahey Fortran 8.1.
   9192       lf95*)
   9193 	lt_prog_compiler_wl='-Wl,'
   9194 	lt_prog_compiler_pic='--shared'
   9195 	lt_prog_compiler_static='--static'
   9196 	;;
   9197       nagfor*)
   9198 	# NAG Fortran compiler
   9199 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9200 	lt_prog_compiler_pic='-PIC'
   9201 	lt_prog_compiler_static='-Bstatic'
   9202 	;;
   9203       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9204         # Portland Group compilers (*not* the Pentium gcc compiler,
   9205 	# which looks to be a dead project)
   9206 	lt_prog_compiler_wl='-Wl,'
   9207 	lt_prog_compiler_pic='-fpic'
   9208 	lt_prog_compiler_static='-Bstatic'
   9209         ;;
   9210       ccc*)
   9211         lt_prog_compiler_wl='-Wl,'
   9212         # All Alpha code is PIC.
   9213         lt_prog_compiler_static='-non_shared'
   9214         ;;
   9215       xl* | bgxl* | bgf* | mpixl*)
   9216 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9217 	lt_prog_compiler_wl='-Wl,'
   9218 	lt_prog_compiler_pic='-qpic'
   9219 	lt_prog_compiler_static='-qstaticlink'
   9220 	;;
   9221       *)
   9222 	case `$CC -V 2>&1 | sed 5q` in
   9223 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9224 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9225 	  lt_prog_compiler_pic='-KPIC'
   9226 	  lt_prog_compiler_static='-Bstatic'
   9227 	  lt_prog_compiler_wl=''
   9228 	  ;;
   9229 	*Sun\ F* | *Sun*Fortran*)
   9230 	  lt_prog_compiler_pic='-KPIC'
   9231 	  lt_prog_compiler_static='-Bstatic'
   9232 	  lt_prog_compiler_wl='-Qoption ld '
   9233 	  ;;
   9234 	*Sun\ C*)
   9235 	  # Sun C 5.9
   9236 	  lt_prog_compiler_pic='-KPIC'
   9237 	  lt_prog_compiler_static='-Bstatic'
   9238 	  lt_prog_compiler_wl='-Wl,'
   9239 	  ;;
   9240         *Intel*\ [CF]*Compiler*)
   9241 	  lt_prog_compiler_wl='-Wl,'
   9242 	  lt_prog_compiler_pic='-fPIC'
   9243 	  lt_prog_compiler_static='-static'
   9244 	  ;;
   9245 	*Portland\ Group*)
   9246 	  lt_prog_compiler_wl='-Wl,'
   9247 	  lt_prog_compiler_pic='-fpic'
   9248 	  lt_prog_compiler_static='-Bstatic'
   9249 	  ;;
   9250 	esac
   9251 	;;
   9252       esac
   9253       ;;
   9254 
   9255     newsos6)
   9256       lt_prog_compiler_pic='-KPIC'
   9257       lt_prog_compiler_static='-Bstatic'
   9258       ;;
   9259 
   9260     *nto* | *qnx*)
   9261       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9262       # it will coredump.
   9263       lt_prog_compiler_pic='-fPIC -shared'
   9264       ;;
   9265 
   9266     osf3* | osf4* | osf5*)
   9267       lt_prog_compiler_wl='-Wl,'
   9268       # All OSF/1 code is PIC.
   9269       lt_prog_compiler_static='-non_shared'
   9270       ;;
   9271 
   9272     rdos*)
   9273       lt_prog_compiler_static='-non_shared'
   9274       ;;
   9275 
   9276     solaris*)
   9277       lt_prog_compiler_pic='-KPIC'
   9278       lt_prog_compiler_static='-Bstatic'
   9279       case $cc_basename in
   9280       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9281 	lt_prog_compiler_wl='-Qoption ld ';;
   9282       *)
   9283 	lt_prog_compiler_wl='-Wl,';;
   9284       esac
   9285       ;;
   9286 
   9287     sunos4*)
   9288       lt_prog_compiler_wl='-Qoption ld '
   9289       lt_prog_compiler_pic='-PIC'
   9290       lt_prog_compiler_static='-Bstatic'
   9291       ;;
   9292 
   9293     sysv4 | sysv4.2uw2* | sysv4.3*)
   9294       lt_prog_compiler_wl='-Wl,'
   9295       lt_prog_compiler_pic='-KPIC'
   9296       lt_prog_compiler_static='-Bstatic'
   9297       ;;
   9298 
   9299     sysv4*MP*)
   9300       if test -d /usr/nec ;then
   9301 	lt_prog_compiler_pic='-Kconform_pic'
   9302 	lt_prog_compiler_static='-Bstatic'
   9303       fi
   9304       ;;
   9305 
   9306     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9307       lt_prog_compiler_wl='-Wl,'
   9308       lt_prog_compiler_pic='-KPIC'
   9309       lt_prog_compiler_static='-Bstatic'
   9310       ;;
   9311 
   9312     unicos*)
   9313       lt_prog_compiler_wl='-Wl,'
   9314       lt_prog_compiler_can_build_shared=no
   9315       ;;
   9316 
   9317     uts4*)
   9318       lt_prog_compiler_pic='-pic'
   9319       lt_prog_compiler_static='-Bstatic'
   9320       ;;
   9321 
   9322     *)
   9323       lt_prog_compiler_can_build_shared=no
   9324       ;;
   9325     esac
   9326   fi
   9327 
   9328 case $host_os in
   9329   # For platforms which do not support PIC, -DPIC is meaningless:
   9330   *djgpp*)
   9331     lt_prog_compiler_pic=
   9332     ;;
   9333   *)
   9334     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9335     ;;
   9336 esac
   9337 
   9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9339 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9340 if ${lt_cv_prog_compiler_pic+:} false; then :
   9341   $as_echo_n "(cached) " >&6
   9342 else
   9343   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9344 fi
   9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9346 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9347 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9348 
   9349 #
   9350 # Check to make sure the PIC flag actually works.
   9351 #
   9352 if test -n "$lt_prog_compiler_pic"; then
   9353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9354 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9355 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9356   $as_echo_n "(cached) " >&6
   9357 else
   9358   lt_cv_prog_compiler_pic_works=no
   9359    ac_outfile=conftest.$ac_objext
   9360    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9361    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9362    # Insert the option either (1) after the last *FLAGS variable, or
   9363    # (2) before a word containing "conftest.", or (3) at the end.
   9364    # Note that $ac_compile itself does not contain backslashes and begins
   9365    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9366    # The option is referenced via a variable to avoid confusing sed.
   9367    lt_compile=`echo "$ac_compile" | $SED \
   9368    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9369    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9370    -e 's:$: $lt_compiler_flag:'`
   9371    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9372    (eval "$lt_compile" 2>conftest.err)
   9373    ac_status=$?
   9374    cat conftest.err >&5
   9375    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9376    if (exit $ac_status) && test -s "$ac_outfile"; then
   9377      # The compiler can only warn and ignore the option if not recognized
   9378      # So say no if there are warnings other than the usual output.
   9379      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9380      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9381      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9382        lt_cv_prog_compiler_pic_works=yes
   9383      fi
   9384    fi
   9385    $RM conftest*
   9386 
   9387 fi
   9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9389 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9390 
   9391 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9392     case $lt_prog_compiler_pic in
   9393      "" | " "*) ;;
   9394      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9395      esac
   9396 else
   9397     lt_prog_compiler_pic=
   9398      lt_prog_compiler_can_build_shared=no
   9399 fi
   9400 
   9401 fi
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 #
   9414 # Check to make sure the static flag actually works.
   9415 #
   9416 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9418 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9419 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9420   $as_echo_n "(cached) " >&6
   9421 else
   9422   lt_cv_prog_compiler_static_works=no
   9423    save_LDFLAGS="$LDFLAGS"
   9424    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9425    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9426    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9427      # The linker can only warn and ignore the option if not recognized
   9428      # So say no if there are warnings
   9429      if test -s conftest.err; then
   9430        # Append any errors to the config.log.
   9431        cat conftest.err 1>&5
   9432        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9433        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9434        if diff conftest.exp conftest.er2 >/dev/null; then
   9435          lt_cv_prog_compiler_static_works=yes
   9436        fi
   9437      else
   9438        lt_cv_prog_compiler_static_works=yes
   9439      fi
   9440    fi
   9441    $RM -r conftest*
   9442    LDFLAGS="$save_LDFLAGS"
   9443 
   9444 fi
   9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9446 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9447 
   9448 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9449     :
   9450 else
   9451     lt_prog_compiler_static=
   9452 fi
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9461 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9462 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9463   $as_echo_n "(cached) " >&6
   9464 else
   9465   lt_cv_prog_compiler_c_o=no
   9466    $RM -r conftest 2>/dev/null
   9467    mkdir conftest
   9468    cd conftest
   9469    mkdir out
   9470    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9471 
   9472    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9473    # Insert the option either (1) after the last *FLAGS variable, or
   9474    # (2) before a word containing "conftest.", or (3) at the end.
   9475    # Note that $ac_compile itself does not contain backslashes and begins
   9476    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9477    lt_compile=`echo "$ac_compile" | $SED \
   9478    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9479    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9480    -e 's:$: $lt_compiler_flag:'`
   9481    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9482    (eval "$lt_compile" 2>out/conftest.err)
   9483    ac_status=$?
   9484    cat out/conftest.err >&5
   9485    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9486    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9487    then
   9488      # The compiler can only warn and ignore the option if not recognized
   9489      # So say no if there are warnings
   9490      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9491      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9492      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9493        lt_cv_prog_compiler_c_o=yes
   9494      fi
   9495    fi
   9496    chmod u+w . 2>&5
   9497    $RM conftest*
   9498    # SGI C++ compiler will create directory out/ii_files/ for
   9499    # template instantiation
   9500    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9501    $RM out/* && rmdir out
   9502    cd ..
   9503    $RM -r conftest
   9504    $RM conftest*
   9505 
   9506 fi
   9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9508 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9516 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9517 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9518   $as_echo_n "(cached) " >&6
   9519 else
   9520   lt_cv_prog_compiler_c_o=no
   9521    $RM -r conftest 2>/dev/null
   9522    mkdir conftest
   9523    cd conftest
   9524    mkdir out
   9525    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9526 
   9527    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9528    # Insert the option either (1) after the last *FLAGS variable, or
   9529    # (2) before a word containing "conftest.", or (3) at the end.
   9530    # Note that $ac_compile itself does not contain backslashes and begins
   9531    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9532    lt_compile=`echo "$ac_compile" | $SED \
   9533    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9534    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9535    -e 's:$: $lt_compiler_flag:'`
   9536    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9537    (eval "$lt_compile" 2>out/conftest.err)
   9538    ac_status=$?
   9539    cat out/conftest.err >&5
   9540    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9541    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9542    then
   9543      # The compiler can only warn and ignore the option if not recognized
   9544      # So say no if there are warnings
   9545      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9546      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9547      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9548        lt_cv_prog_compiler_c_o=yes
   9549      fi
   9550    fi
   9551    chmod u+w . 2>&5
   9552    $RM conftest*
   9553    # SGI C++ compiler will create directory out/ii_files/ for
   9554    # template instantiation
   9555    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9556    $RM out/* && rmdir out
   9557    cd ..
   9558    $RM -r conftest
   9559    $RM conftest*
   9560 
   9561 fi
   9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9563 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9564 
   9565 
   9566 
   9567 
   9568 hard_links="nottested"
   9569 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9570   # do not overwrite the value of need_locks provided by the user
   9571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9572 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9573   hard_links=yes
   9574   $RM conftest*
   9575   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9576   touch conftest.a
   9577   ln conftest.a conftest.b 2>&5 || hard_links=no
   9578   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9580 $as_echo "$hard_links" >&6; }
   9581   if test "$hard_links" = no; then
   9582     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9583 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9584     need_locks=warn
   9585   fi
   9586 else
   9587   need_locks=no
   9588 fi
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9596 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9597 
   9598   runpath_var=
   9599   allow_undefined_flag=
   9600   always_export_symbols=no
   9601   archive_cmds=
   9602   archive_expsym_cmds=
   9603   compiler_needs_object=no
   9604   enable_shared_with_static_runtimes=no
   9605   export_dynamic_flag_spec=
   9606   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9607   hardcode_automatic=no
   9608   hardcode_direct=no
   9609   hardcode_direct_absolute=no
   9610   hardcode_libdir_flag_spec=
   9611   hardcode_libdir_separator=
   9612   hardcode_minus_L=no
   9613   hardcode_shlibpath_var=unsupported
   9614   inherit_rpath=no
   9615   link_all_deplibs=unknown
   9616   module_cmds=
   9617   module_expsym_cmds=
   9618   old_archive_from_new_cmds=
   9619   old_archive_from_expsyms_cmds=
   9620   thread_safe_flag_spec=
   9621   whole_archive_flag_spec=
   9622   # include_expsyms should be a list of space-separated symbols to be *always*
   9623   # included in the symbol list
   9624   include_expsyms=
   9625   # exclude_expsyms can be an extended regexp of symbols to exclude
   9626   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9627   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9628   # as well as any symbol that contains `d'.
   9629   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9630   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9631   # platforms (ab)use it in PIC code, but their linkers get confused if
   9632   # the symbol is explicitly referenced.  Since portable code cannot
   9633   # rely on this symbol name, it's probably fine to never include it in
   9634   # preloaded symbol tables.
   9635   # Exclude shared library initialization/finalization symbols.
   9636   extract_expsyms_cmds=
   9637 
   9638   case $host_os in
   9639   cygwin* | mingw* | pw32* | cegcc*)
   9640     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9641     # When not using gcc, we currently assume that we are using
   9642     # Microsoft Visual C++.
   9643     if test "$GCC" != yes; then
   9644       with_gnu_ld=no
   9645     fi
   9646     ;;
   9647   interix*)
   9648     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9649     with_gnu_ld=yes
   9650     ;;
   9651   openbsd*)
   9652     with_gnu_ld=no
   9653     ;;
   9654   esac
   9655 
   9656   ld_shlibs=yes
   9657 
   9658   # On some targets, GNU ld is compatible enough with the native linker
   9659   # that we're better off using the native interface for both.
   9660   lt_use_gnu_ld_interface=no
   9661   if test "$with_gnu_ld" = yes; then
   9662     case $host_os in
   9663       aix*)
   9664 	# The AIX port of GNU ld has always aspired to compatibility
   9665 	# with the native linker.  However, as the warning in the GNU ld
   9666 	# block says, versions before 2.19.5* couldn't really create working
   9667 	# shared libraries, regardless of the interface used.
   9668 	case `$LD -v 2>&1` in
   9669 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9670 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9671 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9672 	  *)
   9673 	    lt_use_gnu_ld_interface=yes
   9674 	    ;;
   9675 	esac
   9676 	;;
   9677       *)
   9678 	lt_use_gnu_ld_interface=yes
   9679 	;;
   9680     esac
   9681   fi
   9682 
   9683   if test "$lt_use_gnu_ld_interface" = yes; then
   9684     # If archive_cmds runs LD, not CC, wlarc should be empty
   9685     wlarc='${wl}'
   9686 
   9687     # Set some defaults for GNU ld with shared library support. These
   9688     # are reset later if shared libraries are not supported. Putting them
   9689     # here allows them to be overridden if necessary.
   9690     runpath_var=LD_RUN_PATH
   9691     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9692     export_dynamic_flag_spec='${wl}--export-dynamic'
   9693     # ancient GNU ld didn't support --whole-archive et. al.
   9694     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9695       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9696     else
   9697       whole_archive_flag_spec=
   9698     fi
   9699     supports_anon_versioning=no
   9700     case `$LD -v 2>&1` in
   9701       *GNU\ gold*) supports_anon_versioning=yes ;;
   9702       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9703       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9704       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9705       *\ 2.11.*) ;; # other 2.11 versions
   9706       *) supports_anon_versioning=yes ;;
   9707     esac
   9708 
   9709     # See if GNU ld supports shared libraries.
   9710     case $host_os in
   9711     aix[3-9]*)
   9712       # On AIX/PPC, the GNU linker is very broken
   9713       if test "$host_cpu" != ia64; then
   9714 	ld_shlibs=no
   9715 	cat <<_LT_EOF 1>&2
   9716 
   9717 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9718 *** to be unable to reliably create shared libraries on AIX.
   9719 *** Therefore, libtool is disabling shared libraries support.  If you
   9720 *** really care for shared libraries, you may want to install binutils
   9721 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9722 *** You will then need to restart the configuration process.
   9723 
   9724 _LT_EOF
   9725       fi
   9726       ;;
   9727 
   9728     amigaos*)
   9729       case $host_cpu in
   9730       powerpc)
   9731             # see comment about AmigaOS4 .so support
   9732             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9733             archive_expsym_cmds=''
   9734         ;;
   9735       m68k)
   9736             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)'
   9737             hardcode_libdir_flag_spec='-L$libdir'
   9738             hardcode_minus_L=yes
   9739         ;;
   9740       esac
   9741       ;;
   9742 
   9743     beos*)
   9744       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9745 	allow_undefined_flag=unsupported
   9746 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9747 	# support --undefined.  This deserves some investigation.  FIXME
   9748 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9749       else
   9750 	ld_shlibs=no
   9751       fi
   9752       ;;
   9753 
   9754     cygwin* | mingw* | pw32* | cegcc*)
   9755       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9756       # as there is no search path for DLLs.
   9757       hardcode_libdir_flag_spec='-L$libdir'
   9758       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9759       allow_undefined_flag=unsupported
   9760       always_export_symbols=no
   9761       enable_shared_with_static_runtimes=yes
   9762       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   9763       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9764 
   9765       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9766         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9767 	# If the export-symbols file already is a .def file (1st line
   9768 	# is EXPORTS), use it as is; otherwise, prepend...
   9769 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9770 	  cp $export_symbols $output_objdir/$soname.def;
   9771 	else
   9772 	  echo EXPORTS > $output_objdir/$soname.def;
   9773 	  cat $export_symbols >> $output_objdir/$soname.def;
   9774 	fi~
   9775 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9776       else
   9777 	ld_shlibs=no
   9778       fi
   9779       ;;
   9780 
   9781     haiku*)
   9782       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9783       link_all_deplibs=yes
   9784       ;;
   9785 
   9786     interix[3-9]*)
   9787       hardcode_direct=no
   9788       hardcode_shlibpath_var=no
   9789       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9790       export_dynamic_flag_spec='${wl}-E'
   9791       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9792       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9793       # default) and relocated if they conflict, which is a slow very memory
   9794       # consuming and fragmenting process.  To avoid this, we pick a random,
   9795       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9796       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9797       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9798       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'
   9799       ;;
   9800 
   9801     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9802       tmp_diet=no
   9803       if test "$host_os" = linux-dietlibc; then
   9804 	case $cc_basename in
   9805 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9806 	esac
   9807       fi
   9808       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9809 	 && test "$tmp_diet" = no
   9810       then
   9811 	tmp_addflag=' $pic_flag'
   9812 	tmp_sharedflag='-shared'
   9813 	case $cc_basename,$host_cpu in
   9814         pgcc*)				# Portland Group C compiler
   9815 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9816 	  tmp_addflag=' $pic_flag'
   9817 	  ;;
   9818 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9819 					# Portland Group f77 and f90 compilers
   9820 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9821 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9822 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9823 	  tmp_addflag=' -i_dynamic' ;;
   9824 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9825 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9826 	ifc* | ifort*)			# Intel Fortran compiler
   9827 	  tmp_addflag=' -nofor_main' ;;
   9828 	lf95*)				# Lahey Fortran 8.1
   9829 	  whole_archive_flag_spec=
   9830 	  tmp_sharedflag='--shared' ;;
   9831 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9832 	  tmp_sharedflag='-qmkshrobj'
   9833 	  tmp_addflag= ;;
   9834 	nvcc*)	# Cuda Compiler Driver 2.2
   9835 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9836 	  compiler_needs_object=yes
   9837 	  ;;
   9838 	esac
   9839 	case `$CC -V 2>&1 | sed 5q` in
   9840 	*Sun\ C*)			# Sun C 5.9
   9841 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9842 	  compiler_needs_object=yes
   9843 	  tmp_sharedflag='-G' ;;
   9844 	*Sun\ F*)			# Sun Fortran 8.3
   9845 	  tmp_sharedflag='-G' ;;
   9846 	esac
   9847 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9848 
   9849         if test "x$supports_anon_versioning" = xyes; then
   9850           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9851 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9852 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9853 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9854         fi
   9855 
   9856 	case $cc_basename in
   9857 	xlf* | bgf* | bgxlf* | mpixlf*)
   9858 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9859 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9860 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9861 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9862 	  if test "x$supports_anon_versioning" = xyes; then
   9863 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9864 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9865 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9866 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9867 	  fi
   9868 	  ;;
   9869 	esac
   9870       else
   9871         ld_shlibs=no
   9872       fi
   9873       ;;
   9874 
   9875     netbsd*)
   9876       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9877 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9878 	wlarc=
   9879       else
   9880 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9881 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9882       fi
   9883       ;;
   9884 
   9885     solaris*)
   9886       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9887 	ld_shlibs=no
   9888 	cat <<_LT_EOF 1>&2
   9889 
   9890 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9891 *** create shared libraries on Solaris systems.  Therefore, libtool
   9892 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9893 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9894 *** your PATH or compiler configuration so that the native linker is
   9895 *** used, and then restart.
   9896 
   9897 _LT_EOF
   9898       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9899 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9900 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9901       else
   9902 	ld_shlibs=no
   9903       fi
   9904       ;;
   9905 
   9906     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9907       case `$LD -v 2>&1` in
   9908         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9909 	ld_shlibs=no
   9910 	cat <<_LT_EOF 1>&2
   9911 
   9912 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9913 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9914 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9915 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9916 *** your PATH or compiler configuration so that the native linker is
   9917 *** used, and then restart.
   9918 
   9919 _LT_EOF
   9920 	;;
   9921 	*)
   9922 	  # For security reasons, it is highly recommended that you always
   9923 	  # use absolute paths for naming shared libraries, and exclude the
   9924 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9925 	  # requires that you compile everything twice, which is a pain.
   9926 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9927 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9928 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9929 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9930 	  else
   9931 	    ld_shlibs=no
   9932 	  fi
   9933 	;;
   9934       esac
   9935       ;;
   9936 
   9937     sunos4*)
   9938       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9939       wlarc=
   9940       hardcode_direct=yes
   9941       hardcode_shlibpath_var=no
   9942       ;;
   9943 
   9944     *)
   9945       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9946 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9947 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9948       else
   9949 	ld_shlibs=no
   9950       fi
   9951       ;;
   9952     esac
   9953 
   9954     if test "$ld_shlibs" = no; then
   9955       runpath_var=
   9956       hardcode_libdir_flag_spec=
   9957       export_dynamic_flag_spec=
   9958       whole_archive_flag_spec=
   9959     fi
   9960   else
   9961     # PORTME fill in a description of your system's linker (not GNU ld)
   9962     case $host_os in
   9963     aix3*)
   9964       allow_undefined_flag=unsupported
   9965       always_export_symbols=yes
   9966       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'
   9967       # Note: this linker hardcodes the directories in LIBPATH if there
   9968       # are no directories specified by -L.
   9969       hardcode_minus_L=yes
   9970       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9971 	# Neither direct hardcoding nor static linking is supported with a
   9972 	# broken collect2.
   9973 	hardcode_direct=unsupported
   9974       fi
   9975       ;;
   9976 
   9977     aix[4-9]*)
   9978       if test "$host_cpu" = ia64; then
   9979 	# On IA64, the linker does run time linking by default, so we don't
   9980 	# have to do anything special.
   9981 	aix_use_runtimelinking=no
   9982 	exp_sym_flag='-Bexport'
   9983 	no_entry_flag=""
   9984       else
   9985 	# If we're using GNU nm, then we don't want the "-C" option.
   9986 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9987 	# Also, AIX nm treats weak defined symbols like other global
   9988 	# defined symbols, whereas GNU nm marks them as "W".
   9989 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9990 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9991 	else
   9992 	  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'
   9993 	fi
   9994 	aix_use_runtimelinking=no
   9995 
   9996 	# Test if we are trying to use run time linking or normal
   9997 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9998 	# need to do runtime linking.
   9999 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10000 	  for ld_flag in $LDFLAGS; do
   10001 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10002 	    aix_use_runtimelinking=yes
   10003 	    break
   10004 	  fi
   10005 	  done
   10006 	  ;;
   10007 	esac
   10008 
   10009 	exp_sym_flag='-bexport'
   10010 	no_entry_flag='-bnoentry'
   10011       fi
   10012 
   10013       # When large executables or shared objects are built, AIX ld can
   10014       # have problems creating the table of contents.  If linking a library
   10015       # or program results in "error TOC overflow" add -mminimal-toc to
   10016       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10017       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10018 
   10019       archive_cmds=''
   10020       hardcode_direct=yes
   10021       hardcode_direct_absolute=yes
   10022       hardcode_libdir_separator=':'
   10023       link_all_deplibs=yes
   10024       file_list_spec='${wl}-f,'
   10025 
   10026       if test "$GCC" = yes; then
   10027 	case $host_os in aix4.[012]|aix4.[012].*)
   10028 	# We only want to do this on AIX 4.2 and lower, the check
   10029 	# below for broken collect2 doesn't work under 4.3+
   10030 	  collect2name=`${CC} -print-prog-name=collect2`
   10031 	  if test -f "$collect2name" &&
   10032 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10033 	  then
   10034 	  # We have reworked collect2
   10035 	  :
   10036 	  else
   10037 	  # We have old collect2
   10038 	  hardcode_direct=unsupported
   10039 	  # It fails to find uninstalled libraries when the uninstalled
   10040 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10041 	  # to unsupported forces relinking
   10042 	  hardcode_minus_L=yes
   10043 	  hardcode_libdir_flag_spec='-L$libdir'
   10044 	  hardcode_libdir_separator=
   10045 	  fi
   10046 	  ;;
   10047 	esac
   10048 	shared_flag='-shared'
   10049 	if test "$aix_use_runtimelinking" = yes; then
   10050 	  shared_flag="$shared_flag "'${wl}-G'
   10051 	fi
   10052       else
   10053 	# not using gcc
   10054 	if test "$host_cpu" = ia64; then
   10055 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10056 	# chokes on -Wl,-G. The following line is correct:
   10057 	  shared_flag='-G'
   10058 	else
   10059 	  if test "$aix_use_runtimelinking" = yes; then
   10060 	    shared_flag='${wl}-G'
   10061 	  else
   10062 	    shared_flag='${wl}-bM:SRE'
   10063 	  fi
   10064 	fi
   10065       fi
   10066 
   10067       export_dynamic_flag_spec='${wl}-bexpall'
   10068       # It seems that -bexpall does not export symbols beginning with
   10069       # underscore (_), so it is better to generate a list of symbols to export.
   10070       always_export_symbols=yes
   10071       if test "$aix_use_runtimelinking" = yes; then
   10072 	# Warning - without using the other runtime loading flags (-brtl),
   10073 	# -berok will link without error, but may produce a broken library.
   10074 	allow_undefined_flag='-berok'
   10075         # Determine the default libpath from the value encoded in an
   10076         # empty executable.
   10077         if test "${lt_cv_aix_libpath+set}" = set; then
   10078   aix_libpath=$lt_cv_aix_libpath
   10079 else
   10080   if ${lt_cv_aix_libpath_+:} false; then :
   10081   $as_echo_n "(cached) " >&6
   10082 else
   10083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10084 /* end confdefs.h.  */
   10085 
   10086 int
   10087 main ()
   10088 {
   10089 
   10090   ;
   10091   return 0;
   10092 }
   10093 _ACEOF
   10094 if ac_fn_c_try_link "$LINENO"; then :
   10095 
   10096   lt_aix_libpath_sed='
   10097       /Import File Strings/,/^$/ {
   10098 	  /^0/ {
   10099 	      s/^0  *\([^ ]*\) *$/\1/
   10100 	      p
   10101 	  }
   10102       }'
   10103   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10104   # Check for a 64-bit object if we didn't find anything.
   10105   if test -z "$lt_cv_aix_libpath_"; then
   10106     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10107   fi
   10108 fi
   10109 rm -f core conftest.err conftest.$ac_objext \
   10110     conftest$ac_exeext conftest.$ac_ext
   10111   if test -z "$lt_cv_aix_libpath_"; then
   10112     lt_cv_aix_libpath_="/usr/lib:/lib"
   10113   fi
   10114 
   10115 fi
   10116 
   10117   aix_libpath=$lt_cv_aix_libpath_
   10118 fi
   10119 
   10120         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10121         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   10122       else
   10123 	if test "$host_cpu" = ia64; then
   10124 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10125 	  allow_undefined_flag="-z nodefs"
   10126 	  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"
   10127 	else
   10128 	 # Determine the default libpath from the value encoded in an
   10129 	 # empty executable.
   10130 	 if test "${lt_cv_aix_libpath+set}" = set; then
   10131   aix_libpath=$lt_cv_aix_libpath
   10132 else
   10133   if ${lt_cv_aix_libpath_+:} false; then :
   10134   $as_echo_n "(cached) " >&6
   10135 else
   10136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10137 /* end confdefs.h.  */
   10138 
   10139 int
   10140 main ()
   10141 {
   10142 
   10143   ;
   10144   return 0;
   10145 }
   10146 _ACEOF
   10147 if ac_fn_c_try_link "$LINENO"; then :
   10148 
   10149   lt_aix_libpath_sed='
   10150       /Import File Strings/,/^$/ {
   10151 	  /^0/ {
   10152 	      s/^0  *\([^ ]*\) *$/\1/
   10153 	      p
   10154 	  }
   10155       }'
   10156   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10157   # Check for a 64-bit object if we didn't find anything.
   10158   if test -z "$lt_cv_aix_libpath_"; then
   10159     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10160   fi
   10161 fi
   10162 rm -f core conftest.err conftest.$ac_objext \
   10163     conftest$ac_exeext conftest.$ac_ext
   10164   if test -z "$lt_cv_aix_libpath_"; then
   10165     lt_cv_aix_libpath_="/usr/lib:/lib"
   10166   fi
   10167 
   10168 fi
   10169 
   10170   aix_libpath=$lt_cv_aix_libpath_
   10171 fi
   10172 
   10173 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10174 	  # Warning - without using the other run time loading flags,
   10175 	  # -berok will link without error, but may produce a broken library.
   10176 	  no_undefined_flag=' ${wl}-bernotok'
   10177 	  allow_undefined_flag=' ${wl}-berok'
   10178 	  if test "$with_gnu_ld" = yes; then
   10179 	    # We only use this code for GNU lds that support --whole-archive.
   10180 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10181 	  else
   10182 	    # Exported symbols can be pulled into shared objects from archives
   10183 	    whole_archive_flag_spec='$convenience'
   10184 	  fi
   10185 	  archive_cmds_need_lc=yes
   10186 	  # This is similar to how AIX traditionally builds its shared libraries.
   10187 	  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'
   10188 	fi
   10189       fi
   10190       ;;
   10191 
   10192     amigaos*)
   10193       case $host_cpu in
   10194       powerpc)
   10195             # see comment about AmigaOS4 .so support
   10196             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10197             archive_expsym_cmds=''
   10198         ;;
   10199       m68k)
   10200             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)'
   10201             hardcode_libdir_flag_spec='-L$libdir'
   10202             hardcode_minus_L=yes
   10203         ;;
   10204       esac
   10205       ;;
   10206 
   10207     bsdi[45]*)
   10208       export_dynamic_flag_spec=-rdynamic
   10209       ;;
   10210 
   10211     cygwin* | mingw* | pw32* | cegcc*)
   10212       # When not using gcc, we currently assume that we are using
   10213       # Microsoft Visual C++.
   10214       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10215       # no search path for DLLs.
   10216       case $cc_basename in
   10217       cl*)
   10218 	# Native MSVC
   10219 	hardcode_libdir_flag_spec=' '
   10220 	allow_undefined_flag=unsupported
   10221 	always_export_symbols=yes
   10222 	file_list_spec='@'
   10223 	# Tell ltmain to make .lib files, not .a files.
   10224 	libext=lib
   10225 	# Tell ltmain to make .dll files, not .so files.
   10226 	shrext_cmds=".dll"
   10227 	# FIXME: Setting linknames here is a bad hack.
   10228 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   10229 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10230 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   10231 	  else
   10232 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   10233 	  fi~
   10234 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10235 	  linknames='
   10236 	# The linker will not automatically build a static lib if we build a DLL.
   10237 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10238 	enable_shared_with_static_runtimes=yes
   10239 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10240 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10241 	# Don't use ranlib
   10242 	old_postinstall_cmds='chmod 644 $oldlib'
   10243 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10244 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   10245 	  case $lt_outputfile in
   10246 	    *.exe|*.EXE) ;;
   10247 	    *)
   10248 	      lt_outputfile="$lt_outputfile.exe"
   10249 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   10250 	      ;;
   10251 	  esac~
   10252 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   10253 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10254 	    $RM "$lt_outputfile.manifest";
   10255 	  fi'
   10256 	;;
   10257       *)
   10258 	# Assume MSVC wrapper
   10259 	hardcode_libdir_flag_spec=' '
   10260 	allow_undefined_flag=unsupported
   10261 	# Tell ltmain to make .lib files, not .a files.
   10262 	libext=lib
   10263 	# Tell ltmain to make .dll files, not .so files.
   10264 	shrext_cmds=".dll"
   10265 	# FIXME: Setting linknames here is a bad hack.
   10266 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10267 	# The linker will automatically build a .lib file if we build a DLL.
   10268 	old_archive_from_new_cmds='true'
   10269 	# FIXME: Should let the user specify the lib program.
   10270 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10271 	enable_shared_with_static_runtimes=yes
   10272 	;;
   10273       esac
   10274       ;;
   10275 
   10276     darwin* | rhapsody*)
   10277 
   10278 
   10279   archive_cmds_need_lc=no
   10280   hardcode_direct=no
   10281   hardcode_automatic=yes
   10282   hardcode_shlibpath_var=unsupported
   10283   if test "$lt_cv_ld_force_load" = "yes"; then
   10284     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   10285 
   10286   else
   10287     whole_archive_flag_spec=''
   10288   fi
   10289   link_all_deplibs=yes
   10290   allow_undefined_flag="$_lt_dar_allow_undefined"
   10291   case $cc_basename in
   10292      ifort*) _lt_dar_can_shared=yes ;;
   10293      *) _lt_dar_can_shared=$GCC ;;
   10294   esac
   10295   if test "$_lt_dar_can_shared" = "yes"; then
   10296     output_verbose_link_cmd=func_echo_all
   10297     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10298     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10299     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}"
   10300     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}"
   10301 
   10302   else
   10303   ld_shlibs=no
   10304   fi
   10305 
   10306       ;;
   10307 
   10308     dgux*)
   10309       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10310       hardcode_libdir_flag_spec='-L$libdir'
   10311       hardcode_shlibpath_var=no
   10312       ;;
   10313 
   10314     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10315     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10316     # does not break anything, and helps significantly (at the cost of a little
   10317     # extra space).
   10318     freebsd2.2*)
   10319       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10320       hardcode_libdir_flag_spec='-R$libdir'
   10321       hardcode_direct=yes
   10322       hardcode_shlibpath_var=no
   10323       ;;
   10324 
   10325     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10326     freebsd2.*)
   10327       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10328       hardcode_direct=yes
   10329       hardcode_minus_L=yes
   10330       hardcode_shlibpath_var=no
   10331       ;;
   10332 
   10333     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10334     freebsd* | dragonfly*)
   10335       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10336       hardcode_libdir_flag_spec='-R$libdir'
   10337       hardcode_direct=yes
   10338       hardcode_shlibpath_var=no
   10339       ;;
   10340 
   10341     hpux9*)
   10342       if test "$GCC" = yes; then
   10343 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   10344       else
   10345 	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'
   10346       fi
   10347       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10348       hardcode_libdir_separator=:
   10349       hardcode_direct=yes
   10350 
   10351       # hardcode_minus_L: Not really in the search PATH,
   10352       # but as the default location of the library.
   10353       hardcode_minus_L=yes
   10354       export_dynamic_flag_spec='${wl}-E'
   10355       ;;
   10356 
   10357     hpux10*)
   10358       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10359 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10360       else
   10361 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10362       fi
   10363       if test "$with_gnu_ld" = no; then
   10364 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10365 	hardcode_libdir_separator=:
   10366 	hardcode_direct=yes
   10367 	hardcode_direct_absolute=yes
   10368 	export_dynamic_flag_spec='${wl}-E'
   10369 	# hardcode_minus_L: Not really in the search PATH,
   10370 	# but as the default location of the library.
   10371 	hardcode_minus_L=yes
   10372       fi
   10373       ;;
   10374 
   10375     hpux11*)
   10376       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10377 	case $host_cpu in
   10378 	hppa*64*)
   10379 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10380 	  ;;
   10381 	ia64*)
   10382 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10383 	  ;;
   10384 	*)
   10385 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10386 	  ;;
   10387 	esac
   10388       else
   10389 	case $host_cpu in
   10390 	hppa*64*)
   10391 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10392 	  ;;
   10393 	ia64*)
   10394 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10395 	  ;;
   10396 	*)
   10397 
   10398 	  # Older versions of the 11.00 compiler do not understand -b yet
   10399 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10400 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10401 $as_echo_n "checking if $CC understands -b... " >&6; }
   10402 if ${lt_cv_prog_compiler__b+:} false; then :
   10403   $as_echo_n "(cached) " >&6
   10404 else
   10405   lt_cv_prog_compiler__b=no
   10406    save_LDFLAGS="$LDFLAGS"
   10407    LDFLAGS="$LDFLAGS -b"
   10408    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10409    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10410      # The linker can only warn and ignore the option if not recognized
   10411      # So say no if there are warnings
   10412      if test -s conftest.err; then
   10413        # Append any errors to the config.log.
   10414        cat conftest.err 1>&5
   10415        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10416        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10417        if diff conftest.exp conftest.er2 >/dev/null; then
   10418          lt_cv_prog_compiler__b=yes
   10419        fi
   10420      else
   10421        lt_cv_prog_compiler__b=yes
   10422      fi
   10423    fi
   10424    $RM -r conftest*
   10425    LDFLAGS="$save_LDFLAGS"
   10426 
   10427 fi
   10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10429 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10430 
   10431 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10432     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10433 else
   10434     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10435 fi
   10436 
   10437 	  ;;
   10438 	esac
   10439       fi
   10440       if test "$with_gnu_ld" = no; then
   10441 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10442 	hardcode_libdir_separator=:
   10443 
   10444 	case $host_cpu in
   10445 	hppa*64*|ia64*)
   10446 	  hardcode_direct=no
   10447 	  hardcode_shlibpath_var=no
   10448 	  ;;
   10449 	*)
   10450 	  hardcode_direct=yes
   10451 	  hardcode_direct_absolute=yes
   10452 	  export_dynamic_flag_spec='${wl}-E'
   10453 
   10454 	  # hardcode_minus_L: Not really in the search PATH,
   10455 	  # but as the default location of the library.
   10456 	  hardcode_minus_L=yes
   10457 	  ;;
   10458 	esac
   10459       fi
   10460       ;;
   10461 
   10462     irix5* | irix6* | nonstopux*)
   10463       if test "$GCC" = yes; then
   10464 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10465 	# Try to use the -exported_symbol ld option, if it does not
   10466 	# work, assume that -exports_file does not work either and
   10467 	# implicitly export all symbols.
   10468 	# This should be the same for all languages, so no per-tag cache variable.
   10469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10470 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10471 if ${lt_cv_irix_exported_symbol+:} false; then :
   10472   $as_echo_n "(cached) " >&6
   10473 else
   10474   save_LDFLAGS="$LDFLAGS"
   10475 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10476 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10477 /* end confdefs.h.  */
   10478 int foo (void) { return 0; }
   10479 _ACEOF
   10480 if ac_fn_c_try_link "$LINENO"; then :
   10481   lt_cv_irix_exported_symbol=yes
   10482 else
   10483   lt_cv_irix_exported_symbol=no
   10484 fi
   10485 rm -f core conftest.err conftest.$ac_objext \
   10486     conftest$ac_exeext conftest.$ac_ext
   10487            LDFLAGS="$save_LDFLAGS"
   10488 fi
   10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10490 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10491 	if test "$lt_cv_irix_exported_symbol" = yes; then
   10492           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   10493 	fi
   10494       else
   10495 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10496 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   10497       fi
   10498       archive_cmds_need_lc='no'
   10499       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10500       hardcode_libdir_separator=:
   10501       inherit_rpath=yes
   10502       link_all_deplibs=yes
   10503       ;;
   10504 
   10505     netbsd*)
   10506       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10507 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10508       else
   10509 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10510       fi
   10511       hardcode_libdir_flag_spec='-R$libdir'
   10512       hardcode_direct=yes
   10513       hardcode_shlibpath_var=no
   10514       ;;
   10515 
   10516     newsos6)
   10517       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10518       hardcode_direct=yes
   10519       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10520       hardcode_libdir_separator=:
   10521       hardcode_shlibpath_var=no
   10522       ;;
   10523 
   10524     *nto* | *qnx*)
   10525       ;;
   10526 
   10527     openbsd*)
   10528       if test -f /usr/libexec/ld.so; then
   10529 	hardcode_direct=yes
   10530 	hardcode_shlibpath_var=no
   10531 	hardcode_direct_absolute=yes
   10532 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10533 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10534 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10535 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10536 	  export_dynamic_flag_spec='${wl}-E'
   10537 	else
   10538 	  case $host_os in
   10539 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10540 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10541 	     hardcode_libdir_flag_spec='-R$libdir'
   10542 	     ;;
   10543 	   *)
   10544 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10545 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10546 	     ;;
   10547 	  esac
   10548 	fi
   10549       else
   10550 	ld_shlibs=no
   10551       fi
   10552       ;;
   10553 
   10554     os2*)
   10555       hardcode_libdir_flag_spec='-L$libdir'
   10556       hardcode_minus_L=yes
   10557       allow_undefined_flag=unsupported
   10558       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'
   10559       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10560       ;;
   10561 
   10562     osf3*)
   10563       if test "$GCC" = yes; then
   10564 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10565 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10566       else
   10567 	allow_undefined_flag=' -expect_unresolved \*'
   10568 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10569       fi
   10570       archive_cmds_need_lc='no'
   10571       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10572       hardcode_libdir_separator=:
   10573       ;;
   10574 
   10575     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10576       if test "$GCC" = yes; then
   10577 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10578 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10579 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10580       else
   10581 	allow_undefined_flag=' -expect_unresolved \*'
   10582 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10583 	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~
   10584 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   10585 
   10586 	# Both c and cxx compiler support -rpath directly
   10587 	hardcode_libdir_flag_spec='-rpath $libdir'
   10588       fi
   10589       archive_cmds_need_lc='no'
   10590       hardcode_libdir_separator=:
   10591       ;;
   10592 
   10593     solaris*)
   10594       no_undefined_flag=' -z defs'
   10595       if test "$GCC" = yes; then
   10596 	wlarc='${wl}'
   10597 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10598 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10599 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10600       else
   10601 	case `$CC -V 2>&1` in
   10602 	*"Compilers 5.0"*)
   10603 	  wlarc=''
   10604 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10605 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10606 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10607 	  ;;
   10608 	*)
   10609 	  wlarc='${wl}'
   10610 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10611 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10612 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10613 	  ;;
   10614 	esac
   10615       fi
   10616       hardcode_libdir_flag_spec='-R$libdir'
   10617       hardcode_shlibpath_var=no
   10618       case $host_os in
   10619       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10620       *)
   10621 	# The compiler driver will combine and reorder linker options,
   10622 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10623 	# but is careful enough not to reorder.
   10624 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10625 	if test "$GCC" = yes; then
   10626 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10627 	else
   10628 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10629 	fi
   10630 	;;
   10631       esac
   10632       link_all_deplibs=yes
   10633       ;;
   10634 
   10635     sunos4*)
   10636       if test "x$host_vendor" = xsequent; then
   10637 	# Use $CC to link under sequent, because it throws in some extra .o
   10638 	# files that make .init and .fini sections work.
   10639 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10640       else
   10641 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10642       fi
   10643       hardcode_libdir_flag_spec='-L$libdir'
   10644       hardcode_direct=yes
   10645       hardcode_minus_L=yes
   10646       hardcode_shlibpath_var=no
   10647       ;;
   10648 
   10649     sysv4)
   10650       case $host_vendor in
   10651 	sni)
   10652 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10653 	  hardcode_direct=yes # is this really true???
   10654 	;;
   10655 	siemens)
   10656 	  ## LD is ld it makes a PLAMLIB
   10657 	  ## CC just makes a GrossModule.
   10658 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10659 	  reload_cmds='$CC -r -o $output$reload_objs'
   10660 	  hardcode_direct=no
   10661         ;;
   10662 	motorola)
   10663 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10664 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10665 	;;
   10666       esac
   10667       runpath_var='LD_RUN_PATH'
   10668       hardcode_shlibpath_var=no
   10669       ;;
   10670 
   10671     sysv4.3*)
   10672       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10673       hardcode_shlibpath_var=no
   10674       export_dynamic_flag_spec='-Bexport'
   10675       ;;
   10676 
   10677     sysv4*MP*)
   10678       if test -d /usr/nec; then
   10679 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10680 	hardcode_shlibpath_var=no
   10681 	runpath_var=LD_RUN_PATH
   10682 	hardcode_runpath_var=yes
   10683 	ld_shlibs=yes
   10684       fi
   10685       ;;
   10686 
   10687     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10688       no_undefined_flag='${wl}-z,text'
   10689       archive_cmds_need_lc=no
   10690       hardcode_shlibpath_var=no
   10691       runpath_var='LD_RUN_PATH'
   10692 
   10693       if test "$GCC" = yes; then
   10694 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10695 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10696       else
   10697 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10698 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10699       fi
   10700       ;;
   10701 
   10702     sysv5* | sco3.2v5* | sco5v6*)
   10703       # Note: We can NOT use -z defs as we might desire, because we do not
   10704       # link with -lc, and that would cause any symbols used from libc to
   10705       # always be unresolved, which means just about no library would
   10706       # ever link correctly.  If we're not using GNU ld we use -z text
   10707       # though, which does catch some bad symbols but isn't as heavy-handed
   10708       # as -z defs.
   10709       no_undefined_flag='${wl}-z,text'
   10710       allow_undefined_flag='${wl}-z,nodefs'
   10711       archive_cmds_need_lc=no
   10712       hardcode_shlibpath_var=no
   10713       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10714       hardcode_libdir_separator=':'
   10715       link_all_deplibs=yes
   10716       export_dynamic_flag_spec='${wl}-Bexport'
   10717       runpath_var='LD_RUN_PATH'
   10718 
   10719       if test "$GCC" = yes; then
   10720 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10721 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10722       else
   10723 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10724 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10725       fi
   10726       ;;
   10727 
   10728     uts4*)
   10729       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10730       hardcode_libdir_flag_spec='-L$libdir'
   10731       hardcode_shlibpath_var=no
   10732       ;;
   10733 
   10734     *)
   10735       ld_shlibs=no
   10736       ;;
   10737     esac
   10738 
   10739     if test x$host_vendor = xsni; then
   10740       case $host in
   10741       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10742 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10743 	;;
   10744       esac
   10745     fi
   10746   fi
   10747 
   10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10749 $as_echo "$ld_shlibs" >&6; }
   10750 test "$ld_shlibs" = no && can_build_shared=no
   10751 
   10752 with_gnu_ld=$with_gnu_ld
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 #
   10769 # Do we need to explicitly link libc?
   10770 #
   10771 case "x$archive_cmds_need_lc" in
   10772 x|xyes)
   10773   # Assume -lc should be added
   10774   archive_cmds_need_lc=yes
   10775 
   10776   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10777     case $archive_cmds in
   10778     *'~'*)
   10779       # FIXME: we may have to deal with multi-command sequences.
   10780       ;;
   10781     '$CC '*)
   10782       # Test whether the compiler implicitly links with -lc since on some
   10783       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10784       # to ld, don't add -lc before -lgcc.
   10785       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10786 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10787 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10788   $as_echo_n "(cached) " >&6
   10789 else
   10790   $RM conftest*
   10791 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10792 
   10793 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10794   (eval $ac_compile) 2>&5
   10795   ac_status=$?
   10796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10797   test $ac_status = 0; } 2>conftest.err; then
   10798 	  soname=conftest
   10799 	  lib=conftest
   10800 	  libobjs=conftest.$ac_objext
   10801 	  deplibs=
   10802 	  wl=$lt_prog_compiler_wl
   10803 	  pic_flag=$lt_prog_compiler_pic
   10804 	  compiler_flags=-v
   10805 	  linker_flags=-v
   10806 	  verstring=
   10807 	  output_objdir=.
   10808 	  libname=conftest
   10809 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10810 	  allow_undefined_flag=
   10811 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10812   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10813   ac_status=$?
   10814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10815   test $ac_status = 0; }
   10816 	  then
   10817 	    lt_cv_archive_cmds_need_lc=no
   10818 	  else
   10819 	    lt_cv_archive_cmds_need_lc=yes
   10820 	  fi
   10821 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10822 	else
   10823 	  cat conftest.err 1>&5
   10824 	fi
   10825 	$RM conftest*
   10826 
   10827 fi
   10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10829 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10830       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10831       ;;
   10832     esac
   10833   fi
   10834   ;;
   10835 esac
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10989 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10990 
   10991 if test "$GCC" = yes; then
   10992   case $host_os in
   10993     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10994     *) lt_awk_arg="/^libraries:/" ;;
   10995   esac
   10996   case $host_os in
   10997     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10998     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10999   esac
   11000   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11001   case $lt_search_path_spec in
   11002   *\;*)
   11003     # if the path contains ";" then we assume it to be the separator
   11004     # otherwise default to the standard path separator (i.e. ":") - it is
   11005     # assumed that no part of a normal pathname contains ";" but that should
   11006     # okay in the real world where ";" in dirpaths is itself problematic.
   11007     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11008     ;;
   11009   *)
   11010     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11011     ;;
   11012   esac
   11013   # Ok, now we have the path, separated by spaces, we can step through it
   11014   # and add multilib dir if necessary.
   11015   lt_tmp_lt_search_path_spec=
   11016   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11017   for lt_sys_path in $lt_search_path_spec; do
   11018     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11019       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11020     else
   11021       test -d "$lt_sys_path" && \
   11022 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11023     fi
   11024   done
   11025   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11026 BEGIN {RS=" "; FS="/|\n";} {
   11027   lt_foo="";
   11028   lt_count=0;
   11029   for (lt_i = NF; lt_i > 0; lt_i--) {
   11030     if ($lt_i != "" && $lt_i != ".") {
   11031       if ($lt_i == "..") {
   11032         lt_count++;
   11033       } else {
   11034         if (lt_count == 0) {
   11035           lt_foo="/" $lt_i lt_foo;
   11036         } else {
   11037           lt_count--;
   11038         }
   11039       }
   11040     }
   11041   }
   11042   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11043   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11044 }'`
   11045   # AWK program above erroneously prepends '/' to C:/dos/paths
   11046   # for these hosts.
   11047   case $host_os in
   11048     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11049       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11050   esac
   11051   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11052 else
   11053   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11054 fi
   11055 library_names_spec=
   11056 libname_spec='lib$name'
   11057 soname_spec=
   11058 shrext_cmds=".so"
   11059 postinstall_cmds=
   11060 postuninstall_cmds=
   11061 finish_cmds=
   11062 finish_eval=
   11063 shlibpath_var=
   11064 shlibpath_overrides_runpath=unknown
   11065 version_type=none
   11066 dynamic_linker="$host_os ld.so"
   11067 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11068 need_lib_prefix=unknown
   11069 hardcode_into_libs=no
   11070 
   11071 # when you set need_version to no, make sure it does not cause -set_version
   11072 # flags to be left without arguments
   11073 need_version=unknown
   11074 
   11075 case $host_os in
   11076 aix3*)
   11077   version_type=linux # correct to gnu/linux during the next big refactor
   11078   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11079   shlibpath_var=LIBPATH
   11080 
   11081   # AIX 3 has no versioning support, so we append a major version to the name.
   11082   soname_spec='${libname}${release}${shared_ext}$major'
   11083   ;;
   11084 
   11085 aix[4-9]*)
   11086   version_type=linux # correct to gnu/linux during the next big refactor
   11087   need_lib_prefix=no
   11088   need_version=no
   11089   hardcode_into_libs=yes
   11090   if test "$host_cpu" = ia64; then
   11091     # AIX 5 supports IA64
   11092     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11093     shlibpath_var=LD_LIBRARY_PATH
   11094   else
   11095     # With GCC up to 2.95.x, collect2 would create an import file
   11096     # for dependence libraries.  The import file would start with
   11097     # the line `#! .'.  This would cause the generated library to
   11098     # depend on `.', always an invalid library.  This was fixed in
   11099     # development snapshots of GCC prior to 3.0.
   11100     case $host_os in
   11101       aix4 | aix4.[01] | aix4.[01].*)
   11102       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11103 	   echo ' yes '
   11104 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11105 	:
   11106       else
   11107 	can_build_shared=no
   11108       fi
   11109       ;;
   11110     esac
   11111     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11112     # soname into executable. Probably we can add versioning support to
   11113     # collect2, so additional links can be useful in future.
   11114     if test "$aix_use_runtimelinking" = yes; then
   11115       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11116       # instead of lib<name>.a to let people know that these are not
   11117       # typical AIX shared libraries.
   11118       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11119     else
   11120       # We preserve .a as extension for shared libraries through AIX4.2
   11121       # and later when we are not doing run time linking.
   11122       library_names_spec='${libname}${release}.a $libname.a'
   11123       soname_spec='${libname}${release}${shared_ext}$major'
   11124     fi
   11125     shlibpath_var=LIBPATH
   11126   fi
   11127   ;;
   11128 
   11129 amigaos*)
   11130   case $host_cpu in
   11131   powerpc)
   11132     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11133     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11134     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11135     ;;
   11136   m68k)
   11137     library_names_spec='$libname.ixlibrary $libname.a'
   11138     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11139     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
   11140     ;;
   11141   esac
   11142   ;;
   11143 
   11144 beos*)
   11145   library_names_spec='${libname}${shared_ext}'
   11146   dynamic_linker="$host_os ld.so"
   11147   shlibpath_var=LIBRARY_PATH
   11148   ;;
   11149 
   11150 bsdi[45]*)
   11151   version_type=linux # correct to gnu/linux during the next big refactor
   11152   need_version=no
   11153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11154   soname_spec='${libname}${release}${shared_ext}$major'
   11155   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11156   shlibpath_var=LD_LIBRARY_PATH
   11157   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11158   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11159   # the default ld.so.conf also contains /usr/contrib/lib and
   11160   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11161   # libtool to hard-code these into programs
   11162   ;;
   11163 
   11164 cygwin* | mingw* | pw32* | cegcc*)
   11165   version_type=windows
   11166   shrext_cmds=".dll"
   11167   need_version=no
   11168   need_lib_prefix=no
   11169 
   11170   case $GCC,$cc_basename in
   11171   yes,*)
   11172     # gcc
   11173     library_names_spec='$libname.dll.a'
   11174     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11175     postinstall_cmds='base_file=`basename \${file}`~
   11176       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11177       dldir=$destdir/`dirname \$dlpath`~
   11178       test -d \$dldir || mkdir -p \$dldir~
   11179       $install_prog $dir/$dlname \$dldir/$dlname~
   11180       chmod a+x \$dldir/$dlname~
   11181       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11182         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11183       fi'
   11184     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11185       dlpath=$dir/\$dldll~
   11186        $RM \$dlpath'
   11187     shlibpath_overrides_runpath=yes
   11188 
   11189     case $host_os in
   11190     cygwin*)
   11191       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11192       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11193 
   11194       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11195       ;;
   11196     mingw* | cegcc*)
   11197       # MinGW DLLs use traditional 'lib' prefix
   11198       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11199       ;;
   11200     pw32*)
   11201       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11202       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11203       ;;
   11204     esac
   11205     dynamic_linker='Win32 ld.exe'
   11206     ;;
   11207 
   11208   *,cl*)
   11209     # Native MSVC
   11210     libname_spec='$name'
   11211     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11212     library_names_spec='${libname}.dll.lib'
   11213 
   11214     case $build_os in
   11215     mingw*)
   11216       sys_lib_search_path_spec=
   11217       lt_save_ifs=$IFS
   11218       IFS=';'
   11219       for lt_path in $LIB
   11220       do
   11221         IFS=$lt_save_ifs
   11222         # Let DOS variable expansion print the short 8.3 style file name.
   11223         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11224         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11225       done
   11226       IFS=$lt_save_ifs
   11227       # Convert to MSYS style.
   11228       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11229       ;;
   11230     cygwin*)
   11231       # Convert to unix form, then to dos form, then back to unix form
   11232       # but this time dos style (no spaces!) so that the unix form looks
   11233       # like /cygdrive/c/PROGRA~1:/cygdr...
   11234       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11235       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11236       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11237       ;;
   11238     *)
   11239       sys_lib_search_path_spec="$LIB"
   11240       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11241         # It is most probably a Windows format PATH.
   11242         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11243       else
   11244         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11245       fi
   11246       # FIXME: find the short name or the path components, as spaces are
   11247       # common. (e.g. "Program Files" -> "PROGRA~1")
   11248       ;;
   11249     esac
   11250 
   11251     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11252     postinstall_cmds='base_file=`basename \${file}`~
   11253       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11254       dldir=$destdir/`dirname \$dlpath`~
   11255       test -d \$dldir || mkdir -p \$dldir~
   11256       $install_prog $dir/$dlname \$dldir/$dlname'
   11257     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11258       dlpath=$dir/\$dldll~
   11259        $RM \$dlpath'
   11260     shlibpath_overrides_runpath=yes
   11261     dynamic_linker='Win32 link.exe'
   11262     ;;
   11263 
   11264   *)
   11265     # Assume MSVC wrapper
   11266     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11267     dynamic_linker='Win32 ld.exe'
   11268     ;;
   11269   esac
   11270   # FIXME: first we should search . and the directory the executable is in
   11271   shlibpath_var=PATH
   11272   ;;
   11273 
   11274 darwin* | rhapsody*)
   11275   dynamic_linker="$host_os dyld"
   11276   version_type=darwin
   11277   need_lib_prefix=no
   11278   need_version=no
   11279   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11280   soname_spec='${libname}${release}${major}$shared_ext'
   11281   shlibpath_overrides_runpath=yes
   11282   shlibpath_var=DYLD_LIBRARY_PATH
   11283   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11284 
   11285   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11286   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11287   ;;
   11288 
   11289 dgux*)
   11290   version_type=linux # correct to gnu/linux during the next big refactor
   11291   need_lib_prefix=no
   11292   need_version=no
   11293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11294   soname_spec='${libname}${release}${shared_ext}$major'
   11295   shlibpath_var=LD_LIBRARY_PATH
   11296   ;;
   11297 
   11298 freebsd* | dragonfly*)
   11299   # DragonFly does not have aout.  When/if they implement a new
   11300   # versioning mechanism, adjust this.
   11301   if test -x /usr/bin/objformat; then
   11302     objformat=`/usr/bin/objformat`
   11303   else
   11304     case $host_os in
   11305     freebsd[23].*) objformat=aout ;;
   11306     *) objformat=elf ;;
   11307     esac
   11308   fi
   11309   version_type=freebsd-$objformat
   11310   case $version_type in
   11311     freebsd-elf*)
   11312       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11313       need_version=no
   11314       need_lib_prefix=no
   11315       ;;
   11316     freebsd-*)
   11317       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11318       need_version=yes
   11319       ;;
   11320   esac
   11321   shlibpath_var=LD_LIBRARY_PATH
   11322   case $host_os in
   11323   freebsd2.*)
   11324     shlibpath_overrides_runpath=yes
   11325     ;;
   11326   freebsd3.[01]* | freebsdelf3.[01]*)
   11327     shlibpath_overrides_runpath=yes
   11328     hardcode_into_libs=yes
   11329     ;;
   11330   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11331   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11332     shlibpath_overrides_runpath=no
   11333     hardcode_into_libs=yes
   11334     ;;
   11335   *) # from 4.6 on, and DragonFly
   11336     shlibpath_overrides_runpath=yes
   11337     hardcode_into_libs=yes
   11338     ;;
   11339   esac
   11340   ;;
   11341 
   11342 gnu*)
   11343   version_type=linux # correct to gnu/linux during the next big refactor
   11344   need_lib_prefix=no
   11345   need_version=no
   11346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11347   soname_spec='${libname}${release}${shared_ext}$major'
   11348   shlibpath_var=LD_LIBRARY_PATH
   11349   shlibpath_overrides_runpath=no
   11350   hardcode_into_libs=yes
   11351   ;;
   11352 
   11353 haiku*)
   11354   version_type=linux # correct to gnu/linux during the next big refactor
   11355   need_lib_prefix=no
   11356   need_version=no
   11357   dynamic_linker="$host_os runtime_loader"
   11358   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11359   soname_spec='${libname}${release}${shared_ext}$major'
   11360   shlibpath_var=LIBRARY_PATH
   11361   shlibpath_overrides_runpath=yes
   11362   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11363   hardcode_into_libs=yes
   11364   ;;
   11365 
   11366 hpux9* | hpux10* | hpux11*)
   11367   # Give a soname corresponding to the major version so that dld.sl refuses to
   11368   # link against other versions.
   11369   version_type=sunos
   11370   need_lib_prefix=no
   11371   need_version=no
   11372   case $host_cpu in
   11373   ia64*)
   11374     shrext_cmds='.so'
   11375     hardcode_into_libs=yes
   11376     dynamic_linker="$host_os dld.so"
   11377     shlibpath_var=LD_LIBRARY_PATH
   11378     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11379     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11380     soname_spec='${libname}${release}${shared_ext}$major'
   11381     if test "X$HPUX_IA64_MODE" = X32; then
   11382       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11383     else
   11384       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11385     fi
   11386     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11387     ;;
   11388   hppa*64*)
   11389     shrext_cmds='.sl'
   11390     hardcode_into_libs=yes
   11391     dynamic_linker="$host_os dld.sl"
   11392     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11393     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11394     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11395     soname_spec='${libname}${release}${shared_ext}$major'
   11396     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11397     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11398     ;;
   11399   *)
   11400     shrext_cmds='.sl'
   11401     dynamic_linker="$host_os dld.sl"
   11402     shlibpath_var=SHLIB_PATH
   11403     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11404     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11405     soname_spec='${libname}${release}${shared_ext}$major'
   11406     ;;
   11407   esac
   11408   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11409   postinstall_cmds='chmod 555 $lib'
   11410   # or fails outright, so override atomically:
   11411   install_override_mode=555
   11412   ;;
   11413 
   11414 interix[3-9]*)
   11415   version_type=linux # correct to gnu/linux during the next big refactor
   11416   need_lib_prefix=no
   11417   need_version=no
   11418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11419   soname_spec='${libname}${release}${shared_ext}$major'
   11420   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11421   shlibpath_var=LD_LIBRARY_PATH
   11422   shlibpath_overrides_runpath=no
   11423   hardcode_into_libs=yes
   11424   ;;
   11425 
   11426 irix5* | irix6* | nonstopux*)
   11427   case $host_os in
   11428     nonstopux*) version_type=nonstopux ;;
   11429     *)
   11430 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11431 		version_type=linux # correct to gnu/linux during the next big refactor
   11432 	else
   11433 		version_type=irix
   11434 	fi ;;
   11435   esac
   11436   need_lib_prefix=no
   11437   need_version=no
   11438   soname_spec='${libname}${release}${shared_ext}$major'
   11439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11440   case $host_os in
   11441   irix5* | nonstopux*)
   11442     libsuff= shlibsuff=
   11443     ;;
   11444   *)
   11445     case $LD in # libtool.m4 will add one of these switches to LD
   11446     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11447       libsuff= shlibsuff= libmagic=32-bit;;
   11448     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11449       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11450     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11451       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11452     *) libsuff= shlibsuff= libmagic=never-match;;
   11453     esac
   11454     ;;
   11455   esac
   11456   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11457   shlibpath_overrides_runpath=no
   11458   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11459   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11460   hardcode_into_libs=yes
   11461   ;;
   11462 
   11463 # No shared lib support for Linux oldld, aout, or coff.
   11464 linux*oldld* | linux*aout* | linux*coff*)
   11465   dynamic_linker=no
   11466   ;;
   11467 
   11468 # This must be glibc/ELF.
   11469 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11470   version_type=linux # correct to gnu/linux during the next big refactor
   11471   need_lib_prefix=no
   11472   need_version=no
   11473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11474   soname_spec='${libname}${release}${shared_ext}$major'
   11475   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11476   shlibpath_var=LD_LIBRARY_PATH
   11477   shlibpath_overrides_runpath=no
   11478 
   11479   # Some binutils ld are patched to set DT_RUNPATH
   11480   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11481   $as_echo_n "(cached) " >&6
   11482 else
   11483   lt_cv_shlibpath_overrides_runpath=no
   11484     save_LDFLAGS=$LDFLAGS
   11485     save_libdir=$libdir
   11486     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11487 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11488     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11489 /* end confdefs.h.  */
   11490 
   11491 int
   11492 main ()
   11493 {
   11494 
   11495   ;
   11496   return 0;
   11497 }
   11498 _ACEOF
   11499 if ac_fn_c_try_link "$LINENO"; then :
   11500   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11501   lt_cv_shlibpath_overrides_runpath=yes
   11502 fi
   11503 fi
   11504 rm -f core conftest.err conftest.$ac_objext \
   11505     conftest$ac_exeext conftest.$ac_ext
   11506     LDFLAGS=$save_LDFLAGS
   11507     libdir=$save_libdir
   11508 
   11509 fi
   11510 
   11511   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11512 
   11513   # This implies no fast_install, which is unacceptable.
   11514   # Some rework will be needed to allow for fast_install
   11515   # before this can be enabled.
   11516   hardcode_into_libs=yes
   11517 
   11518   # Append ld.so.conf contents to the search path
   11519   if test -f /etc/ld.so.conf; then
   11520     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;s/"//g;/^$/d' | tr '\n' ' '`
   11521     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11522   fi
   11523 
   11524   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11525   # powerpc, because MkLinux only supported shared libraries with the
   11526   # GNU dynamic linker.  Since this was broken with cross compilers,
   11527   # most powerpc-linux boxes support dynamic linking these days and
   11528   # people can always --disable-shared, the test was removed, and we
   11529   # assume the GNU/Linux dynamic linker is in use.
   11530   dynamic_linker='GNU/Linux ld.so'
   11531   ;;
   11532 
   11533 netbsd*)
   11534   version_type=sunos
   11535   need_lib_prefix=no
   11536   need_version=no
   11537   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11538     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11539     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11540     dynamic_linker='NetBSD (a.out) ld.so'
   11541   else
   11542     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11543     soname_spec='${libname}${release}${shared_ext}$major'
   11544     dynamic_linker='NetBSD ld.elf_so'
   11545   fi
   11546   shlibpath_var=LD_LIBRARY_PATH
   11547   shlibpath_overrides_runpath=yes
   11548   hardcode_into_libs=yes
   11549   ;;
   11550 
   11551 newsos6)
   11552   version_type=linux # correct to gnu/linux during the next big refactor
   11553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11554   shlibpath_var=LD_LIBRARY_PATH
   11555   shlibpath_overrides_runpath=yes
   11556   ;;
   11557 
   11558 *nto* | *qnx*)
   11559   version_type=qnx
   11560   need_lib_prefix=no
   11561   need_version=no
   11562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11563   soname_spec='${libname}${release}${shared_ext}$major'
   11564   shlibpath_var=LD_LIBRARY_PATH
   11565   shlibpath_overrides_runpath=no
   11566   hardcode_into_libs=yes
   11567   dynamic_linker='ldqnx.so'
   11568   ;;
   11569 
   11570 openbsd*)
   11571   version_type=sunos
   11572   sys_lib_dlsearch_path_spec="/usr/lib"
   11573   need_lib_prefix=no
   11574   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11575   case $host_os in
   11576     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11577     *)				need_version=no  ;;
   11578   esac
   11579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11580   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11581   shlibpath_var=LD_LIBRARY_PATH
   11582   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11583     case $host_os in
   11584       openbsd2.[89] | openbsd2.[89].*)
   11585 	shlibpath_overrides_runpath=no
   11586 	;;
   11587       *)
   11588 	shlibpath_overrides_runpath=yes
   11589 	;;
   11590       esac
   11591   else
   11592     shlibpath_overrides_runpath=yes
   11593   fi
   11594   ;;
   11595 
   11596 os2*)
   11597   libname_spec='$name'
   11598   shrext_cmds=".dll"
   11599   need_lib_prefix=no
   11600   library_names_spec='$libname${shared_ext} $libname.a'
   11601   dynamic_linker='OS/2 ld.exe'
   11602   shlibpath_var=LIBPATH
   11603   ;;
   11604 
   11605 osf3* | osf4* | osf5*)
   11606   version_type=osf
   11607   need_lib_prefix=no
   11608   need_version=no
   11609   soname_spec='${libname}${release}${shared_ext}$major'
   11610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11611   shlibpath_var=LD_LIBRARY_PATH
   11612   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11613   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11614   ;;
   11615 
   11616 rdos*)
   11617   dynamic_linker=no
   11618   ;;
   11619 
   11620 solaris*)
   11621   version_type=linux # correct to gnu/linux during the next big refactor
   11622   need_lib_prefix=no
   11623   need_version=no
   11624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11625   soname_spec='${libname}${release}${shared_ext}$major'
   11626   shlibpath_var=LD_LIBRARY_PATH
   11627   shlibpath_overrides_runpath=yes
   11628   hardcode_into_libs=yes
   11629   # ldd complains unless libraries are executable
   11630   postinstall_cmds='chmod +x $lib'
   11631   ;;
   11632 
   11633 sunos4*)
   11634   version_type=sunos
   11635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11636   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11637   shlibpath_var=LD_LIBRARY_PATH
   11638   shlibpath_overrides_runpath=yes
   11639   if test "$with_gnu_ld" = yes; then
   11640     need_lib_prefix=no
   11641   fi
   11642   need_version=yes
   11643   ;;
   11644 
   11645 sysv4 | sysv4.3*)
   11646   version_type=linux # correct to gnu/linux during the next big refactor
   11647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11648   soname_spec='${libname}${release}${shared_ext}$major'
   11649   shlibpath_var=LD_LIBRARY_PATH
   11650   case $host_vendor in
   11651     sni)
   11652       shlibpath_overrides_runpath=no
   11653       need_lib_prefix=no
   11654       runpath_var=LD_RUN_PATH
   11655       ;;
   11656     siemens)
   11657       need_lib_prefix=no
   11658       ;;
   11659     motorola)
   11660       need_lib_prefix=no
   11661       need_version=no
   11662       shlibpath_overrides_runpath=no
   11663       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11664       ;;
   11665   esac
   11666   ;;
   11667 
   11668 sysv4*MP*)
   11669   if test -d /usr/nec ;then
   11670     version_type=linux # correct to gnu/linux during the next big refactor
   11671     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11672     soname_spec='$libname${shared_ext}.$major'
   11673     shlibpath_var=LD_LIBRARY_PATH
   11674   fi
   11675   ;;
   11676 
   11677 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11678   version_type=freebsd-elf
   11679   need_lib_prefix=no
   11680   need_version=no
   11681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11682   soname_spec='${libname}${release}${shared_ext}$major'
   11683   shlibpath_var=LD_LIBRARY_PATH
   11684   shlibpath_overrides_runpath=yes
   11685   hardcode_into_libs=yes
   11686   if test "$with_gnu_ld" = yes; then
   11687     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11688   else
   11689     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11690     case $host_os in
   11691       sco3.2v5*)
   11692         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11693 	;;
   11694     esac
   11695   fi
   11696   sys_lib_dlsearch_path_spec='/usr/lib'
   11697   ;;
   11698 
   11699 tpf*)
   11700   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11701   version_type=linux # correct to gnu/linux during the next big refactor
   11702   need_lib_prefix=no
   11703   need_version=no
   11704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11705   shlibpath_var=LD_LIBRARY_PATH
   11706   shlibpath_overrides_runpath=no
   11707   hardcode_into_libs=yes
   11708   ;;
   11709 
   11710 uts4*)
   11711   version_type=linux # correct to gnu/linux during the next big refactor
   11712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11713   soname_spec='${libname}${release}${shared_ext}$major'
   11714   shlibpath_var=LD_LIBRARY_PATH
   11715   ;;
   11716 
   11717 *)
   11718   dynamic_linker=no
   11719   ;;
   11720 esac
   11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11722 $as_echo "$dynamic_linker" >&6; }
   11723 test "$dynamic_linker" = no && can_build_shared=no
   11724 
   11725 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11726 if test "$GCC" = yes; then
   11727   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11728 fi
   11729 
   11730 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11731   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11732 fi
   11733 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11734   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11735 fi
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11829 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11830 hardcode_action=
   11831 if test -n "$hardcode_libdir_flag_spec" ||
   11832    test -n "$runpath_var" ||
   11833    test "X$hardcode_automatic" = "Xyes" ; then
   11834 
   11835   # We can hardcode non-existent directories.
   11836   if test "$hardcode_direct" != no &&
   11837      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11838      # have to relink, otherwise we might link with an installed library
   11839      # when we should be linking with a yet-to-be-installed one
   11840      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11841      test "$hardcode_minus_L" != no; then
   11842     # Linking always hardcodes the temporary library directory.
   11843     hardcode_action=relink
   11844   else
   11845     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11846     hardcode_action=immediate
   11847   fi
   11848 else
   11849   # We cannot hardcode anything, or else we can only hardcode existing
   11850   # directories.
   11851   hardcode_action=unsupported
   11852 fi
   11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11854 $as_echo "$hardcode_action" >&6; }
   11855 
   11856 if test "$hardcode_action" = relink ||
   11857    test "$inherit_rpath" = yes; then
   11858   # Fast installation is not supported
   11859   enable_fast_install=no
   11860 elif test "$shlibpath_overrides_runpath" = yes ||
   11861      test "$enable_shared" = no; then
   11862   # Fast installation is not necessary
   11863   enable_fast_install=needless
   11864 fi
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871   if test "x$enable_dlopen" != xyes; then
   11872   enable_dlopen=unknown
   11873   enable_dlopen_self=unknown
   11874   enable_dlopen_self_static=unknown
   11875 else
   11876   lt_cv_dlopen=no
   11877   lt_cv_dlopen_libs=
   11878 
   11879   case $host_os in
   11880   beos*)
   11881     lt_cv_dlopen="load_add_on"
   11882     lt_cv_dlopen_libs=
   11883     lt_cv_dlopen_self=yes
   11884     ;;
   11885 
   11886   mingw* | pw32* | cegcc*)
   11887     lt_cv_dlopen="LoadLibrary"
   11888     lt_cv_dlopen_libs=
   11889     ;;
   11890 
   11891   cygwin*)
   11892     lt_cv_dlopen="dlopen"
   11893     lt_cv_dlopen_libs=
   11894     ;;
   11895 
   11896   darwin*)
   11897   # if libdl is installed we need to link against it
   11898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11899 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11900 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11901   $as_echo_n "(cached) " >&6
   11902 else
   11903   ac_check_lib_save_LIBS=$LIBS
   11904 LIBS="-ldl  $LIBS"
   11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11906 /* end confdefs.h.  */
   11907 
   11908 /* Override any GCC internal prototype to avoid an error.
   11909    Use char because int might match the return type of a GCC
   11910    builtin and then its argument prototype would still apply.  */
   11911 #ifdef __cplusplus
   11912 extern "C"
   11913 #endif
   11914 char dlopen ();
   11915 int
   11916 main ()
   11917 {
   11918 return dlopen ();
   11919   ;
   11920   return 0;
   11921 }
   11922 _ACEOF
   11923 if ac_fn_c_try_link "$LINENO"; then :
   11924   ac_cv_lib_dl_dlopen=yes
   11925 else
   11926   ac_cv_lib_dl_dlopen=no
   11927 fi
   11928 rm -f core conftest.err conftest.$ac_objext \
   11929     conftest$ac_exeext conftest.$ac_ext
   11930 LIBS=$ac_check_lib_save_LIBS
   11931 fi
   11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11933 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11934 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11935   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11936 else
   11937 
   11938     lt_cv_dlopen="dyld"
   11939     lt_cv_dlopen_libs=
   11940     lt_cv_dlopen_self=yes
   11941 
   11942 fi
   11943 
   11944     ;;
   11945 
   11946   *)
   11947     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11948 if test "x$ac_cv_func_shl_load" = xyes; then :
   11949   lt_cv_dlopen="shl_load"
   11950 else
   11951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11952 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11953 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11954   $as_echo_n "(cached) " >&6
   11955 else
   11956   ac_check_lib_save_LIBS=$LIBS
   11957 LIBS="-ldld  $LIBS"
   11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11959 /* end confdefs.h.  */
   11960 
   11961 /* Override any GCC internal prototype to avoid an error.
   11962    Use char because int might match the return type of a GCC
   11963    builtin and then its argument prototype would still apply.  */
   11964 #ifdef __cplusplus
   11965 extern "C"
   11966 #endif
   11967 char shl_load ();
   11968 int
   11969 main ()
   11970 {
   11971 return shl_load ();
   11972   ;
   11973   return 0;
   11974 }
   11975 _ACEOF
   11976 if ac_fn_c_try_link "$LINENO"; then :
   11977   ac_cv_lib_dld_shl_load=yes
   11978 else
   11979   ac_cv_lib_dld_shl_load=no
   11980 fi
   11981 rm -f core conftest.err conftest.$ac_objext \
   11982     conftest$ac_exeext conftest.$ac_ext
   11983 LIBS=$ac_check_lib_save_LIBS
   11984 fi
   11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11986 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11987 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11988   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11989 else
   11990   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11991 if test "x$ac_cv_func_dlopen" = xyes; then :
   11992   lt_cv_dlopen="dlopen"
   11993 else
   11994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11995 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11996 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11997   $as_echo_n "(cached) " >&6
   11998 else
   11999   ac_check_lib_save_LIBS=$LIBS
   12000 LIBS="-ldl  $LIBS"
   12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12002 /* end confdefs.h.  */
   12003 
   12004 /* Override any GCC internal prototype to avoid an error.
   12005    Use char because int might match the return type of a GCC
   12006    builtin and then its argument prototype would still apply.  */
   12007 #ifdef __cplusplus
   12008 extern "C"
   12009 #endif
   12010 char dlopen ();
   12011 int
   12012 main ()
   12013 {
   12014 return dlopen ();
   12015   ;
   12016   return 0;
   12017 }
   12018 _ACEOF
   12019 if ac_fn_c_try_link "$LINENO"; then :
   12020   ac_cv_lib_dl_dlopen=yes
   12021 else
   12022   ac_cv_lib_dl_dlopen=no
   12023 fi
   12024 rm -f core conftest.err conftest.$ac_objext \
   12025     conftest$ac_exeext conftest.$ac_ext
   12026 LIBS=$ac_check_lib_save_LIBS
   12027 fi
   12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12029 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12030 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12031   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12032 else
   12033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12034 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12035 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12036   $as_echo_n "(cached) " >&6
   12037 else
   12038   ac_check_lib_save_LIBS=$LIBS
   12039 LIBS="-lsvld  $LIBS"
   12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12041 /* end confdefs.h.  */
   12042 
   12043 /* Override any GCC internal prototype to avoid an error.
   12044    Use char because int might match the return type of a GCC
   12045    builtin and then its argument prototype would still apply.  */
   12046 #ifdef __cplusplus
   12047 extern "C"
   12048 #endif
   12049 char dlopen ();
   12050 int
   12051 main ()
   12052 {
   12053 return dlopen ();
   12054   ;
   12055   return 0;
   12056 }
   12057 _ACEOF
   12058 if ac_fn_c_try_link "$LINENO"; then :
   12059   ac_cv_lib_svld_dlopen=yes
   12060 else
   12061   ac_cv_lib_svld_dlopen=no
   12062 fi
   12063 rm -f core conftest.err conftest.$ac_objext \
   12064     conftest$ac_exeext conftest.$ac_ext
   12065 LIBS=$ac_check_lib_save_LIBS
   12066 fi
   12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12068 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12069 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12070   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12071 else
   12072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12073 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12074 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12075   $as_echo_n "(cached) " >&6
   12076 else
   12077   ac_check_lib_save_LIBS=$LIBS
   12078 LIBS="-ldld  $LIBS"
   12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12080 /* end confdefs.h.  */
   12081 
   12082 /* Override any GCC internal prototype to avoid an error.
   12083    Use char because int might match the return type of a GCC
   12084    builtin and then its argument prototype would still apply.  */
   12085 #ifdef __cplusplus
   12086 extern "C"
   12087 #endif
   12088 char dld_link ();
   12089 int
   12090 main ()
   12091 {
   12092 return dld_link ();
   12093   ;
   12094   return 0;
   12095 }
   12096 _ACEOF
   12097 if ac_fn_c_try_link "$LINENO"; then :
   12098   ac_cv_lib_dld_dld_link=yes
   12099 else
   12100   ac_cv_lib_dld_dld_link=no
   12101 fi
   12102 rm -f core conftest.err conftest.$ac_objext \
   12103     conftest$ac_exeext conftest.$ac_ext
   12104 LIBS=$ac_check_lib_save_LIBS
   12105 fi
   12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12107 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12108 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12109   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12110 fi
   12111 
   12112 
   12113 fi
   12114 
   12115 
   12116 fi
   12117 
   12118 
   12119 fi
   12120 
   12121 
   12122 fi
   12123 
   12124 
   12125 fi
   12126 
   12127     ;;
   12128   esac
   12129 
   12130   if test "x$lt_cv_dlopen" != xno; then
   12131     enable_dlopen=yes
   12132   else
   12133     enable_dlopen=no
   12134   fi
   12135 
   12136   case $lt_cv_dlopen in
   12137   dlopen)
   12138     save_CPPFLAGS="$CPPFLAGS"
   12139     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12140 
   12141     save_LDFLAGS="$LDFLAGS"
   12142     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12143 
   12144     save_LIBS="$LIBS"
   12145     LIBS="$lt_cv_dlopen_libs $LIBS"
   12146 
   12147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12148 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12149 if ${lt_cv_dlopen_self+:} false; then :
   12150   $as_echo_n "(cached) " >&6
   12151 else
   12152   	  if test "$cross_compiling" = yes; then :
   12153   lt_cv_dlopen_self=cross
   12154 else
   12155   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12156   lt_status=$lt_dlunknown
   12157   cat > conftest.$ac_ext <<_LT_EOF
   12158 #line $LINENO "configure"
   12159 #include "confdefs.h"
   12160 
   12161 #if HAVE_DLFCN_H
   12162 #include <dlfcn.h>
   12163 #endif
   12164 
   12165 #include <stdio.h>
   12166 
   12167 #ifdef RTLD_GLOBAL
   12168 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12169 #else
   12170 #  ifdef DL_GLOBAL
   12171 #    define LT_DLGLOBAL		DL_GLOBAL
   12172 #  else
   12173 #    define LT_DLGLOBAL		0
   12174 #  endif
   12175 #endif
   12176 
   12177 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12178    find out it does not work in some platform. */
   12179 #ifndef LT_DLLAZY_OR_NOW
   12180 #  ifdef RTLD_LAZY
   12181 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12182 #  else
   12183 #    ifdef DL_LAZY
   12184 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12185 #    else
   12186 #      ifdef RTLD_NOW
   12187 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12188 #      else
   12189 #        ifdef DL_NOW
   12190 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12191 #        else
   12192 #          define LT_DLLAZY_OR_NOW	0
   12193 #        endif
   12194 #      endif
   12195 #    endif
   12196 #  endif
   12197 #endif
   12198 
   12199 /* When -fvisbility=hidden is used, assume the code has been annotated
   12200    correspondingly for the symbols needed.  */
   12201 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12202 int fnord () __attribute__((visibility("default")));
   12203 #endif
   12204 
   12205 int fnord () { return 42; }
   12206 int main ()
   12207 {
   12208   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12209   int status = $lt_dlunknown;
   12210 
   12211   if (self)
   12212     {
   12213       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12214       else
   12215         {
   12216 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12217           else puts (dlerror ());
   12218 	}
   12219       /* dlclose (self); */
   12220     }
   12221   else
   12222     puts (dlerror ());
   12223 
   12224   return status;
   12225 }
   12226 _LT_EOF
   12227   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12228   (eval $ac_link) 2>&5
   12229   ac_status=$?
   12230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12231   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12232     (./conftest; exit; ) >&5 2>/dev/null
   12233     lt_status=$?
   12234     case x$lt_status in
   12235       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12236       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12237       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12238     esac
   12239   else :
   12240     # compilation failed
   12241     lt_cv_dlopen_self=no
   12242   fi
   12243 fi
   12244 rm -fr conftest*
   12245 
   12246 
   12247 fi
   12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12249 $as_echo "$lt_cv_dlopen_self" >&6; }
   12250 
   12251     if test "x$lt_cv_dlopen_self" = xyes; then
   12252       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12253       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12254 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12255 if ${lt_cv_dlopen_self_static+:} false; then :
   12256   $as_echo_n "(cached) " >&6
   12257 else
   12258   	  if test "$cross_compiling" = yes; then :
   12259   lt_cv_dlopen_self_static=cross
   12260 else
   12261   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12262   lt_status=$lt_dlunknown
   12263   cat > conftest.$ac_ext <<_LT_EOF
   12264 #line $LINENO "configure"
   12265 #include "confdefs.h"
   12266 
   12267 #if HAVE_DLFCN_H
   12268 #include <dlfcn.h>
   12269 #endif
   12270 
   12271 #include <stdio.h>
   12272 
   12273 #ifdef RTLD_GLOBAL
   12274 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12275 #else
   12276 #  ifdef DL_GLOBAL
   12277 #    define LT_DLGLOBAL		DL_GLOBAL
   12278 #  else
   12279 #    define LT_DLGLOBAL		0
   12280 #  endif
   12281 #endif
   12282 
   12283 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12284    find out it does not work in some platform. */
   12285 #ifndef LT_DLLAZY_OR_NOW
   12286 #  ifdef RTLD_LAZY
   12287 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12288 #  else
   12289 #    ifdef DL_LAZY
   12290 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12291 #    else
   12292 #      ifdef RTLD_NOW
   12293 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12294 #      else
   12295 #        ifdef DL_NOW
   12296 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12297 #        else
   12298 #          define LT_DLLAZY_OR_NOW	0
   12299 #        endif
   12300 #      endif
   12301 #    endif
   12302 #  endif
   12303 #endif
   12304 
   12305 /* When -fvisbility=hidden is used, assume the code has been annotated
   12306    correspondingly for the symbols needed.  */
   12307 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12308 int fnord () __attribute__((visibility("default")));
   12309 #endif
   12310 
   12311 int fnord () { return 42; }
   12312 int main ()
   12313 {
   12314   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12315   int status = $lt_dlunknown;
   12316 
   12317   if (self)
   12318     {
   12319       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12320       else
   12321         {
   12322 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12323           else puts (dlerror ());
   12324 	}
   12325       /* dlclose (self); */
   12326     }
   12327   else
   12328     puts (dlerror ());
   12329 
   12330   return status;
   12331 }
   12332 _LT_EOF
   12333   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12334   (eval $ac_link) 2>&5
   12335   ac_status=$?
   12336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12337   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12338     (./conftest; exit; ) >&5 2>/dev/null
   12339     lt_status=$?
   12340     case x$lt_status in
   12341       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12342       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12343       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12344     esac
   12345   else :
   12346     # compilation failed
   12347     lt_cv_dlopen_self_static=no
   12348   fi
   12349 fi
   12350 rm -fr conftest*
   12351 
   12352 
   12353 fi
   12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12355 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12356     fi
   12357 
   12358     CPPFLAGS="$save_CPPFLAGS"
   12359     LDFLAGS="$save_LDFLAGS"
   12360     LIBS="$save_LIBS"
   12361     ;;
   12362   esac
   12363 
   12364   case $lt_cv_dlopen_self in
   12365   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12366   *) enable_dlopen_self=unknown ;;
   12367   esac
   12368 
   12369   case $lt_cv_dlopen_self_static in
   12370   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12371   *) enable_dlopen_self_static=unknown ;;
   12372   esac
   12373 fi
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 striplib=
   12392 old_striplib=
   12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12394 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12395 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12396   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12397   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12399 $as_echo "yes" >&6; }
   12400 else
   12401 # FIXME - insert some real tests, host_os isn't really good enough
   12402   case $host_os in
   12403   darwin*)
   12404     if test -n "$STRIP" ; then
   12405       striplib="$STRIP -x"
   12406       old_striplib="$STRIP -S"
   12407       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12408 $as_echo "yes" >&6; }
   12409     else
   12410       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12411 $as_echo "no" >&6; }
   12412     fi
   12413     ;;
   12414   *)
   12415     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12416 $as_echo "no" >&6; }
   12417     ;;
   12418   esac
   12419 fi
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432   # Report which library types will actually be built
   12433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12434 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12436 $as_echo "$can_build_shared" >&6; }
   12437 
   12438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12439 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12440   test "$can_build_shared" = "no" && enable_shared=no
   12441 
   12442   # On AIX, shared libraries and static libraries use the same namespace, and
   12443   # are all built from PIC.
   12444   case $host_os in
   12445   aix3*)
   12446     test "$enable_shared" = yes && enable_static=no
   12447     if test -n "$RANLIB"; then
   12448       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12449       postinstall_cmds='$RANLIB $lib'
   12450     fi
   12451     ;;
   12452 
   12453   aix[4-9]*)
   12454     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12455       test "$enable_shared" = yes && enable_static=no
   12456     fi
   12457     ;;
   12458   esac
   12459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12460 $as_echo "$enable_shared" >&6; }
   12461 
   12462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12463 $as_echo_n "checking whether to build static libraries... " >&6; }
   12464   # Make sure either enable_shared or enable_static is yes.
   12465   test "$enable_shared" = yes || enable_static=yes
   12466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12467 $as_echo "$enable_static" >&6; }
   12468 
   12469 
   12470 
   12471 
   12472 fi
   12473 ac_ext=c
   12474 ac_cpp='$CPP $CPPFLAGS'
   12475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12478 
   12479 CC="$lt_save_CC"
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495         ac_config_commands="$ac_config_commands libtool"
   12496 
   12497 
   12498 
   12499 
   12500 # Only expand once:
   12501 
   12502 
   12503 
   12504 
   12505   CFLAG_VISIBILITY=
   12506   HAVE_VISIBILITY=0
   12507   if test -n "$GCC"; then
   12508                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
   12509 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
   12510     if ${gl_cv_cc_vis_werror+:} false; then :
   12511   $as_echo_n "(cached) " >&6
   12512 else
   12513 
   12514       gl_save_CFLAGS="$CFLAGS"
   12515       CFLAGS="$CFLAGS -Werror"
   12516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12517 /* end confdefs.h.  */
   12518 
   12519 int
   12520 main ()
   12521 {
   12522 
   12523   ;
   12524   return 0;
   12525 }
   12526 _ACEOF
   12527 if ac_fn_c_try_compile "$LINENO"; then :
   12528   gl_cv_cc_vis_werror=yes
   12529 else
   12530   gl_cv_cc_vis_werror=no
   12531 fi
   12532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12533       CFLAGS="$gl_save_CFLAGS"
   12534 fi
   12535 
   12536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
   12537 $as_echo "$gl_cv_cc_vis_werror" >&6; }
   12538         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
   12539 $as_echo_n "checking for simple visibility declarations... " >&6; }
   12540     if ${gl_cv_cc_visibility+:} false; then :
   12541   $as_echo_n "(cached) " >&6
   12542 else
   12543 
   12544       gl_save_CFLAGS="$CFLAGS"
   12545       CFLAGS="$CFLAGS -fvisibility=hidden"
   12546                                     if test $gl_cv_cc_vis_werror = yes; then
   12547         CFLAGS="$CFLAGS -Werror"
   12548       fi
   12549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12550 /* end confdefs.h.  */
   12551 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
   12552              extern __attribute__((__visibility__("default"))) int exportedvar;
   12553              extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
   12554              extern __attribute__((__visibility__("default"))) int exportedfunc (void);
   12555              void dummyfunc (void) {}
   12556 
   12557 int
   12558 main ()
   12559 {
   12560 
   12561   ;
   12562   return 0;
   12563 }
   12564 _ACEOF
   12565 if ac_fn_c_try_compile "$LINENO"; then :
   12566   gl_cv_cc_visibility=yes
   12567 else
   12568   gl_cv_cc_visibility=no
   12569 fi
   12570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12571       CFLAGS="$gl_save_CFLAGS"
   12572 fi
   12573 
   12574     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
   12575 $as_echo "$gl_cv_cc_visibility" >&6; }
   12576     if test $gl_cv_cc_visibility = yes; then
   12577       CFLAG_VISIBILITY="-fvisibility=hidden"
   12578       HAVE_VISIBILITY=1
   12579     fi
   12580   fi
   12581 
   12582 
   12583 
   12584 cat >>confdefs.h <<_ACEOF
   12585 #define HAVE_VISIBILITY $HAVE_VISIBILITY
   12586 _ACEOF
   12587 
   12588 
   12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   12590 $as_echo_n "checking for ANSI C header files... " >&6; }
   12591 if ${ac_cv_header_stdc+:} false; then :
   12592   $as_echo_n "(cached) " >&6
   12593 else
   12594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12595 /* end confdefs.h.  */
   12596 #include <stdlib.h>
   12597 #include <stdarg.h>
   12598 #include <string.h>
   12599 #include <float.h>
   12600 
   12601 int
   12602 main ()
   12603 {
   12604 
   12605   ;
   12606   return 0;
   12607 }
   12608 _ACEOF
   12609 if ac_fn_c_try_compile "$LINENO"; then :
   12610   ac_cv_header_stdc=yes
   12611 else
   12612   ac_cv_header_stdc=no
   12613 fi
   12614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12615 
   12616 if test $ac_cv_header_stdc = yes; then
   12617   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   12618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12619 /* end confdefs.h.  */
   12620 #include <string.h>
   12621 
   12622 _ACEOF
   12623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12624   $EGREP "memchr" >/dev/null 2>&1; then :
   12625 
   12626 else
   12627   ac_cv_header_stdc=no
   12628 fi
   12629 rm -f conftest*
   12630 
   12631 fi
   12632 
   12633 if test $ac_cv_header_stdc = yes; then
   12634   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12636 /* end confdefs.h.  */
   12637 #include <stdlib.h>
   12638 
   12639 _ACEOF
   12640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12641   $EGREP "free" >/dev/null 2>&1; then :
   12642 
   12643 else
   12644   ac_cv_header_stdc=no
   12645 fi
   12646 rm -f conftest*
   12647 
   12648 fi
   12649 
   12650 if test $ac_cv_header_stdc = yes; then
   12651   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12652   if test "$cross_compiling" = yes; then :
   12653   :
   12654 else
   12655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12656 /* end confdefs.h.  */
   12657 #include <ctype.h>
   12658 #include <stdlib.h>
   12659 #if ((' ' & 0x0FF) == 0x020)
   12660 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12661 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12662 #else
   12663 # define ISLOWER(c) \
   12664 		   (('a' <= (c) && (c) <= 'i') \
   12665 		     || ('j' <= (c) && (c) <= 'r') \
   12666 		     || ('s' <= (c) && (c) <= 'z'))
   12667 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12668 #endif
   12669 
   12670 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12671 int
   12672 main ()
   12673 {
   12674   int i;
   12675   for (i = 0; i < 256; i++)
   12676     if (XOR (islower (i), ISLOWER (i))
   12677 	|| toupper (i) != TOUPPER (i))
   12678       return 2;
   12679   return 0;
   12680 }
   12681 _ACEOF
   12682 if ac_fn_c_try_run "$LINENO"; then :
   12683 
   12684 else
   12685   ac_cv_header_stdc=no
   12686 fi
   12687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12688   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12689 fi
   12690 
   12691 fi
   12692 fi
   12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   12694 $as_echo "$ac_cv_header_stdc" >&6; }
   12695 if test $ac_cv_header_stdc = yes; then
   12696 
   12697 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   12698 
   12699 fi
   12700 
   12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
   12702 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
   12703 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
   12704   $as_echo_n "(cached) " >&6
   12705 else
   12706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12707 /* end confdefs.h.  */
   12708 #include <sys/types.h>
   12709 int
   12710 main ()
   12711 {
   12712 return makedev(0, 0);
   12713   ;
   12714   return 0;
   12715 }
   12716 _ACEOF
   12717 if ac_fn_c_try_link "$LINENO"; then :
   12718   ac_cv_header_sys_types_h_makedev=yes
   12719 else
   12720   ac_cv_header_sys_types_h_makedev=no
   12721 fi
   12722 rm -f core conftest.err conftest.$ac_objext \
   12723     conftest$ac_exeext conftest.$ac_ext
   12724 
   12725 fi
   12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
   12727 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
   12728 
   12729 if test $ac_cv_header_sys_types_h_makedev = no; then
   12730 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
   12731 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
   12732 
   12733 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
   12734 
   12735 fi
   12736 
   12737 
   12738 
   12739   if test $ac_cv_header_sys_mkdev_h = no; then
   12740     ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
   12741 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
   12742 
   12743 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
   12744 
   12745 fi
   12746 
   12747 
   12748   fi
   12749 fi
   12750 
   12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
   12752 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
   12753 if ${ac_cv_header_sys_wait_h+:} false; then :
   12754   $as_echo_n "(cached) " >&6
   12755 else
   12756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12757 /* end confdefs.h.  */
   12758 #include <sys/types.h>
   12759 #include <sys/wait.h>
   12760 #ifndef WEXITSTATUS
   12761 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
   12762 #endif
   12763 #ifndef WIFEXITED
   12764 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
   12765 #endif
   12766 
   12767 int
   12768 main ()
   12769 {
   12770   int s;
   12771   wait (&s);
   12772   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   12773   ;
   12774   return 0;
   12775 }
   12776 _ACEOF
   12777 if ac_fn_c_try_compile "$LINENO"; then :
   12778   ac_cv_header_sys_wait_h=yes
   12779 else
   12780   ac_cv_header_sys_wait_h=no
   12781 fi
   12782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12783 fi
   12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
   12785 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
   12786 if test $ac_cv_header_sys_wait_h = yes; then
   12787 
   12788 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
   12789 
   12790 fi
   12791 
   12792 for ac_header in stdint.h fcntl.h locale.h stdint.h inttypes.h unistd.h
   12793 do :
   12794   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12795 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   12796 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12797   cat >>confdefs.h <<_ACEOF
   12798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12799 _ACEOF
   12800 
   12801 fi
   12802 
   12803 done
   12804 
   12805 for ac_header in stddef.h utime.h wchar.h wctype.h limits.h
   12806 do :
   12807   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12808 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   12809 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12810   cat >>confdefs.h <<_ACEOF
   12811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12812 _ACEOF
   12813 
   12814 fi
   12815 
   12816 done
   12817 
   12818 for ac_header in getopt.h err.h
   12819 do :
   12820   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12821 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   12822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12823   cat >>confdefs.h <<_ACEOF
   12824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12825 _ACEOF
   12826 
   12827 fi
   12828 
   12829 done
   12830 
   12831 for ac_header in sys/mman.h sys/stat.h sys/types.h sys/utime.h sys/time.h
   12832 do :
   12833   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12834 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   12835 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12836   cat >>confdefs.h <<_ACEOF
   12837 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12838 _ACEOF
   12839 
   12840 fi
   12841 
   12842 done
   12843 
   12844 for ac_header in zlib.h
   12845 do :
   12846   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   12847 if test "x$ac_cv_header_zlib_h" = xyes; then :
   12848   cat >>confdefs.h <<_ACEOF
   12849 #define HAVE_ZLIB_H 1
   12850 _ACEOF
   12851 
   12852 fi
   12853 
   12854 done
   12855 
   12856 
   12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   12858 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   12859 if ${ac_cv_c_const+:} false; then :
   12860   $as_echo_n "(cached) " >&6
   12861 else
   12862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12863 /* end confdefs.h.  */
   12864 
   12865 int
   12866 main ()
   12867 {
   12868 
   12869 #ifndef __cplusplus
   12870   /* Ultrix mips cc rejects this sort of thing.  */
   12871   typedef int charset[2];
   12872   const charset cs = { 0, 0 };
   12873   /* SunOS 4.1.1 cc rejects this.  */
   12874   char const *const *pcpcc;
   12875   char **ppc;
   12876   /* NEC SVR4.0.2 mips cc rejects this.  */
   12877   struct point {int x, y;};
   12878   static struct point const zero = {0,0};
   12879   /* AIX XL C 1.02.0.0 rejects this.
   12880      It does not let you subtract one const X* pointer from another in
   12881      an arm of an if-expression whose if-part is not a constant
   12882      expression */
   12883   const char *g = "string";
   12884   pcpcc = &g + (g ? g-g : 0);
   12885   /* HPUX 7.0 cc rejects these. */
   12886   ++pcpcc;
   12887   ppc = (char**) pcpcc;
   12888   pcpcc = (char const *const *) ppc;
   12889   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   12890     char tx;
   12891     char *t = &tx;
   12892     char const *s = 0 ? (char *) 0 : (char const *) 0;
   12893 
   12894     *t++ = 0;
   12895     if (s) return 0;
   12896   }
   12897   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   12898     int x[] = {25, 17};
   12899     const int *foo = &x[0];
   12900     ++foo;
   12901   }
   12902   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   12903     typedef const int *iptr;
   12904     iptr p = 0;
   12905     ++p;
   12906   }
   12907   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   12908        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   12909     struct s { int j; const int *ap[3]; } bx;
   12910     struct s *b = &bx; b->j = 5;
   12911   }
   12912   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   12913     const int foo = 10;
   12914     if (!foo) return 0;
   12915   }
   12916   return !cs[0] && !zero.x;
   12917 #endif
   12918 
   12919   ;
   12920   return 0;
   12921 }
   12922 _ACEOF
   12923 if ac_fn_c_try_compile "$LINENO"; then :
   12924   ac_cv_c_const=yes
   12925 else
   12926   ac_cv_c_const=no
   12927 fi
   12928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12929 fi
   12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   12931 $as_echo "$ac_cv_c_const" >&6; }
   12932 if test $ac_cv_c_const = no; then
   12933 
   12934 $as_echo "#define const /**/" >>confdefs.h
   12935 
   12936 fi
   12937 
   12938 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   12939 if test "x$ac_cv_type_off_t" = xyes; then :
   12940 
   12941 else
   12942 
   12943 cat >>confdefs.h <<_ACEOF
   12944 #define off_t long int
   12945 _ACEOF
   12946 
   12947 fi
   12948 
   12949 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   12950 if test "x$ac_cv_type_size_t" = xyes; then :
   12951 
   12952 else
   12953 
   12954 cat >>confdefs.h <<_ACEOF
   12955 #define size_t unsigned int
   12956 _ACEOF
   12957 
   12958 fi
   12959 
   12960 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
   12961 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
   12962 
   12963 cat >>confdefs.h <<_ACEOF
   12964 #define HAVE_STRUCT_STAT_ST_RDEV 1
   12965 _ACEOF
   12966 
   12967 
   12968 fi
   12969 
   12970 
   12971 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
   12972 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
   12973 
   12974 cat >>confdefs.h <<_ACEOF
   12975 #define HAVE_STRUCT_TM_TM_GMTOFF 1
   12976 _ACEOF
   12977 
   12978 
   12979 fi
   12980 
   12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
   12982 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
   12983 if ${ac_cv_struct_tm+:} false; then :
   12984   $as_echo_n "(cached) " >&6
   12985 else
   12986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12987 /* end confdefs.h.  */
   12988 #include <sys/types.h>
   12989 #include <time.h>
   12990 
   12991 int
   12992 main ()
   12993 {
   12994 struct tm tm;
   12995 				     int *p = &tm.tm_sec;
   12996 				     return !p;
   12997   ;
   12998   return 0;
   12999 }
   13000 _ACEOF
   13001 if ac_fn_c_try_compile "$LINENO"; then :
   13002   ac_cv_struct_tm=time.h
   13003 else
   13004   ac_cv_struct_tm=sys/time.h
   13005 fi
   13006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13007 fi
   13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
   13009 $as_echo "$ac_cv_struct_tm" >&6; }
   13010 if test $ac_cv_struct_tm = sys/time.h; then
   13011 
   13012 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
   13013 
   13014 fi
   13015 
   13016 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
   13017 #include <$ac_cv_struct_tm>
   13018 
   13019 "
   13020 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
   13021 
   13022 cat >>confdefs.h <<_ACEOF
   13023 #define HAVE_STRUCT_TM_TM_ZONE 1
   13024 _ACEOF
   13025 
   13026 
   13027 fi
   13028 
   13029 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
   13030 
   13031 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
   13032 
   13033 else
   13034   ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
   13035 "
   13036 if test "x$ac_cv_have_decl_tzname" = xyes; then :
   13037   ac_have_decl=1
   13038 else
   13039   ac_have_decl=0
   13040 fi
   13041 
   13042 cat >>confdefs.h <<_ACEOF
   13043 #define HAVE_DECL_TZNAME $ac_have_decl
   13044 _ACEOF
   13045 
   13046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
   13047 $as_echo_n "checking for tzname... " >&6; }
   13048 if ${ac_cv_var_tzname+:} false; then :
   13049   $as_echo_n "(cached) " >&6
   13050 else
   13051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13052 /* end confdefs.h.  */
   13053 #include <time.h>
   13054 #if !HAVE_DECL_TZNAME
   13055 extern char *tzname[];
   13056 #endif
   13057 
   13058 int
   13059 main ()
   13060 {
   13061 return tzname[0][0];
   13062   ;
   13063   return 0;
   13064 }
   13065 _ACEOF
   13066 if ac_fn_c_try_link "$LINENO"; then :
   13067   ac_cv_var_tzname=yes
   13068 else
   13069   ac_cv_var_tzname=no
   13070 fi
   13071 rm -f core conftest.err conftest.$ac_objext \
   13072     conftest$ac_exeext conftest.$ac_ext
   13073 fi
   13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
   13075 $as_echo "$ac_cv_var_tzname" >&6; }
   13076   if test $ac_cv_var_tzname = yes; then
   13077 
   13078 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
   13079 
   13080   fi
   13081 fi
   13082 
   13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_zone in struct tm" >&5
   13084 $as_echo_n "checking for tm_zone in struct tm... " >&6; }
   13085 if ${ac_cv_struct_tm_zone+:} false; then :
   13086   $as_echo_n "(cached) " >&6
   13087 else
   13088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13089 /* end confdefs.h.  */
   13090 #include <sys/types.h>
   13091 #include <$ac_cv_struct_tm>
   13092 int
   13093 main ()
   13094 {
   13095 struct tm tm; tm.tm_zone;
   13096   ;
   13097   return 0;
   13098 }
   13099 _ACEOF
   13100 if ac_fn_c_try_compile "$LINENO"; then :
   13101   ac_cv_struct_tm_zone=yes
   13102 else
   13103   ac_cv_struct_tm_zone=no
   13104 fi
   13105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13106 fi
   13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_zone" >&5
   13108 $as_echo "$ac_cv_struct_tm_zone" >&6; }
   13109 if test "$ac_cv_struct_tm_zone" = yes; then
   13110 
   13111 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
   13112 
   13113 fi
   13114 
   13115 # On SGI, apparently tzname is a #define, but that's ok, AC_CHECK_DECL will
   13116 # consider it declared and we won't give our own extern.
   13117 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
   13118 "
   13119 if test "x$ac_cv_have_decl_tzname" = xyes; then :
   13120   ac_have_decl=1
   13121 else
   13122   ac_have_decl=0
   13123 fi
   13124 
   13125 cat >>confdefs.h <<_ACEOF
   13126 #define HAVE_DECL_TZNAME $ac_have_decl
   13127 _ACEOF
   13128 
   13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
   13130 $as_echo_n "checking for tzname... " >&6; }
   13131 if ${ac_cv_var_tzname+:} false; then :
   13132   $as_echo_n "(cached) " >&6
   13133 else
   13134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13135 /* end confdefs.h.  */
   13136 #include <time.h>
   13137 #if !HAVE_DECL_TZNAME
   13138 extern char *tzname[];
   13139 #endif
   13140 int
   13141 main ()
   13142 {
   13143 return tzname[0][0];
   13144   ;
   13145   return 0;
   13146 }
   13147 _ACEOF
   13148 if ac_fn_c_try_link "$LINENO"; then :
   13149   ac_cv_var_tzname=yes
   13150 else
   13151   ac_cv_var_tzname=no
   13152 fi
   13153 rm -f core conftest.err conftest.$ac_objext \
   13154     conftest$ac_exeext conftest.$ac_ext
   13155 fi
   13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
   13157 $as_echo "$ac_cv_var_tzname" >&6; }
   13158   if test $ac_cv_var_tzname = yes; then
   13159 
   13160 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
   13161 
   13162   fi
   13163 
   13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_isdst in struct tm" >&5
   13165 $as_echo_n "checking for tm_isdst in struct tm... " >&6; }
   13166 if ${ac_cv_struct_tm_isdst+:} false; then :
   13167   $as_echo_n "(cached) " >&6
   13168 else
   13169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13170 /* end confdefs.h.  */
   13171 #include <sys/types.h>
   13172 #include <$ac_cv_struct_tm>
   13173 int
   13174 main ()
   13175 {
   13176 struct tm tm; tm.tm_isdst;
   13177   ;
   13178   return 0;
   13179 }
   13180 _ACEOF
   13181 if ac_fn_c_try_compile "$LINENO"; then :
   13182   ac_cv_struct_tm_isdst=yes
   13183 else
   13184   ac_cv_struct_tm_isdst=no
   13185 fi
   13186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13187 fi
   13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_isdst" >&5
   13189 $as_echo "$ac_cv_struct_tm_isdst" >&6; }
   13190 if test "$ac_cv_struct_tm_isdst" = yes; then
   13191 
   13192 $as_echo "#define HAVE_TM_ISDST 1" >>confdefs.h
   13193 
   13194 fi
   13195 
   13196 
   13197 ac_fn_c_check_decl "$LINENO" "daylight" "ac_cv_have_decl_daylight" "#include <time.h>
   13198 "
   13199 if test "x$ac_cv_have_decl_daylight" = xyes; then :
   13200   ac_have_decl=1
   13201 else
   13202   ac_have_decl=0
   13203 fi
   13204 
   13205 cat >>confdefs.h <<_ACEOF
   13206 #define HAVE_DECL_DAYLIGHT $ac_have_decl
   13207 _ACEOF
   13208 
   13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight" >&5
   13210 $as_echo_n "checking for daylight... " >&6; }
   13211 if ${ac_cv_var_daylight+:} false; then :
   13212   $as_echo_n "(cached) " >&6
   13213 else
   13214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13215 /* end confdefs.h.  */
   13216 #include <time.h>
   13217 #if !HAVE_DECL_DAYLIGHT
   13218 extern int daylight;
   13219 #endif
   13220 int
   13221 main ()
   13222 {
   13223 atoi(daylight);
   13224   ;
   13225   return 0;
   13226 }
   13227 _ACEOF
   13228 if ac_fn_c_try_link "$LINENO"; then :
   13229   ac_cv_var_daylight=yes
   13230 else
   13231   ac_cv_var_daylight=no
   13232 fi
   13233 rm -f core conftest.err conftest.$ac_objext \
   13234     conftest$ac_exeext conftest.$ac_ext
   13235 fi
   13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_daylight" >&5
   13237 $as_echo "$ac_cv_var_daylight" >&6; }
   13238   if test $ac_cv_var_daylight = yes; then
   13239 
   13240 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
   13241 
   13242   fi
   13243 
   13244 # Check whether --enable-largefile was given.
   13245 if test "${enable_largefile+set}" = set; then :
   13246   enableval=$enable_largefile;
   13247 fi
   13248 
   13249 if test "$enable_largefile" != no; then
   13250 
   13251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   13252 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   13253 if ${ac_cv_sys_largefile_CC+:} false; then :
   13254   $as_echo_n "(cached) " >&6
   13255 else
   13256   ac_cv_sys_largefile_CC=no
   13257      if test "$GCC" != yes; then
   13258        ac_save_CC=$CC
   13259        while :; do
   13260 	 # IRIX 6.2 and later do not support large files by default,
   13261 	 # so use the C compiler's -n32 option if that helps.
   13262 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13263 /* end confdefs.h.  */
   13264 #include <sys/types.h>
   13265  /* Check that off_t can represent 2**63 - 1 correctly.
   13266     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13267     since some C++ compilers masquerading as C compilers
   13268     incorrectly reject 9223372036854775807.  */
   13269 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   13270   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13271 		       && LARGE_OFF_T % 2147483647 == 1)
   13272 		      ? 1 : -1];
   13273 int
   13274 main ()
   13275 {
   13276 
   13277   ;
   13278   return 0;
   13279 }
   13280 _ACEOF
   13281 	 if ac_fn_c_try_compile "$LINENO"; then :
   13282   break
   13283 fi
   13284 rm -f core conftest.err conftest.$ac_objext
   13285 	 CC="$CC -n32"
   13286 	 if ac_fn_c_try_compile "$LINENO"; then :
   13287   ac_cv_sys_largefile_CC=' -n32'; break
   13288 fi
   13289 rm -f core conftest.err conftest.$ac_objext
   13290 	 break
   13291        done
   13292        CC=$ac_save_CC
   13293        rm -f conftest.$ac_ext
   13294     fi
   13295 fi
   13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   13297 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   13298   if test "$ac_cv_sys_largefile_CC" != no; then
   13299     CC=$CC$ac_cv_sys_largefile_CC
   13300   fi
   13301 
   13302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   13303 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   13304 if ${ac_cv_sys_file_offset_bits+:} false; then :
   13305   $as_echo_n "(cached) " >&6
   13306 else
   13307   while :; do
   13308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13309 /* end confdefs.h.  */
   13310 #include <sys/types.h>
   13311  /* Check that off_t can represent 2**63 - 1 correctly.
   13312     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13313     since some C++ compilers masquerading as C compilers
   13314     incorrectly reject 9223372036854775807.  */
   13315 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   13316   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13317 		       && LARGE_OFF_T % 2147483647 == 1)
   13318 		      ? 1 : -1];
   13319 int
   13320 main ()
   13321 {
   13322 
   13323   ;
   13324   return 0;
   13325 }
   13326 _ACEOF
   13327 if ac_fn_c_try_compile "$LINENO"; then :
   13328   ac_cv_sys_file_offset_bits=no; break
   13329 fi
   13330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13332 /* end confdefs.h.  */
   13333 #define _FILE_OFFSET_BITS 64
   13334 #include <sys/types.h>
   13335  /* Check that off_t can represent 2**63 - 1 correctly.
   13336     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13337     since some C++ compilers masquerading as C compilers
   13338     incorrectly reject 9223372036854775807.  */
   13339 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   13340   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13341 		       && LARGE_OFF_T % 2147483647 == 1)
   13342 		      ? 1 : -1];
   13343 int
   13344 main ()
   13345 {
   13346 
   13347   ;
   13348   return 0;
   13349 }
   13350 _ACEOF
   13351 if ac_fn_c_try_compile "$LINENO"; then :
   13352   ac_cv_sys_file_offset_bits=64; break
   13353 fi
   13354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13355   ac_cv_sys_file_offset_bits=unknown
   13356   break
   13357 done
   13358 fi
   13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   13360 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   13361 case $ac_cv_sys_file_offset_bits in #(
   13362   no | unknown) ;;
   13363   *)
   13364 cat >>confdefs.h <<_ACEOF
   13365 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   13366 _ACEOF
   13367 ;;
   13368 esac
   13369 rm -rf conftest*
   13370   if test $ac_cv_sys_file_offset_bits = unknown; then
   13371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   13372 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   13373 if ${ac_cv_sys_large_files+:} false; then :
   13374   $as_echo_n "(cached) " >&6
   13375 else
   13376   while :; do
   13377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13378 /* end confdefs.h.  */
   13379 #include <sys/types.h>
   13380  /* Check that off_t can represent 2**63 - 1 correctly.
   13381     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13382     since some C++ compilers masquerading as C compilers
   13383     incorrectly reject 9223372036854775807.  */
   13384 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   13385   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13386 		       && LARGE_OFF_T % 2147483647 == 1)
   13387 		      ? 1 : -1];
   13388 int
   13389 main ()
   13390 {
   13391 
   13392   ;
   13393   return 0;
   13394 }
   13395 _ACEOF
   13396 if ac_fn_c_try_compile "$LINENO"; then :
   13397   ac_cv_sys_large_files=no; break
   13398 fi
   13399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13401 /* end confdefs.h.  */
   13402 #define _LARGE_FILES 1
   13403 #include <sys/types.h>
   13404  /* Check that off_t can represent 2**63 - 1 correctly.
   13405     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13406     since some C++ compilers masquerading as C compilers
   13407     incorrectly reject 9223372036854775807.  */
   13408 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   13409   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13410 		       && LARGE_OFF_T % 2147483647 == 1)
   13411 		      ? 1 : -1];
   13412 int
   13413 main ()
   13414 {
   13415 
   13416   ;
   13417   return 0;
   13418 }
   13419 _ACEOF
   13420 if ac_fn_c_try_compile "$LINENO"; then :
   13421   ac_cv_sys_large_files=1; break
   13422 fi
   13423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13424   ac_cv_sys_large_files=unknown
   13425   break
   13426 done
   13427 fi
   13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   13429 $as_echo "$ac_cv_sys_large_files" >&6; }
   13430 case $ac_cv_sys_large_files in #(
   13431   no | unknown) ;;
   13432   *)
   13433 cat >>confdefs.h <<_ACEOF
   13434 #define _LARGE_FILES $ac_cv_sys_large_files
   13435 _ACEOF
   13436 ;;
   13437 esac
   13438 rm -rf conftest*
   13439   fi
   13440 
   13441 
   13442 fi
   13443 
   13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
   13445 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
   13446 if ${ac_cv_sys_largefile_source+:} false; then :
   13447   $as_echo_n "(cached) " >&6
   13448 else
   13449   while :; do
   13450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13451 /* end confdefs.h.  */
   13452 #include <sys/types.h> /* for off_t */
   13453      #include <stdio.h>
   13454 int
   13455 main ()
   13456 {
   13457 int (*fp) (FILE *, off_t, int) = fseeko;
   13458      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   13459   ;
   13460   return 0;
   13461 }
   13462 _ACEOF
   13463 if ac_fn_c_try_link "$LINENO"; then :
   13464   ac_cv_sys_largefile_source=no; break
   13465 fi
   13466 rm -f core conftest.err conftest.$ac_objext \
   13467     conftest$ac_exeext conftest.$ac_ext
   13468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13469 /* end confdefs.h.  */
   13470 #define _LARGEFILE_SOURCE 1
   13471 #include <sys/types.h> /* for off_t */
   13472      #include <stdio.h>
   13473 int
   13474 main ()
   13475 {
   13476 int (*fp) (FILE *, off_t, int) = fseeko;
   13477      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   13478   ;
   13479   return 0;
   13480 }
   13481 _ACEOF
   13482 if ac_fn_c_try_link "$LINENO"; then :
   13483   ac_cv_sys_largefile_source=1; break
   13484 fi
   13485 rm -f core conftest.err conftest.$ac_objext \
   13486     conftest$ac_exeext conftest.$ac_ext
   13487   ac_cv_sys_largefile_source=unknown
   13488   break
   13489 done
   13490 fi
   13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
   13492 $as_echo "$ac_cv_sys_largefile_source" >&6; }
   13493 case $ac_cv_sys_largefile_source in #(
   13494   no | unknown) ;;
   13495   *)
   13496 cat >>confdefs.h <<_ACEOF
   13497 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
   13498 _ACEOF
   13499 ;;
   13500 esac
   13501 rm -rf conftest*
   13502 
   13503 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
   13504 # in glibc 2.1.3, but that breaks too many other things.
   13505 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
   13506 if test $ac_cv_sys_largefile_source != unknown; then
   13507 
   13508 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
   13509 
   13510 fi
   13511 
   13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
   13513 $as_echo_n "checking for mbstate_t... " >&6; }
   13514 if ${ac_cv_type_mbstate_t+:} false; then :
   13515   $as_echo_n "(cached) " >&6
   13516 else
   13517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13518 /* end confdefs.h.  */
   13519 $ac_includes_default
   13520 #	    include <wchar.h>
   13521 int
   13522 main ()
   13523 {
   13524 mbstate_t x; return sizeof x;
   13525   ;
   13526   return 0;
   13527 }
   13528 _ACEOF
   13529 if ac_fn_c_try_compile "$LINENO"; then :
   13530   ac_cv_type_mbstate_t=yes
   13531 else
   13532   ac_cv_type_mbstate_t=no
   13533 fi
   13534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13535 fi
   13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
   13537 $as_echo "$ac_cv_type_mbstate_t" >&6; }
   13538    if test $ac_cv_type_mbstate_t = yes; then
   13539 
   13540 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
   13541 
   13542    else
   13543 
   13544 $as_echo "#define mbstate_t int" >>confdefs.h
   13545 
   13546    fi
   13547 
   13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct option in getopt" >&5
   13549 $as_echo_n "checking for struct option in getopt... " >&6; }
   13550 if ${ac_cv_struct_option_getopt_h+:} false; then :
   13551   $as_echo_n "(cached) " >&6
   13552 else
   13553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13554 /* end confdefs.h.  */
   13555 #include <getopt.h>
   13556 int
   13557 main ()
   13558 {
   13559 struct option op; op.name;
   13560   ;
   13561   return 0;
   13562 }
   13563 _ACEOF
   13564 if ac_fn_c_try_compile "$LINENO"; then :
   13565   ac_cv_struct_option_getopt_h=yes
   13566 else
   13567   ac_cv_struct_option_getopt_h=no
   13568 fi
   13569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13570 fi
   13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_option_getopt_h" >&5
   13572 $as_echo "$ac_cv_struct_option_getopt_h" >&6; }
   13573 if test "$ac_cv_struct_option_getopt_h" = yes; then
   13574 
   13575 $as_echo "#define HAVE_STRUCT_OPTION 1" >>confdefs.h
   13576 
   13577 fi
   13578 
   13579 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   13580 if test "x$ac_cv_type_pid_t" = xyes; then :
   13581 
   13582 else
   13583 
   13584 cat >>confdefs.h <<_ACEOF
   13585 #define pid_t int
   13586 _ACEOF
   13587 
   13588 fi
   13589 
   13590 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
   13591 case $ac_cv_c_uint8_t in #(
   13592   no|yes) ;; #(
   13593   *)
   13594 
   13595 $as_echo "#define _UINT8_T 1" >>confdefs.h
   13596 
   13597 
   13598 cat >>confdefs.h <<_ACEOF
   13599 #define uint8_t $ac_cv_c_uint8_t
   13600 _ACEOF
   13601 ;;
   13602   esac
   13603 
   13604 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
   13605 case $ac_cv_c_uint16_t in #(
   13606   no|yes) ;; #(
   13607   *)
   13608 
   13609 
   13610 cat >>confdefs.h <<_ACEOF
   13611 #define uint16_t $ac_cv_c_uint16_t
   13612 _ACEOF
   13613 ;;
   13614   esac
   13615 
   13616 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
   13617 case $ac_cv_c_uint32_t in #(
   13618   no|yes) ;; #(
   13619   *)
   13620 
   13621 $as_echo "#define _UINT32_T 1" >>confdefs.h
   13622 
   13623 
   13624 cat >>confdefs.h <<_ACEOF
   13625 #define uint32_t $ac_cv_c_uint32_t
   13626 _ACEOF
   13627 ;;
   13628   esac
   13629 
   13630 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
   13631 case $ac_cv_c_int32_t in #(
   13632   no|yes) ;; #(
   13633   *)
   13634 
   13635 cat >>confdefs.h <<_ACEOF
   13636 #define int32_t $ac_cv_c_int32_t
   13637 _ACEOF
   13638 ;;
   13639 esac
   13640 
   13641 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
   13642 case $ac_cv_c_uint64_t in #(
   13643   no|yes) ;; #(
   13644   *)
   13645 
   13646 $as_echo "#define _UINT64_T 1" >>confdefs.h
   13647 
   13648 
   13649 cat >>confdefs.h <<_ACEOF
   13650 #define uint64_t $ac_cv_c_uint64_t
   13651 _ACEOF
   13652 ;;
   13653   esac
   13654 
   13655 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
   13656 case $ac_cv_c_int64_t in #(
   13657   no|yes) ;; #(
   13658   *)
   13659 
   13660 cat >>confdefs.h <<_ACEOF
   13661 #define int64_t $ac_cv_c_int64_t
   13662 _ACEOF
   13663 ;;
   13664 esac
   13665 
   13666 
   13667   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
   13668 if test "x$ac_cv_type_intptr_t" = xyes; then :
   13669 
   13670 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
   13671 
   13672 else
   13673   for ac_type in 'int' 'long int' 'long long int'; do
   13674        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13675 /* end confdefs.h.  */
   13676 $ac_includes_default
   13677 int
   13678 main ()
   13679 {
   13680 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   13681 test_array [0] = 0;
   13682 return test_array [0];
   13683 
   13684   ;
   13685   return 0;
   13686 }
   13687 _ACEOF
   13688 if ac_fn_c_try_compile "$LINENO"; then :
   13689 
   13690 cat >>confdefs.h <<_ACEOF
   13691 #define intptr_t $ac_type
   13692 _ACEOF
   13693 
   13694 	  ac_type=
   13695 fi
   13696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13697        test -z "$ac_type" && break
   13698      done
   13699 fi
   13700 
   13701 
   13702 
   13703   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
   13704 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   13705 
   13706 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
   13707 
   13708 else
   13709   for ac_type in 'unsigned int' 'unsigned long int' \
   13710 	'unsigned long long int'; do
   13711        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13712 /* end confdefs.h.  */
   13713 $ac_includes_default
   13714 int
   13715 main ()
   13716 {
   13717 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   13718 test_array [0] = 0;
   13719 return test_array [0];
   13720 
   13721   ;
   13722   return 0;
   13723 }
   13724 _ACEOF
   13725 if ac_fn_c_try_compile "$LINENO"; then :
   13726 
   13727 cat >>confdefs.h <<_ACEOF
   13728 #define uintptr_t $ac_type
   13729 _ACEOF
   13730 
   13731 	  ac_type=
   13732 fi
   13733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13734        test -z "$ac_type" && break
   13735      done
   13736 fi
   13737 
   13738 
   13739 
   13740 
   13741 
   13742   for ac_header in $ac_header_list
   13743 do :
   13744   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13745 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   13746 "
   13747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13748   cat >>confdefs.h <<_ACEOF
   13749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13750 _ACEOF
   13751 
   13752 fi
   13753 
   13754 done
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 for ac_func in getpagesize
   13764 do :
   13765   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   13766 if test "x$ac_cv_func_getpagesize" = xyes; then :
   13767   cat >>confdefs.h <<_ACEOF
   13768 #define HAVE_GETPAGESIZE 1
   13769 _ACEOF
   13770 
   13771 fi
   13772 done
   13773 
   13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   13775 $as_echo_n "checking for working mmap... " >&6; }
   13776 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   13777   $as_echo_n "(cached) " >&6
   13778 else
   13779   if test "$cross_compiling" = yes; then :
   13780   ac_cv_func_mmap_fixed_mapped=no
   13781 else
   13782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13783 /* end confdefs.h.  */
   13784 $ac_includes_default
   13785 /* malloc might have been renamed as rpl_malloc. */
   13786 #undef malloc
   13787 
   13788 /* Thanks to Mike Haertel and Jim Avera for this test.
   13789    Here is a matrix of mmap possibilities:
   13790 	mmap private not fixed
   13791 	mmap private fixed at somewhere currently unmapped
   13792 	mmap private fixed at somewhere already mapped
   13793 	mmap shared not fixed
   13794 	mmap shared fixed at somewhere currently unmapped
   13795 	mmap shared fixed at somewhere already mapped
   13796    For private mappings, we should verify that changes cannot be read()
   13797    back from the file, nor mmap's back from the file at a different
   13798    address.  (There have been systems where private was not correctly
   13799    implemented like the infamous i386 svr4.0, and systems where the
   13800    VM page cache was not coherent with the file system buffer cache
   13801    like early versions of FreeBSD and possibly contemporary NetBSD.)
   13802    For shared mappings, we should conversely verify that changes get
   13803    propagated back to all the places they're supposed to be.
   13804 
   13805    Grep wants private fixed already mapped.
   13806    The main things grep needs to know about mmap are:
   13807    * does it exist and is it safe to write into the mmap'd area
   13808    * how to use it (BSD variants)  */
   13809 
   13810 #include <fcntl.h>
   13811 #include <sys/mman.h>
   13812 
   13813 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   13814 char *malloc ();
   13815 #endif
   13816 
   13817 /* This mess was copied from the GNU getpagesize.h.  */
   13818 #ifndef HAVE_GETPAGESIZE
   13819 # ifdef _SC_PAGESIZE
   13820 #  define getpagesize() sysconf(_SC_PAGESIZE)
   13821 # else /* no _SC_PAGESIZE */
   13822 #  ifdef HAVE_SYS_PARAM_H
   13823 #   include <sys/param.h>
   13824 #   ifdef EXEC_PAGESIZE
   13825 #    define getpagesize() EXEC_PAGESIZE
   13826 #   else /* no EXEC_PAGESIZE */
   13827 #    ifdef NBPG
   13828 #     define getpagesize() NBPG * CLSIZE
   13829 #     ifndef CLSIZE
   13830 #      define CLSIZE 1
   13831 #     endif /* no CLSIZE */
   13832 #    else /* no NBPG */
   13833 #     ifdef NBPC
   13834 #      define getpagesize() NBPC
   13835 #     else /* no NBPC */
   13836 #      ifdef PAGESIZE
   13837 #       define getpagesize() PAGESIZE
   13838 #      endif /* PAGESIZE */
   13839 #     endif /* no NBPC */
   13840 #    endif /* no NBPG */
   13841 #   endif /* no EXEC_PAGESIZE */
   13842 #  else /* no HAVE_SYS_PARAM_H */
   13843 #   define getpagesize() 8192	/* punt totally */
   13844 #  endif /* no HAVE_SYS_PARAM_H */
   13845 # endif /* no _SC_PAGESIZE */
   13846 
   13847 #endif /* no HAVE_GETPAGESIZE */
   13848 
   13849 int
   13850 main ()
   13851 {
   13852   char *data, *data2, *data3;
   13853   const char *cdata2;
   13854   int i, pagesize;
   13855   int fd, fd2;
   13856 
   13857   pagesize = getpagesize ();
   13858 
   13859   /* First, make a file with some known garbage in it. */
   13860   data = (char *) malloc (pagesize);
   13861   if (!data)
   13862     return 1;
   13863   for (i = 0; i < pagesize; ++i)
   13864     *(data + i) = rand ();
   13865   umask (0);
   13866   fd = creat ("conftest.mmap", 0600);
   13867   if (fd < 0)
   13868     return 2;
   13869   if (write (fd, data, pagesize) != pagesize)
   13870     return 3;
   13871   close (fd);
   13872 
   13873   /* Next, check that the tail of a page is zero-filled.  File must have
   13874      non-zero length, otherwise we risk SIGBUS for entire page.  */
   13875   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   13876   if (fd2 < 0)
   13877     return 4;
   13878   cdata2 = "";
   13879   if (write (fd2, cdata2, 1) != 1)
   13880     return 5;
   13881   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   13882   if (data2 == MAP_FAILED)
   13883     return 6;
   13884   for (i = 0; i < pagesize; ++i)
   13885     if (*(data2 + i))
   13886       return 7;
   13887   close (fd2);
   13888   if (munmap (data2, pagesize))
   13889     return 8;
   13890 
   13891   /* Next, try to mmap the file at a fixed address which already has
   13892      something else allocated at it.  If we can, also make sure that
   13893      we see the same garbage.  */
   13894   fd = open ("conftest.mmap", O_RDWR);
   13895   if (fd < 0)
   13896     return 9;
   13897   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   13898 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   13899     return 10;
   13900   for (i = 0; i < pagesize; ++i)
   13901     if (*(data + i) != *(data2 + i))
   13902       return 11;
   13903 
   13904   /* Finally, make sure that changes to the mapped area do not
   13905      percolate back to the file as seen by read().  (This is a bug on
   13906      some variants of i386 svr4.0.)  */
   13907   for (i = 0; i < pagesize; ++i)
   13908     *(data2 + i) = *(data2 + i) + 1;
   13909   data3 = (char *) malloc (pagesize);
   13910   if (!data3)
   13911     return 12;
   13912   if (read (fd, data3, pagesize) != pagesize)
   13913     return 13;
   13914   for (i = 0; i < pagesize; ++i)
   13915     if (*(data + i) != *(data3 + i))
   13916       return 14;
   13917   close (fd);
   13918   return 0;
   13919 }
   13920 _ACEOF
   13921 if ac_fn_c_try_run "$LINENO"; then :
   13922   ac_cv_func_mmap_fixed_mapped=yes
   13923 else
   13924   ac_cv_func_mmap_fixed_mapped=no
   13925 fi
   13926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13927   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13928 fi
   13929 
   13930 fi
   13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   13932 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   13933 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   13934 
   13935 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   13936 
   13937 fi
   13938 rm -f conftest.mmap conftest.txt
   13939 
   13940 for ac_header in vfork.h
   13941 do :
   13942   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
   13943 if test "x$ac_cv_header_vfork_h" = xyes; then :
   13944   cat >>confdefs.h <<_ACEOF
   13945 #define HAVE_VFORK_H 1
   13946 _ACEOF
   13947 
   13948 fi
   13949 
   13950 done
   13951 
   13952 for ac_func in fork vfork
   13953 do :
   13954   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13956 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13957   cat >>confdefs.h <<_ACEOF
   13958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13959 _ACEOF
   13960 
   13961 fi
   13962 done
   13963 
   13964 if test "x$ac_cv_func_fork" = xyes; then
   13965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
   13966 $as_echo_n "checking for working fork... " >&6; }
   13967 if ${ac_cv_func_fork_works+:} false; then :
   13968   $as_echo_n "(cached) " >&6
   13969 else
   13970   if test "$cross_compiling" = yes; then :
   13971   ac_cv_func_fork_works=cross
   13972 else
   13973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13974 /* end confdefs.h.  */
   13975 $ac_includes_default
   13976 int
   13977 main ()
   13978 {
   13979 
   13980 	  /* By Ruediger Kuhlmann. */
   13981 	  return fork () < 0;
   13982 
   13983   ;
   13984   return 0;
   13985 }
   13986 _ACEOF
   13987 if ac_fn_c_try_run "$LINENO"; then :
   13988   ac_cv_func_fork_works=yes
   13989 else
   13990   ac_cv_func_fork_works=no
   13991 fi
   13992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13993   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13994 fi
   13995 
   13996 fi
   13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
   13998 $as_echo "$ac_cv_func_fork_works" >&6; }
   13999 
   14000 else
   14001   ac_cv_func_fork_works=$ac_cv_func_fork
   14002 fi
   14003 if test "x$ac_cv_func_fork_works" = xcross; then
   14004   case $host in
   14005     *-*-amigaos* | *-*-msdosdjgpp*)
   14006       # Override, as these systems have only a dummy fork() stub
   14007       ac_cv_func_fork_works=no
   14008       ;;
   14009     *)
   14010       ac_cv_func_fork_works=yes
   14011       ;;
   14012   esac
   14013   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   14014 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   14015 fi
   14016 ac_cv_func_vfork_works=$ac_cv_func_vfork
   14017 if test "x$ac_cv_func_vfork" = xyes; then
   14018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
   14019 $as_echo_n "checking for working vfork... " >&6; }
   14020 if ${ac_cv_func_vfork_works+:} false; then :
   14021   $as_echo_n "(cached) " >&6
   14022 else
   14023   if test "$cross_compiling" = yes; then :
   14024   ac_cv_func_vfork_works=cross
   14025 else
   14026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14027 /* end confdefs.h.  */
   14028 /* Thanks to Paul Eggert for this test.  */
   14029 $ac_includes_default
   14030 #include <sys/wait.h>
   14031 #ifdef HAVE_VFORK_H
   14032 # include <vfork.h>
   14033 #endif
   14034 /* On some sparc systems, changes by the child to local and incoming
   14035    argument registers are propagated back to the parent.  The compiler
   14036    is told about this with #include <vfork.h>, but some compilers
   14037    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   14038    static variable whose address is put into a register that is
   14039    clobbered by the vfork.  */
   14040 static void
   14041 #ifdef __cplusplus
   14042 sparc_address_test (int arg)
   14043 # else
   14044 sparc_address_test (arg) int arg;
   14045 #endif
   14046 {
   14047   static pid_t child;
   14048   if (!child) {
   14049     child = vfork ();
   14050     if (child < 0) {
   14051       perror ("vfork");
   14052       _exit(2);
   14053     }
   14054     if (!child) {
   14055       arg = getpid();
   14056       write(-1, "", 0);
   14057       _exit (arg);
   14058     }
   14059   }
   14060 }
   14061 
   14062 int
   14063 main ()
   14064 {
   14065   pid_t parent = getpid ();
   14066   pid_t child;
   14067 
   14068   sparc_address_test (0);
   14069 
   14070   child = vfork ();
   14071 
   14072   if (child == 0) {
   14073     /* Here is another test for sparc vfork register problems.  This
   14074        test uses lots of local variables, at least as many local
   14075        variables as main has allocated so far including compiler
   14076        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   14077        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   14078        reuse the register of parent for one of the local variables,
   14079        since it will think that parent can't possibly be used any more
   14080        in this routine.  Assigning to the local variable will thus
   14081        munge parent in the parent process.  */
   14082     pid_t
   14083       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   14084       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   14085     /* Convince the compiler that p..p7 are live; otherwise, it might
   14086        use the same hardware register for all 8 local variables.  */
   14087     if (p != p1 || p != p2 || p != p3 || p != p4
   14088 	|| p != p5 || p != p6 || p != p7)
   14089       _exit(1);
   14090 
   14091     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   14092        from child file descriptors.  If the child closes a descriptor
   14093        before it execs or exits, this munges the parent's descriptor
   14094        as well.  Test for this by closing stdout in the child.  */
   14095     _exit(close(fileno(stdout)) != 0);
   14096   } else {
   14097     int status;
   14098     struct stat st;
   14099 
   14100     while (wait(&status) != child)
   14101       ;
   14102     return (
   14103 	 /* Was there some problem with vforking?  */
   14104 	 child < 0
   14105 
   14106 	 /* Did the child fail?  (This shouldn't happen.)  */
   14107 	 || status
   14108 
   14109 	 /* Did the vfork/compiler bug occur?  */
   14110 	 || parent != getpid()
   14111 
   14112 	 /* Did the file descriptor bug occur?  */
   14113 	 || fstat(fileno(stdout), &st) != 0
   14114 	 );
   14115   }
   14116 }
   14117 _ACEOF
   14118 if ac_fn_c_try_run "$LINENO"; then :
   14119   ac_cv_func_vfork_works=yes
   14120 else
   14121   ac_cv_func_vfork_works=no
   14122 fi
   14123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14124   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14125 fi
   14126 
   14127 fi
   14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
   14129 $as_echo "$ac_cv_func_vfork_works" >&6; }
   14130 
   14131 fi;
   14132 if test "x$ac_cv_func_fork_works" = xcross; then
   14133   ac_cv_func_vfork_works=$ac_cv_func_vfork
   14134   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   14135 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   14136 fi
   14137 
   14138 if test "x$ac_cv_func_vfork_works" = xyes; then
   14139 
   14140 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
   14141 
   14142 else
   14143 
   14144 $as_echo "#define vfork fork" >>confdefs.h
   14145 
   14146 fi
   14147 if test "x$ac_cv_func_fork_works" = xyes; then
   14148 
   14149 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
   14150 
   14151 fi
   14152 
   14153 
   14154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc and mbstate_t are properly declared" >&5
   14155 $as_echo_n "checking whether mbrtowc and mbstate_t are properly declared... " >&6; }
   14156 if ${ac_cv_func_mbrtowc+:} false; then :
   14157   $as_echo_n "(cached) " >&6
   14158 else
   14159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14160 /* end confdefs.h.  */
   14161 #include <wchar.h>
   14162 int
   14163 main ()
   14164 {
   14165 wchar_t wc;
   14166 	      char const s[] = "";
   14167 	      size_t n = 1;
   14168 	      mbstate_t state;
   14169 	      return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
   14170   ;
   14171   return 0;
   14172 }
   14173 _ACEOF
   14174 if ac_fn_c_try_link "$LINENO"; then :
   14175   ac_cv_func_mbrtowc=yes
   14176 else
   14177   ac_cv_func_mbrtowc=no
   14178 fi
   14179 rm -f core conftest.err conftest.$ac_objext \
   14180     conftest$ac_exeext conftest.$ac_ext
   14181 fi
   14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mbrtowc" >&5
   14183 $as_echo "$ac_cv_func_mbrtowc" >&6; }
   14184   if test $ac_cv_func_mbrtowc = yes; then
   14185 
   14186 $as_echo "#define HAVE_MBRTOWC 1" >>confdefs.h
   14187 
   14188   fi
   14189 
   14190 
   14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc compiler warnings" >&5
   14192 $as_echo_n "checking for gcc compiler warnings... " >&6; }
   14193 # Check whether --enable-warnings was given.
   14194 if test "${enable_warnings+set}" = set; then :
   14195   enableval=$enable_warnings; if test "${enableval}" = no -o "$GCC" = no; then
   14196    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14197 $as_echo "no" >&6; }
   14198    WARNINGS=
   14199 else
   14200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14201 $as_echo "yes" >&6; }
   14202    WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
   14203        -Wmissing-declarations -Wredundant-decls -Wnested-externs \
   14204        -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
   14205        -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
   14206 fi
   14207 else
   14208 
   14209 if test "$GCC" = yes; then
   14210    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14211 $as_echo "yes" >&6; }
   14212    WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
   14213        -Wmissing-declarations -Wredundant-decls -Wnested-externs \
   14214        -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
   14215        -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
   14216 else
   14217    WARNINGS=
   14218    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14219 $as_echo "no" >&6; }
   14220 fi
   14221 fi
   14222 
   14223 
   14224 for ac_func in strerror strndup strtoul mkstemp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale
   14225 do :
   14226   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   14228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   14229   cat >>confdefs.h <<_ACEOF
   14230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14231 _ACEOF
   14232 
   14233 fi
   14234 done
   14235 
   14236 
   14237 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
   14238 if test "x$ac_cv_func_getopt_long" = xyes; then :
   14239   $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
   14240 
   14241 else
   14242   case " $LIBOBJS " in
   14243   *" getopt_long.$ac_objext "* ) ;;
   14244   *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext"
   14245  ;;
   14246 esac
   14247 
   14248 fi
   14249 
   14250 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   14251 if test "x$ac_cv_func_asprintf" = xyes; then :
   14252   $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
   14253 
   14254 else
   14255   case " $LIBOBJS " in
   14256   *" asprintf.$ac_objext "* ) ;;
   14257   *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
   14258  ;;
   14259 esac
   14260 
   14261 fi
   14262 
   14263 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   14264 if test "x$ac_cv_func_vasprintf" = xyes; then :
   14265   $as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h
   14266 
   14267 else
   14268   case " $LIBOBJS " in
   14269   *" vasprintf.$ac_objext "* ) ;;
   14270   *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
   14271  ;;
   14272 esac
   14273 
   14274 fi
   14275 
   14276 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   14277 if test "x$ac_cv_func_strlcpy" = xyes; then :
   14278   $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
   14279 
   14280 else
   14281   case " $LIBOBJS " in
   14282   *" strlcpy.$ac_objext "* ) ;;
   14283   *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
   14284  ;;
   14285 esac
   14286 
   14287 fi
   14288 
   14289 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   14290 if test "x$ac_cv_func_strlcat" = xyes; then :
   14291   $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
   14292 
   14293 else
   14294   case " $LIBOBJS " in
   14295   *" strlcat.$ac_objext "* ) ;;
   14296   *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
   14297  ;;
   14298 esac
   14299 
   14300 fi
   14301 
   14302 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
   14303 if test "x$ac_cv_func_getline" = xyes; then :
   14304   $as_echo "#define HAVE_GETLINE 1" >>confdefs.h
   14305 
   14306 else
   14307   case " $LIBOBJS " in
   14308   *" getline.$ac_objext "* ) ;;
   14309   *) LIBOBJS="$LIBOBJS getline.$ac_objext"
   14310  ;;
   14311 esac
   14312 
   14313 fi
   14314 
   14315 ac_fn_c_check_func "$LINENO" "ctime_r" "ac_cv_func_ctime_r"
   14316 if test "x$ac_cv_func_ctime_r" = xyes; then :
   14317   $as_echo "#define HAVE_CTIME_R 1" >>confdefs.h
   14318 
   14319 else
   14320   case " $LIBOBJS " in
   14321   *" ctime_r.$ac_objext "* ) ;;
   14322   *) LIBOBJS="$LIBOBJS ctime_r.$ac_objext"
   14323  ;;
   14324 esac
   14325 
   14326 fi
   14327 
   14328 ac_fn_c_check_func "$LINENO" "asctime_r" "ac_cv_func_asctime_r"
   14329 if test "x$ac_cv_func_asctime_r" = xyes; then :
   14330   $as_echo "#define HAVE_ASCTIME_R 1" >>confdefs.h
   14331 
   14332 else
   14333   case " $LIBOBJS " in
   14334   *" asctime_r.$ac_objext "* ) ;;
   14335   *) LIBOBJS="$LIBOBJS asctime_r.$ac_objext"
   14336  ;;
   14337 esac
   14338 
   14339 fi
   14340 
   14341 ac_fn_c_check_func "$LINENO" "pread" "ac_cv_func_pread"
   14342 if test "x$ac_cv_func_pread" = xyes; then :
   14343   $as_echo "#define HAVE_PREAD 1" >>confdefs.h
   14344 
   14345 else
   14346   case " $LIBOBJS " in
   14347   *" pread.$ac_objext "* ) ;;
   14348   *) LIBOBJS="$LIBOBJS pread.$ac_objext"
   14349  ;;
   14350 esac
   14351 
   14352 fi
   14353 
   14354 ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr"
   14355 if test "x$ac_cv_func_strcasestr" = xyes; then :
   14356   $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
   14357 
   14358 else
   14359   case " $LIBOBJS " in
   14360   *" strcasestr.$ac_objext "* ) ;;
   14361   *) LIBOBJS="$LIBOBJS strcasestr.$ac_objext"
   14362  ;;
   14363 esac
   14364 
   14365 fi
   14366 
   14367 ac_fn_c_check_func "$LINENO" "fmtcheck" "ac_cv_func_fmtcheck"
   14368 if test "x$ac_cv_func_fmtcheck" = xyes; then :
   14369   $as_echo "#define HAVE_FMTCHECK 1" >>confdefs.h
   14370 
   14371 else
   14372   case " $LIBOBJS " in
   14373   *" fmtcheck.$ac_objext "* ) ;;
   14374   *) LIBOBJS="$LIBOBJS fmtcheck.$ac_objext"
   14375  ;;
   14376 esac
   14377 
   14378 fi
   14379 
   14380 
   14381 
   14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   14383 $as_echo_n "checking for gzopen in -lz... " >&6; }
   14384 if ${ac_cv_lib_z_gzopen+:} false; then :
   14385   $as_echo_n "(cached) " >&6
   14386 else
   14387   ac_check_lib_save_LIBS=$LIBS
   14388 LIBS="-lz  $LIBS"
   14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14390 /* end confdefs.h.  */
   14391 
   14392 /* Override any GCC internal prototype to avoid an error.
   14393    Use char because int might match the return type of a GCC
   14394    builtin and then its argument prototype would still apply.  */
   14395 #ifdef __cplusplus
   14396 extern "C"
   14397 #endif
   14398 char gzopen ();
   14399 int
   14400 main ()
   14401 {
   14402 return gzopen ();
   14403   ;
   14404   return 0;
   14405 }
   14406 _ACEOF
   14407 if ac_fn_c_try_link "$LINENO"; then :
   14408   ac_cv_lib_z_gzopen=yes
   14409 else
   14410   ac_cv_lib_z_gzopen=no
   14411 fi
   14412 rm -f core conftest.err conftest.$ac_objext \
   14413     conftest$ac_exeext conftest.$ac_ext
   14414 LIBS=$ac_check_lib_save_LIBS
   14415 fi
   14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   14417 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   14418 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   14419   cat >>confdefs.h <<_ACEOF
   14420 #define HAVE_LIBZ 1
   14421 _ACEOF
   14422 
   14423   LIBS="-lz $LIBS"
   14424 
   14425 fi
   14426 
   14427 if test "$MINGW" = 1; then
   14428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -lgnurx" >&5
   14429 $as_echo_n "checking for regexec in -lgnurx... " >&6; }
   14430 if ${ac_cv_lib_gnurx_regexec+:} false; then :
   14431   $as_echo_n "(cached) " >&6
   14432 else
   14433   ac_check_lib_save_LIBS=$LIBS
   14434 LIBS="-lgnurx  $LIBS"
   14435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14436 /* end confdefs.h.  */
   14437 
   14438 /* Override any GCC internal prototype to avoid an error.
   14439    Use char because int might match the return type of a GCC
   14440    builtin and then its argument prototype would still apply.  */
   14441 #ifdef __cplusplus
   14442 extern "C"
   14443 #endif
   14444 char regexec ();
   14445 int
   14446 main ()
   14447 {
   14448 return regexec ();
   14449   ;
   14450   return 0;
   14451 }
   14452 _ACEOF
   14453 if ac_fn_c_try_link "$LINENO"; then :
   14454   ac_cv_lib_gnurx_regexec=yes
   14455 else
   14456   ac_cv_lib_gnurx_regexec=no
   14457 fi
   14458 rm -f core conftest.err conftest.$ac_objext \
   14459     conftest$ac_exeext conftest.$ac_ext
   14460 LIBS=$ac_check_lib_save_LIBS
   14461 fi
   14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnurx_regexec" >&5
   14463 $as_echo "$ac_cv_lib_gnurx_regexec" >&6; }
   14464 if test "x$ac_cv_lib_gnurx_regexec" = xyes; then :
   14465   cat >>confdefs.h <<_ACEOF
   14466 #define HAVE_LIBGNURX 1
   14467 _ACEOF
   14468 
   14469   LIBS="-lgnurx $LIBS"
   14470 
   14471 else
   14472   as_fn_error $? "libgnurx is required to build file(1) with MinGW" "$LINENO" 5
   14473 fi
   14474 
   14475 fi
   14476 
   14477  if test "$cross_compiling" = yes; then
   14478   IS_CROSS_COMPILE_TRUE=
   14479   IS_CROSS_COMPILE_FALSE='#'
   14480 else
   14481   IS_CROSS_COMPILE_TRUE='#'
   14482   IS_CROSS_COMPILE_FALSE=
   14483 fi
   14484 
   14485 
   14486 ac_config_files="$ac_config_files Makefile src/Makefile magic/Makefile tests/Makefile doc/Makefile python/Makefile"
   14487 
   14488 cat >confcache <<\_ACEOF
   14489 # This file is a shell script that caches the results of configure
   14490 # tests run on this system so they can be shared between configure
   14491 # scripts and configure runs, see configure's option --config-cache.
   14492 # It is not useful on other systems.  If it contains results you don't
   14493 # want to keep, you may remove or edit it.
   14494 #
   14495 # config.status only pays attention to the cache file if you give it
   14496 # the --recheck option to rerun configure.
   14497 #
   14498 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14499 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14500 # following values.
   14501 
   14502 _ACEOF
   14503 
   14504 # The following way of writing the cache mishandles newlines in values,
   14505 # but we know of no workaround that is simple, portable, and efficient.
   14506 # So, we kill variables containing newlines.
   14507 # Ultrix sh set writes to stderr and can't be redirected directly,
   14508 # and sets the high bit in the cache file unless we assign to the vars.
   14509 (
   14510   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14511     eval ac_val=\$$ac_var
   14512     case $ac_val in #(
   14513     *${as_nl}*)
   14514       case $ac_var in #(
   14515       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14516 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14517       esac
   14518       case $ac_var in #(
   14519       _ | IFS | as_nl) ;; #(
   14520       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14521       *) { eval $ac_var=; unset $ac_var;} ;;
   14522       esac ;;
   14523     esac
   14524   done
   14525 
   14526   (set) 2>&1 |
   14527     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14528     *${as_nl}ac_space=\ *)
   14529       # `set' does not quote correctly, so add quotes: double-quote
   14530       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14531       sed -n \
   14532 	"s/'/'\\\\''/g;
   14533 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14534       ;; #(
   14535     *)
   14536       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14537       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14538       ;;
   14539     esac |
   14540     sort
   14541 ) |
   14542   sed '
   14543      /^ac_cv_env_/b end
   14544      t clear
   14545      :clear
   14546      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14547      t end
   14548      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14549      :end' >>confcache
   14550 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14551   if test -w "$cache_file"; then
   14552     if test "x$cache_file" != "x/dev/null"; then
   14553       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14554 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14555       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14556 	cat confcache >"$cache_file"
   14557       else
   14558         case $cache_file in #(
   14559         */* | ?:*)
   14560 	  mv -f confcache "$cache_file"$$ &&
   14561 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14562         *)
   14563 	  mv -f confcache "$cache_file" ;;
   14564 	esac
   14565       fi
   14566     fi
   14567   else
   14568     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14569 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14570   fi
   14571 fi
   14572 rm -f confcache
   14573 
   14574 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14575 # Let make expand exec_prefix.
   14576 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14577 
   14578 DEFS=-DHAVE_CONFIG_H
   14579 
   14580 ac_libobjs=
   14581 ac_ltlibobjs=
   14582 U=
   14583 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14584   # 1. Remove the extension, and $U if already installed.
   14585   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14586   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14587   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14588   #    will be set to the directory where LIBOBJS objects are built.
   14589   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14590   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14591 done
   14592 LIBOBJS=$ac_libobjs
   14593 
   14594 LTLIBOBJS=$ac_ltlibobjs
   14595 
   14596 
   14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   14598 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   14599    if test -n "$am_sleep_pid"; then
   14600      # Hide warnings about reused PIDs.
   14601      wait $am_sleep_pid 2>/dev/null
   14602    fi
   14603    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   14604 $as_echo "done" >&6; }
   14605  if test -n "$EXEEXT"; then
   14606   am__EXEEXT_TRUE=
   14607   am__EXEEXT_FALSE='#'
   14608 else
   14609   am__EXEEXT_TRUE='#'
   14610   am__EXEEXT_FALSE=
   14611 fi
   14612 
   14613 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14614   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   14615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14616 fi
   14617 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
   14618   as_fn_error $? "conditional \"MINGW\" was never defined.
   14619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14620 fi
   14621 if test -z "${FSECT5_TRUE}" && test -z "${FSECT5_FALSE}"; then
   14622   as_fn_error $? "conditional \"FSECT5\" was never defined.
   14623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14624 fi
   14625 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14626   as_fn_error $? "conditional \"AMDEP\" was never defined.
   14627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14628 fi
   14629 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14630   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   14631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14632 fi
   14633 
   14634 if test -z "${IS_CROSS_COMPILE_TRUE}" && test -z "${IS_CROSS_COMPILE_FALSE}"; then
   14635   as_fn_error $? "conditional \"IS_CROSS_COMPILE\" was never defined.
   14636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14637 fi
   14638 
   14639 : "${CONFIG_STATUS=./config.status}"
   14640 ac_write_fail=0
   14641 ac_clean_files_save=$ac_clean_files
   14642 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14643 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14644 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14645 as_write_fail=0
   14646 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14647 #! $SHELL
   14648 # Generated by $as_me.
   14649 # Run this file to recreate the current configuration.
   14650 # Compiler output produced by configure, useful for debugging
   14651 # configure, is in config.log if it exists.
   14652 
   14653 debug=false
   14654 ac_cs_recheck=false
   14655 ac_cs_silent=false
   14656 
   14657 SHELL=\${CONFIG_SHELL-$SHELL}
   14658 export SHELL
   14659 _ASEOF
   14660 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14661 ## -------------------- ##
   14662 ## M4sh Initialization. ##
   14663 ## -------------------- ##
   14664 
   14665 # Be more Bourne compatible
   14666 DUALCASE=1; export DUALCASE # for MKS sh
   14667 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14668   emulate sh
   14669   NULLCMD=:
   14670   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14671   # is contrary to our usage.  Disable this feature.
   14672   alias -g '${1+"$@"}'='"$@"'
   14673   setopt NO_GLOB_SUBST
   14674 else
   14675   case `(set -o) 2>/dev/null` in #(
   14676   *posix*) :
   14677     set -o posix ;; #(
   14678   *) :
   14679      ;;
   14680 esac
   14681 fi
   14682 
   14683 
   14684 as_nl='
   14685 '
   14686 export as_nl
   14687 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14688 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14689 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14691 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14692 # but without wasting forks for bash or zsh.
   14693 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14694     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14695   as_echo='print -r --'
   14696   as_echo_n='print -rn --'
   14697 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14698   as_echo='printf %s\n'
   14699   as_echo_n='printf %s'
   14700 else
   14701   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14702     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14703     as_echo_n='/usr/ucb/echo -n'
   14704   else
   14705     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14706     as_echo_n_body='eval
   14707       arg=$1;
   14708       case $arg in #(
   14709       *"$as_nl"*)
   14710 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14711 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14712       esac;
   14713       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14714     '
   14715     export as_echo_n_body
   14716     as_echo_n='sh -c $as_echo_n_body as_echo'
   14717   fi
   14718   export as_echo_body
   14719   as_echo='sh -c $as_echo_body as_echo'
   14720 fi
   14721 
   14722 # The user is always right.
   14723 if test "${PATH_SEPARATOR+set}" != set; then
   14724   PATH_SEPARATOR=:
   14725   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14726     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14727       PATH_SEPARATOR=';'
   14728   }
   14729 fi
   14730 
   14731 
   14732 # IFS
   14733 # We need space, tab and new line, in precisely that order.  Quoting is
   14734 # there to prevent editors from complaining about space-tab.
   14735 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14736 # splitting by setting IFS to empty value.)
   14737 IFS=" ""	$as_nl"
   14738 
   14739 # Find who we are.  Look in the path if we contain no directory separator.
   14740 as_myself=
   14741 case $0 in #((
   14742   *[\\/]* ) as_myself=$0 ;;
   14743   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14744 for as_dir in $PATH
   14745 do
   14746   IFS=$as_save_IFS
   14747   test -z "$as_dir" && as_dir=.
   14748     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14749   done
   14750 IFS=$as_save_IFS
   14751 
   14752      ;;
   14753 esac
   14754 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14755 # in which case we are not to be found in the path.
   14756 if test "x$as_myself" = x; then
   14757   as_myself=$0
   14758 fi
   14759 if test ! -f "$as_myself"; then
   14760   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14761   exit 1
   14762 fi
   14763 
   14764 # Unset variables that we do not need and which cause bugs (e.g. in
   14765 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14766 # suppresses any "Segmentation fault" message there.  '((' could
   14767 # trigger a bug in pdksh 5.2.14.
   14768 for as_var in BASH_ENV ENV MAIL MAILPATH
   14769 do eval test x\${$as_var+set} = xset \
   14770   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14771 done
   14772 PS1='$ '
   14773 PS2='> '
   14774 PS4='+ '
   14775 
   14776 # NLS nuisances.
   14777 LC_ALL=C
   14778 export LC_ALL
   14779 LANGUAGE=C
   14780 export LANGUAGE
   14781 
   14782 # CDPATH.
   14783 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14784 
   14785 
   14786 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14787 # ----------------------------------------
   14788 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14789 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14790 # script with STATUS, using 1 if that was 0.
   14791 as_fn_error ()
   14792 {
   14793   as_status=$1; test $as_status -eq 0 && as_status=1
   14794   if test "$4"; then
   14795     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14796     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14797   fi
   14798   $as_echo "$as_me: error: $2" >&2
   14799   as_fn_exit $as_status
   14800 } # as_fn_error
   14801 
   14802 
   14803 # as_fn_set_status STATUS
   14804 # -----------------------
   14805 # Set $? to STATUS, without forking.
   14806 as_fn_set_status ()
   14807 {
   14808   return $1
   14809 } # as_fn_set_status
   14810 
   14811 # as_fn_exit STATUS
   14812 # -----------------
   14813 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14814 as_fn_exit ()
   14815 {
   14816   set +e
   14817   as_fn_set_status $1
   14818   exit $1
   14819 } # as_fn_exit
   14820 
   14821 # as_fn_unset VAR
   14822 # ---------------
   14823 # Portably unset VAR.
   14824 as_fn_unset ()
   14825 {
   14826   { eval $1=; unset $1;}
   14827 }
   14828 as_unset=as_fn_unset
   14829 # as_fn_append VAR VALUE
   14830 # ----------------------
   14831 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14832 # advantage of any shell optimizations that allow amortized linear growth over
   14833 # repeated appends, instead of the typical quadratic growth present in naive
   14834 # implementations.
   14835 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14836   eval 'as_fn_append ()
   14837   {
   14838     eval $1+=\$2
   14839   }'
   14840 else
   14841   as_fn_append ()
   14842   {
   14843     eval $1=\$$1\$2
   14844   }
   14845 fi # as_fn_append
   14846 
   14847 # as_fn_arith ARG...
   14848 # ------------------
   14849 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14850 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14851 # must be portable across $(()) and expr.
   14852 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14853   eval 'as_fn_arith ()
   14854   {
   14855     as_val=$(( $* ))
   14856   }'
   14857 else
   14858   as_fn_arith ()
   14859   {
   14860     as_val=`expr "$@" || test $? -eq 1`
   14861   }
   14862 fi # as_fn_arith
   14863 
   14864 
   14865 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14866    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14867   as_expr=expr
   14868 else
   14869   as_expr=false
   14870 fi
   14871 
   14872 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14873   as_basename=basename
   14874 else
   14875   as_basename=false
   14876 fi
   14877 
   14878 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14879   as_dirname=dirname
   14880 else
   14881   as_dirname=false
   14882 fi
   14883 
   14884 as_me=`$as_basename -- "$0" ||
   14885 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14886 	 X"$0" : 'X\(//\)$' \| \
   14887 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14888 $as_echo X/"$0" |
   14889     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14890 	    s//\1/
   14891 	    q
   14892 	  }
   14893 	  /^X\/\(\/\/\)$/{
   14894 	    s//\1/
   14895 	    q
   14896 	  }
   14897 	  /^X\/\(\/\).*/{
   14898 	    s//\1/
   14899 	    q
   14900 	  }
   14901 	  s/.*/./; q'`
   14902 
   14903 # Avoid depending upon Character Ranges.
   14904 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14905 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14906 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14907 as_cr_digits='0123456789'
   14908 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14909 
   14910 ECHO_C= ECHO_N= ECHO_T=
   14911 case `echo -n x` in #(((((
   14912 -n*)
   14913   case `echo 'xy\c'` in
   14914   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14915   xy)  ECHO_C='\c';;
   14916   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14917        ECHO_T='	';;
   14918   esac;;
   14919 *)
   14920   ECHO_N='-n';;
   14921 esac
   14922 
   14923 rm -f conf$$ conf$$.exe conf$$.file
   14924 if test -d conf$$.dir; then
   14925   rm -f conf$$.dir/conf$$.file
   14926 else
   14927   rm -f conf$$.dir
   14928   mkdir conf$$.dir 2>/dev/null
   14929 fi
   14930 if (echo >conf$$.file) 2>/dev/null; then
   14931   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14932     as_ln_s='ln -s'
   14933     # ... but there are two gotchas:
   14934     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14935     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14936     # In both cases, we have to default to `cp -pR'.
   14937     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14938       as_ln_s='cp -pR'
   14939   elif ln conf$$.file conf$$ 2>/dev/null; then
   14940     as_ln_s=ln
   14941   else
   14942     as_ln_s='cp -pR'
   14943   fi
   14944 else
   14945   as_ln_s='cp -pR'
   14946 fi
   14947 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14948 rmdir conf$$.dir 2>/dev/null
   14949 
   14950 
   14951 # as_fn_mkdir_p
   14952 # -------------
   14953 # Create "$as_dir" as a directory, including parents if necessary.
   14954 as_fn_mkdir_p ()
   14955 {
   14956 
   14957   case $as_dir in #(
   14958   -*) as_dir=./$as_dir;;
   14959   esac
   14960   test -d "$as_dir" || eval $as_mkdir_p || {
   14961     as_dirs=
   14962     while :; do
   14963       case $as_dir in #(
   14964       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14965       *) as_qdir=$as_dir;;
   14966       esac
   14967       as_dirs="'$as_qdir' $as_dirs"
   14968       as_dir=`$as_dirname -- "$as_dir" ||
   14969 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14970 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14971 	 X"$as_dir" : 'X\(//\)$' \| \
   14972 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14973 $as_echo X"$as_dir" |
   14974     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14975 	    s//\1/
   14976 	    q
   14977 	  }
   14978 	  /^X\(\/\/\)[^/].*/{
   14979 	    s//\1/
   14980 	    q
   14981 	  }
   14982 	  /^X\(\/\/\)$/{
   14983 	    s//\1/
   14984 	    q
   14985 	  }
   14986 	  /^X\(\/\).*/{
   14987 	    s//\1/
   14988 	    q
   14989 	  }
   14990 	  s/.*/./; q'`
   14991       test -d "$as_dir" && break
   14992     done
   14993     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14994   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14995 
   14996 
   14997 } # as_fn_mkdir_p
   14998 if mkdir -p . 2>/dev/null; then
   14999   as_mkdir_p='mkdir -p "$as_dir"'
   15000 else
   15001   test -d ./-p && rmdir ./-p
   15002   as_mkdir_p=false
   15003 fi
   15004 
   15005 
   15006 # as_fn_executable_p FILE
   15007 # -----------------------
   15008 # Test if FILE is an executable regular file.
   15009 as_fn_executable_p ()
   15010 {
   15011   test -f "$1" && test -x "$1"
   15012 } # as_fn_executable_p
   15013 as_test_x='test -x'
   15014 as_executable_p=as_fn_executable_p
   15015 
   15016 # Sed expression to map a string onto a valid CPP name.
   15017 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15018 
   15019 # Sed expression to map a string onto a valid variable name.
   15020 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15021 
   15022 
   15023 exec 6>&1
   15024 ## ----------------------------------- ##
   15025 ## Main body of $CONFIG_STATUS script. ##
   15026 ## ----------------------------------- ##
   15027 _ASEOF
   15028 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15029 
   15030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15031 # Save the log message, to keep $0 and so on meaningful, and to
   15032 # report actual input values of CONFIG_FILES etc. instead of their
   15033 # values after options handling.
   15034 ac_log="
   15035 This file was extended by file $as_me 5.20, which was
   15036 generated by GNU Autoconf 2.69.  Invocation command line was
   15037 
   15038   CONFIG_FILES    = $CONFIG_FILES
   15039   CONFIG_HEADERS  = $CONFIG_HEADERS
   15040   CONFIG_LINKS    = $CONFIG_LINKS
   15041   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15042   $ $0 $@
   15043 
   15044 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15045 "
   15046 
   15047 _ACEOF
   15048 
   15049 case $ac_config_files in *"
   15050 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15051 esac
   15052 
   15053 case $ac_config_headers in *"
   15054 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15055 esac
   15056 
   15057 
   15058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15059 # Files that config.status was made for.
   15060 config_files="$ac_config_files"
   15061 config_headers="$ac_config_headers"
   15062 config_commands="$ac_config_commands"
   15063 
   15064 _ACEOF
   15065 
   15066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15067 ac_cs_usage="\
   15068 \`$as_me' instantiates files and other configuration actions
   15069 from templates according to the current configuration.  Unless the files
   15070 and actions are specified as TAGs, all are instantiated by default.
   15071 
   15072 Usage: $0 [OPTION]... [TAG]...
   15073 
   15074   -h, --help       print this help, then exit
   15075   -V, --version    print version number and configuration settings, then exit
   15076       --config     print configuration, then exit
   15077   -q, --quiet, --silent
   15078                    do not print progress messages
   15079   -d, --debug      don't remove temporary files
   15080       --recheck    update $as_me by reconfiguring in the same conditions
   15081       --file=FILE[:TEMPLATE]
   15082                    instantiate the configuration file FILE
   15083       --header=FILE[:TEMPLATE]
   15084                    instantiate the configuration header FILE
   15085 
   15086 Configuration files:
   15087 $config_files
   15088 
   15089 Configuration headers:
   15090 $config_headers
   15091 
   15092 Configuration commands:
   15093 $config_commands
   15094 
   15095 Report bugs to <christos@astron.com>."
   15096 
   15097 _ACEOF
   15098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15099 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15100 ac_cs_version="\\
   15101 file config.status 5.20
   15102 configured by $0, generated by GNU Autoconf 2.69,
   15103   with options \\"\$ac_cs_config\\"
   15104 
   15105 Copyright (C) 2012 Free Software Foundation, Inc.
   15106 This config.status script is free software; the Free Software Foundation
   15107 gives unlimited permission to copy, distribute and modify it."
   15108 
   15109 ac_pwd='$ac_pwd'
   15110 srcdir='$srcdir'
   15111 INSTALL='$INSTALL'
   15112 MKDIR_P='$MKDIR_P'
   15113 AWK='$AWK'
   15114 test -n "\$AWK" || AWK=awk
   15115 _ACEOF
   15116 
   15117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15118 # The default lists apply if the user does not specify any file.
   15119 ac_need_defaults=:
   15120 while test $# != 0
   15121 do
   15122   case $1 in
   15123   --*=?*)
   15124     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15125     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15126     ac_shift=:
   15127     ;;
   15128   --*=)
   15129     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15130     ac_optarg=
   15131     ac_shift=:
   15132     ;;
   15133   *)
   15134     ac_option=$1
   15135     ac_optarg=$2
   15136     ac_shift=shift
   15137     ;;
   15138   esac
   15139 
   15140   case $ac_option in
   15141   # Handling of the options.
   15142   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15143     ac_cs_recheck=: ;;
   15144   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15145     $as_echo "$ac_cs_version"; exit ;;
   15146   --config | --confi | --conf | --con | --co | --c )
   15147     $as_echo "$ac_cs_config"; exit ;;
   15148   --debug | --debu | --deb | --de | --d | -d )
   15149     debug=: ;;
   15150   --file | --fil | --fi | --f )
   15151     $ac_shift
   15152     case $ac_optarg in
   15153     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15154     '') as_fn_error $? "missing file argument" ;;
   15155     esac
   15156     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15157     ac_need_defaults=false;;
   15158   --header | --heade | --head | --hea )
   15159     $ac_shift
   15160     case $ac_optarg in
   15161     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15162     esac
   15163     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15164     ac_need_defaults=false;;
   15165   --he | --h)
   15166     # Conflict between --help and --header
   15167     as_fn_error $? "ambiguous option: \`$1'
   15168 Try \`$0 --help' for more information.";;
   15169   --help | --hel | -h )
   15170     $as_echo "$ac_cs_usage"; exit ;;
   15171   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15172   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15173     ac_cs_silent=: ;;
   15174 
   15175   # This is an error.
   15176   -*) as_fn_error $? "unrecognized option: \`$1'
   15177 Try \`$0 --help' for more information." ;;
   15178 
   15179   *) as_fn_append ac_config_targets " $1"
   15180      ac_need_defaults=false ;;
   15181 
   15182   esac
   15183   shift
   15184 done
   15185 
   15186 ac_configure_extra_args=
   15187 
   15188 if $ac_cs_silent; then
   15189   exec 6>/dev/null
   15190   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15191 fi
   15192 
   15193 _ACEOF
   15194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15195 if \$ac_cs_recheck; then
   15196   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15197   shift
   15198   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15199   CONFIG_SHELL='$SHELL'
   15200   export CONFIG_SHELL
   15201   exec "\$@"
   15202 fi
   15203 
   15204 _ACEOF
   15205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15206 exec 5>>config.log
   15207 {
   15208   echo
   15209   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15210 ## Running $as_me. ##
   15211 _ASBOX
   15212   $as_echo "$ac_log"
   15213 } >&5
   15214 
   15215 _ACEOF
   15216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15217 #
   15218 # INIT-COMMANDS
   15219 #
   15220 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15221 
   15222 
   15223 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15224 # if CDPATH is set.
   15225 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15226 
   15227 sed_quote_subst='$sed_quote_subst'
   15228 double_quote_subst='$double_quote_subst'
   15229 delay_variable_subst='$delay_variable_subst'
   15230 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   15231 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   15232 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   15233 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   15234 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   15235 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   15236 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   15237 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   15238 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   15239 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   15240 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   15241 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   15242 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   15243 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   15244 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   15245 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   15246 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   15247 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   15248 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   15249 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   15250 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   15251 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   15252 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   15253 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   15254 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   15255 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   15256 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   15257 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   15258 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   15259 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   15260 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   15261 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   15262 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   15263 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   15264 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   15265 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   15266 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   15267 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   15268 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   15269 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   15270 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   15271 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   15272 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   15273 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   15274 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   15275 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15276 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15277 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   15278 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   15279 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   15280 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   15281 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   15282 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   15283 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   15284 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   15285 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   15286 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15287 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   15288 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   15289 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   15290 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   15291 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   15292 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   15293 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   15294 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   15295 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   15296 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   15297 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   15298 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   15299 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   15300 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   15301 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   15302 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   15303 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   15304 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   15305 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15306 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   15307 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   15308 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   15309 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   15310 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   15311 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   15312 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15313 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   15314 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15315 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   15316 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15317 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   15318 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15319 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15320 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   15321 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   15322 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   15323 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   15324 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   15325 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15326 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   15327 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   15328 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   15329 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   15330 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   15331 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   15332 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   15333 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   15334 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   15335 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   15336 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   15337 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15338 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   15339 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   15340 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   15341 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15342 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   15343 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   15344 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   15345 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   15346 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   15347 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15348 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15349 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   15350 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   15351 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   15352 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   15353 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   15354 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   15355 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   15356 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   15357 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   15358 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   15359 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   15360 
   15361 LTCC='$LTCC'
   15362 LTCFLAGS='$LTCFLAGS'
   15363 compiler='$compiler_DEFAULT'
   15364 
   15365 # A function that is used when there is no print builtin or printf.
   15366 func_fallback_echo ()
   15367 {
   15368   eval 'cat <<_LTECHO_EOF
   15369 \$1
   15370 _LTECHO_EOF'
   15371 }
   15372 
   15373 # Quote evaled strings.
   15374 for var in SHELL \
   15375 ECHO \
   15376 PATH_SEPARATOR \
   15377 SED \
   15378 GREP \
   15379 EGREP \
   15380 FGREP \
   15381 LD \
   15382 NM \
   15383 LN_S \
   15384 lt_SP2NL \
   15385 lt_NL2SP \
   15386 reload_flag \
   15387 OBJDUMP \
   15388 deplibs_check_method \
   15389 file_magic_cmd \
   15390 file_magic_glob \
   15391 want_nocaseglob \
   15392 DLLTOOL \
   15393 sharedlib_from_linklib_cmd \
   15394 AR \
   15395 AR_FLAGS \
   15396 archiver_list_spec \
   15397 STRIP \
   15398 RANLIB \
   15399 CC \
   15400 CFLAGS \
   15401 compiler \
   15402 lt_cv_sys_global_symbol_pipe \
   15403 lt_cv_sys_global_symbol_to_cdecl \
   15404 lt_cv_sys_global_symbol_to_c_name_address \
   15405 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15406 nm_file_list_spec \
   15407 lt_prog_compiler_no_builtin_flag \
   15408 lt_prog_compiler_pic \
   15409 lt_prog_compiler_wl \
   15410 lt_prog_compiler_static \
   15411 lt_cv_prog_compiler_c_o \
   15412 need_locks \
   15413 MANIFEST_TOOL \
   15414 DSYMUTIL \
   15415 NMEDIT \
   15416 LIPO \
   15417 OTOOL \
   15418 OTOOL64 \
   15419 shrext_cmds \
   15420 export_dynamic_flag_spec \
   15421 whole_archive_flag_spec \
   15422 compiler_needs_object \
   15423 with_gnu_ld \
   15424 allow_undefined_flag \
   15425 no_undefined_flag \
   15426 hardcode_libdir_flag_spec \
   15427 hardcode_libdir_separator \
   15428 exclude_expsyms \
   15429 include_expsyms \
   15430 file_list_spec \
   15431 variables_saved_for_relink \
   15432 libname_spec \
   15433 library_names_spec \
   15434 soname_spec \
   15435 install_override_mode \
   15436 finish_eval \
   15437 old_striplib \
   15438 striplib; do
   15439     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15440     *[\\\\\\\`\\"\\\$]*)
   15441       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   15442       ;;
   15443     *)
   15444       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15445       ;;
   15446     esac
   15447 done
   15448 
   15449 # Double-quote double-evaled strings.
   15450 for var in reload_cmds \
   15451 old_postinstall_cmds \
   15452 old_postuninstall_cmds \
   15453 old_archive_cmds \
   15454 extract_expsyms_cmds \
   15455 old_archive_from_new_cmds \
   15456 old_archive_from_expsyms_cmds \
   15457 archive_cmds \
   15458 archive_expsym_cmds \
   15459 module_cmds \
   15460 module_expsym_cmds \
   15461 export_symbols_cmds \
   15462 prelink_cmds \
   15463 postlink_cmds \
   15464 postinstall_cmds \
   15465 postuninstall_cmds \
   15466 finish_cmds \
   15467 sys_lib_search_path_spec \
   15468 sys_lib_dlsearch_path_spec; do
   15469     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15470     *[\\\\\\\`\\"\\\$]*)
   15471       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   15472       ;;
   15473     *)
   15474       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15475       ;;
   15476     esac
   15477 done
   15478 
   15479 ac_aux_dir='$ac_aux_dir'
   15480 xsi_shell='$xsi_shell'
   15481 lt_shell_append='$lt_shell_append'
   15482 
   15483 # See if we are running on zsh, and set the options which allow our
   15484 # commands through without removal of \ escapes INIT.
   15485 if test -n "\${ZSH_VERSION+set}" ; then
   15486    setopt NO_GLOB_SUBST
   15487 fi
   15488 
   15489 
   15490     PACKAGE='$PACKAGE'
   15491     VERSION='$VERSION'
   15492     TIMESTAMP='$TIMESTAMP'
   15493     RM='$RM'
   15494     ofile='$ofile'
   15495 
   15496 
   15497 
   15498 
   15499 _ACEOF
   15500 
   15501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15502 
   15503 # Handling of arguments.
   15504 for ac_config_target in $ac_config_targets
   15505 do
   15506   case $ac_config_target in
   15507     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   15508     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   15509     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15510     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15511     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   15512     "magic/Makefile") CONFIG_FILES="$CONFIG_FILES magic/Makefile" ;;
   15513     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   15514     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   15515     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
   15516 
   15517   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15518   esac
   15519 done
   15520 
   15521 
   15522 # If the user did not use the arguments to specify the items to instantiate,
   15523 # then the envvar interface is used.  Set only those that are not.
   15524 # We use the long form for the default assignment because of an extremely
   15525 # bizarre bug on SunOS 4.1.3.
   15526 if $ac_need_defaults; then
   15527   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15528   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15529   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15530 fi
   15531 
   15532 # Have a temporary directory for convenience.  Make it in the build tree
   15533 # simply because there is no reason against having it here, and in addition,
   15534 # creating and moving files from /tmp can sometimes cause problems.
   15535 # Hook for its removal unless debugging.
   15536 # Note that there is a small window in which the directory will not be cleaned:
   15537 # after its creation but before its name has been assigned to `$tmp'.
   15538 $debug ||
   15539 {
   15540   tmp= ac_tmp=
   15541   trap 'exit_status=$?
   15542   : "${ac_tmp:=$tmp}"
   15543   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   15544 ' 0
   15545   trap 'as_fn_exit 1' 1 2 13 15
   15546 }
   15547 # Create a (secure) tmp directory for tmp files.
   15548 
   15549 {
   15550   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15551   test -d "$tmp"
   15552 }  ||
   15553 {
   15554   tmp=./conf$$-$RANDOM
   15555   (umask 077 && mkdir "$tmp")
   15556 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   15557 ac_tmp=$tmp
   15558 
   15559 # Set up the scripts for CONFIG_FILES section.
   15560 # No need to generate them if there are no CONFIG_FILES.
   15561 # This happens for instance with `./config.status config.h'.
   15562 if test -n "$CONFIG_FILES"; then
   15563 
   15564 
   15565 ac_cr=`echo X | tr X '\015'`
   15566 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15567 # But we know of no other shell where ac_cr would be empty at this
   15568 # point, so we can use a bashism as a fallback.
   15569 if test "x$ac_cr" = x; then
   15570   eval ac_cr=\$\'\\r\'
   15571 fi
   15572 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15573 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15574   ac_cs_awk_cr='\\r'
   15575 else
   15576   ac_cs_awk_cr=$ac_cr
   15577 fi
   15578 
   15579 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   15580 _ACEOF
   15581 
   15582 
   15583 {
   15584   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15585   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15586   echo "_ACEOF"
   15587 } >conf$$subs.sh ||
   15588   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15589 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15590 ac_delim='%!_!# '
   15591 for ac_last_try in false false false false false :; do
   15592   . ./conf$$subs.sh ||
   15593     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15594 
   15595   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15596   if test $ac_delim_n = $ac_delim_num; then
   15597     break
   15598   elif $ac_last_try; then
   15599     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15600   else
   15601     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15602   fi
   15603 done
   15604 rm -f conf$$subs.sh
   15605 
   15606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15607 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   15608 _ACEOF
   15609 sed -n '
   15610 h
   15611 s/^/S["/; s/!.*/"]=/
   15612 p
   15613 g
   15614 s/^[^!]*!//
   15615 :repl
   15616 t repl
   15617 s/'"$ac_delim"'$//
   15618 t delim
   15619 :nl
   15620 h
   15621 s/\(.\{148\}\)..*/\1/
   15622 t more1
   15623 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15624 p
   15625 n
   15626 b repl
   15627 :more1
   15628 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15629 p
   15630 g
   15631 s/.\{148\}//
   15632 t nl
   15633 :delim
   15634 h
   15635 s/\(.\{148\}\)..*/\1/
   15636 t more2
   15637 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15638 p
   15639 b
   15640 :more2
   15641 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15642 p
   15643 g
   15644 s/.\{148\}//
   15645 t delim
   15646 ' <conf$$subs.awk | sed '
   15647 /^[^""]/{
   15648   N
   15649   s/\n//
   15650 }
   15651 ' >>$CONFIG_STATUS || ac_write_fail=1
   15652 rm -f conf$$subs.awk
   15653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15654 _ACAWK
   15655 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15656   for (key in S) S_is_set[key] = 1
   15657   FS = ""
   15658 
   15659 }
   15660 {
   15661   line = $ 0
   15662   nfields = split(line, field, "@")
   15663   substed = 0
   15664   len = length(field[1])
   15665   for (i = 2; i < nfields; i++) {
   15666     key = field[i]
   15667     keylen = length(key)
   15668     if (S_is_set[key]) {
   15669       value = S[key]
   15670       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15671       len += length(value) + length(field[++i])
   15672       substed = 1
   15673     } else
   15674       len += 1 + keylen
   15675   }
   15676 
   15677   print line
   15678 }
   15679 
   15680 _ACAWK
   15681 _ACEOF
   15682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15683 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15684   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15685 else
   15686   cat
   15687 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15688   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15689 _ACEOF
   15690 
   15691 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15692 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15693 # trailing colons and then remove the whole line if VPATH becomes empty
   15694 # (actually we leave an empty line to preserve line numbers).
   15695 if test "x$srcdir" = x.; then
   15696   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15697 h
   15698 s///
   15699 s/^/:/
   15700 s/[	 ]*$/:/
   15701 s/:\$(srcdir):/:/g
   15702 s/:\${srcdir}:/:/g
   15703 s/:@srcdir@:/:/g
   15704 s/^:*//
   15705 s/:*$//
   15706 x
   15707 s/\(=[	 ]*\).*/\1/
   15708 G
   15709 s/\n//
   15710 s/^[^=]*=[	 ]*$//
   15711 }'
   15712 fi
   15713 
   15714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15715 fi # test -n "$CONFIG_FILES"
   15716 
   15717 # Set up the scripts for CONFIG_HEADERS section.
   15718 # No need to generate them if there are no CONFIG_HEADERS.
   15719 # This happens for instance with `./config.status Makefile'.
   15720 if test -n "$CONFIG_HEADERS"; then
   15721 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15722 BEGIN {
   15723 _ACEOF
   15724 
   15725 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15726 # here-document in config.status, that substitutes the proper values into
   15727 # config.h.in to produce config.h.
   15728 
   15729 # Create a delimiter string that does not exist in confdefs.h, to ease
   15730 # handling of long lines.
   15731 ac_delim='%!_!# '
   15732 for ac_last_try in false false :; do
   15733   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15734   if test -z "$ac_tt"; then
   15735     break
   15736   elif $ac_last_try; then
   15737     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15738   else
   15739     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15740   fi
   15741 done
   15742 
   15743 # For the awk script, D is an array of macro values keyed by name,
   15744 # likewise P contains macro parameters if any.  Preserve backslash
   15745 # newline sequences.
   15746 
   15747 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15748 sed -n '
   15749 s/.\{148\}/&'"$ac_delim"'/g
   15750 t rset
   15751 :rset
   15752 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15753 t def
   15754 d
   15755 :def
   15756 s/\\$//
   15757 t bsnl
   15758 s/["\\]/\\&/g
   15759 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15760 D["\1"]=" \3"/p
   15761 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15762 d
   15763 :bsnl
   15764 s/["\\]/\\&/g
   15765 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15766 D["\1"]=" \3\\\\\\n"\\/p
   15767 t cont
   15768 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15769 t cont
   15770 d
   15771 :cont
   15772 n
   15773 s/.\{148\}/&'"$ac_delim"'/g
   15774 t clear
   15775 :clear
   15776 s/\\$//
   15777 t bsnlc
   15778 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15779 d
   15780 :bsnlc
   15781 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15782 b cont
   15783 ' <confdefs.h | sed '
   15784 s/'"$ac_delim"'/"\\\
   15785 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15786 
   15787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15788   for (key in D) D_is_set[key] = 1
   15789   FS = ""
   15790 }
   15791 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15792   line = \$ 0
   15793   split(line, arg, " ")
   15794   if (arg[1] == "#") {
   15795     defundef = arg[2]
   15796     mac1 = arg[3]
   15797   } else {
   15798     defundef = substr(arg[1], 2)
   15799     mac1 = arg[2]
   15800   }
   15801   split(mac1, mac2, "(") #)
   15802   macro = mac2[1]
   15803   prefix = substr(line, 1, index(line, defundef) - 1)
   15804   if (D_is_set[macro]) {
   15805     # Preserve the white space surrounding the "#".
   15806     print prefix "define", macro P[macro] D[macro]
   15807     next
   15808   } else {
   15809     # Replace #undef with comments.  This is necessary, for example,
   15810     # in the case of _POSIX_SOURCE, which is predefined and required
   15811     # on some systems where configure will not decide to define it.
   15812     if (defundef == "undef") {
   15813       print "/*", prefix defundef, macro, "*/"
   15814       next
   15815     }
   15816   }
   15817 }
   15818 { print }
   15819 _ACAWK
   15820 _ACEOF
   15821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15822   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15823 fi # test -n "$CONFIG_HEADERS"
   15824 
   15825 
   15826 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15827 shift
   15828 for ac_tag
   15829 do
   15830   case $ac_tag in
   15831   :[FHLC]) ac_mode=$ac_tag; continue;;
   15832   esac
   15833   case $ac_mode$ac_tag in
   15834   :[FHL]*:*);;
   15835   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15836   :[FH]-) ac_tag=-:-;;
   15837   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15838   esac
   15839   ac_save_IFS=$IFS
   15840   IFS=:
   15841   set x $ac_tag
   15842   IFS=$ac_save_IFS
   15843   shift
   15844   ac_file=$1
   15845   shift
   15846 
   15847   case $ac_mode in
   15848   :L) ac_source=$1;;
   15849   :[FH])
   15850     ac_file_inputs=
   15851     for ac_f
   15852     do
   15853       case $ac_f in
   15854       -) ac_f="$ac_tmp/stdin";;
   15855       *) # Look for the file first in the build tree, then in the source tree
   15856 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15857 	 # because $ac_f cannot contain `:'.
   15858 	 test -f "$ac_f" ||
   15859 	   case $ac_f in
   15860 	   [\\/$]*) false;;
   15861 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15862 	   esac ||
   15863 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15864       esac
   15865       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15866       as_fn_append ac_file_inputs " '$ac_f'"
   15867     done
   15868 
   15869     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15870     # use $as_me), people would be surprised to read:
   15871     #    /* config.h.  Generated by config.status.  */
   15872     configure_input='Generated from '`
   15873 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15874 	`' by configure.'
   15875     if test x"$ac_file" != x-; then
   15876       configure_input="$ac_file.  $configure_input"
   15877       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15878 $as_echo "$as_me: creating $ac_file" >&6;}
   15879     fi
   15880     # Neutralize special characters interpreted by sed in replacement strings.
   15881     case $configure_input in #(
   15882     *\&* | *\|* | *\\* )
   15883        ac_sed_conf_input=`$as_echo "$configure_input" |
   15884        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15885     *) ac_sed_conf_input=$configure_input;;
   15886     esac
   15887 
   15888     case $ac_tag in
   15889     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15890       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15891     esac
   15892     ;;
   15893   esac
   15894 
   15895   ac_dir=`$as_dirname -- "$ac_file" ||
   15896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15897 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15898 	 X"$ac_file" : 'X\(//\)$' \| \
   15899 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15900 $as_echo X"$ac_file" |
   15901     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15902 	    s//\1/
   15903 	    q
   15904 	  }
   15905 	  /^X\(\/\/\)[^/].*/{
   15906 	    s//\1/
   15907 	    q
   15908 	  }
   15909 	  /^X\(\/\/\)$/{
   15910 	    s//\1/
   15911 	    q
   15912 	  }
   15913 	  /^X\(\/\).*/{
   15914 	    s//\1/
   15915 	    q
   15916 	  }
   15917 	  s/.*/./; q'`
   15918   as_dir="$ac_dir"; as_fn_mkdir_p
   15919   ac_builddir=.
   15920 
   15921 case "$ac_dir" in
   15922 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15923 *)
   15924   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15925   # A ".." for each directory in $ac_dir_suffix.
   15926   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15927   case $ac_top_builddir_sub in
   15928   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15929   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15930   esac ;;
   15931 esac
   15932 ac_abs_top_builddir=$ac_pwd
   15933 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15934 # for backward compatibility:
   15935 ac_top_builddir=$ac_top_build_prefix
   15936 
   15937 case $srcdir in
   15938   .)  # We are building in place.
   15939     ac_srcdir=.
   15940     ac_top_srcdir=$ac_top_builddir_sub
   15941     ac_abs_top_srcdir=$ac_pwd ;;
   15942   [\\/]* | ?:[\\/]* )  # Absolute name.
   15943     ac_srcdir=$srcdir$ac_dir_suffix;
   15944     ac_top_srcdir=$srcdir
   15945     ac_abs_top_srcdir=$srcdir ;;
   15946   *) # Relative name.
   15947     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15948     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15949     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15950 esac
   15951 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15952 
   15953 
   15954   case $ac_mode in
   15955   :F)
   15956   #
   15957   # CONFIG_FILE
   15958   #
   15959 
   15960   case $INSTALL in
   15961   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15962   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15963   esac
   15964   ac_MKDIR_P=$MKDIR_P
   15965   case $MKDIR_P in
   15966   [\\/$]* | ?:[\\/]* ) ;;
   15967   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15968   esac
   15969 _ACEOF
   15970 
   15971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15972 # If the template does not know about datarootdir, expand it.
   15973 # FIXME: This hack should be removed a few years after 2.60.
   15974 ac_datarootdir_hack=; ac_datarootdir_seen=
   15975 ac_sed_dataroot='
   15976 /datarootdir/ {
   15977   p
   15978   q
   15979 }
   15980 /@datadir@/p
   15981 /@docdir@/p
   15982 /@infodir@/p
   15983 /@localedir@/p
   15984 /@mandir@/p'
   15985 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15986 *datarootdir*) ac_datarootdir_seen=yes;;
   15987 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15988   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15989 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15990 _ACEOF
   15991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15992   ac_datarootdir_hack='
   15993   s&@datadir@&$datadir&g
   15994   s&@docdir@&$docdir&g
   15995   s&@infodir@&$infodir&g
   15996   s&@localedir@&$localedir&g
   15997   s&@mandir@&$mandir&g
   15998   s&\\\${datarootdir}&$datarootdir&g' ;;
   15999 esac
   16000 _ACEOF
   16001 
   16002 # Neutralize VPATH when `$srcdir' = `.'.
   16003 # Shell code in configure.ac might set extrasub.
   16004 # FIXME: do we really want to maintain this feature?
   16005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16006 ac_sed_extra="$ac_vpsub
   16007 $extrasub
   16008 _ACEOF
   16009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16010 :t
   16011 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16012 s|@configure_input@|$ac_sed_conf_input|;t t
   16013 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16014 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16015 s&@srcdir@&$ac_srcdir&;t t
   16016 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16017 s&@top_srcdir@&$ac_top_srcdir&;t t
   16018 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16019 s&@builddir@&$ac_builddir&;t t
   16020 s&@abs_builddir@&$ac_abs_builddir&;t t
   16021 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16022 s&@INSTALL@&$ac_INSTALL&;t t
   16023 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16024 $ac_datarootdir_hack
   16025 "
   16026 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   16027   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16028 
   16029 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16030   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   16031   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   16032       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   16033   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16034 which seems to be undefined.  Please make sure it is defined" >&5
   16035 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16036 which seems to be undefined.  Please make sure it is defined" >&2;}
   16037 
   16038   rm -f "$ac_tmp/stdin"
   16039   case $ac_file in
   16040   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   16041   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   16042   esac \
   16043   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16044  ;;
   16045   :H)
   16046   #
   16047   # CONFIG_HEADER
   16048   #
   16049   if test x"$ac_file" != x-; then
   16050     {
   16051       $as_echo "/* $configure_input  */" \
   16052       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   16053     } >"$ac_tmp/config.h" \
   16054       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16055     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   16056       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   16057 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   16058     else
   16059       rm -f "$ac_file"
   16060       mv "$ac_tmp/config.h" "$ac_file" \
   16061 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16062     fi
   16063   else
   16064     $as_echo "/* $configure_input  */" \
   16065       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   16066       || as_fn_error $? "could not create -" "$LINENO" 5
   16067   fi
   16068 # Compute "$ac_file"'s index in $config_headers.
   16069 _am_arg="$ac_file"
   16070 _am_stamp_count=1
   16071 for _am_header in $config_headers :; do
   16072   case $_am_header in
   16073     $_am_arg | $_am_arg:* )
   16074       break ;;
   16075     * )
   16076       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16077   esac
   16078 done
   16079 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16080 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16081 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16082 	 X"$_am_arg" : 'X\(//\)$' \| \
   16083 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16084 $as_echo X"$_am_arg" |
   16085     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16086 	    s//\1/
   16087 	    q
   16088 	  }
   16089 	  /^X\(\/\/\)[^/].*/{
   16090 	    s//\1/
   16091 	    q
   16092 	  }
   16093 	  /^X\(\/\/\)$/{
   16094 	    s//\1/
   16095 	    q
   16096 	  }
   16097 	  /^X\(\/\).*/{
   16098 	    s//\1/
   16099 	    q
   16100 	  }
   16101 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16102  ;;
   16103 
   16104   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16105 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16106  ;;
   16107   esac
   16108 
   16109 
   16110   case $ac_file$ac_mode in
   16111     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16112   # Older Autoconf quotes --file arguments for eval, but not when files
   16113   # are listed without --file.  Let's play safe and only enable the eval
   16114   # if we detect the quoting.
   16115   case $CONFIG_FILES in
   16116   *\'*) eval set x "$CONFIG_FILES" ;;
   16117   *)   set x $CONFIG_FILES ;;
   16118   esac
   16119   shift
   16120   for mf
   16121   do
   16122     # Strip MF so we end up with the name of the file.
   16123     mf=`echo "$mf" | sed -e 's/:.*$//'`
   16124     # Check whether this is an Automake generated Makefile or not.
   16125     # We used to match only the files named 'Makefile.in', but
   16126     # some people rename them; so instead we look at the file content.
   16127     # Grep'ing the first line is not enough: some people post-process
   16128     # each Makefile.in and add a new line on top of each file to say so.
   16129     # Grep'ing the whole file is not good either: AIX grep has a line
   16130     # limit of 2048, but all sed's we know have understand at least 4000.
   16131     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16132       dirpart=`$as_dirname -- "$mf" ||
   16133 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16134 	 X"$mf" : 'X\(//\)[^/]' \| \
   16135 	 X"$mf" : 'X\(//\)$' \| \
   16136 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16137 $as_echo X"$mf" |
   16138     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16139 	    s//\1/
   16140 	    q
   16141 	  }
   16142 	  /^X\(\/\/\)[^/].*/{
   16143 	    s//\1/
   16144 	    q
   16145 	  }
   16146 	  /^X\(\/\/\)$/{
   16147 	    s//\1/
   16148 	    q
   16149 	  }
   16150 	  /^X\(\/\).*/{
   16151 	    s//\1/
   16152 	    q
   16153 	  }
   16154 	  s/.*/./; q'`
   16155     else
   16156       continue
   16157     fi
   16158     # Extract the definition of DEPDIR, am__include, and am__quote
   16159     # from the Makefile without running 'make'.
   16160     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16161     test -z "$DEPDIR" && continue
   16162     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16163     test -z "$am__include" && continue
   16164     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16165     # Find all dependency output files, they are included files with
   16166     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16167     # simplest approach to changing $(DEPDIR) to its actual value in the
   16168     # expansion.
   16169     for file in `sed -n "
   16170       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16171 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   16172       # Make sure the directory exists.
   16173       test -f "$dirpart/$file" && continue
   16174       fdir=`$as_dirname -- "$file" ||
   16175 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16176 	 X"$file" : 'X\(//\)[^/]' \| \
   16177 	 X"$file" : 'X\(//\)$' \| \
   16178 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16179 $as_echo X"$file" |
   16180     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16181 	    s//\1/
   16182 	    q
   16183 	  }
   16184 	  /^X\(\/\/\)[^/].*/{
   16185 	    s//\1/
   16186 	    q
   16187 	  }
   16188 	  /^X\(\/\/\)$/{
   16189 	    s//\1/
   16190 	    q
   16191 	  }
   16192 	  /^X\(\/\).*/{
   16193 	    s//\1/
   16194 	    q
   16195 	  }
   16196 	  s/.*/./; q'`
   16197       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   16198       # echo "creating $dirpart/$file"
   16199       echo '# dummy' > "$dirpart/$file"
   16200     done
   16201   done
   16202 }
   16203  ;;
   16204     "libtool":C)
   16205 
   16206     # See if we are running on zsh, and set the options which allow our
   16207     # commands through without removal of \ escapes.
   16208     if test -n "${ZSH_VERSION+set}" ; then
   16209       setopt NO_GLOB_SUBST
   16210     fi
   16211 
   16212     cfgfile="${ofile}T"
   16213     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16214     $RM "$cfgfile"
   16215 
   16216     cat <<_LT_EOF >> "$cfgfile"
   16217 #! $SHELL
   16218 
   16219 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16220 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16221 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16222 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16223 #
   16224 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16225 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   16226 #                 Foundation, Inc.
   16227 #   Written by Gordon Matzigkeit, 1996
   16228 #
   16229 #   This file is part of GNU Libtool.
   16230 #
   16231 # GNU Libtool is free software; you can redistribute it and/or
   16232 # modify it under the terms of the GNU General Public License as
   16233 # published by the Free Software Foundation; either version 2 of
   16234 # the License, or (at your option) any later version.
   16235 #
   16236 # As a special exception to the GNU General Public License,
   16237 # if you distribute this file as part of a program or library that
   16238 # is built using GNU Libtool, you may include this file under the
   16239 # same distribution terms that you use for the rest of that program.
   16240 #
   16241 # GNU Libtool is distributed in the hope that it will be useful,
   16242 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16243 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16244 # GNU General Public License for more details.
   16245 #
   16246 # You should have received a copy of the GNU General Public License
   16247 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16248 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16249 # obtained by writing to the Free Software Foundation, Inc.,
   16250 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16251 
   16252 
   16253 # The names of the tagged configurations supported by this script.
   16254 available_tags=""
   16255 
   16256 # ### BEGIN LIBTOOL CONFIG
   16257 
   16258 # Which release of libtool.m4 was used?
   16259 macro_version=$macro_version
   16260 macro_revision=$macro_revision
   16261 
   16262 # Whether or not to build static libraries.
   16263 build_old_libs=$enable_static
   16264 
   16265 # What type of objects to build.
   16266 pic_mode=$pic_mode
   16267 
   16268 # Whether or not to build shared libraries.
   16269 build_libtool_libs=$enable_shared
   16270 
   16271 # Whether or not to optimize for fast installation.
   16272 fast_install=$enable_fast_install
   16273 
   16274 # Shell to use when invoking shell scripts.
   16275 SHELL=$lt_SHELL
   16276 
   16277 # An echo program that protects backslashes.
   16278 ECHO=$lt_ECHO
   16279 
   16280 # The PATH separator for the build system.
   16281 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   16282 
   16283 # The host system.
   16284 host_alias=$host_alias
   16285 host=$host
   16286 host_os=$host_os
   16287 
   16288 # The build system.
   16289 build_alias=$build_alias
   16290 build=$build
   16291 build_os=$build_os
   16292 
   16293 # A sed program that does not truncate output.
   16294 SED=$lt_SED
   16295 
   16296 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16297 Xsed="\$SED -e 1s/^X//"
   16298 
   16299 # A grep program that handles long lines.
   16300 GREP=$lt_GREP
   16301 
   16302 # An ERE matcher.
   16303 EGREP=$lt_EGREP
   16304 
   16305 # A literal string matcher.
   16306 FGREP=$lt_FGREP
   16307 
   16308 # A BSD- or MS-compatible name lister.
   16309 NM=$lt_NM
   16310 
   16311 # Whether we need soft or hard links.
   16312 LN_S=$lt_LN_S
   16313 
   16314 # What is the maximum length of a command?
   16315 max_cmd_len=$max_cmd_len
   16316 
   16317 # Object file suffix (normally "o").
   16318 objext=$ac_objext
   16319 
   16320 # Executable file suffix (normally "").
   16321 exeext=$exeext
   16322 
   16323 # whether the shell understands "unset".
   16324 lt_unset=$lt_unset
   16325 
   16326 # turn spaces into newlines.
   16327 SP2NL=$lt_lt_SP2NL
   16328 
   16329 # turn newlines into spaces.
   16330 NL2SP=$lt_lt_NL2SP
   16331 
   16332 # convert \$build file names to \$host format.
   16333 to_host_file_cmd=$lt_cv_to_host_file_cmd
   16334 
   16335 # convert \$build files to toolchain format.
   16336 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   16337 
   16338 # An object symbol dumper.
   16339 OBJDUMP=$lt_OBJDUMP
   16340 
   16341 # Method to check whether dependent libraries are shared objects.
   16342 deplibs_check_method=$lt_deplibs_check_method
   16343 
   16344 # Command to use when deplibs_check_method = "file_magic".
   16345 file_magic_cmd=$lt_file_magic_cmd
   16346 
   16347 # How to find potential files when deplibs_check_method = "file_magic".
   16348 file_magic_glob=$lt_file_magic_glob
   16349 
   16350 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   16351 want_nocaseglob=$lt_want_nocaseglob
   16352 
   16353 # DLL creation program.
   16354 DLLTOOL=$lt_DLLTOOL
   16355 
   16356 # Command to associate shared and link libraries.
   16357 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   16358 
   16359 # The archiver.
   16360 AR=$lt_AR
   16361 
   16362 # Flags to create an archive.
   16363 AR_FLAGS=$lt_AR_FLAGS
   16364 
   16365 # How to feed a file listing to the archiver.
   16366 archiver_list_spec=$lt_archiver_list_spec
   16367 
   16368 # A symbol stripping program.
   16369 STRIP=$lt_STRIP
   16370 
   16371 # Commands used to install an old-style archive.
   16372 RANLIB=$lt_RANLIB
   16373 old_postinstall_cmds=$lt_old_postinstall_cmds
   16374 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16375 
   16376 # Whether to use a lock for old archive extraction.
   16377 lock_old_archive_extraction=$lock_old_archive_extraction
   16378 
   16379 # A C compiler.
   16380 LTCC=$lt_CC
   16381 
   16382 # LTCC compiler flags.
   16383 LTCFLAGS=$lt_CFLAGS
   16384 
   16385 # Take the output of nm and produce a listing of raw symbols and C names.
   16386 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16387 
   16388 # Transform the output of nm in a proper C declaration.
   16389 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16390 
   16391 # Transform the output of nm in a C name address pair.
   16392 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16393 
   16394 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16395 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16396 
   16397 # Specify filename containing input files for \$NM.
   16398 nm_file_list_spec=$lt_nm_file_list_spec
   16399 
   16400 # The root where to search for dependent libraries,and in which our libraries should be installed.
   16401 lt_sysroot=$lt_sysroot
   16402 
   16403 # The name of the directory that contains temporary libtool files.
   16404 objdir=$objdir
   16405 
   16406 # Used to examine libraries when file_magic_cmd begins with "file".
   16407 MAGIC_CMD=$MAGIC_CMD
   16408 
   16409 # Must we lock files when doing compilation?
   16410 need_locks=$lt_need_locks
   16411 
   16412 # Manifest tool.
   16413 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   16414 
   16415 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16416 DSYMUTIL=$lt_DSYMUTIL
   16417 
   16418 # Tool to change global to local symbols on Mac OS X.
   16419 NMEDIT=$lt_NMEDIT
   16420 
   16421 # Tool to manipulate fat objects and archives on Mac OS X.
   16422 LIPO=$lt_LIPO
   16423 
   16424 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16425 OTOOL=$lt_OTOOL
   16426 
   16427 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16428 OTOOL64=$lt_OTOOL64
   16429 
   16430 # Old archive suffix (normally "a").
   16431 libext=$libext
   16432 
   16433 # Shared library suffix (normally ".so").
   16434 shrext_cmds=$lt_shrext_cmds
   16435 
   16436 # The commands to extract the exported symbol list from a shared archive.
   16437 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16438 
   16439 # Variables whose values should be saved in libtool wrapper scripts and
   16440 # restored at link time.
   16441 variables_saved_for_relink=$lt_variables_saved_for_relink
   16442 
   16443 # Do we need the "lib" prefix for modules?
   16444 need_lib_prefix=$need_lib_prefix
   16445 
   16446 # Do we need a version for libraries?
   16447 need_version=$need_version
   16448 
   16449 # Library versioning type.
   16450 version_type=$version_type
   16451 
   16452 # Shared library runtime path variable.
   16453 runpath_var=$runpath_var
   16454 
   16455 # Shared library path variable.
   16456 shlibpath_var=$shlibpath_var
   16457 
   16458 # Is shlibpath searched before the hard-coded library search path?
   16459 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16460 
   16461 # Format of library name prefix.
   16462 libname_spec=$lt_libname_spec
   16463 
   16464 # List of archive names.  First name is the real one, the rest are links.
   16465 # The last name is the one that the linker finds with -lNAME
   16466 library_names_spec=$lt_library_names_spec
   16467 
   16468 # The coded name of the library, if different from the real name.
   16469 soname_spec=$lt_soname_spec
   16470 
   16471 # Permission mode override for installation of shared libraries.
   16472 install_override_mode=$lt_install_override_mode
   16473 
   16474 # Command to use after installation of a shared archive.
   16475 postinstall_cmds=$lt_postinstall_cmds
   16476 
   16477 # Command to use after uninstallation of a shared archive.
   16478 postuninstall_cmds=$lt_postuninstall_cmds
   16479 
   16480 # Commands used to finish a libtool library installation in a directory.
   16481 finish_cmds=$lt_finish_cmds
   16482 
   16483 # As "finish_cmds", except a single script fragment to be evaled but
   16484 # not shown.
   16485 finish_eval=$lt_finish_eval
   16486 
   16487 # Whether we should hardcode library paths into libraries.
   16488 hardcode_into_libs=$hardcode_into_libs
   16489 
   16490 # Compile-time system search path for libraries.
   16491 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16492 
   16493 # Run-time system search path for libraries.
   16494 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16495 
   16496 # Whether dlopen is supported.
   16497 dlopen_support=$enable_dlopen
   16498 
   16499 # Whether dlopen of programs is supported.
   16500 dlopen_self=$enable_dlopen_self
   16501 
   16502 # Whether dlopen of statically linked programs is supported.
   16503 dlopen_self_static=$enable_dlopen_self_static
   16504 
   16505 # Commands to strip libraries.
   16506 old_striplib=$lt_old_striplib
   16507 striplib=$lt_striplib
   16508 
   16509 
   16510 # The linker used to build libraries.
   16511 LD=$lt_LD
   16512 
   16513 # How to create reloadable object files.
   16514 reload_flag=$lt_reload_flag
   16515 reload_cmds=$lt_reload_cmds
   16516 
   16517 # Commands used to build an old-style archive.
   16518 old_archive_cmds=$lt_old_archive_cmds
   16519 
   16520 # A language specific compiler.
   16521 CC=$lt_compiler
   16522 
   16523 # Is the compiler the GNU compiler?
   16524 with_gcc=$GCC
   16525 
   16526 # Compiler flag to turn off builtin functions.
   16527 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16528 
   16529 # Additional compiler flags for building library objects.
   16530 pic_flag=$lt_lt_prog_compiler_pic
   16531 
   16532 # How to pass a linker flag through the compiler.
   16533 wl=$lt_lt_prog_compiler_wl
   16534 
   16535 # Compiler flag to prevent dynamic linking.
   16536 link_static_flag=$lt_lt_prog_compiler_static
   16537 
   16538 # Does compiler simultaneously support -c and -o options?
   16539 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16540 
   16541 # Whether or not to add -lc for building shared libraries.
   16542 build_libtool_need_lc=$archive_cmds_need_lc
   16543 
   16544 # Whether or not to disallow shared libs when runtime libs are static.
   16545 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16546 
   16547 # Compiler flag to allow reflexive dlopens.
   16548 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16549 
   16550 # Compiler flag to generate shared objects directly from archives.
   16551 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16552 
   16553 # Whether the compiler copes with passing no objects directly.
   16554 compiler_needs_object=$lt_compiler_needs_object
   16555 
   16556 # Create an old-style archive from a shared archive.
   16557 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16558 
   16559 # Create a temporary old-style archive to link instead of a shared archive.
   16560 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16561 
   16562 # Commands used to build a shared archive.
   16563 archive_cmds=$lt_archive_cmds
   16564 archive_expsym_cmds=$lt_archive_expsym_cmds
   16565 
   16566 # Commands used to build a loadable module if different from building
   16567 # a shared archive.
   16568 module_cmds=$lt_module_cmds
   16569 module_expsym_cmds=$lt_module_expsym_cmds
   16570 
   16571 # Whether we are building with GNU ld or not.
   16572 with_gnu_ld=$lt_with_gnu_ld
   16573 
   16574 # Flag that allows shared libraries with undefined symbols to be built.
   16575 allow_undefined_flag=$lt_allow_undefined_flag
   16576 
   16577 # Flag that enforces no undefined symbols.
   16578 no_undefined_flag=$lt_no_undefined_flag
   16579 
   16580 # Flag to hardcode \$libdir into a binary during linking.
   16581 # This must work even if \$libdir does not exist
   16582 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16583 
   16584 # Whether we need a single "-rpath" flag with a separated argument.
   16585 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16586 
   16587 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16588 # DIR into the resulting binary.
   16589 hardcode_direct=$hardcode_direct
   16590 
   16591 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16592 # DIR into the resulting binary and the resulting library dependency is
   16593 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   16594 # library is relocated.
   16595 hardcode_direct_absolute=$hardcode_direct_absolute
   16596 
   16597 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16598 # into the resulting binary.
   16599 hardcode_minus_L=$hardcode_minus_L
   16600 
   16601 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16602 # into the resulting binary.
   16603 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16604 
   16605 # Set to "yes" if building a shared library automatically hardcodes DIR
   16606 # into the library and all subsequent libraries and executables linked
   16607 # against it.
   16608 hardcode_automatic=$hardcode_automatic
   16609 
   16610 # Set to yes if linker adds runtime paths of dependent libraries
   16611 # to runtime path list.
   16612 inherit_rpath=$inherit_rpath
   16613 
   16614 # Whether libtool must link a program against all its dependency libraries.
   16615 link_all_deplibs=$link_all_deplibs
   16616 
   16617 # Set to "yes" if exported symbols are required.
   16618 always_export_symbols=$always_export_symbols
   16619 
   16620 # The commands to list exported symbols.
   16621 export_symbols_cmds=$lt_export_symbols_cmds
   16622 
   16623 # Symbols that should not be listed in the preloaded symbols.
   16624 exclude_expsyms=$lt_exclude_expsyms
   16625 
   16626 # Symbols that must always be exported.
   16627 include_expsyms=$lt_include_expsyms
   16628 
   16629 # Commands necessary for linking programs (against libraries) with templates.
   16630 prelink_cmds=$lt_prelink_cmds
   16631 
   16632 # Commands necessary for finishing linking programs.
   16633 postlink_cmds=$lt_postlink_cmds
   16634 
   16635 # Specify filename containing input files.
   16636 file_list_spec=$lt_file_list_spec
   16637 
   16638 # How to hardcode a shared library path into an executable.
   16639 hardcode_action=$hardcode_action
   16640 
   16641 # ### END LIBTOOL CONFIG
   16642 
   16643 _LT_EOF
   16644 
   16645   case $host_os in
   16646   aix3*)
   16647     cat <<\_LT_EOF >> "$cfgfile"
   16648 # AIX sometimes has problems with the GCC collect2 program.  For some
   16649 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16650 # vanish in a puff of smoke.
   16651 if test "X${COLLECT_NAMES+set}" != Xset; then
   16652   COLLECT_NAMES=
   16653   export COLLECT_NAMES
   16654 fi
   16655 _LT_EOF
   16656     ;;
   16657   esac
   16658 
   16659 
   16660 ltmain="$ac_aux_dir/ltmain.sh"
   16661 
   16662 
   16663   # We use sed instead of cat because bash on DJGPP gets confused if
   16664   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16665   # text mode, it properly converts lines to CR/LF.  This bash problem
   16666   # is reportedly fixed, but why not run on old versions too?
   16667   sed '$q' "$ltmain" >> "$cfgfile" \
   16668      || (rm -f "$cfgfile"; exit 1)
   16669 
   16670   if test x"$xsi_shell" = xyes; then
   16671   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   16672 func_dirname ()\
   16673 {\
   16674 \    case ${1} in\
   16675 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   16676 \      *  ) func_dirname_result="${3}" ;;\
   16677 \    esac\
   16678 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   16679   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16680     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16681 test 0 -eq $? || _lt_function_replace_fail=:
   16682 
   16683 
   16684   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   16685 func_basename ()\
   16686 {\
   16687 \    func_basename_result="${1##*/}"\
   16688 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   16689   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16690     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16691 test 0 -eq $? || _lt_function_replace_fail=:
   16692 
   16693 
   16694   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   16695 func_dirname_and_basename ()\
   16696 {\
   16697 \    case ${1} in\
   16698 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   16699 \      *  ) func_dirname_result="${3}" ;;\
   16700 \    esac\
   16701 \    func_basename_result="${1##*/}"\
   16702 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   16703   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16704     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16705 test 0 -eq $? || _lt_function_replace_fail=:
   16706 
   16707 
   16708   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   16709 func_stripname ()\
   16710 {\
   16711 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   16712 \    # positional parameters, so assign one to ordinary parameter first.\
   16713 \    func_stripname_result=${3}\
   16714 \    func_stripname_result=${func_stripname_result#"${1}"}\
   16715 \    func_stripname_result=${func_stripname_result%"${2}"}\
   16716 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   16717   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16718     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16719 test 0 -eq $? || _lt_function_replace_fail=:
   16720 
   16721 
   16722   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   16723 func_split_long_opt ()\
   16724 {\
   16725 \    func_split_long_opt_name=${1%%=*}\
   16726 \    func_split_long_opt_arg=${1#*=}\
   16727 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   16728   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16729     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16730 test 0 -eq $? || _lt_function_replace_fail=:
   16731 
   16732 
   16733   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   16734 func_split_short_opt ()\
   16735 {\
   16736 \    func_split_short_opt_arg=${1#??}\
   16737 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   16738 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   16739   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16740     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16741 test 0 -eq $? || _lt_function_replace_fail=:
   16742 
   16743 
   16744   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   16745 func_lo2o ()\
   16746 {\
   16747 \    case ${1} in\
   16748 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   16749 \      *)    func_lo2o_result=${1} ;;\
   16750 \    esac\
   16751 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   16752   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16753     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16754 test 0 -eq $? || _lt_function_replace_fail=:
   16755 
   16756 
   16757   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   16758 func_xform ()\
   16759 {\
   16760     func_xform_result=${1%.*}.lo\
   16761 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   16762   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16763     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16764 test 0 -eq $? || _lt_function_replace_fail=:
   16765 
   16766 
   16767   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   16768 func_arith ()\
   16769 {\
   16770     func_arith_result=$(( $* ))\
   16771 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   16772   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16773     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16774 test 0 -eq $? || _lt_function_replace_fail=:
   16775 
   16776 
   16777   sed -e '/^func_len ()$/,/^} # func_len /c\
   16778 func_len ()\
   16779 {\
   16780     func_len_result=${#1}\
   16781 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   16782   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16783     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16784 test 0 -eq $? || _lt_function_replace_fail=:
   16785 
   16786 fi
   16787 
   16788 if test x"$lt_shell_append" = xyes; then
   16789   sed -e '/^func_append ()$/,/^} # func_append /c\
   16790 func_append ()\
   16791 {\
   16792     eval "${1}+=\\${2}"\
   16793 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   16794   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16795     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16796 test 0 -eq $? || _lt_function_replace_fail=:
   16797 
   16798 
   16799   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   16800 func_append_quoted ()\
   16801 {\
   16802 \    func_quote_for_eval "${2}"\
   16803 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   16804 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   16805   && mv -f "$cfgfile.tmp" "$cfgfile" \
   16806     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16807 test 0 -eq $? || _lt_function_replace_fail=:
   16808 
   16809 
   16810   # Save a `func_append' function call where possible by direct use of '+='
   16811   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   16812     && mv -f "$cfgfile.tmp" "$cfgfile" \
   16813       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16814   test 0 -eq $? || _lt_function_replace_fail=:
   16815 else
   16816   # Save a `func_append' function call even when '+=' is not available
   16817   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   16818     && mv -f "$cfgfile.tmp" "$cfgfile" \
   16819       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   16820   test 0 -eq $? || _lt_function_replace_fail=:
   16821 fi
   16822 
   16823 if test x"$_lt_function_replace_fail" = x":"; then
   16824   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   16825 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   16826 fi
   16827 
   16828 
   16829    mv -f "$cfgfile" "$ofile" ||
   16830     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16831   chmod +x "$ofile"
   16832 
   16833  ;;
   16834 
   16835   esac
   16836 done # for ac_tag
   16837 
   16838 
   16839 as_fn_exit 0
   16840 _ACEOF
   16841 ac_clean_files=$ac_clean_files_save
   16842 
   16843 test $ac_write_fail = 0 ||
   16844   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16845 
   16846 
   16847 # configure is writing to config.log, and then calls config.status.
   16848 # config.status does its own redirection, appending to config.log.
   16849 # Unfortunately, on DOS this fails, as config.log is still kept open
   16850 # by configure, so config.status won't be able to write to it; its
   16851 # output is simply discarded.  So we exec the FD to /dev/null,
   16852 # effectively closing config.log, so it can be properly (re)opened and
   16853 # appended to by config.status.  When coming back to configure, we
   16854 # need to make the FD available again.
   16855 if test "$no_create" != yes; then
   16856   ac_cs_success=:
   16857   ac_config_status_args=
   16858   test "$silent" = yes &&
   16859     ac_config_status_args="$ac_config_status_args --quiet"
   16860   exec 5>/dev/null
   16861   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16862   exec 5>>config.log
   16863   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16864   # would make configure fail if this is the last instruction.
   16865   $ac_cs_success || as_fn_exit 1
   16866 fi
   16867 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16868   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16869 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16870 fi
   16871 
   16872