Home | History | Annotate | Line # | Download | only in dist
configure revision 1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for file 5.16.
      4 #
      5 # Report bugs to <christos (at] astron.com>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: christos (at] astron.com about your system, including any
    243 $0: error possibly output before this message. Then install
    244 $0: a modern shell, or manually run the script under such a
    245 $0: shell if you do have one."
    246   fi
    247   exit 1
    248 fi
    249 fi
    250 fi
    251 SHELL=${CONFIG_SHELL-/bin/sh}
    252 export SHELL
    253 # Unset more variables known to interfere with behavior of common tools.
    254 CLICOLOR_FORCE= GREP_OPTIONS=
    255 unset CLICOLOR_FORCE GREP_OPTIONS
    256 
    257 ## --------------------- ##
    258 ## M4sh Shell Functions. ##
    259 ## --------------------- ##
    260 # as_fn_unset VAR
    261 # ---------------
    262 # Portably unset VAR.
    263 as_fn_unset ()
    264 {
    265   { eval $1=; unset $1;}
    266 }
    267 as_unset=as_fn_unset
    268 
    269 # as_fn_set_status STATUS
    270 # -----------------------
    271 # Set $? to STATUS, without forking.
    272 as_fn_set_status ()
    273 {
    274   return $1
    275 } # as_fn_set_status
    276 
    277 # as_fn_exit STATUS
    278 # -----------------
    279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    280 as_fn_exit ()
    281 {
    282   set +e
    283   as_fn_set_status $1
    284   exit $1
    285 } # as_fn_exit
    286 
    287 # as_fn_mkdir_p
    288 # -------------
    289 # Create "$as_dir" as a directory, including parents if necessary.
    290 as_fn_mkdir_p ()
    291 {
    292 
    293   case $as_dir in #(
    294   -*) as_dir=./$as_dir;;
    295   esac
    296   test -d "$as_dir" || eval $as_mkdir_p || {
    297     as_dirs=
    298     while :; do
    299       case $as_dir in #(
    300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    301       *) as_qdir=$as_dir;;
    302       esac
    303       as_dirs="'$as_qdir' $as_dirs"
    304       as_dir=`$as_dirname -- "$as_dir" ||
    305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    306 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    307 	 X"$as_dir" : 'X\(//\)$' \| \
    308 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    309 $as_echo X"$as_dir" |
    310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    311 	    s//\1/
    312 	    q
    313 	  }
    314 	  /^X\(\/\/\)[^/].*/{
    315 	    s//\1/
    316 	    q
    317 	  }
    318 	  /^X\(\/\/\)$/{
    319 	    s//\1/
    320 	    q
    321 	  }
    322 	  /^X\(\/\).*/{
    323 	    s//\1/
    324 	    q
    325 	  }
    326 	  s/.*/./; q'`
    327       test -d "$as_dir" && break
    328     done
    329     test -z "$as_dirs" || eval "mkdir $as_dirs"
    330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    331 
    332 
    333 } # as_fn_mkdir_p
    334 # as_fn_append VAR VALUE
    335 # ----------------------
    336 # Append the text in VALUE to the end of the definition contained in VAR. Take
    337 # advantage of any shell optimizations that allow amortized linear growth over
    338 # repeated appends, instead of the typical quadratic growth present in naive
    339 # implementations.
    340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    341   eval 'as_fn_append ()
    342   {
    343     eval $1+=\$2
    344   }'
    345 else
    346   as_fn_append ()
    347   {
    348     eval $1=\$$1\$2
    349   }
    350 fi # as_fn_append
    351 
    352 # as_fn_arith ARG...
    353 # ------------------
    354 # Perform arithmetic evaluation on the ARGs, and store the result in the
    355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    356 # must be portable across $(()) and expr.
    357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    358   eval 'as_fn_arith ()
    359   {
    360     as_val=$(( $* ))
    361   }'
    362 else
    363   as_fn_arith ()
    364   {
    365     as_val=`expr "$@" || test $? -eq 1`
    366   }
    367 fi # as_fn_arith
    368 
    369 
    370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    371 # ----------------------------------------
    372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    374 # script with STATUS, using 1 if that was 0.
    375 as_fn_error ()
    376 {
    377   as_status=$1; test $as_status -eq 0 && as_status=1
    378   if test "$4"; then
    379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    381   fi
    382   $as_echo "$as_me: error: $2" >&2
    383   as_fn_exit $as_status
    384 } # as_fn_error
    385 
    386 if expr a : '\(a\)' >/dev/null 2>&1 &&
    387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    388   as_expr=expr
    389 else
    390   as_expr=false
    391 fi
    392 
    393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    394   as_basename=basename
    395 else
    396   as_basename=false
    397 fi
    398 
    399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    400   as_dirname=dirname
    401 else
    402   as_dirname=false
    403 fi
    404 
    405 as_me=`$as_basename -- "$0" ||
    406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    407 	 X"$0" : 'X\(//\)$' \| \
    408 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    409 $as_echo X/"$0" |
    410     sed '/^.*\/\([^/][^/]*\)\/*$/{
    411 	    s//\1/
    412 	    q
    413 	  }
    414 	  /^X\/\(\/\/\)$/{
    415 	    s//\1/
    416 	    q
    417 	  }
    418 	  /^X\/\(\/\).*/{
    419 	    s//\1/
    420 	    q
    421 	  }
    422 	  s/.*/./; q'`
    423 
    424 # Avoid depending upon Character Ranges.
    425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    428 as_cr_digits='0123456789'
    429 as_cr_alnum=$as_cr_Letters$as_cr_digits
    430 
    431 
    432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    437   sed -n '
    438     p
    439     /[$]LINENO/=
    440   ' <$as_myself |
    441     sed '
    442       s/[$]LINENO.*/&-/
    443       t lineno
    444       b
    445       :lineno
    446       N
    447       :loop
    448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    449       t loop
    450       s/-\n.*//
    451     ' >$as_me.lineno &&
    452   chmod +x "$as_me.lineno" ||
    453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    454 
    455   # Don't try to exec as it changes $[0], causing all sort of problems
    456   # (the dirname of $[0] is not the place where we might find the
    457   # original and so on.  Autoconf is especially sensitive to this).
    458   . "./$as_me.lineno"
    459   # Exit status is that of the last command.
    460   exit
    461 }
    462 
    463 ECHO_C= ECHO_N= ECHO_T=
    464 case `echo -n x` in #(((((
    465 -n*)
    466   case `echo 'xy\c'` in
    467   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    468   xy)  ECHO_C='\c';;
    469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    470        ECHO_T='	';;
    471   esac;;
    472 *)
    473   ECHO_N='-n';;
    474 esac
    475 
    476 rm -f conf$$ conf$$.exe conf$$.file
    477 if test -d conf$$.dir; then
    478   rm -f conf$$.dir/conf$$.file
    479 else
    480   rm -f conf$$.dir
    481   mkdir conf$$.dir 2>/dev/null
    482 fi
    483 if (echo >conf$$.file) 2>/dev/null; then
    484   if ln -s conf$$.file conf$$ 2>/dev/null; then
    485     as_ln_s='ln -s'
    486     # ... but there are two gotchas:
    487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    489     # In both cases, we have to default to `cp -p'.
    490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    491       as_ln_s='cp -p'
    492   elif ln conf$$.file conf$$ 2>/dev/null; then
    493     as_ln_s=ln
    494   else
    495     as_ln_s='cp -p'
    496   fi
    497 else
    498   as_ln_s='cp -p'
    499 fi
    500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    501 rmdir conf$$.dir 2>/dev/null
    502 
    503 if mkdir -p . 2>/dev/null; then
    504   as_mkdir_p='mkdir -p "$as_dir"'
    505 else
    506   test -d ./-p && rmdir ./-p
    507   as_mkdir_p=false
    508 fi
    509 
    510 if test -x / >/dev/null 2>&1; then
    511   as_test_x='test -x'
    512 else
    513   if ls -dL / >/dev/null 2>&1; then
    514     as_ls_L_option=L
    515   else
    516     as_ls_L_option=
    517   fi
    518   as_test_x='
    519     eval sh -c '\''
    520       if test -d "$1"; then
    521 	test -d "$1/.";
    522       else
    523 	case $1 in #(
    524 	-*)set "./$1";;
    525 	esac;
    526 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    527 	???[sx]*):;;*)false;;esac;fi
    528     '\'' sh
    529   '
    530 fi
    531 as_executable_p=$as_test_x
    532 
    533 # Sed expression to map a string onto a valid CPP name.
    534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    535 
    536 # Sed expression to map a string onto a valid variable name.
    537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    538 
    539 
    540 
    541 # Check that we are running under the correct shell.
    542 SHELL=${CONFIG_SHELL-/bin/sh}
    543 
    544 case X$lt_ECHO in
    545 X*--fallback-echo)
    546   # Remove one level of quotation (which was required for Make).
    547   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    548   ;;
    549 esac
    550 
    551 ECHO=${lt_ECHO-echo}
    552 if test "X$1" = X--no-reexec; then
    553   # Discard the --no-reexec flag, and continue.
    554   shift
    555 elif test "X$1" = X--fallback-echo; then
    556   # Avoid inline document here, it may be left over
    557   :
    558 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    559   # Yippee, $ECHO works!
    560   :
    561 else
    562   # Restart under the correct shell.
    563   exec $SHELL "$0" --no-reexec ${1+"$@"}
    564 fi
    565 
    566 if test "X$1" = X--fallback-echo; then
    567   # used as fallback echo
    568   shift
    569   cat <<_LT_EOF
    570 $*
    571 _LT_EOF
    572   exit 0
    573 fi
    574 
    575 # The HP-UX ksh and POSIX shell print the target directory to stdout
    576 # if CDPATH is set.
    577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    578 
    579 if test -z "$lt_ECHO"; then
    580   if test "X${echo_test_string+set}" != Xset; then
    581     # find a string as large as possible, as long as the shell can cope with it
    582     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    583       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    584       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    585 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    586       then
    587         break
    588       fi
    589     done
    590   fi
    591 
    592   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    593      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    594      test "X$echo_testing_string" = "X$echo_test_string"; then
    595     :
    596   else
    597     # The Solaris, AIX, and Digital Unix default echo programs unquote
    598     # backslashes.  This makes it impossible to quote backslashes using
    599     #   echo "$something" | sed 's/\\/\\\\/g'
    600     #
    601     # So, first we look for a working echo in the user's PATH.
    602 
    603     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    604     for dir in $PATH /usr/ucb; do
    605       IFS="$lt_save_ifs"
    606       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    607          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    608          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    609          test "X$echo_testing_string" = "X$echo_test_string"; then
    610         ECHO="$dir/echo"
    611         break
    612       fi
    613     done
    614     IFS="$lt_save_ifs"
    615 
    616     if test "X$ECHO" = Xecho; then
    617       # We didn't find a better echo, so look for alternatives.
    618       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    619          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    620          test "X$echo_testing_string" = "X$echo_test_string"; then
    621         # This shell has a builtin print -r that does the trick.
    622         ECHO='print -r'
    623       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    624 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    625         # If we have ksh, try running configure again with it.
    626         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    627         export ORIGINAL_CONFIG_SHELL
    628         CONFIG_SHELL=/bin/ksh
    629         export CONFIG_SHELL
    630         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    631       else
    632         # Try using printf.
    633         ECHO='printf %s\n'
    634         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    635 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    636 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    637 	  # Cool, printf works
    638 	  :
    639         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    640 	     test "X$echo_testing_string" = 'X\t' &&
    641 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    642 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    643 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    644 	  export CONFIG_SHELL
    645 	  SHELL="$CONFIG_SHELL"
    646 	  export SHELL
    647 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    648         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    649 	     test "X$echo_testing_string" = 'X\t' &&
    650 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    651 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    653         else
    654 	  # maybe with a smaller string...
    655 	  prev=:
    656 
    657 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    658 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    659 	    then
    660 	      break
    661 	    fi
    662 	    prev="$cmd"
    663 	  done
    664 
    665 	  if test "$prev" != 'sed 50q "$0"'; then
    666 	    echo_test_string=`eval $prev`
    667 	    export echo_test_string
    668 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    669 	  else
    670 	    # Oops.  We lost completely, so just stick with echo.
    671 	    ECHO=echo
    672 	  fi
    673         fi
    674       fi
    675     fi
    676   fi
    677 fi
    678 
    679 # Copy echo and quote the copy suitably for passing to libtool from
    680 # the Makefile, instead of quoting the original, which is used later.
    681 lt_ECHO=$ECHO
    682 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    683    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    684 fi
    685 
    686 
    687 
    688 
    689 test -n "$DJDIR" || exec 7<&0 </dev/null
    690 exec 6>&1
    691 
    692 # Name of the host.
    693 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    694 # so uname gets run too.
    695 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    696 
    697 #
    698 # Initializations.
    699 #
    700 ac_default_prefix=/usr/local
    701 ac_clean_files=
    702 ac_config_libobj_dir=.
    703 LIBOBJS=
    704 cross_compiling=no
    705 subdirs=
    706 MFLAGS=
    707 MAKEFLAGS=
    708 
    709 # Identity of this package.
    710 PACKAGE_NAME='file'
    711 PACKAGE_TARNAME='file'
    712 PACKAGE_VERSION='5.16'
    713 PACKAGE_STRING='file 5.16'
    714 PACKAGE_BUGREPORT='christos (at] astron.com'
    715 PACKAGE_URL=''
    716 
    717 # Factoring default headers for most tests.
    718 ac_includes_default="\
    719 #include <stdio.h>
    720 #ifdef HAVE_SYS_TYPES_H
    721 # include <sys/types.h>
    722 #endif
    723 #ifdef HAVE_SYS_STAT_H
    724 # include <sys/stat.h>
    725 #endif
    726 #ifdef STDC_HEADERS
    727 # include <stdlib.h>
    728 # include <stddef.h>
    729 #else
    730 # ifdef HAVE_STDLIB_H
    731 #  include <stdlib.h>
    732 # endif
    733 #endif
    734 #ifdef HAVE_STRING_H
    735 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    736 #  include <memory.h>
    737 # endif
    738 # include <string.h>
    739 #endif
    740 #ifdef HAVE_STRINGS_H
    741 # include <strings.h>
    742 #endif
    743 #ifdef HAVE_INTTYPES_H
    744 # include <inttypes.h>
    745 #endif
    746 #ifdef HAVE_STDINT_H
    747 # include <stdint.h>
    748 #endif
    749 #ifdef HAVE_UNISTD_H
    750 # include <unistd.h>
    751 #endif"
    752 
    753 ac_header_list=
    754 ac_subst_vars='am__EXEEXT_FALSE
    755 am__EXEEXT_TRUE
    756 LTLIBOBJS
    757 IS_CROSS_COMPILE_FALSE
    758 IS_CROSS_COMPILE_TRUE
    759 LIBOBJS
    760 HAVE_VISIBILITY
    761 CFLAG_VISIBILITY
    762 OTOOL64
    763 OTOOL
    764 LIPO
    765 NMEDIT
    766 DSYMUTIL
    767 lt_ECHO
    768 RANLIB
    769 AR
    770 OBJDUMP
    771 NM
    772 ac_ct_DUMPBIN
    773 DUMPBIN
    774 LD
    775 FGREP
    776 SED
    777 LIBTOOL
    778 LN_S
    779 EGREP
    780 GREP
    781 CPP
    782 am__fastdepCC_FALSE
    783 am__fastdepCC_TRUE
    784 CCDEPMODE
    785 AMDEPBACKSLASH
    786 AMDEP_FALSE
    787 AMDEP_TRUE
    788 am__quote
    789 am__include
    790 DEPDIR
    791 OBJEXT
    792 EXEEXT
    793 ac_ct_CC
    794 CPPFLAGS
    795 LDFLAGS
    796 CFLAGS
    797 CC
    798 WARNINGS
    799 FSECT5_FALSE
    800 FSECT5_TRUE
    801 fsect
    802 pkgdatadir
    803 MINGW_FALSE
    804 MINGW_TRUE
    805 MINGW
    806 host_os
    807 host_vendor
    808 host_cpu
    809 host
    810 build_os
    811 build_vendor
    812 build_cpu
    813 build
    814 AM_BACKSLASH
    815 AM_DEFAULT_VERBOSITY
    816 AM_DEFAULT_V
    817 AM_V
    818 MAINT
    819 MAINTAINER_MODE_FALSE
    820 MAINTAINER_MODE_TRUE
    821 am__untar
    822 am__tar
    823 AMTAR
    824 am__leading_dot
    825 SET_MAKE
    826 AWK
    827 mkdir_p
    828 MKDIR_P
    829 INSTALL_STRIP_PROGRAM
    830 STRIP
    831 install_sh
    832 MAKEINFO
    833 AUTOHEADER
    834 AUTOMAKE
    835 AUTOCONF
    836 ACLOCAL
    837 VERSION
    838 PACKAGE
    839 CYGPATH_W
    840 am__isrc
    841 INSTALL_DATA
    842 INSTALL_SCRIPT
    843 INSTALL_PROGRAM
    844 target_alias
    845 host_alias
    846 build_alias
    847 LIBS
    848 ECHO_T
    849 ECHO_N
    850 ECHO_C
    851 DEFS
    852 mandir
    853 localedir
    854 libdir
    855 psdir
    856 pdfdir
    857 dvidir
    858 htmldir
    859 infodir
    860 docdir
    861 oldincludedir
    862 includedir
    863 localstatedir
    864 sharedstatedir
    865 sysconfdir
    866 datadir
    867 datarootdir
    868 libexecdir
    869 sbindir
    870 bindir
    871 program_transform_name
    872 prefix
    873 exec_prefix
    874 PACKAGE_URL
    875 PACKAGE_BUGREPORT
    876 PACKAGE_STRING
    877 PACKAGE_VERSION
    878 PACKAGE_TARNAME
    879 PACKAGE_NAME
    880 PATH_SEPARATOR
    881 SHELL'
    882 ac_subst_files=''
    883 ac_user_opts='
    884 enable_option_checking
    885 enable_maintainer_mode
    886 enable_silent_rules
    887 enable_elf
    888 enable_elf_core
    889 enable_fsect_man5
    890 enable_dependency_tracking
    891 enable_static
    892 with_pic
    893 enable_shared
    894 enable_fast_install
    895 with_gnu_ld
    896 enable_libtool_lock
    897 enable_largefile
    898 enable_warnings
    899 '
    900       ac_precious_vars='build_alias
    901 host_alias
    902 target_alias
    903 CC
    904 CFLAGS
    905 LDFLAGS
    906 LIBS
    907 CPPFLAGS
    908 CPP'
    909 
    910 
    911 # Initialize some variables set by options.
    912 ac_init_help=
    913 ac_init_version=false
    914 ac_unrecognized_opts=
    915 ac_unrecognized_sep=
    916 # The variables have the same names as the options, with
    917 # dashes changed to underlines.
    918 cache_file=/dev/null
    919 exec_prefix=NONE
    920 no_create=
    921 no_recursion=
    922 prefix=NONE
    923 program_prefix=NONE
    924 program_suffix=NONE
    925 program_transform_name=s,x,x,
    926 silent=
    927 site=
    928 srcdir=
    929 verbose=
    930 x_includes=NONE
    931 x_libraries=NONE
    932 
    933 # Installation directory options.
    934 # These are left unexpanded so users can "make install exec_prefix=/foo"
    935 # and all the variables that are supposed to be based on exec_prefix
    936 # by default will actually change.
    937 # Use braces instead of parens because sh, perl, etc. also accept them.
    938 # (The list follows the same order as the GNU Coding Standards.)
    939 bindir='${exec_prefix}/bin'
    940 sbindir='${exec_prefix}/sbin'
    941 libexecdir='${exec_prefix}/libexec'
    942 datarootdir='${prefix}/share'
    943 datadir='${datarootdir}'
    944 sysconfdir='${prefix}/etc'
    945 sharedstatedir='${prefix}/com'
    946 localstatedir='${prefix}/var'
    947 includedir='${prefix}/include'
    948 oldincludedir='/usr/include'
    949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    950 infodir='${datarootdir}/info'
    951 htmldir='${docdir}'
    952 dvidir='${docdir}'
    953 pdfdir='${docdir}'
    954 psdir='${docdir}'
    955 libdir='${exec_prefix}/lib'
    956 localedir='${datarootdir}/locale'
    957 mandir='${datarootdir}/man'
    958 
    959 ac_prev=
    960 ac_dashdash=
    961 for ac_option
    962 do
    963   # If the previous option needs an argument, assign it.
    964   if test -n "$ac_prev"; then
    965     eval $ac_prev=\$ac_option
    966     ac_prev=
    967     continue
    968   fi
    969 
    970   case $ac_option in
    971   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    972   *=)   ac_optarg= ;;
    973   *)    ac_optarg=yes ;;
    974   esac
    975 
    976   # Accept the important Cygnus configure options, so we can diagnose typos.
    977 
    978   case $ac_dashdash$ac_option in
    979   --)
    980     ac_dashdash=yes ;;
    981 
    982   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    983     ac_prev=bindir ;;
    984   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    985     bindir=$ac_optarg ;;
    986 
    987   -build | --build | --buil | --bui | --bu)
    988     ac_prev=build_alias ;;
    989   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    990     build_alias=$ac_optarg ;;
    991 
    992   -cache-file | --cache-file | --cache-fil | --cache-fi \
    993   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    994     ac_prev=cache_file ;;
    995   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    996   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    997     cache_file=$ac_optarg ;;
    998 
    999   --config-cache | -C)
   1000     cache_file=config.cache ;;
   1001 
   1002   -datadir | --datadir | --datadi | --datad)
   1003     ac_prev=datadir ;;
   1004   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1005     datadir=$ac_optarg ;;
   1006 
   1007   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1008   | --dataroo | --dataro | --datar)
   1009     ac_prev=datarootdir ;;
   1010   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1011   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1012     datarootdir=$ac_optarg ;;
   1013 
   1014   -disable-* | --disable-*)
   1015     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1016     # Reject names that are not valid shell variable names.
   1017     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1018       as_fn_error $? "invalid feature name: $ac_useropt"
   1019     ac_useropt_orig=$ac_useropt
   1020     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1021     case $ac_user_opts in
   1022       *"
   1023 "enable_$ac_useropt"
   1024 "*) ;;
   1025       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1026 	 ac_unrecognized_sep=', ';;
   1027     esac
   1028     eval enable_$ac_useropt=no ;;
   1029 
   1030   -docdir | --docdir | --docdi | --doc | --do)
   1031     ac_prev=docdir ;;
   1032   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1033     docdir=$ac_optarg ;;
   1034 
   1035   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1036     ac_prev=dvidir ;;
   1037   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1038     dvidir=$ac_optarg ;;
   1039 
   1040   -enable-* | --enable-*)
   1041     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1042     # Reject names that are not valid shell variable names.
   1043     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1044       as_fn_error $? "invalid feature name: $ac_useropt"
   1045     ac_useropt_orig=$ac_useropt
   1046     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1047     case $ac_user_opts in
   1048       *"
   1049 "enable_$ac_useropt"
   1050 "*) ;;
   1051       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1052 	 ac_unrecognized_sep=', ';;
   1053     esac
   1054     eval enable_$ac_useropt=\$ac_optarg ;;
   1055 
   1056   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1057   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1058   | --exec | --exe | --ex)
   1059     ac_prev=exec_prefix ;;
   1060   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1061   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1062   | --exec=* | --exe=* | --ex=*)
   1063     exec_prefix=$ac_optarg ;;
   1064 
   1065   -gas | --gas | --ga | --g)
   1066     # Obsolete; use --with-gas.
   1067     with_gas=yes ;;
   1068 
   1069   -help | --help | --hel | --he | -h)
   1070     ac_init_help=long ;;
   1071   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1072     ac_init_help=recursive ;;
   1073   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1074     ac_init_help=short ;;
   1075 
   1076   -host | --host | --hos | --ho)
   1077     ac_prev=host_alias ;;
   1078   -host=* | --host=* | --hos=* | --ho=*)
   1079     host_alias=$ac_optarg ;;
   1080 
   1081   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1082     ac_prev=htmldir ;;
   1083   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1084   | --ht=*)
   1085     htmldir=$ac_optarg ;;
   1086 
   1087   -includedir | --includedir | --includedi | --included | --include \
   1088   | --includ | --inclu | --incl | --inc)
   1089     ac_prev=includedir ;;
   1090   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1091   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1092     includedir=$ac_optarg ;;
   1093 
   1094   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1095     ac_prev=infodir ;;
   1096   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1097     infodir=$ac_optarg ;;
   1098 
   1099   -libdir | --libdir | --libdi | --libd)
   1100     ac_prev=libdir ;;
   1101   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1102     libdir=$ac_optarg ;;
   1103 
   1104   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1105   | --libexe | --libex | --libe)
   1106     ac_prev=libexecdir ;;
   1107   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1108   | --libexe=* | --libex=* | --libe=*)
   1109     libexecdir=$ac_optarg ;;
   1110 
   1111   -localedir | --localedir | --localedi | --localed | --locale)
   1112     ac_prev=localedir ;;
   1113   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1114     localedir=$ac_optarg ;;
   1115 
   1116   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1117   | --localstate | --localstat | --localsta | --localst | --locals)
   1118     ac_prev=localstatedir ;;
   1119   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1120   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1121     localstatedir=$ac_optarg ;;
   1122 
   1123   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1124     ac_prev=mandir ;;
   1125   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1126     mandir=$ac_optarg ;;
   1127 
   1128   -nfp | --nfp | --nf)
   1129     # Obsolete; use --without-fp.
   1130     with_fp=no ;;
   1131 
   1132   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1133   | --no-cr | --no-c | -n)
   1134     no_create=yes ;;
   1135 
   1136   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1137   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1138     no_recursion=yes ;;
   1139 
   1140   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1141   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1142   | --oldin | --oldi | --old | --ol | --o)
   1143     ac_prev=oldincludedir ;;
   1144   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1145   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1146   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1147     oldincludedir=$ac_optarg ;;
   1148 
   1149   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1150     ac_prev=prefix ;;
   1151   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1152     prefix=$ac_optarg ;;
   1153 
   1154   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1155   | --program-pre | --program-pr | --program-p)
   1156     ac_prev=program_prefix ;;
   1157   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1158   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1159     program_prefix=$ac_optarg ;;
   1160 
   1161   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1162   | --program-suf | --program-su | --program-s)
   1163     ac_prev=program_suffix ;;
   1164   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1165   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1166     program_suffix=$ac_optarg ;;
   1167 
   1168   -program-transform-name | --program-transform-name \
   1169   | --program-transform-nam | --program-transform-na \
   1170   | --program-transform-n | --program-transform- \
   1171   | --program-transform | --program-transfor \
   1172   | --program-transfo | --program-transf \
   1173   | --program-trans | --program-tran \
   1174   | --progr-tra | --program-tr | --program-t)
   1175     ac_prev=program_transform_name ;;
   1176   -program-transform-name=* | --program-transform-name=* \
   1177   | --program-transform-nam=* | --program-transform-na=* \
   1178   | --program-transform-n=* | --program-transform-=* \
   1179   | --program-transform=* | --program-transfor=* \
   1180   | --program-transfo=* | --program-transf=* \
   1181   | --program-trans=* | --program-tran=* \
   1182   | --progr-tra=* | --program-tr=* | --program-t=*)
   1183     program_transform_name=$ac_optarg ;;
   1184 
   1185   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1186     ac_prev=pdfdir ;;
   1187   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1188     pdfdir=$ac_optarg ;;
   1189 
   1190   -psdir | --psdir | --psdi | --psd | --ps)
   1191     ac_prev=psdir ;;
   1192   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1193     psdir=$ac_optarg ;;
   1194 
   1195   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1196   | -silent | --silent | --silen | --sile | --sil)
   1197     silent=yes ;;
   1198 
   1199   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1200     ac_prev=sbindir ;;
   1201   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1202   | --sbi=* | --sb=*)
   1203     sbindir=$ac_optarg ;;
   1204 
   1205   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1206   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1207   | --sharedst | --shareds | --shared | --share | --shar \
   1208   | --sha | --sh)
   1209     ac_prev=sharedstatedir ;;
   1210   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1211   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1212   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1213   | --sha=* | --sh=*)
   1214     sharedstatedir=$ac_optarg ;;
   1215 
   1216   -site | --site | --sit)
   1217     ac_prev=site ;;
   1218   -site=* | --site=* | --sit=*)
   1219     site=$ac_optarg ;;
   1220 
   1221   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1222     ac_prev=srcdir ;;
   1223   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1224     srcdir=$ac_optarg ;;
   1225 
   1226   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1227   | --syscon | --sysco | --sysc | --sys | --sy)
   1228     ac_prev=sysconfdir ;;
   1229   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1230   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1231     sysconfdir=$ac_optarg ;;
   1232 
   1233   -target | --target | --targe | --targ | --tar | --ta | --t)
   1234     ac_prev=target_alias ;;
   1235   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1236     target_alias=$ac_optarg ;;
   1237 
   1238   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1239     verbose=yes ;;
   1240 
   1241   -version | --version | --versio | --versi | --vers | -V)
   1242     ac_init_version=: ;;
   1243 
   1244   -with-* | --with-*)
   1245     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1246     # Reject names that are not valid shell variable names.
   1247     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1248       as_fn_error $? "invalid package name: $ac_useropt"
   1249     ac_useropt_orig=$ac_useropt
   1250     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1251     case $ac_user_opts in
   1252       *"
   1253 "with_$ac_useropt"
   1254 "*) ;;
   1255       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1256 	 ac_unrecognized_sep=', ';;
   1257     esac
   1258     eval with_$ac_useropt=\$ac_optarg ;;
   1259 
   1260   -without-* | --without-*)
   1261     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1262     # Reject names that are not valid shell variable names.
   1263     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1264       as_fn_error $? "invalid package name: $ac_useropt"
   1265     ac_useropt_orig=$ac_useropt
   1266     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1267     case $ac_user_opts in
   1268       *"
   1269 "with_$ac_useropt"
   1270 "*) ;;
   1271       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1272 	 ac_unrecognized_sep=', ';;
   1273     esac
   1274     eval with_$ac_useropt=no ;;
   1275 
   1276   --x)
   1277     # Obsolete; use --with-x.
   1278     with_x=yes ;;
   1279 
   1280   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1281   | --x-incl | --x-inc | --x-in | --x-i)
   1282     ac_prev=x_includes ;;
   1283   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1284   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1285     x_includes=$ac_optarg ;;
   1286 
   1287   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1288   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1289     ac_prev=x_libraries ;;
   1290   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1291   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1292     x_libraries=$ac_optarg ;;
   1293 
   1294   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1295 Try \`$0 --help' for more information"
   1296     ;;
   1297 
   1298   *=*)
   1299     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1300     # Reject names that are not valid shell variable names.
   1301     case $ac_envvar in #(
   1302       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1303       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1304     esac
   1305     eval $ac_envvar=\$ac_optarg
   1306     export $ac_envvar ;;
   1307 
   1308   *)
   1309     # FIXME: should be removed in autoconf 3.0.
   1310     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1311     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1312       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1313     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1314     ;;
   1315 
   1316   esac
   1317 done
   1318 
   1319 if test -n "$ac_prev"; then
   1320   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1321   as_fn_error $? "missing argument to $ac_option"
   1322 fi
   1323 
   1324 if test -n "$ac_unrecognized_opts"; then
   1325   case $enable_option_checking in
   1326     no) ;;
   1327     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1328     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1329   esac
   1330 fi
   1331 
   1332 # Check all directory arguments for consistency.
   1333 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1334 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1335 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1336 		libdir localedir mandir
   1337 do
   1338   eval ac_val=\$$ac_var
   1339   # Remove trailing slashes.
   1340   case $ac_val in
   1341     */ )
   1342       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1343       eval $ac_var=\$ac_val;;
   1344   esac
   1345   # Be sure to have absolute directory names.
   1346   case $ac_val in
   1347     [\\/$]* | ?:[\\/]* )  continue;;
   1348     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1349   esac
   1350   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1351 done
   1352 
   1353 # There might be people who depend on the old broken behavior: `$host'
   1354 # used to hold the argument of --host etc.
   1355 # FIXME: To remove some day.
   1356 build=$build_alias
   1357 host=$host_alias
   1358 target=$target_alias
   1359 
   1360 # FIXME: To remove some day.
   1361 if test "x$host_alias" != x; then
   1362   if test "x$build_alias" = x; then
   1363     cross_compiling=maybe
   1364     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1365     If a cross compiler is detected then cross compile mode will be used" >&2
   1366   elif test "x$build_alias" != "x$host_alias"; then
   1367     cross_compiling=yes
   1368   fi
   1369 fi
   1370 
   1371 ac_tool_prefix=
   1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1373 
   1374 test "$silent" = yes && exec 6>/dev/null
   1375 
   1376 
   1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1378 ac_ls_di=`ls -di .` &&
   1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1380   as_fn_error $? "working directory cannot be determined"
   1381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1382   as_fn_error $? "pwd does not report name of working directory"
   1383 
   1384 
   1385 # Find the source files, if location was not specified.
   1386 if test -z "$srcdir"; then
   1387   ac_srcdir_defaulted=yes
   1388   # Try the directory containing this script, then the parent directory.
   1389   ac_confdir=`$as_dirname -- "$as_myself" ||
   1390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1391 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1392 	 X"$as_myself" : 'X\(//\)$' \| \
   1393 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1394 $as_echo X"$as_myself" |
   1395     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1396 	    s//\1/
   1397 	    q
   1398 	  }
   1399 	  /^X\(\/\/\)[^/].*/{
   1400 	    s//\1/
   1401 	    q
   1402 	  }
   1403 	  /^X\(\/\/\)$/{
   1404 	    s//\1/
   1405 	    q
   1406 	  }
   1407 	  /^X\(\/\).*/{
   1408 	    s//\1/
   1409 	    q
   1410 	  }
   1411 	  s/.*/./; q'`
   1412   srcdir=$ac_confdir
   1413   if test ! -r "$srcdir/$ac_unique_file"; then
   1414     srcdir=..
   1415   fi
   1416 else
   1417   ac_srcdir_defaulted=no
   1418 fi
   1419 if test ! -r "$srcdir/$ac_unique_file"; then
   1420   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1421   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1422 fi
   1423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1424 ac_abs_confdir=`(
   1425 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1426 	pwd)`
   1427 # When building in place, set srcdir=.
   1428 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1429   srcdir=.
   1430 fi
   1431 # Remove unnecessary trailing slashes from srcdir.
   1432 # Double slashes in file names in object file debugging info
   1433 # mess up M-x gdb in Emacs.
   1434 case $srcdir in
   1435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1436 esac
   1437 for ac_var in $ac_precious_vars; do
   1438   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1439   eval ac_env_${ac_var}_value=\$${ac_var}
   1440   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1441   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1442 done
   1443 
   1444 #
   1445 # Report the --help message.
   1446 #
   1447 if test "$ac_init_help" = "long"; then
   1448   # Omit some internal or obsolete options to make the list less imposing.
   1449   # This message is too long to be a string in the A/UX 3.1 sh.
   1450   cat <<_ACEOF
   1451 \`configure' configures file 5.16 to adapt to many kinds of systems.
   1452 
   1453 Usage: $0 [OPTION]... [VAR=VALUE]...
   1454 
   1455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1456 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1457 
   1458 Defaults for the options are specified in brackets.
   1459 
   1460 Configuration:
   1461   -h, --help              display this help and exit
   1462       --help=short        display options specific to this package
   1463       --help=recursive    display the short help of all the included packages
   1464   -V, --version           display version information and exit
   1465   -q, --quiet, --silent   do not print \`checking ...' messages
   1466       --cache-file=FILE   cache test results in FILE [disabled]
   1467   -C, --config-cache      alias for \`--cache-file=config.cache'
   1468   -n, --no-create         do not create output files
   1469       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1470 
   1471 Installation directories:
   1472   --prefix=PREFIX         install architecture-independent files in PREFIX
   1473                           [$ac_default_prefix]
   1474   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1475                           [PREFIX]
   1476 
   1477 By default, \`make install' will install all the files in
   1478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1480 for instance \`--prefix=\$HOME'.
   1481 
   1482 For better control, use the options below.
   1483 
   1484 Fine tuning of the installation directories:
   1485   --bindir=DIR            user executables [EPREFIX/bin]
   1486   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1487   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1488   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1489   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1490   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1491   --libdir=DIR            object code libraries [EPREFIX/lib]
   1492   --includedir=DIR        C header files [PREFIX/include]
   1493   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1494   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1495   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1496   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1497   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1498   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1499   --docdir=DIR            documentation root [DATAROOTDIR/doc/file]
   1500   --htmldir=DIR           html documentation [DOCDIR]
   1501   --dvidir=DIR            dvi documentation [DOCDIR]
   1502   --pdfdir=DIR            pdf documentation [DOCDIR]
   1503   --psdir=DIR             ps documentation [DOCDIR]
   1504 _ACEOF
   1505 
   1506   cat <<\_ACEOF
   1507 
   1508 Program names:
   1509   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1510   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1511   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1512 
   1513 System types:
   1514   --build=BUILD     configure for building on BUILD [guessed]
   1515   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1516 _ACEOF
   1517 fi
   1518 
   1519 if test -n "$ac_init_help"; then
   1520   case $ac_init_help in
   1521      short | recursive ) echo "Configuration of file 5.16:";;
   1522    esac
   1523   cat <<\_ACEOF
   1524 
   1525 Optional Features:
   1526   --disable-option-checking  ignore unrecognized --enable/--with options
   1527   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1528   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1529   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1530   --disable-silent-rules         verbose build output (undo: `make V=0')
   1531   --disable-elf            disable builtin ELF support
   1532   --disable-elf-core       disable ELF core file support
   1533   --enable-fsect-man5      enable file formats in man section 5
   1534   --disable-dependency-tracking  speeds up one-time build
   1535   --enable-dependency-tracking   do not reject slow dependency extractors
   1536   --enable-static[=PKGS]  build static libraries [default=no]
   1537   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1538   --enable-fast-install[=PKGS]
   1539                           optimize for fast installation [default=yes]
   1540   --disable-libtool-lock  avoid locking (might break parallel builds)
   1541   --disable-largefile     omit support for large files
   1542   --disable-warnings	disable compiler warnings
   1543 
   1544 Optional Packages:
   1545   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1546   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1547   --with-pic              try to use only PIC/non-PIC objects [default=use
   1548                           both]
   1549   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1550 
   1551 Some influential environment variables:
   1552   CC          C compiler command
   1553   CFLAGS      C compiler flags
   1554   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1555               nonstandard directory <lib dir>
   1556   LIBS        libraries to pass to the linker, e.g. -l<library>
   1557   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1558               you have headers in a nonstandard directory <include dir>
   1559   CPP         C preprocessor
   1560 
   1561 Use these variables to override the choices made by `configure' or to help
   1562 it to find libraries and programs with nonstandard names/locations.
   1563 
   1564 Report bugs to <christos@astron.com>.
   1565 _ACEOF
   1566 ac_status=$?
   1567 fi
   1568 
   1569 if test "$ac_init_help" = "recursive"; then
   1570   # If there are subdirs, report their specific --help.
   1571   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1572     test -d "$ac_dir" ||
   1573       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1574       continue
   1575     ac_builddir=.
   1576 
   1577 case "$ac_dir" in
   1578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1579 *)
   1580   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1581   # A ".." for each directory in $ac_dir_suffix.
   1582   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1583   case $ac_top_builddir_sub in
   1584   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1585   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1586   esac ;;
   1587 esac
   1588 ac_abs_top_builddir=$ac_pwd
   1589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1590 # for backward compatibility:
   1591 ac_top_builddir=$ac_top_build_prefix
   1592 
   1593 case $srcdir in
   1594   .)  # We are building in place.
   1595     ac_srcdir=.
   1596     ac_top_srcdir=$ac_top_builddir_sub
   1597     ac_abs_top_srcdir=$ac_pwd ;;
   1598   [\\/]* | ?:[\\/]* )  # Absolute name.
   1599     ac_srcdir=$srcdir$ac_dir_suffix;
   1600     ac_top_srcdir=$srcdir
   1601     ac_abs_top_srcdir=$srcdir ;;
   1602   *) # Relative name.
   1603     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1604     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1605     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1606 esac
   1607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1608 
   1609     cd "$ac_dir" || { ac_status=$?; continue; }
   1610     # Check for guested configure.
   1611     if test -f "$ac_srcdir/configure.gnu"; then
   1612       echo &&
   1613       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1614     elif test -f "$ac_srcdir/configure"; then
   1615       echo &&
   1616       $SHELL "$ac_srcdir/configure" --help=recursive
   1617     else
   1618       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1619     fi || ac_status=$?
   1620     cd "$ac_pwd" || { ac_status=$?; break; }
   1621   done
   1622 fi
   1623 
   1624 test -n "$ac_init_help" && exit $ac_status
   1625 if $ac_init_version; then
   1626   cat <<\_ACEOF
   1627 file configure 5.16
   1628 generated by GNU Autoconf 2.68
   1629 
   1630 Copyright (C) 2010 Free Software Foundation, Inc.
   1631 This configure script is free software; the Free Software Foundation
   1632 gives unlimited permission to copy, distribute and modify it.
   1633 _ACEOF
   1634   exit
   1635 fi
   1636 
   1637 ## ------------------------ ##
   1638 ## Autoconf initialization. ##
   1639 ## ------------------------ ##
   1640 
   1641 # ac_fn_c_try_compile LINENO
   1642 # --------------------------
   1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1644 ac_fn_c_try_compile ()
   1645 {
   1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1647   rm -f conftest.$ac_objext
   1648   if { { ac_try="$ac_compile"
   1649 case "(($ac_try" in
   1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1651   *) ac_try_echo=$ac_try;;
   1652 esac
   1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1654 $as_echo "$ac_try_echo"; } >&5
   1655   (eval "$ac_compile") 2>conftest.err
   1656   ac_status=$?
   1657   if test -s conftest.err; then
   1658     grep -v '^ *+' conftest.err >conftest.er1
   1659     cat conftest.er1 >&5
   1660     mv -f conftest.er1 conftest.err
   1661   fi
   1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1663   test $ac_status = 0; } && {
   1664 	 test -z "$ac_c_werror_flag" ||
   1665 	 test ! -s conftest.err
   1666        } && test -s conftest.$ac_objext; then :
   1667   ac_retval=0
   1668 else
   1669   $as_echo "$as_me: failed program was:" >&5
   1670 sed 's/^/| /' conftest.$ac_ext >&5
   1671 
   1672 	ac_retval=1
   1673 fi
   1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1675   as_fn_set_status $ac_retval
   1676 
   1677 } # ac_fn_c_try_compile
   1678 
   1679 # ac_fn_c_try_cpp LINENO
   1680 # ----------------------
   1681 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1682 ac_fn_c_try_cpp ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1686 case "(($ac_try" in
   1687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1688   *) ac_try_echo=$ac_try;;
   1689 esac
   1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1691 $as_echo "$ac_try_echo"; } >&5
   1692   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1693   ac_status=$?
   1694   if test -s conftest.err; then
   1695     grep -v '^ *+' conftest.err >conftest.er1
   1696     cat conftest.er1 >&5
   1697     mv -f conftest.er1 conftest.err
   1698   fi
   1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; } > conftest.i && {
   1701 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1702 	 test ! -s conftest.err
   1703        }; then :
   1704   ac_retval=0
   1705 else
   1706   $as_echo "$as_me: failed program was:" >&5
   1707 sed 's/^/| /' conftest.$ac_ext >&5
   1708 
   1709     ac_retval=1
   1710 fi
   1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1712   as_fn_set_status $ac_retval
   1713 
   1714 } # ac_fn_c_try_cpp
   1715 
   1716 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1717 # -------------------------------------------------------
   1718 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1719 # the include files in INCLUDES and setting the cache variable VAR
   1720 # accordingly.
   1721 ac_fn_c_check_header_mongrel ()
   1722 {
   1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1724   if eval \${$3+:} false; then :
   1725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1726 $as_echo_n "checking for $2... " >&6; }
   1727 if eval \${$3+:} false; then :
   1728   $as_echo_n "(cached) " >&6
   1729 fi
   1730 eval ac_res=\$$3
   1731 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1732 $as_echo "$ac_res" >&6; }
   1733 else
   1734   # Is the header compilable?
   1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1736 $as_echo_n "checking $2 usability... " >&6; }
   1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1738 /* end confdefs.h.  */
   1739 $4
   1740 #include <$2>
   1741 _ACEOF
   1742 if ac_fn_c_try_compile "$LINENO"; then :
   1743   ac_header_compiler=yes
   1744 else
   1745   ac_header_compiler=no
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1749 $as_echo "$ac_header_compiler" >&6; }
   1750 
   1751 # Is the header present?
   1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1753 $as_echo_n "checking $2 presence... " >&6; }
   1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1755 /* end confdefs.h.  */
   1756 #include <$2>
   1757 _ACEOF
   1758 if ac_fn_c_try_cpp "$LINENO"; then :
   1759   ac_header_preproc=yes
   1760 else
   1761   ac_header_preproc=no
   1762 fi
   1763 rm -f conftest.err conftest.i conftest.$ac_ext
   1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1765 $as_echo "$ac_header_preproc" >&6; }
   1766 
   1767 # So?  What about this header?
   1768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1769   yes:no: )
   1770     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1771 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1772     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1773 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1774     ;;
   1775   no:yes:* )
   1776     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1777 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1778     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1779 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1780     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1781 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1782     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1783 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1784     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1785 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1786 ( $as_echo "## ---------------------------------- ##
   1787 ## Report this to christos (at] astron.com ##
   1788 ## ---------------------------------- ##"
   1789      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1790     ;;
   1791 esac
   1792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1793 $as_echo_n "checking for $2... " >&6; }
   1794 if eval \${$3+:} false; then :
   1795   $as_echo_n "(cached) " >&6
   1796 else
   1797   eval "$3=\$ac_header_compiler"
   1798 fi
   1799 eval ac_res=\$$3
   1800 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1801 $as_echo "$ac_res" >&6; }
   1802 fi
   1803   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1804 
   1805 } # ac_fn_c_check_header_mongrel
   1806 
   1807 # ac_fn_c_try_run LINENO
   1808 # ----------------------
   1809 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1810 # that executables *can* be run.
   1811 ac_fn_c_try_run ()
   1812 {
   1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1814   if { { ac_try="$ac_link"
   1815 case "(($ac_try" in
   1816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1817   *) ac_try_echo=$ac_try;;
   1818 esac
   1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1820 $as_echo "$ac_try_echo"; } >&5
   1821   (eval "$ac_link") 2>&5
   1822   ac_status=$?
   1823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1824   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1825   { { case "(($ac_try" in
   1826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1827   *) ac_try_echo=$ac_try;;
   1828 esac
   1829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1830 $as_echo "$ac_try_echo"; } >&5
   1831   (eval "$ac_try") 2>&5
   1832   ac_status=$?
   1833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1834   test $ac_status = 0; }; }; then :
   1835   ac_retval=0
   1836 else
   1837   $as_echo "$as_me: program exited with status $ac_status" >&5
   1838        $as_echo "$as_me: failed program was:" >&5
   1839 sed 's/^/| /' conftest.$ac_ext >&5
   1840 
   1841        ac_retval=$ac_status
   1842 fi
   1843   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845   as_fn_set_status $ac_retval
   1846 
   1847 } # ac_fn_c_try_run
   1848 
   1849 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1850 # -------------------------------------------------------
   1851 # Tests whether HEADER exists and can be compiled using the include files in
   1852 # INCLUDES, setting the cache variable VAR accordingly.
   1853 ac_fn_c_check_header_compile ()
   1854 {
   1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1857 $as_echo_n "checking for $2... " >&6; }
   1858 if eval \${$3+:} false; then :
   1859   $as_echo_n "(cached) " >&6
   1860 else
   1861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1862 /* end confdefs.h.  */
   1863 $4
   1864 #include <$2>
   1865 _ACEOF
   1866 if ac_fn_c_try_compile "$LINENO"; then :
   1867   eval "$3=yes"
   1868 else
   1869   eval "$3=no"
   1870 fi
   1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1872 fi
   1873 eval ac_res=\$$3
   1874 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1875 $as_echo "$ac_res" >&6; }
   1876   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1877 
   1878 } # ac_fn_c_check_header_compile
   1879 
   1880 # ac_fn_c_try_link LINENO
   1881 # -----------------------
   1882 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1883 ac_fn_c_try_link ()
   1884 {
   1885   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1886   rm -f conftest.$ac_objext conftest$ac_exeext
   1887   if { { ac_try="$ac_link"
   1888 case "(($ac_try" in
   1889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1890   *) ac_try_echo=$ac_try;;
   1891 esac
   1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1893 $as_echo "$ac_try_echo"; } >&5
   1894   (eval "$ac_link") 2>conftest.err
   1895   ac_status=$?
   1896   if test -s conftest.err; then
   1897     grep -v '^ *+' conftest.err >conftest.er1
   1898     cat conftest.er1 >&5
   1899     mv -f conftest.er1 conftest.err
   1900   fi
   1901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1902   test $ac_status = 0; } && {
   1903 	 test -z "$ac_c_werror_flag" ||
   1904 	 test ! -s conftest.err
   1905        } && test -s conftest$ac_exeext && {
   1906 	 test "$cross_compiling" = yes ||
   1907 	 $as_test_x conftest$ac_exeext
   1908        }; then :
   1909   ac_retval=0
   1910 else
   1911   $as_echo "$as_me: failed program was:" >&5
   1912 sed 's/^/| /' conftest.$ac_ext >&5
   1913 
   1914 	ac_retval=1
   1915 fi
   1916   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1917   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1918   # interfere with the next link command; also delete a directory that is
   1919   # left behind by Apple's compiler.  We do this before executing the actions.
   1920   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1921   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1922   as_fn_set_status $ac_retval
   1923 
   1924 } # ac_fn_c_try_link
   1925 
   1926 # ac_fn_c_check_func LINENO FUNC VAR
   1927 # ----------------------------------
   1928 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1929 ac_fn_c_check_func ()
   1930 {
   1931   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1933 $as_echo_n "checking for $2... " >&6; }
   1934 if eval \${$3+:} false; then :
   1935   $as_echo_n "(cached) " >&6
   1936 else
   1937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1938 /* end confdefs.h.  */
   1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1941 #define $2 innocuous_$2
   1942 
   1943 /* System header to define __stub macros and hopefully few prototypes,
   1944     which can conflict with char $2 (); below.
   1945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1946     <limits.h> exists even on freestanding compilers.  */
   1947 
   1948 #ifdef __STDC__
   1949 # include <limits.h>
   1950 #else
   1951 # include <assert.h>
   1952 #endif
   1953 
   1954 #undef $2
   1955 
   1956 /* Override any GCC internal prototype to avoid an error.
   1957    Use char because int might match the return type of a GCC
   1958    builtin and then its argument prototype would still apply.  */
   1959 #ifdef __cplusplus
   1960 extern "C"
   1961 #endif
   1962 char $2 ();
   1963 /* The GNU C library defines this for functions which it implements
   1964     to always fail with ENOSYS.  Some functions are actually named
   1965     something starting with __ and the normal name is an alias.  */
   1966 #if defined __stub_$2 || defined __stub___$2
   1967 choke me
   1968 #endif
   1969 
   1970 int
   1971 main ()
   1972 {
   1973 return $2 ();
   1974   ;
   1975   return 0;
   1976 }
   1977 _ACEOF
   1978 if ac_fn_c_try_link "$LINENO"; then :
   1979   eval "$3=yes"
   1980 else
   1981   eval "$3=no"
   1982 fi
   1983 rm -f core conftest.err conftest.$ac_objext \
   1984     conftest$ac_exeext conftest.$ac_ext
   1985 fi
   1986 eval ac_res=\$$3
   1987 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1988 $as_echo "$ac_res" >&6; }
   1989   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1990 
   1991 } # ac_fn_c_check_func
   1992 
   1993 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1994 # -------------------------------------------
   1995 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1996 # variable VAR accordingly.
   1997 ac_fn_c_check_type ()
   1998 {
   1999   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2001 $as_echo_n "checking for $2... " >&6; }
   2002 if eval \${$3+:} false; then :
   2003   $as_echo_n "(cached) " >&6
   2004 else
   2005   eval "$3=no"
   2006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2007 /* end confdefs.h.  */
   2008 $4
   2009 int
   2010 main ()
   2011 {
   2012 if (sizeof ($2))
   2013 	 return 0;
   2014   ;
   2015   return 0;
   2016 }
   2017 _ACEOF
   2018 if ac_fn_c_try_compile "$LINENO"; then :
   2019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2020 /* end confdefs.h.  */
   2021 $4
   2022 int
   2023 main ()
   2024 {
   2025 if (sizeof (($2)))
   2026 	    return 0;
   2027   ;
   2028   return 0;
   2029 }
   2030 _ACEOF
   2031 if ac_fn_c_try_compile "$LINENO"; then :
   2032 
   2033 else
   2034   eval "$3=yes"
   2035 fi
   2036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2037 fi
   2038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2039 fi
   2040 eval ac_res=\$$3
   2041 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2042 $as_echo "$ac_res" >&6; }
   2043   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2044 
   2045 } # ac_fn_c_check_type
   2046 
   2047 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2048 # ----------------------------------------------------
   2049 # Tries to find if the field MEMBER exists in type AGGR, after including
   2050 # INCLUDES, setting cache variable VAR accordingly.
   2051 ac_fn_c_check_member ()
   2052 {
   2053   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2055 $as_echo_n "checking for $2.$3... " >&6; }
   2056 if eval \${$4+:} false; then :
   2057   $as_echo_n "(cached) " >&6
   2058 else
   2059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2060 /* end confdefs.h.  */
   2061 $5
   2062 int
   2063 main ()
   2064 {
   2065 static $2 ac_aggr;
   2066 if (ac_aggr.$3)
   2067 return 0;
   2068   ;
   2069   return 0;
   2070 }
   2071 _ACEOF
   2072 if ac_fn_c_try_compile "$LINENO"; then :
   2073   eval "$4=yes"
   2074 else
   2075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2076 /* end confdefs.h.  */
   2077 $5
   2078 int
   2079 main ()
   2080 {
   2081 static $2 ac_aggr;
   2082 if (sizeof ac_aggr.$3)
   2083 return 0;
   2084   ;
   2085   return 0;
   2086 }
   2087 _ACEOF
   2088 if ac_fn_c_try_compile "$LINENO"; then :
   2089   eval "$4=yes"
   2090 else
   2091   eval "$4=no"
   2092 fi
   2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2094 fi
   2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2096 fi
   2097 eval ac_res=\$$4
   2098 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2099 $as_echo "$ac_res" >&6; }
   2100   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2101 
   2102 } # ac_fn_c_check_member
   2103 
   2104 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2105 # ---------------------------------------------
   2106 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2107 # accordingly.
   2108 ac_fn_c_check_decl ()
   2109 {
   2110   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2111   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2112   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2114 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2115 if eval \${$3+:} false; then :
   2116   $as_echo_n "(cached) " >&6
   2117 else
   2118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2119 /* end confdefs.h.  */
   2120 $4
   2121 int
   2122 main ()
   2123 {
   2124 #ifndef $as_decl_name
   2125 #ifdef __cplusplus
   2126   (void) $as_decl_use;
   2127 #else
   2128   (void) $as_decl_name;
   2129 #endif
   2130 #endif
   2131 
   2132   ;
   2133   return 0;
   2134 }
   2135 _ACEOF
   2136 if ac_fn_c_try_compile "$LINENO"; then :
   2137   eval "$3=yes"
   2138 else
   2139   eval "$3=no"
   2140 fi
   2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2142 fi
   2143 eval ac_res=\$$3
   2144 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2145 $as_echo "$ac_res" >&6; }
   2146   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2147 
   2148 } # ac_fn_c_check_decl
   2149 
   2150 # ac_fn_c_find_uintX_t LINENO BITS VAR
   2151 # ------------------------------------
   2152 # Finds an unsigned integer type with width BITS, setting cache variable VAR
   2153 # accordingly.
   2154 ac_fn_c_find_uintX_t ()
   2155 {
   2156   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
   2158 $as_echo_n "checking for uint$2_t... " >&6; }
   2159 if eval \${$3+:} false; then :
   2160   $as_echo_n "(cached) " >&6
   2161 else
   2162   eval "$3=no"
   2163      # Order is important - never check a type that is potentially smaller
   2164      # than half of the expected target width.
   2165      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
   2166 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   2167        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2168 /* end confdefs.h.  */
   2169 $ac_includes_default
   2170 int
   2171 main ()
   2172 {
   2173 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
   2174 test_array [0] = 0
   2175 
   2176   ;
   2177   return 0;
   2178 }
   2179 _ACEOF
   2180 if ac_fn_c_try_compile "$LINENO"; then :
   2181   case $ac_type in #(
   2182   uint$2_t) :
   2183     eval "$3=yes" ;; #(
   2184   *) :
   2185     eval "$3=\$ac_type" ;;
   2186 esac
   2187 fi
   2188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2189        if eval test \"x\$"$3"\" = x"no"; then :
   2190 
   2191 else
   2192   break
   2193 fi
   2194      done
   2195 fi
   2196 eval ac_res=\$$3
   2197 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2198 $as_echo "$ac_res" >&6; }
   2199   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2200 
   2201 } # ac_fn_c_find_uintX_t
   2202 
   2203 # ac_fn_c_find_intX_t LINENO BITS VAR
   2204 # -----------------------------------
   2205 # Finds a signed integer type with width BITS, setting cache variable VAR
   2206 # accordingly.
   2207 ac_fn_c_find_intX_t ()
   2208 {
   2209   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
   2211 $as_echo_n "checking for int$2_t... " >&6; }
   2212 if eval \${$3+:} false; then :
   2213   $as_echo_n "(cached) " >&6
   2214 else
   2215   eval "$3=no"
   2216      # Order is important - never check a type that is potentially smaller
   2217      # than half of the expected target width.
   2218      for ac_type in int$2_t 'int' 'long int' \
   2219 	 'long long int' 'short int' 'signed char'; do
   2220        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2221 /* end confdefs.h.  */
   2222 $ac_includes_default
   2223 	     enum { N = $2 / 2 - 1 };
   2224 int
   2225 main ()
   2226 {
   2227 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
   2228 test_array [0] = 0
   2229 
   2230   ;
   2231   return 0;
   2232 }
   2233 _ACEOF
   2234 if ac_fn_c_try_compile "$LINENO"; then :
   2235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2236 /* end confdefs.h.  */
   2237 $ac_includes_default
   2238 	        enum { N = $2 / 2 - 1 };
   2239 int
   2240 main ()
   2241 {
   2242 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
   2243 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
   2244 test_array [0] = 0
   2245 
   2246   ;
   2247   return 0;
   2248 }
   2249 _ACEOF
   2250 if ac_fn_c_try_compile "$LINENO"; then :
   2251 
   2252 else
   2253   case $ac_type in #(
   2254   int$2_t) :
   2255     eval "$3=yes" ;; #(
   2256   *) :
   2257     eval "$3=\$ac_type" ;;
   2258 esac
   2259 fi
   2260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2261 fi
   2262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2263        if eval test \"x\$"$3"\" = x"no"; then :
   2264 
   2265 else
   2266   break
   2267 fi
   2268      done
   2269 fi
   2270 eval ac_res=\$$3
   2271 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2272 $as_echo "$ac_res" >&6; }
   2273   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2274 
   2275 } # ac_fn_c_find_intX_t
   2276 cat >config.log <<_ACEOF
   2277 This file contains any messages produced by compilers while
   2278 running configure, to aid debugging if configure makes a mistake.
   2279 
   2280 It was created by file $as_me 5.16, which was
   2281 generated by GNU Autoconf 2.68.  Invocation command line was
   2282 
   2283   $ $0 $@
   2284 
   2285 _ACEOF
   2286 exec 5>>config.log
   2287 {
   2288 cat <<_ASUNAME
   2289 ## --------- ##
   2290 ## Platform. ##
   2291 ## --------- ##
   2292 
   2293 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2294 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2295 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2296 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2297 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2298 
   2299 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2300 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2301 
   2302 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2303 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2304 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2305 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2306 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2307 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2308 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2309 
   2310 _ASUNAME
   2311 
   2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2313 for as_dir in $PATH
   2314 do
   2315   IFS=$as_save_IFS
   2316   test -z "$as_dir" && as_dir=.
   2317     $as_echo "PATH: $as_dir"
   2318   done
   2319 IFS=$as_save_IFS
   2320 
   2321 } >&5
   2322 
   2323 cat >&5 <<_ACEOF
   2324 
   2325 
   2326 ## ----------- ##
   2327 ## Core tests. ##
   2328 ## ----------- ##
   2329 
   2330 _ACEOF
   2331 
   2332 
   2333 # Keep a trace of the command line.
   2334 # Strip out --no-create and --no-recursion so they do not pile up.
   2335 # Strip out --silent because we don't want to record it for future runs.
   2336 # Also quote any args containing shell meta-characters.
   2337 # Make two passes to allow for proper duplicate-argument suppression.
   2338 ac_configure_args=
   2339 ac_configure_args0=
   2340 ac_configure_args1=
   2341 ac_must_keep_next=false
   2342 for ac_pass in 1 2
   2343 do
   2344   for ac_arg
   2345   do
   2346     case $ac_arg in
   2347     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2348     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2349     | -silent | --silent | --silen | --sile | --sil)
   2350       continue ;;
   2351     *\'*)
   2352       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2353     esac
   2354     case $ac_pass in
   2355     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2356     2)
   2357       as_fn_append ac_configure_args1 " '$ac_arg'"
   2358       if test $ac_must_keep_next = true; then
   2359 	ac_must_keep_next=false # Got value, back to normal.
   2360       else
   2361 	case $ac_arg in
   2362 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2363 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2364 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2365 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2366 	    case "$ac_configure_args0 " in
   2367 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2368 	    esac
   2369 	    ;;
   2370 	  -* ) ac_must_keep_next=true ;;
   2371 	esac
   2372       fi
   2373       as_fn_append ac_configure_args " '$ac_arg'"
   2374       ;;
   2375     esac
   2376   done
   2377 done
   2378 { ac_configure_args0=; unset ac_configure_args0;}
   2379 { ac_configure_args1=; unset ac_configure_args1;}
   2380 
   2381 # When interrupted or exit'd, cleanup temporary files, and complete
   2382 # config.log.  We remove comments because anyway the quotes in there
   2383 # would cause problems or look ugly.
   2384 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2385 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2386 trap 'exit_status=$?
   2387   # Save into config.log some information that might help in debugging.
   2388   {
   2389     echo
   2390 
   2391     $as_echo "## ---------------- ##
   2392 ## Cache variables. ##
   2393 ## ---------------- ##"
   2394     echo
   2395     # The following way of writing the cache mishandles newlines in values,
   2396 (
   2397   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2398     eval ac_val=\$$ac_var
   2399     case $ac_val in #(
   2400     *${as_nl}*)
   2401       case $ac_var in #(
   2402       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2403 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2404       esac
   2405       case $ac_var in #(
   2406       _ | IFS | as_nl) ;; #(
   2407       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2408       *) { eval $ac_var=; unset $ac_var;} ;;
   2409       esac ;;
   2410     esac
   2411   done
   2412   (set) 2>&1 |
   2413     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2414     *${as_nl}ac_space=\ *)
   2415       sed -n \
   2416 	"s/'\''/'\''\\\\'\'''\''/g;
   2417 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2418       ;; #(
   2419     *)
   2420       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2421       ;;
   2422     esac |
   2423     sort
   2424 )
   2425     echo
   2426 
   2427     $as_echo "## ----------------- ##
   2428 ## Output variables. ##
   2429 ## ----------------- ##"
   2430     echo
   2431     for ac_var in $ac_subst_vars
   2432     do
   2433       eval ac_val=\$$ac_var
   2434       case $ac_val in
   2435       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2436       esac
   2437       $as_echo "$ac_var='\''$ac_val'\''"
   2438     done | sort
   2439     echo
   2440 
   2441     if test -n "$ac_subst_files"; then
   2442       $as_echo "## ------------------- ##
   2443 ## File substitutions. ##
   2444 ## ------------------- ##"
   2445       echo
   2446       for ac_var in $ac_subst_files
   2447       do
   2448 	eval ac_val=\$$ac_var
   2449 	case $ac_val in
   2450 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2451 	esac
   2452 	$as_echo "$ac_var='\''$ac_val'\''"
   2453       done | sort
   2454       echo
   2455     fi
   2456 
   2457     if test -s confdefs.h; then
   2458       $as_echo "## ----------- ##
   2459 ## confdefs.h. ##
   2460 ## ----------- ##"
   2461       echo
   2462       cat confdefs.h
   2463       echo
   2464     fi
   2465     test "$ac_signal" != 0 &&
   2466       $as_echo "$as_me: caught signal $ac_signal"
   2467     $as_echo "$as_me: exit $exit_status"
   2468   } >&5
   2469   rm -f core *.core core.conftest.* &&
   2470     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2471     exit $exit_status
   2472 ' 0
   2473 for ac_signal in 1 2 13 15; do
   2474   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2475 done
   2476 ac_signal=0
   2477 
   2478 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2479 rm -f -r conftest* confdefs.h
   2480 
   2481 $as_echo "/* confdefs.h */" > confdefs.h
   2482 
   2483 # Predefined preprocessor variables.
   2484 
   2485 cat >>confdefs.h <<_ACEOF
   2486 #define PACKAGE_NAME "$PACKAGE_NAME"
   2487 _ACEOF
   2488 
   2489 cat >>confdefs.h <<_ACEOF
   2490 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2491 _ACEOF
   2492 
   2493 cat >>confdefs.h <<_ACEOF
   2494 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2495 _ACEOF
   2496 
   2497 cat >>confdefs.h <<_ACEOF
   2498 #define PACKAGE_STRING "$PACKAGE_STRING"
   2499 _ACEOF
   2500 
   2501 cat >>confdefs.h <<_ACEOF
   2502 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2503 _ACEOF
   2504 
   2505 cat >>confdefs.h <<_ACEOF
   2506 #define PACKAGE_URL "$PACKAGE_URL"
   2507 _ACEOF
   2508 
   2509 
   2510 # Let the site file select an alternate cache file if it wants to.
   2511 # Prefer an explicitly selected file to automatically selected ones.
   2512 ac_site_file1=NONE
   2513 ac_site_file2=NONE
   2514 if test -n "$CONFIG_SITE"; then
   2515   # We do not want a PATH search for config.site.
   2516   case $CONFIG_SITE in #((
   2517     -*)  ac_site_file1=./$CONFIG_SITE;;
   2518     */*) ac_site_file1=$CONFIG_SITE;;
   2519     *)   ac_site_file1=./$CONFIG_SITE;;
   2520   esac
   2521 elif test "x$prefix" != xNONE; then
   2522   ac_site_file1=$prefix/share/config.site
   2523   ac_site_file2=$prefix/etc/config.site
   2524 else
   2525   ac_site_file1=$ac_default_prefix/share/config.site
   2526   ac_site_file2=$ac_default_prefix/etc/config.site
   2527 fi
   2528 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2529 do
   2530   test "x$ac_site_file" = xNONE && continue
   2531   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2532     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2533 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2534     sed 's/^/| /' "$ac_site_file" >&5
   2535     . "$ac_site_file" \
   2536       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2538 as_fn_error $? "failed to load site script $ac_site_file
   2539 See \`config.log' for more details" "$LINENO" 5; }
   2540   fi
   2541 done
   2542 
   2543 if test -r "$cache_file"; then
   2544   # Some versions of bash will fail to source /dev/null (special files
   2545   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2546   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2547     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2548 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2549     case $cache_file in
   2550       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2551       *)                      . "./$cache_file";;
   2552     esac
   2553   fi
   2554 else
   2555   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2556 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2557   >$cache_file
   2558 fi
   2559 
   2560 as_fn_append ac_header_list " stdlib.h"
   2561 as_fn_append ac_header_list " unistd.h"
   2562 as_fn_append ac_header_list " sys/param.h"
   2563 # Check that the precious variables saved in the cache have kept the same
   2564 # value.
   2565 ac_cache_corrupted=false
   2566 for ac_var in $ac_precious_vars; do
   2567   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2568   eval ac_new_set=\$ac_env_${ac_var}_set
   2569   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2570   eval ac_new_val=\$ac_env_${ac_var}_value
   2571   case $ac_old_set,$ac_new_set in
   2572     set,)
   2573       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2574 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2575       ac_cache_corrupted=: ;;
   2576     ,set)
   2577       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2578 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2579       ac_cache_corrupted=: ;;
   2580     ,);;
   2581     *)
   2582       if test "x$ac_old_val" != "x$ac_new_val"; then
   2583 	# differences in whitespace do not lead to failure.
   2584 	ac_old_val_w=`echo x $ac_old_val`
   2585 	ac_new_val_w=`echo x $ac_new_val`
   2586 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2587 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2588 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2589 	  ac_cache_corrupted=:
   2590 	else
   2591 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2592 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2593 	  eval $ac_var=\$ac_old_val
   2594 	fi
   2595 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2596 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2597 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2598 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2599       fi;;
   2600   esac
   2601   # Pass precious variables to config.status.
   2602   if test "$ac_new_set" = set; then
   2603     case $ac_new_val in
   2604     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2605     *) ac_arg=$ac_var=$ac_new_val ;;
   2606     esac
   2607     case " $ac_configure_args " in
   2608       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2609       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2610     esac
   2611   fi
   2612 done
   2613 if $ac_cache_corrupted; then
   2614   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2616   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2617 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2618   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2619 fi
   2620 ## -------------------- ##
   2621 ## Main body of script. ##
   2622 ## -------------------- ##
   2623 
   2624 ac_ext=c
   2625 ac_cpp='$CPP $CPPFLAGS'
   2626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2629 
   2630 
   2631 am__api_version='1.11'
   2632 
   2633 ac_aux_dir=
   2634 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2635   if test -f "$ac_dir/install-sh"; then
   2636     ac_aux_dir=$ac_dir
   2637     ac_install_sh="$ac_aux_dir/install-sh -c"
   2638     break
   2639   elif test -f "$ac_dir/install.sh"; then
   2640     ac_aux_dir=$ac_dir
   2641     ac_install_sh="$ac_aux_dir/install.sh -c"
   2642     break
   2643   elif test -f "$ac_dir/shtool"; then
   2644     ac_aux_dir=$ac_dir
   2645     ac_install_sh="$ac_aux_dir/shtool install -c"
   2646     break
   2647   fi
   2648 done
   2649 if test -z "$ac_aux_dir"; then
   2650   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2651 fi
   2652 
   2653 # These three variables are undocumented and unsupported,
   2654 # and are intended to be withdrawn in a future Autoconf release.
   2655 # They can cause serious problems if a builder's source tree is in a directory
   2656 # whose full name contains unusual characters.
   2657 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2658 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2659 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2660 
   2661 
   2662 # Find a good install program.  We prefer a C program (faster),
   2663 # so one script is as good as another.  But avoid the broken or
   2664 # incompatible versions:
   2665 # SysV /etc/install, /usr/sbin/install
   2666 # SunOS /usr/etc/install
   2667 # IRIX /sbin/install
   2668 # AIX /bin/install
   2669 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2673 # OS/2's system install, which has a completely different semantic
   2674 # ./install, which can be erroneously created by make from ./install.sh.
   2675 # Reject install programs that cannot install multiple files.
   2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2677 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2678 if test -z "$INSTALL"; then
   2679 if ${ac_cv_path_install+:} false; then :
   2680   $as_echo_n "(cached) " >&6
   2681 else
   2682   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2683 for as_dir in $PATH
   2684 do
   2685   IFS=$as_save_IFS
   2686   test -z "$as_dir" && as_dir=.
   2687     # Account for people who put trailing slashes in PATH elements.
   2688 case $as_dir/ in #((
   2689   ./ | .// | /[cC]/* | \
   2690   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2691   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2692   /usr/ucb/* ) ;;
   2693   *)
   2694     # OSF1 and SCO ODT 3.0 have their own names for install.
   2695     # Don't use installbsd from OSF since it installs stuff as root
   2696     # by default.
   2697     for ac_prog in ginstall scoinst install; do
   2698       for ac_exec_ext in '' $ac_executable_extensions; do
   2699 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2700 	  if test $ac_prog = install &&
   2701 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2702 	    # AIX install.  It has an incompatible calling convention.
   2703 	    :
   2704 	  elif test $ac_prog = install &&
   2705 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2706 	    # program-specific install script used by HP pwplus--don't use.
   2707 	    :
   2708 	  else
   2709 	    rm -rf conftest.one conftest.two conftest.dir
   2710 	    echo one > conftest.one
   2711 	    echo two > conftest.two
   2712 	    mkdir conftest.dir
   2713 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2714 	      test -s conftest.one && test -s conftest.two &&
   2715 	      test -s conftest.dir/conftest.one &&
   2716 	      test -s conftest.dir/conftest.two
   2717 	    then
   2718 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2719 	      break 3
   2720 	    fi
   2721 	  fi
   2722 	fi
   2723       done
   2724     done
   2725     ;;
   2726 esac
   2727 
   2728   done
   2729 IFS=$as_save_IFS
   2730 
   2731 rm -rf conftest.one conftest.two conftest.dir
   2732 
   2733 fi
   2734   if test "${ac_cv_path_install+set}" = set; then
   2735     INSTALL=$ac_cv_path_install
   2736   else
   2737     # As a last resort, use the slow shell script.  Don't cache a
   2738     # value for INSTALL within a source directory, because that will
   2739     # break other packages using the cache if that directory is
   2740     # removed, or if the value is a relative name.
   2741     INSTALL=$ac_install_sh
   2742   fi
   2743 fi
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2745 $as_echo "$INSTALL" >&6; }
   2746 
   2747 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2748 # It thinks the first close brace ends the variable substitution.
   2749 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2750 
   2751 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2752 
   2753 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2754 
   2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2756 $as_echo_n "checking whether build environment is sane... " >&6; }
   2757 # Just in case
   2758 sleep 1
   2759 echo timestamp > conftest.file
   2760 # Reject unsafe characters in $srcdir or the absolute working directory
   2761 # name.  Accept space and tab only in the latter.
   2762 am_lf='
   2763 '
   2764 case `pwd` in
   2765   *[\\\"\#\$\&\'\`$am_lf]*)
   2766     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2767 esac
   2768 case $srcdir in
   2769   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2770     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2771 esac
   2772 
   2773 # Do `set' in a subshell so we don't clobber the current shell's
   2774 # arguments.  Must try -L first in case configure is actually a
   2775 # symlink; some systems play weird games with the mod time of symlinks
   2776 # (eg FreeBSD returns the mod time of the symlink's containing
   2777 # directory).
   2778 if (
   2779    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2780    if test "$*" = "X"; then
   2781       # -L didn't work.
   2782       set X `ls -t "$srcdir/configure" conftest.file`
   2783    fi
   2784    rm -f conftest.file
   2785    if test "$*" != "X $srcdir/configure conftest.file" \
   2786       && test "$*" != "X conftest.file $srcdir/configure"; then
   2787 
   2788       # If neither matched, then we have a broken ls.  This can happen
   2789       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2790       # broken ls alias from the environment.  This has actually
   2791       # happened.  Such a system could not be considered "sane".
   2792       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2793 alias in your environment" "$LINENO" 5
   2794    fi
   2795 
   2796    test "$2" = conftest.file
   2797    )
   2798 then
   2799    # Ok.
   2800    :
   2801 else
   2802    as_fn_error $? "newly created file is older than distributed files!
   2803 Check your system clock" "$LINENO" 5
   2804 fi
   2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2806 $as_echo "yes" >&6; }
   2807 test "$program_prefix" != NONE &&
   2808   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2809 # Use a double $ so make ignores it.
   2810 test "$program_suffix" != NONE &&
   2811   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2812 # Double any \ or $.
   2813 # By default was `s,x,x', remove it if useless.
   2814 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2815 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2816 
   2817 # expand $ac_aux_dir to an absolute path
   2818 am_aux_dir=`cd $ac_aux_dir && pwd`
   2819 
   2820 if test x"${MISSING+set}" != xset; then
   2821   case $am_aux_dir in
   2822   *\ * | *\	*)
   2823     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2824   *)
   2825     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2826   esac
   2827 fi
   2828 # Use eval to expand $SHELL
   2829 if eval "$MISSING --run true"; then
   2830   am_missing_run="$MISSING --run "
   2831 else
   2832   am_missing_run=
   2833   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2834 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2835 fi
   2836 
   2837 if test x"${install_sh}" != xset; then
   2838   case $am_aux_dir in
   2839   *\ * | *\	*)
   2840     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2841   *)
   2842     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2843   esac
   2844 fi
   2845 
   2846 # Installed binaries are usually stripped using `strip' when the user
   2847 # run `make install-strip'.  However `strip' might not be the right
   2848 # tool to use in cross-compilation environments, therefore Automake
   2849 # will honor the `STRIP' environment variable to overrule this program.
   2850 if test "$cross_compiling" != no; then
   2851   if test -n "$ac_tool_prefix"; then
   2852   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2853 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2855 $as_echo_n "checking for $ac_word... " >&6; }
   2856 if ${ac_cv_prog_STRIP+:} false; then :
   2857   $as_echo_n "(cached) " >&6
   2858 else
   2859   if test -n "$STRIP"; then
   2860   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2861 else
   2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2863 for as_dir in $PATH
   2864 do
   2865   IFS=$as_save_IFS
   2866   test -z "$as_dir" && as_dir=.
   2867     for ac_exec_ext in '' $ac_executable_extensions; do
   2868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2869     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2871     break 2
   2872   fi
   2873 done
   2874   done
   2875 IFS=$as_save_IFS
   2876 
   2877 fi
   2878 fi
   2879 STRIP=$ac_cv_prog_STRIP
   2880 if test -n "$STRIP"; then
   2881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2882 $as_echo "$STRIP" >&6; }
   2883 else
   2884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2885 $as_echo "no" >&6; }
   2886 fi
   2887 
   2888 
   2889 fi
   2890 if test -z "$ac_cv_prog_STRIP"; then
   2891   ac_ct_STRIP=$STRIP
   2892   # Extract the first word of "strip", so it can be a program name with args.
   2893 set dummy strip; ac_word=$2
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2895 $as_echo_n "checking for $ac_word... " >&6; }
   2896 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if test -n "$ac_ct_STRIP"; then
   2900   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2901 else
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907     for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2909     ac_cv_prog_ac_ct_STRIP="strip"
   2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914   done
   2915 IFS=$as_save_IFS
   2916 
   2917 fi
   2918 fi
   2919 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2920 if test -n "$ac_ct_STRIP"; then
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2922 $as_echo "$ac_ct_STRIP" >&6; }
   2923 else
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 $as_echo "no" >&6; }
   2926 fi
   2927 
   2928   if test "x$ac_ct_STRIP" = x; then
   2929     STRIP=":"
   2930   else
   2931     case $cross_compiling:$ac_tool_warned in
   2932 yes:)
   2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2935 ac_tool_warned=yes ;;
   2936 esac
   2937     STRIP=$ac_ct_STRIP
   2938   fi
   2939 else
   2940   STRIP="$ac_cv_prog_STRIP"
   2941 fi
   2942 
   2943 fi
   2944 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2945 
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2947 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2948 if test -z "$MKDIR_P"; then
   2949   if ${ac_cv_path_mkdir+:} false; then :
   2950   $as_echo_n "(cached) " >&6
   2951 else
   2952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2953 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2954 do
   2955   IFS=$as_save_IFS
   2956   test -z "$as_dir" && as_dir=.
   2957     for ac_prog in mkdir gmkdir; do
   2958 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2959 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2960 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2961 	     'mkdir (GNU coreutils) '* | \
   2962 	     'mkdir (coreutils) '* | \
   2963 	     'mkdir (fileutils) '4.1*)
   2964 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2965 	       break 3;;
   2966 	   esac
   2967 	 done
   2968        done
   2969   done
   2970 IFS=$as_save_IFS
   2971 
   2972 fi
   2973 
   2974   test -d ./--version && rmdir ./--version
   2975   if test "${ac_cv_path_mkdir+set}" = set; then
   2976     MKDIR_P="$ac_cv_path_mkdir -p"
   2977   else
   2978     # As a last resort, use the slow shell script.  Don't cache a
   2979     # value for MKDIR_P within a source directory, because that will
   2980     # break other packages using the cache if that directory is
   2981     # removed, or if the value is a relative name.
   2982     MKDIR_P="$ac_install_sh -d"
   2983   fi
   2984 fi
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2986 $as_echo "$MKDIR_P" >&6; }
   2987 
   2988 mkdir_p="$MKDIR_P"
   2989 case $mkdir_p in
   2990   [\\/$]* | ?:[\\/]*) ;;
   2991   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2992 esac
   2993 
   2994 for ac_prog in gawk mawk nawk awk
   2995 do
   2996   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2997 set dummy $ac_prog; ac_word=$2
   2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2999 $as_echo_n "checking for $ac_word... " >&6; }
   3000 if ${ac_cv_prog_AWK+:} false; then :
   3001   $as_echo_n "(cached) " >&6
   3002 else
   3003   if test -n "$AWK"; then
   3004   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3005 else
   3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3007 for as_dir in $PATH
   3008 do
   3009   IFS=$as_save_IFS
   3010   test -z "$as_dir" && as_dir=.
   3011     for ac_exec_ext in '' $ac_executable_extensions; do
   3012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3013     ac_cv_prog_AWK="$ac_prog"
   3014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3015     break 2
   3016   fi
   3017 done
   3018   done
   3019 IFS=$as_save_IFS
   3020 
   3021 fi
   3022 fi
   3023 AWK=$ac_cv_prog_AWK
   3024 if test -n "$AWK"; then
   3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3026 $as_echo "$AWK" >&6; }
   3027 else
   3028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3029 $as_echo "no" >&6; }
   3030 fi
   3031 
   3032 
   3033   test -n "$AWK" && break
   3034 done
   3035 
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3037 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3038 set x ${MAKE-make}
   3039 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3040 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3041   $as_echo_n "(cached) " >&6
   3042 else
   3043   cat >conftest.make <<\_ACEOF
   3044 SHELL = /bin/sh
   3045 all:
   3046 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3047 _ACEOF
   3048 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3049 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3050   *@@@%%%=?*=@@@%%%*)
   3051     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3052   *)
   3053     eval ac_cv_prog_make_${ac_make}_set=no;;
   3054 esac
   3055 rm -f conftest.make
   3056 fi
   3057 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3059 $as_echo "yes" >&6; }
   3060   SET_MAKE=
   3061 else
   3062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3063 $as_echo "no" >&6; }
   3064   SET_MAKE="MAKE=${MAKE-make}"
   3065 fi
   3066 
   3067 rm -rf .tst 2>/dev/null
   3068 mkdir .tst 2>/dev/null
   3069 if test -d .tst; then
   3070   am__leading_dot=.
   3071 else
   3072   am__leading_dot=_
   3073 fi
   3074 rmdir .tst 2>/dev/null
   3075 
   3076 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3077   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3078   # is not polluted with repeated "-I."
   3079   am__isrc=' -I$(srcdir)'
   3080   # test to see if srcdir already configured
   3081   if test -f $srcdir/config.status; then
   3082     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3083   fi
   3084 fi
   3085 
   3086 # test whether we have cygpath
   3087 if test -z "$CYGPATH_W"; then
   3088   if (cygpath --version) >/dev/null 2>/dev/null; then
   3089     CYGPATH_W='cygpath -w'
   3090   else
   3091     CYGPATH_W=echo
   3092   fi
   3093 fi
   3094 
   3095 
   3096 # Define the identity of the package.
   3097  PACKAGE='file'
   3098  VERSION='5.16'
   3099 
   3100 
   3101 cat >>confdefs.h <<_ACEOF
   3102 #define PACKAGE "$PACKAGE"
   3103 _ACEOF
   3104 
   3105 
   3106 cat >>confdefs.h <<_ACEOF
   3107 #define VERSION "$VERSION"
   3108 _ACEOF
   3109 
   3110 # Some tools Automake needs.
   3111 
   3112 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3113 
   3114 
   3115 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3116 
   3117 
   3118 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3119 
   3120 
   3121 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3122 
   3123 
   3124 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3125 
   3126 # We need awk for the "check" target.  The system "awk" is bad on
   3127 # some platforms.
   3128 # Always define AMTAR for backward compatibility.
   3129 
   3130 AMTAR=${AMTAR-"${am_missing_run}tar"}
   3131 
   3132 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3133 
   3134 
   3135 
   3136 
   3137 
   3138 
   3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3140 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3141     # Check whether --enable-maintainer-mode was given.
   3142 if test "${enable_maintainer_mode+set}" = set; then :
   3143   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3144 else
   3145   USE_MAINTAINER_MODE=no
   3146 fi
   3147 
   3148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3149 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3150    if test $USE_MAINTAINER_MODE = yes; then
   3151   MAINTAINER_MODE_TRUE=
   3152   MAINTAINER_MODE_FALSE='#'
   3153 else
   3154   MAINTAINER_MODE_TRUE='#'
   3155   MAINTAINER_MODE_FALSE=
   3156 fi
   3157 
   3158   MAINT=$MAINTAINER_MODE_TRUE
   3159 
   3160 
   3161 # Check whether --enable-silent-rules was given.
   3162 if test "${enable_silent_rules+set}" = set; then :
   3163   enableval=$enable_silent_rules;
   3164 fi
   3165 
   3166 case $enable_silent_rules in
   3167 yes) AM_DEFAULT_VERBOSITY=0;;
   3168 no)  AM_DEFAULT_VERBOSITY=1;;
   3169 *)   AM_DEFAULT_VERBOSITY=0;;
   3170 esac
   3171 AM_BACKSLASH='\'
   3172 
   3173 
   3174 ac_config_headers="$ac_config_headers config.h"
   3175 
   3176 
   3177 
   3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for builtin ELF support" >&5
   3179 $as_echo_n "checking for builtin ELF support... " >&6; }
   3180 # Check whether --enable-elf was given.
   3181 if test "${enable_elf+set}" = set; then :
   3182   enableval=$enable_elf; if test "${enableval}" = yes; then
   3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3184 $as_echo "yes" >&6; }
   3185 
   3186 $as_echo "#define BUILTIN_ELF 1" >>confdefs.h
   3187 
   3188 else
   3189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3190 $as_echo "no" >&6; }
   3191 fi
   3192 else
   3193 
   3194   # enable by default
   3195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3196 $as_echo "yes" >&6; }
   3197 
   3198 $as_echo "#define BUILTIN_ELF 1" >>confdefs.h
   3199 
   3200 
   3201 fi
   3202 
   3203 
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF core file support" >&5
   3205 $as_echo_n "checking for ELF core file support... " >&6; }
   3206 # Check whether --enable-elf-core was given.
   3207 if test "${enable_elf_core+set}" = set; then :
   3208   enableval=$enable_elf_core; if test "${enableval}" = yes; then
   3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3210 $as_echo "yes" >&6; }
   3211 
   3212 $as_echo "#define ELFCORE 1" >>confdefs.h
   3213 
   3214 else
   3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3216 $as_echo "no" >&6; }
   3217 fi
   3218 else
   3219 
   3220   # enable by default
   3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3222 $as_echo "yes" >&6; }
   3223 
   3224 $as_echo "#define ELFCORE 1" >>confdefs.h
   3225 
   3226 
   3227 fi
   3228 
   3229 
   3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file formats in man section 5" >&5
   3231 $as_echo_n "checking for file formats in man section 5... " >&6; }
   3232 # Check whether --enable-fsect-man5 was given.
   3233 if test "${enable_fsect_man5+set}" = set; then :
   3234   enableval=$enable_fsect_man5; if test "${enableval}" = yes; then
   3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3236 $as_echo "yes" >&6; }
   3237   fsect=5
   3238 else
   3239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3240 $as_echo "no" >&6; }
   3241   fsect=4
   3242 fi
   3243 else
   3244 
   3245   # disable by default
   3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3247 $as_echo "no" >&6; }
   3248   fsect=4
   3249 
   3250 fi
   3251 
   3252 
   3253 # Make sure we can run config.sub.
   3254 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3255   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3256 
   3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3258 $as_echo_n "checking build system type... " >&6; }
   3259 if ${ac_cv_build+:} false; then :
   3260   $as_echo_n "(cached) " >&6
   3261 else
   3262   ac_build_alias=$build_alias
   3263 test "x$ac_build_alias" = x &&
   3264   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3265 test "x$ac_build_alias" = x &&
   3266   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3267 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3268   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3269 
   3270 fi
   3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3272 $as_echo "$ac_cv_build" >&6; }
   3273 case $ac_cv_build in
   3274 *-*-*) ;;
   3275 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3276 esac
   3277 build=$ac_cv_build
   3278 ac_save_IFS=$IFS; IFS='-'
   3279 set x $ac_cv_build
   3280 shift
   3281 build_cpu=$1
   3282 build_vendor=$2
   3283 shift; shift
   3284 # Remember, the first character of IFS is used to create $*,
   3285 # except with old shells:
   3286 build_os=$*
   3287 IFS=$ac_save_IFS
   3288 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3289 
   3290 
   3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3292 $as_echo_n "checking host system type... " >&6; }
   3293 if ${ac_cv_host+:} false; then :
   3294   $as_echo_n "(cached) " >&6
   3295 else
   3296   if test "x$host_alias" = x; then
   3297   ac_cv_host=$ac_cv_build
   3298 else
   3299   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3300     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3301 fi
   3302 
   3303 fi
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3305 $as_echo "$ac_cv_host" >&6; }
   3306 case $ac_cv_host in
   3307 *-*-*) ;;
   3308 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3309 esac
   3310 host=$ac_cv_host
   3311 ac_save_IFS=$IFS; IFS='-'
   3312 set x $ac_cv_host
   3313 shift
   3314 host_cpu=$1
   3315 host_vendor=$2
   3316 shift; shift
   3317 # Remember, the first character of IFS is used to create $*,
   3318 # except with old shells:
   3319 host_os=$*
   3320 IFS=$ac_save_IFS
   3321 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3322 
   3323 
   3324 case "$host_os" in
   3325    mingw32*)
   3326       MINGW=1
   3327       ;;
   3328    *)
   3329       MINGW=0
   3330       ;;
   3331 esac
   3332 
   3333  if test "$MINGW" = 1; then
   3334   MINGW_TRUE=
   3335   MINGW_FALSE='#'
   3336 else
   3337   MINGW_TRUE='#'
   3338   MINGW_FALSE=
   3339 fi
   3340 
   3341 
   3342 pkgdatadir='$(datadir)/misc'
   3343 
   3344 
   3345  if test x$fsect = x5; then
   3346   FSECT5_TRUE=
   3347   FSECT5_FALSE='#'
   3348 else
   3349   FSECT5_TRUE='#'
   3350   FSECT5_FALSE=
   3351 fi
   3352 
   3353 
   3354 
   3355 
   3356 DEPDIR="${am__leading_dot}deps"
   3357 
   3358 ac_config_commands="$ac_config_commands depfiles"
   3359 
   3360 
   3361 am_make=${MAKE-make}
   3362 cat > confinc << 'END'
   3363 am__doit:
   3364 	@echo this is the am__doit target
   3365 .PHONY: am__doit
   3366 END
   3367 # If we don't find an include directive, just comment out the code.
   3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3369 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3370 am__include="#"
   3371 am__quote=
   3372 _am_result=none
   3373 # First try GNU make style include.
   3374 echo "include confinc" > confmf
   3375 # Ignore all kinds of additional output from `make'.
   3376 case `$am_make -s -f confmf 2> /dev/null` in #(
   3377 *the\ am__doit\ target*)
   3378   am__include=include
   3379   am__quote=
   3380   _am_result=GNU
   3381   ;;
   3382 esac
   3383 # Now try BSD make style include.
   3384 if test "$am__include" = "#"; then
   3385    echo '.include "confinc"' > confmf
   3386    case `$am_make -s -f confmf 2> /dev/null` in #(
   3387    *the\ am__doit\ target*)
   3388      am__include=.include
   3389      am__quote="\""
   3390      _am_result=BSD
   3391      ;;
   3392    esac
   3393 fi
   3394 
   3395 
   3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3397 $as_echo "$_am_result" >&6; }
   3398 rm -f confinc confmf
   3399 
   3400 # Check whether --enable-dependency-tracking was given.
   3401 if test "${enable_dependency_tracking+set}" = set; then :
   3402   enableval=$enable_dependency_tracking;
   3403 fi
   3404 
   3405 if test "x$enable_dependency_tracking" != xno; then
   3406   am_depcomp="$ac_aux_dir/depcomp"
   3407   AMDEPBACKSLASH='\'
   3408 fi
   3409  if test "x$enable_dependency_tracking" != xno; then
   3410   AMDEP_TRUE=
   3411   AMDEP_FALSE='#'
   3412 else
   3413   AMDEP_TRUE='#'
   3414   AMDEP_FALSE=
   3415 fi
   3416 
   3417 
   3418 ac_ext=c
   3419 ac_cpp='$CPP $CPPFLAGS'
   3420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3423 if test -n "$ac_tool_prefix"; then
   3424   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3425 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3427 $as_echo_n "checking for $ac_word... " >&6; }
   3428 if ${ac_cv_prog_CC+:} false; then :
   3429   $as_echo_n "(cached) " >&6
   3430 else
   3431   if test -n "$CC"; then
   3432   ac_cv_prog_CC="$CC" # Let the user override the test.
   3433 else
   3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3435 for as_dir in $PATH
   3436 do
   3437   IFS=$as_save_IFS
   3438   test -z "$as_dir" && as_dir=.
   3439     for ac_exec_ext in '' $ac_executable_extensions; do
   3440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3441     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3443     break 2
   3444   fi
   3445 done
   3446   done
   3447 IFS=$as_save_IFS
   3448 
   3449 fi
   3450 fi
   3451 CC=$ac_cv_prog_CC
   3452 if test -n "$CC"; then
   3453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3454 $as_echo "$CC" >&6; }
   3455 else
   3456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3457 $as_echo "no" >&6; }
   3458 fi
   3459 
   3460 
   3461 fi
   3462 if test -z "$ac_cv_prog_CC"; then
   3463   ac_ct_CC=$CC
   3464   # Extract the first word of "gcc", so it can be a program name with args.
   3465 set dummy gcc; ac_word=$2
   3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3467 $as_echo_n "checking for $ac_word... " >&6; }
   3468 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3469   $as_echo_n "(cached) " >&6
   3470 else
   3471   if test -n "$ac_ct_CC"; then
   3472   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3473 else
   3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3475 for as_dir in $PATH
   3476 do
   3477   IFS=$as_save_IFS
   3478   test -z "$as_dir" && as_dir=.
   3479     for ac_exec_ext in '' $ac_executable_extensions; do
   3480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3481     ac_cv_prog_ac_ct_CC="gcc"
   3482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3483     break 2
   3484   fi
   3485 done
   3486   done
   3487 IFS=$as_save_IFS
   3488 
   3489 fi
   3490 fi
   3491 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3492 if test -n "$ac_ct_CC"; then
   3493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3494 $as_echo "$ac_ct_CC" >&6; }
   3495 else
   3496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3497 $as_echo "no" >&6; }
   3498 fi
   3499 
   3500   if test "x$ac_ct_CC" = x; then
   3501     CC=""
   3502   else
   3503     case $cross_compiling:$ac_tool_warned in
   3504 yes:)
   3505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3507 ac_tool_warned=yes ;;
   3508 esac
   3509     CC=$ac_ct_CC
   3510   fi
   3511 else
   3512   CC="$ac_cv_prog_CC"
   3513 fi
   3514 
   3515 if test -z "$CC"; then
   3516           if test -n "$ac_tool_prefix"; then
   3517     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3518 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3520 $as_echo_n "checking for $ac_word... " >&6; }
   3521 if ${ac_cv_prog_CC+:} false; then :
   3522   $as_echo_n "(cached) " >&6
   3523 else
   3524   if test -n "$CC"; then
   3525   ac_cv_prog_CC="$CC" # Let the user override the test.
   3526 else
   3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3528 for as_dir in $PATH
   3529 do
   3530   IFS=$as_save_IFS
   3531   test -z "$as_dir" && as_dir=.
   3532     for ac_exec_ext in '' $ac_executable_extensions; do
   3533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3534     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3536     break 2
   3537   fi
   3538 done
   3539   done
   3540 IFS=$as_save_IFS
   3541 
   3542 fi
   3543 fi
   3544 CC=$ac_cv_prog_CC
   3545 if test -n "$CC"; then
   3546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3547 $as_echo "$CC" >&6; }
   3548 else
   3549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3550 $as_echo "no" >&6; }
   3551 fi
   3552 
   3553 
   3554   fi
   3555 fi
   3556 if test -z "$CC"; then
   3557   # Extract the first word of "cc", so it can be a program name with args.
   3558 set dummy cc; ac_word=$2
   3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3560 $as_echo_n "checking for $ac_word... " >&6; }
   3561 if ${ac_cv_prog_CC+:} false; then :
   3562   $as_echo_n "(cached) " >&6
   3563 else
   3564   if test -n "$CC"; then
   3565   ac_cv_prog_CC="$CC" # Let the user override the test.
   3566 else
   3567   ac_prog_rejected=no
   3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3569 for as_dir in $PATH
   3570 do
   3571   IFS=$as_save_IFS
   3572   test -z "$as_dir" && as_dir=.
   3573     for ac_exec_ext in '' $ac_executable_extensions; do
   3574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3575     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3576        ac_prog_rejected=yes
   3577        continue
   3578      fi
   3579     ac_cv_prog_CC="cc"
   3580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3581     break 2
   3582   fi
   3583 done
   3584   done
   3585 IFS=$as_save_IFS
   3586 
   3587 if test $ac_prog_rejected = yes; then
   3588   # We found a bogon in the path, so make sure we never use it.
   3589   set dummy $ac_cv_prog_CC
   3590   shift
   3591   if test $# != 0; then
   3592     # We chose a different compiler from the bogus one.
   3593     # However, it has the same basename, so the bogon will be chosen
   3594     # first if we set CC to just the basename; use the full file name.
   3595     shift
   3596     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3597   fi
   3598 fi
   3599 fi
   3600 fi
   3601 CC=$ac_cv_prog_CC
   3602 if test -n "$CC"; then
   3603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3604 $as_echo "$CC" >&6; }
   3605 else
   3606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3607 $as_echo "no" >&6; }
   3608 fi
   3609 
   3610 
   3611 fi
   3612 if test -z "$CC"; then
   3613   if test -n "$ac_tool_prefix"; then
   3614   for ac_prog in cl.exe
   3615   do
   3616     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3619 $as_echo_n "checking for $ac_word... " >&6; }
   3620 if ${ac_cv_prog_CC+:} false; then :
   3621   $as_echo_n "(cached) " >&6
   3622 else
   3623   if test -n "$CC"; then
   3624   ac_cv_prog_CC="$CC" # Let the user override the test.
   3625 else
   3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3627 for as_dir in $PATH
   3628 do
   3629   IFS=$as_save_IFS
   3630   test -z "$as_dir" && as_dir=.
   3631     for ac_exec_ext in '' $ac_executable_extensions; do
   3632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3633     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3635     break 2
   3636   fi
   3637 done
   3638   done
   3639 IFS=$as_save_IFS
   3640 
   3641 fi
   3642 fi
   3643 CC=$ac_cv_prog_CC
   3644 if test -n "$CC"; then
   3645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3646 $as_echo "$CC" >&6; }
   3647 else
   3648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3649 $as_echo "no" >&6; }
   3650 fi
   3651 
   3652 
   3653     test -n "$CC" && break
   3654   done
   3655 fi
   3656 if test -z "$CC"; then
   3657   ac_ct_CC=$CC
   3658   for ac_prog in cl.exe
   3659 do
   3660   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3661 set dummy $ac_prog; ac_word=$2
   3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3663 $as_echo_n "checking for $ac_word... " >&6; }
   3664 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3665   $as_echo_n "(cached) " >&6
   3666 else
   3667   if test -n "$ac_ct_CC"; then
   3668   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3669 else
   3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3671 for as_dir in $PATH
   3672 do
   3673   IFS=$as_save_IFS
   3674   test -z "$as_dir" && as_dir=.
   3675     for ac_exec_ext in '' $ac_executable_extensions; do
   3676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3677     ac_cv_prog_ac_ct_CC="$ac_prog"
   3678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3679     break 2
   3680   fi
   3681 done
   3682   done
   3683 IFS=$as_save_IFS
   3684 
   3685 fi
   3686 fi
   3687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3688 if test -n "$ac_ct_CC"; then
   3689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3690 $as_echo "$ac_ct_CC" >&6; }
   3691 else
   3692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3693 $as_echo "no" >&6; }
   3694 fi
   3695 
   3696 
   3697   test -n "$ac_ct_CC" && break
   3698 done
   3699 
   3700   if test "x$ac_ct_CC" = x; then
   3701     CC=""
   3702   else
   3703     case $cross_compiling:$ac_tool_warned in
   3704 yes:)
   3705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3707 ac_tool_warned=yes ;;
   3708 esac
   3709     CC=$ac_ct_CC
   3710   fi
   3711 fi
   3712 
   3713 fi
   3714 
   3715 
   3716 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3718 as_fn_error $? "no acceptable C compiler found in \$PATH
   3719 See \`config.log' for more details" "$LINENO" 5; }
   3720 
   3721 # Provide some information about the compiler.
   3722 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3723 set X $ac_compile
   3724 ac_compiler=$2
   3725 for ac_option in --version -v -V -qversion; do
   3726   { { ac_try="$ac_compiler $ac_option >&5"
   3727 case "(($ac_try" in
   3728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3729   *) ac_try_echo=$ac_try;;
   3730 esac
   3731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3732 $as_echo "$ac_try_echo"; } >&5
   3733   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3734   ac_status=$?
   3735   if test -s conftest.err; then
   3736     sed '10a\
   3737 ... rest of stderr output deleted ...
   3738          10q' conftest.err >conftest.er1
   3739     cat conftest.er1 >&5
   3740   fi
   3741   rm -f conftest.er1 conftest.err
   3742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3743   test $ac_status = 0; }
   3744 done
   3745 
   3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3747 /* end confdefs.h.  */
   3748 
   3749 int
   3750 main ()
   3751 {
   3752 
   3753   ;
   3754   return 0;
   3755 }
   3756 _ACEOF
   3757 ac_clean_files_save=$ac_clean_files
   3758 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3759 # Try to create an executable without -o first, disregard a.out.
   3760 # It will help us diagnose broken compilers, and finding out an intuition
   3761 # of exeext.
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3763 $as_echo_n "checking whether the C compiler works... " >&6; }
   3764 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3765 
   3766 # The possible output files:
   3767 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3768 
   3769 ac_rmfiles=
   3770 for ac_file in $ac_files
   3771 do
   3772   case $ac_file in
   3773     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3774     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3775   esac
   3776 done
   3777 rm -f $ac_rmfiles
   3778 
   3779 if { { ac_try="$ac_link_default"
   3780 case "(($ac_try" in
   3781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3782   *) ac_try_echo=$ac_try;;
   3783 esac
   3784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3785 $as_echo "$ac_try_echo"; } >&5
   3786   (eval "$ac_link_default") 2>&5
   3787   ac_status=$?
   3788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3789   test $ac_status = 0; }; then :
   3790   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3791 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3792 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3793 # so that the user can short-circuit this test for compilers unknown to
   3794 # Autoconf.
   3795 for ac_file in $ac_files ''
   3796 do
   3797   test -f "$ac_file" || continue
   3798   case $ac_file in
   3799     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3800 	;;
   3801     [ab].out )
   3802 	# We found the default executable, but exeext='' is most
   3803 	# certainly right.
   3804 	break;;
   3805     *.* )
   3806 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3807 	then :; else
   3808 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3809 	fi
   3810 	# We set ac_cv_exeext here because the later test for it is not
   3811 	# safe: cross compilers may not add the suffix if given an `-o'
   3812 	# argument, so we may need to know it at that point already.
   3813 	# Even if this section looks crufty: it has the advantage of
   3814 	# actually working.
   3815 	break;;
   3816     * )
   3817 	break;;
   3818   esac
   3819 done
   3820 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3821 
   3822 else
   3823   ac_file=''
   3824 fi
   3825 if test -z "$ac_file"; then :
   3826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3827 $as_echo "no" >&6; }
   3828 $as_echo "$as_me: failed program was:" >&5
   3829 sed 's/^/| /' conftest.$ac_ext >&5
   3830 
   3831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3833 as_fn_error 77 "C compiler cannot create executables
   3834 See \`config.log' for more details" "$LINENO" 5; }
   3835 else
   3836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3837 $as_echo "yes" >&6; }
   3838 fi
   3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3840 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3842 $as_echo "$ac_file" >&6; }
   3843 ac_exeext=$ac_cv_exeext
   3844 
   3845 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3846 ac_clean_files=$ac_clean_files_save
   3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3848 $as_echo_n "checking for suffix of executables... " >&6; }
   3849 if { { ac_try="$ac_link"
   3850 case "(($ac_try" in
   3851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3852   *) ac_try_echo=$ac_try;;
   3853 esac
   3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3855 $as_echo "$ac_try_echo"; } >&5
   3856   (eval "$ac_link") 2>&5
   3857   ac_status=$?
   3858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3859   test $ac_status = 0; }; then :
   3860   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3861 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3862 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3863 # `rm'.
   3864 for ac_file in conftest.exe conftest conftest.*; do
   3865   test -f "$ac_file" || continue
   3866   case $ac_file in
   3867     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3868     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3869 	  break;;
   3870     * ) break;;
   3871   esac
   3872 done
   3873 else
   3874   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3876 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3877 See \`config.log' for more details" "$LINENO" 5; }
   3878 fi
   3879 rm -f conftest conftest$ac_cv_exeext
   3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3881 $as_echo "$ac_cv_exeext" >&6; }
   3882 
   3883 rm -f conftest.$ac_ext
   3884 EXEEXT=$ac_cv_exeext
   3885 ac_exeext=$EXEEXT
   3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3887 /* end confdefs.h.  */
   3888 #include <stdio.h>
   3889 int
   3890 main ()
   3891 {
   3892 FILE *f = fopen ("conftest.out", "w");
   3893  return ferror (f) || fclose (f) != 0;
   3894 
   3895   ;
   3896   return 0;
   3897 }
   3898 _ACEOF
   3899 ac_clean_files="$ac_clean_files conftest.out"
   3900 # Check that the compiler produces executables we can run.  If not, either
   3901 # the compiler is broken, or we cross compile.
   3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3903 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3904 if test "$cross_compiling" != yes; then
   3905   { { ac_try="$ac_link"
   3906 case "(($ac_try" in
   3907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3908   *) ac_try_echo=$ac_try;;
   3909 esac
   3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3911 $as_echo "$ac_try_echo"; } >&5
   3912   (eval "$ac_link") 2>&5
   3913   ac_status=$?
   3914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3915   test $ac_status = 0; }
   3916   if { ac_try='./conftest$ac_cv_exeext'
   3917   { { case "(($ac_try" in
   3918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3919   *) ac_try_echo=$ac_try;;
   3920 esac
   3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3922 $as_echo "$ac_try_echo"; } >&5
   3923   (eval "$ac_try") 2>&5
   3924   ac_status=$?
   3925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3926   test $ac_status = 0; }; }; then
   3927     cross_compiling=no
   3928   else
   3929     if test "$cross_compiling" = maybe; then
   3930 	cross_compiling=yes
   3931     else
   3932 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3934 as_fn_error $? "cannot run C compiled programs.
   3935 If you meant to cross compile, use \`--host'.
   3936 See \`config.log' for more details" "$LINENO" 5; }
   3937     fi
   3938   fi
   3939 fi
   3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3941 $as_echo "$cross_compiling" >&6; }
   3942 
   3943 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3944 ac_clean_files=$ac_clean_files_save
   3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3946 $as_echo_n "checking for suffix of object files... " >&6; }
   3947 if ${ac_cv_objext+:} false; then :
   3948   $as_echo_n "(cached) " >&6
   3949 else
   3950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3951 /* end confdefs.h.  */
   3952 
   3953 int
   3954 main ()
   3955 {
   3956 
   3957   ;
   3958   return 0;
   3959 }
   3960 _ACEOF
   3961 rm -f conftest.o conftest.obj
   3962 if { { ac_try="$ac_compile"
   3963 case "(($ac_try" in
   3964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3965   *) ac_try_echo=$ac_try;;
   3966 esac
   3967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3968 $as_echo "$ac_try_echo"; } >&5
   3969   (eval "$ac_compile") 2>&5
   3970   ac_status=$?
   3971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3972   test $ac_status = 0; }; then :
   3973   for ac_file in conftest.o conftest.obj conftest.*; do
   3974   test -f "$ac_file" || continue;
   3975   case $ac_file in
   3976     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3977     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3978        break;;
   3979   esac
   3980 done
   3981 else
   3982   $as_echo "$as_me: failed program was:" >&5
   3983 sed 's/^/| /' conftest.$ac_ext >&5
   3984 
   3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3987 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3988 See \`config.log' for more details" "$LINENO" 5; }
   3989 fi
   3990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3991 fi
   3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3993 $as_echo "$ac_cv_objext" >&6; }
   3994 OBJEXT=$ac_cv_objext
   3995 ac_objext=$OBJEXT
   3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3997 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3998 if ${ac_cv_c_compiler_gnu+:} false; then :
   3999   $as_echo_n "(cached) " >&6
   4000 else
   4001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4002 /* end confdefs.h.  */
   4003 
   4004 int
   4005 main ()
   4006 {
   4007 #ifndef __GNUC__
   4008        choke me
   4009 #endif
   4010 
   4011   ;
   4012   return 0;
   4013 }
   4014 _ACEOF
   4015 if ac_fn_c_try_compile "$LINENO"; then :
   4016   ac_compiler_gnu=yes
   4017 else
   4018   ac_compiler_gnu=no
   4019 fi
   4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4022 
   4023 fi
   4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4025 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4026 if test $ac_compiler_gnu = yes; then
   4027   GCC=yes
   4028 else
   4029   GCC=
   4030 fi
   4031 ac_test_CFLAGS=${CFLAGS+set}
   4032 ac_save_CFLAGS=$CFLAGS
   4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4034 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4035 if ${ac_cv_prog_cc_g+:} false; then :
   4036   $as_echo_n "(cached) " >&6
   4037 else
   4038   ac_save_c_werror_flag=$ac_c_werror_flag
   4039    ac_c_werror_flag=yes
   4040    ac_cv_prog_cc_g=no
   4041    CFLAGS="-g"
   4042    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4043 /* end confdefs.h.  */
   4044 
   4045 int
   4046 main ()
   4047 {
   4048 
   4049   ;
   4050   return 0;
   4051 }
   4052 _ACEOF
   4053 if ac_fn_c_try_compile "$LINENO"; then :
   4054   ac_cv_prog_cc_g=yes
   4055 else
   4056   CFLAGS=""
   4057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4058 /* end confdefs.h.  */
   4059 
   4060 int
   4061 main ()
   4062 {
   4063 
   4064   ;
   4065   return 0;
   4066 }
   4067 _ACEOF
   4068 if ac_fn_c_try_compile "$LINENO"; then :
   4069 
   4070 else
   4071   ac_c_werror_flag=$ac_save_c_werror_flag
   4072 	 CFLAGS="-g"
   4073 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4074 /* end confdefs.h.  */
   4075 
   4076 int
   4077 main ()
   4078 {
   4079 
   4080   ;
   4081   return 0;
   4082 }
   4083 _ACEOF
   4084 if ac_fn_c_try_compile "$LINENO"; then :
   4085   ac_cv_prog_cc_g=yes
   4086 fi
   4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4088 fi
   4089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4090 fi
   4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4092    ac_c_werror_flag=$ac_save_c_werror_flag
   4093 fi
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4095 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4096 if test "$ac_test_CFLAGS" = set; then
   4097   CFLAGS=$ac_save_CFLAGS
   4098 elif test $ac_cv_prog_cc_g = yes; then
   4099   if test "$GCC" = yes; then
   4100     CFLAGS="-g -O2"
   4101   else
   4102     CFLAGS="-g"
   4103   fi
   4104 else
   4105   if test "$GCC" = yes; then
   4106     CFLAGS="-O2"
   4107   else
   4108     CFLAGS=
   4109   fi
   4110 fi
   4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4113 if ${ac_cv_prog_cc_c89+:} false; then :
   4114   $as_echo_n "(cached) " >&6
   4115 else
   4116   ac_cv_prog_cc_c89=no
   4117 ac_save_CC=$CC
   4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4119 /* end confdefs.h.  */
   4120 #include <stdarg.h>
   4121 #include <stdio.h>
   4122 #include <sys/types.h>
   4123 #include <sys/stat.h>
   4124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4125 struct buf { int x; };
   4126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4127 static char *e (p, i)
   4128      char **p;
   4129      int i;
   4130 {
   4131   return p[i];
   4132 }
   4133 static char *f (char * (*g) (char **, int), char **p, ...)
   4134 {
   4135   char *s;
   4136   va_list v;
   4137   va_start (v,p);
   4138   s = g (p, va_arg (v,int));
   4139   va_end (v);
   4140   return s;
   4141 }
   4142 
   4143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4144    function prototypes and stuff, but not '\xHH' hex character constants.
   4145    These don't provoke an error unfortunately, instead are silently treated
   4146    as 'x'.  The following induces an error, until -std is added to get
   4147    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4148    array size at least.  It's necessary to write '\x00'==0 to get something
   4149    that's true only with -std.  */
   4150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4151 
   4152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4153    inside strings and character constants.  */
   4154 #define FOO(x) 'x'
   4155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4156 
   4157 int test (int i, double x);
   4158 struct s1 {int (*f) (int a);};
   4159 struct s2 {int (*f) (double a);};
   4160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4161 int argc;
   4162 char **argv;
   4163 int
   4164 main ()
   4165 {
   4166 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4167   ;
   4168   return 0;
   4169 }
   4170 _ACEOF
   4171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4172 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4173 do
   4174   CC="$ac_save_CC $ac_arg"
   4175   if ac_fn_c_try_compile "$LINENO"; then :
   4176   ac_cv_prog_cc_c89=$ac_arg
   4177 fi
   4178 rm -f core conftest.err conftest.$ac_objext
   4179   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4180 done
   4181 rm -f conftest.$ac_ext
   4182 CC=$ac_save_CC
   4183 
   4184 fi
   4185 # AC_CACHE_VAL
   4186 case "x$ac_cv_prog_cc_c89" in
   4187   x)
   4188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4189 $as_echo "none needed" >&6; } ;;
   4190   xno)
   4191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4192 $as_echo "unsupported" >&6; } ;;
   4193   *)
   4194     CC="$CC $ac_cv_prog_cc_c89"
   4195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4196 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4197 esac
   4198 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4199 
   4200 fi
   4201 
   4202 ac_ext=c
   4203 ac_cpp='$CPP $CPPFLAGS'
   4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4207 
   4208 depcc="$CC"   am_compiler_list=
   4209 
   4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4211 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4212 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4213   $as_echo_n "(cached) " >&6
   4214 else
   4215   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4216   # We make a subdir and do the tests there.  Otherwise we can end up
   4217   # making bogus files that we don't know about and never remove.  For
   4218   # instance it was reported that on HP-UX the gcc test will end up
   4219   # making a dummy file named `D' -- because `-MD' means `put the output
   4220   # in D'.
   4221   mkdir conftest.dir
   4222   # Copy depcomp to subdir because otherwise we won't find it if we're
   4223   # using a relative directory.
   4224   cp "$am_depcomp" conftest.dir
   4225   cd conftest.dir
   4226   # We will build objects and dependencies in a subdirectory because
   4227   # it helps to detect inapplicable dependency modes.  For instance
   4228   # both Tru64's cc and ICC support -MD to output dependencies as a
   4229   # side effect of compilation, but ICC will put the dependencies in
   4230   # the current directory while Tru64 will put them in the object
   4231   # directory.
   4232   mkdir sub
   4233 
   4234   am_cv_CC_dependencies_compiler_type=none
   4235   if test "$am_compiler_list" = ""; then
   4236      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4237   fi
   4238   am__universal=false
   4239   case " $depcc " in #(
   4240      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4241      esac
   4242 
   4243   for depmode in $am_compiler_list; do
   4244     # Setup a source with many dependencies, because some compilers
   4245     # like to wrap large dependency lists on column 80 (with \), and
   4246     # we should not choose a depcomp mode which is confused by this.
   4247     #
   4248     # We need to recreate these files for each test, as the compiler may
   4249     # overwrite some of them when testing with obscure command lines.
   4250     # This happens at least with the AIX C compiler.
   4251     : > sub/conftest.c
   4252     for i in 1 2 3 4 5 6; do
   4253       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4254       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4255       # Solaris 8's {/usr,}/bin/sh.
   4256       touch sub/conftst$i.h
   4257     done
   4258     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4259 
   4260     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4261     # mode.  It turns out that the SunPro C++ compiler does not properly
   4262     # handle `-M -o', and we need to detect this.  Also, some Intel
   4263     # versions had trouble with output in subdirs
   4264     am__obj=sub/conftest.${OBJEXT-o}
   4265     am__minus_obj="-o $am__obj"
   4266     case $depmode in
   4267     gcc)
   4268       # This depmode causes a compiler race in universal mode.
   4269       test "$am__universal" = false || continue
   4270       ;;
   4271     nosideeffect)
   4272       # after this tag, mechanisms are not by side-effect, so they'll
   4273       # only be used when explicitly requested
   4274       if test "x$enable_dependency_tracking" = xyes; then
   4275 	continue
   4276       else
   4277 	break
   4278       fi
   4279       ;;
   4280     msvisualcpp | msvcmsys)
   4281       # This compiler won't grok `-c -o', but also, the minuso test has
   4282       # not run yet.  These depmodes are late enough in the game, and
   4283       # so weak that their functioning should not be impacted.
   4284       am__obj=conftest.${OBJEXT-o}
   4285       am__minus_obj=
   4286       ;;
   4287     none) break ;;
   4288     esac
   4289     if depmode=$depmode \
   4290        source=sub/conftest.c object=$am__obj \
   4291        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4292        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4293          >/dev/null 2>conftest.err &&
   4294        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4295        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4296        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4297        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4298       # icc doesn't choke on unknown options, it will just issue warnings
   4299       # or remarks (even with -Werror).  So we grep stderr for any message
   4300       # that says an option was ignored or not supported.
   4301       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4302       #   icc: Command line warning: ignoring option '-M'; no argument required
   4303       # The diagnosis changed in icc 8.0:
   4304       #   icc: Command line remark: option '-MP' not supported
   4305       if (grep 'ignoring option' conftest.err ||
   4306           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4307         am_cv_CC_dependencies_compiler_type=$depmode
   4308         break
   4309       fi
   4310     fi
   4311   done
   4312 
   4313   cd ..
   4314   rm -rf conftest.dir
   4315 else
   4316   am_cv_CC_dependencies_compiler_type=none
   4317 fi
   4318 
   4319 fi
   4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4321 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4322 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4323 
   4324  if
   4325   test "x$enable_dependency_tracking" != xno \
   4326   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4327   am__fastdepCC_TRUE=
   4328   am__fastdepCC_FALSE='#'
   4329 else
   4330   am__fastdepCC_TRUE='#'
   4331   am__fastdepCC_FALSE=
   4332 fi
   4333 
   4334 
   4335    case $ac_cv_prog_cc_stdc in #(
   4336   no) :
   4337     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
   4338   *) :
   4339     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4340 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4341 if ${ac_cv_prog_cc_c99+:} false; then :
   4342   $as_echo_n "(cached) " >&6
   4343 else
   4344   ac_cv_prog_cc_c99=no
   4345 ac_save_CC=$CC
   4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4347 /* end confdefs.h.  */
   4348 #include <stdarg.h>
   4349 #include <stdbool.h>
   4350 #include <stdlib.h>
   4351 #include <wchar.h>
   4352 #include <stdio.h>
   4353 
   4354 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4355 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4356 #define showlist(...) puts (#__VA_ARGS__)
   4357 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4358 static void
   4359 test_varargs_macros (void)
   4360 {
   4361   int x = 1234;
   4362   int y = 5678;
   4363   debug ("Flag");
   4364   debug ("X = %d\n", x);
   4365   showlist (The first, second, and third items.);
   4366   report (x>y, "x is %d but y is %d", x, y);
   4367 }
   4368 
   4369 // Check long long types.
   4370 #define BIG64 18446744073709551615ull
   4371 #define BIG32 4294967295ul
   4372 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4373 #if !BIG_OK
   4374   your preprocessor is broken;
   4375 #endif
   4376 #if BIG_OK
   4377 #else
   4378   your preprocessor is broken;
   4379 #endif
   4380 static long long int bignum = -9223372036854775807LL;
   4381 static unsigned long long int ubignum = BIG64;
   4382 
   4383 struct incomplete_array
   4384 {
   4385   int datasize;
   4386   double data[];
   4387 };
   4388 
   4389 struct named_init {
   4390   int number;
   4391   const wchar_t *name;
   4392   double average;
   4393 };
   4394 
   4395 typedef const char *ccp;
   4396 
   4397 static inline int
   4398 test_restrict (ccp restrict text)
   4399 {
   4400   // See if C++-style comments work.
   4401   // Iterate through items via the restricted pointer.
   4402   // Also check for declarations in for loops.
   4403   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4404     continue;
   4405   return 0;
   4406 }
   4407 
   4408 // Check varargs and va_copy.
   4409 static void
   4410 test_varargs (const char *format, ...)
   4411 {
   4412   va_list args;
   4413   va_start (args, format);
   4414   va_list args_copy;
   4415   va_copy (args_copy, args);
   4416 
   4417   const char *str;
   4418   int number;
   4419   float fnumber;
   4420 
   4421   while (*format)
   4422     {
   4423       switch (*format++)
   4424 	{
   4425 	case 's': // string
   4426 	  str = va_arg (args_copy, const char *);
   4427 	  break;
   4428 	case 'd': // int
   4429 	  number = va_arg (args_copy, int);
   4430 	  break;
   4431 	case 'f': // float
   4432 	  fnumber = va_arg (args_copy, double);
   4433 	  break;
   4434 	default:
   4435 	  break;
   4436 	}
   4437     }
   4438   va_end (args_copy);
   4439   va_end (args);
   4440 }
   4441 
   4442 int
   4443 main ()
   4444 {
   4445 
   4446   // Check bool.
   4447   _Bool success = false;
   4448 
   4449   // Check restrict.
   4450   if (test_restrict ("String literal") == 0)
   4451     success = true;
   4452   char *restrict newvar = "Another string";
   4453 
   4454   // Check varargs.
   4455   test_varargs ("s, d' f .", "string", 65, 34.234);
   4456   test_varargs_macros ();
   4457 
   4458   // Check flexible array members.
   4459   struct incomplete_array *ia =
   4460     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4461   ia->datasize = 10;
   4462   for (int i = 0; i < ia->datasize; ++i)
   4463     ia->data[i] = i * 1.234;
   4464 
   4465   // Check named initializers.
   4466   struct named_init ni = {
   4467     .number = 34,
   4468     .name = L"Test wide string",
   4469     .average = 543.34343,
   4470   };
   4471 
   4472   ni.number = 58;
   4473 
   4474   int dynamic_array[ni.number];
   4475   dynamic_array[ni.number - 1] = 543;
   4476 
   4477   // work around unused variable warnings
   4478   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4479 	  || dynamic_array[ni.number - 1] != 543);
   4480 
   4481   ;
   4482   return 0;
   4483 }
   4484 _ACEOF
   4485 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4486 do
   4487   CC="$ac_save_CC $ac_arg"
   4488   if ac_fn_c_try_compile "$LINENO"; then :
   4489   ac_cv_prog_cc_c99=$ac_arg
   4490 fi
   4491 rm -f core conftest.err conftest.$ac_objext
   4492   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4493 done
   4494 rm -f conftest.$ac_ext
   4495 CC=$ac_save_CC
   4496 
   4497 fi
   4498 # AC_CACHE_VAL
   4499 case "x$ac_cv_prog_cc_c99" in
   4500   x)
   4501     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4502 $as_echo "none needed" >&6; } ;;
   4503   xno)
   4504     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4505 $as_echo "unsupported" >&6; } ;;
   4506   *)
   4507     CC="$CC $ac_cv_prog_cc_c99"
   4508     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4509 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4510 esac
   4511 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4512   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4513 else
   4514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4515 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4516 if ${ac_cv_prog_cc_c89+:} false; then :
   4517   $as_echo_n "(cached) " >&6
   4518 else
   4519   ac_cv_prog_cc_c89=no
   4520 ac_save_CC=$CC
   4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4522 /* end confdefs.h.  */
   4523 #include <stdarg.h>
   4524 #include <stdio.h>
   4525 #include <sys/types.h>
   4526 #include <sys/stat.h>
   4527 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4528 struct buf { int x; };
   4529 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4530 static char *e (p, i)
   4531      char **p;
   4532      int i;
   4533 {
   4534   return p[i];
   4535 }
   4536 static char *f (char * (*g) (char **, int), char **p, ...)
   4537 {
   4538   char *s;
   4539   va_list v;
   4540   va_start (v,p);
   4541   s = g (p, va_arg (v,int));
   4542   va_end (v);
   4543   return s;
   4544 }
   4545 
   4546 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4547    function prototypes and stuff, but not '\xHH' hex character constants.
   4548    These don't provoke an error unfortunately, instead are silently treated
   4549    as 'x'.  The following induces an error, until -std is added to get
   4550    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4551    array size at least.  It's necessary to write '\x00'==0 to get something
   4552    that's true only with -std.  */
   4553 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4554 
   4555 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4556    inside strings and character constants.  */
   4557 #define FOO(x) 'x'
   4558 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4559 
   4560 int test (int i, double x);
   4561 struct s1 {int (*f) (int a);};
   4562 struct s2 {int (*f) (double a);};
   4563 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4564 int argc;
   4565 char **argv;
   4566 int
   4567 main ()
   4568 {
   4569 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4570   ;
   4571   return 0;
   4572 }
   4573 _ACEOF
   4574 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4575 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4576 do
   4577   CC="$ac_save_CC $ac_arg"
   4578   if ac_fn_c_try_compile "$LINENO"; then :
   4579   ac_cv_prog_cc_c89=$ac_arg
   4580 fi
   4581 rm -f core conftest.err conftest.$ac_objext
   4582   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4583 done
   4584 rm -f conftest.$ac_ext
   4585 CC=$ac_save_CC
   4586 
   4587 fi
   4588 # AC_CACHE_VAL
   4589 case "x$ac_cv_prog_cc_c89" in
   4590   x)
   4591     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4592 $as_echo "none needed" >&6; } ;;
   4593   xno)
   4594     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4595 $as_echo "unsupported" >&6; } ;;
   4596   *)
   4597     CC="$CC $ac_cv_prog_cc_c89"
   4598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4599 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4600 esac
   4601 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4602   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4603 else
   4604   ac_cv_prog_cc_stdc=no
   4605 fi
   4606 
   4607 fi
   4608  ;;
   4609 esac
   4610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
   4611 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
   4612   if ${ac_cv_prog_cc_stdc+:} false; then :
   4613   $as_echo_n "(cached) " >&6
   4614 fi
   4615 
   4616   case $ac_cv_prog_cc_stdc in #(
   4617   no) :
   4618     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4619 $as_echo "unsupported" >&6; } ;; #(
   4620   '') :
   4621     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4622 $as_echo "none needed" >&6; } ;; #(
   4623   *) :
   4624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
   4625 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
   4626 esac
   4627 
   4628 
   4629 ac_ext=c
   4630 ac_cpp='$CPP $CPPFLAGS'
   4631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4635 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4636 # On Suns, sometimes $CPP names a directory.
   4637 if test -n "$CPP" && test -d "$CPP"; then
   4638   CPP=
   4639 fi
   4640 if test -z "$CPP"; then
   4641   if ${ac_cv_prog_CPP+:} false; then :
   4642   $as_echo_n "(cached) " >&6
   4643 else
   4644       # Double quotes because CPP needs to be expanded
   4645     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4646     do
   4647       ac_preproc_ok=false
   4648 for ac_c_preproc_warn_flag in '' yes
   4649 do
   4650   # Use a header file that comes with gcc, so configuring glibc
   4651   # with a fresh cross-compiler works.
   4652   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4653   # <limits.h> exists even on freestanding compilers.
   4654   # On the NeXT, cc -E runs the code through the compiler's parser,
   4655   # not just through cpp. "Syntax error" is here to catch this case.
   4656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4657 /* end confdefs.h.  */
   4658 #ifdef __STDC__
   4659 # include <limits.h>
   4660 #else
   4661 # include <assert.h>
   4662 #endif
   4663 		     Syntax error
   4664 _ACEOF
   4665 if ac_fn_c_try_cpp "$LINENO"; then :
   4666 
   4667 else
   4668   # Broken: fails on valid input.
   4669 continue
   4670 fi
   4671 rm -f conftest.err conftest.i conftest.$ac_ext
   4672 
   4673   # OK, works on sane cases.  Now check whether nonexistent headers
   4674   # can be detected and how.
   4675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4676 /* end confdefs.h.  */
   4677 #include <ac_nonexistent.h>
   4678 _ACEOF
   4679 if ac_fn_c_try_cpp "$LINENO"; then :
   4680   # Broken: success on invalid input.
   4681 continue
   4682 else
   4683   # Passes both tests.
   4684 ac_preproc_ok=:
   4685 break
   4686 fi
   4687 rm -f conftest.err conftest.i conftest.$ac_ext
   4688 
   4689 done
   4690 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4691 rm -f conftest.i conftest.err conftest.$ac_ext
   4692 if $ac_preproc_ok; then :
   4693   break
   4694 fi
   4695 
   4696     done
   4697     ac_cv_prog_CPP=$CPP
   4698 
   4699 fi
   4700   CPP=$ac_cv_prog_CPP
   4701 else
   4702   ac_cv_prog_CPP=$CPP
   4703 fi
   4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4705 $as_echo "$CPP" >&6; }
   4706 ac_preproc_ok=false
   4707 for ac_c_preproc_warn_flag in '' yes
   4708 do
   4709   # Use a header file that comes with gcc, so configuring glibc
   4710   # with a fresh cross-compiler works.
   4711   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4712   # <limits.h> exists even on freestanding compilers.
   4713   # On the NeXT, cc -E runs the code through the compiler's parser,
   4714   # not just through cpp. "Syntax error" is here to catch this case.
   4715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4716 /* end confdefs.h.  */
   4717 #ifdef __STDC__
   4718 # include <limits.h>
   4719 #else
   4720 # include <assert.h>
   4721 #endif
   4722 		     Syntax error
   4723 _ACEOF
   4724 if ac_fn_c_try_cpp "$LINENO"; then :
   4725 
   4726 else
   4727   # Broken: fails on valid input.
   4728 continue
   4729 fi
   4730 rm -f conftest.err conftest.i conftest.$ac_ext
   4731 
   4732   # OK, works on sane cases.  Now check whether nonexistent headers
   4733   # can be detected and how.
   4734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4735 /* end confdefs.h.  */
   4736 #include <ac_nonexistent.h>
   4737 _ACEOF
   4738 if ac_fn_c_try_cpp "$LINENO"; then :
   4739   # Broken: success on invalid input.
   4740 continue
   4741 else
   4742   # Passes both tests.
   4743 ac_preproc_ok=:
   4744 break
   4745 fi
   4746 rm -f conftest.err conftest.i conftest.$ac_ext
   4747 
   4748 done
   4749 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4750 rm -f conftest.i conftest.err conftest.$ac_ext
   4751 if $ac_preproc_ok; then :
   4752 
   4753 else
   4754   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4756 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4757 See \`config.log' for more details" "$LINENO" 5; }
   4758 fi
   4759 
   4760 ac_ext=c
   4761 ac_cpp='$CPP $CPPFLAGS'
   4762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4765 
   4766 
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4768 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4769 if ${ac_cv_path_GREP+:} false; then :
   4770   $as_echo_n "(cached) " >&6
   4771 else
   4772   if test -z "$GREP"; then
   4773   ac_path_GREP_found=false
   4774   # Loop through the user's path and test for each of PROGNAME-LIST
   4775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4776 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4777 do
   4778   IFS=$as_save_IFS
   4779   test -z "$as_dir" && as_dir=.
   4780     for ac_prog in grep ggrep; do
   4781     for ac_exec_ext in '' $ac_executable_extensions; do
   4782       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4783       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4784 # Check for GNU ac_path_GREP and select it if it is found.
   4785   # Check for GNU $ac_path_GREP
   4786 case `"$ac_path_GREP" --version 2>&1` in
   4787 *GNU*)
   4788   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4789 *)
   4790   ac_count=0
   4791   $as_echo_n 0123456789 >"conftest.in"
   4792   while :
   4793   do
   4794     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4795     mv "conftest.tmp" "conftest.in"
   4796     cp "conftest.in" "conftest.nl"
   4797     $as_echo 'GREP' >> "conftest.nl"
   4798     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4799     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4800     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4801     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4802       # Best one so far, save it but keep looking for a better one
   4803       ac_cv_path_GREP="$ac_path_GREP"
   4804       ac_path_GREP_max=$ac_count
   4805     fi
   4806     # 10*(2^10) chars as input seems more than enough
   4807     test $ac_count -gt 10 && break
   4808   done
   4809   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4810 esac
   4811 
   4812       $ac_path_GREP_found && break 3
   4813     done
   4814   done
   4815   done
   4816 IFS=$as_save_IFS
   4817   if test -z "$ac_cv_path_GREP"; then
   4818     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4819   fi
   4820 else
   4821   ac_cv_path_GREP=$GREP
   4822 fi
   4823 
   4824 fi
   4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4826 $as_echo "$ac_cv_path_GREP" >&6; }
   4827  GREP="$ac_cv_path_GREP"
   4828 
   4829 
   4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4831 $as_echo_n "checking for egrep... " >&6; }
   4832 if ${ac_cv_path_EGREP+:} false; then :
   4833   $as_echo_n "(cached) " >&6
   4834 else
   4835   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4836    then ac_cv_path_EGREP="$GREP -E"
   4837    else
   4838      if test -z "$EGREP"; then
   4839   ac_path_EGREP_found=false
   4840   # Loop through the user's path and test for each of PROGNAME-LIST
   4841   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4843 do
   4844   IFS=$as_save_IFS
   4845   test -z "$as_dir" && as_dir=.
   4846     for ac_prog in egrep; do
   4847     for ac_exec_ext in '' $ac_executable_extensions; do
   4848       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4849       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4850 # Check for GNU ac_path_EGREP and select it if it is found.
   4851   # Check for GNU $ac_path_EGREP
   4852 case `"$ac_path_EGREP" --version 2>&1` in
   4853 *GNU*)
   4854   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4855 *)
   4856   ac_count=0
   4857   $as_echo_n 0123456789 >"conftest.in"
   4858   while :
   4859   do
   4860     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4861     mv "conftest.tmp" "conftest.in"
   4862     cp "conftest.in" "conftest.nl"
   4863     $as_echo 'EGREP' >> "conftest.nl"
   4864     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4865     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4866     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4867     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4868       # Best one so far, save it but keep looking for a better one
   4869       ac_cv_path_EGREP="$ac_path_EGREP"
   4870       ac_path_EGREP_max=$ac_count
   4871     fi
   4872     # 10*(2^10) chars as input seems more than enough
   4873     test $ac_count -gt 10 && break
   4874   done
   4875   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4876 esac
   4877 
   4878       $ac_path_EGREP_found && break 3
   4879     done
   4880   done
   4881   done
   4882 IFS=$as_save_IFS
   4883   if test -z "$ac_cv_path_EGREP"; then
   4884     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4885   fi
   4886 else
   4887   ac_cv_path_EGREP=$EGREP
   4888 fi
   4889 
   4890    fi
   4891 fi
   4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4893 $as_echo "$ac_cv_path_EGREP" >&6; }
   4894  EGREP="$ac_cv_path_EGREP"
   4895 
   4896 
   4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4898 $as_echo_n "checking for ANSI C header files... " >&6; }
   4899 if ${ac_cv_header_stdc+:} false; then :
   4900   $as_echo_n "(cached) " >&6
   4901 else
   4902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4903 /* end confdefs.h.  */
   4904 #include <stdlib.h>
   4905 #include <stdarg.h>
   4906 #include <string.h>
   4907 #include <float.h>
   4908 
   4909 int
   4910 main ()
   4911 {
   4912 
   4913   ;
   4914   return 0;
   4915 }
   4916 _ACEOF
   4917 if ac_fn_c_try_compile "$LINENO"; then :
   4918   ac_cv_header_stdc=yes
   4919 else
   4920   ac_cv_header_stdc=no
   4921 fi
   4922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4923 
   4924 if test $ac_cv_header_stdc = yes; then
   4925   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4927 /* end confdefs.h.  */
   4928 #include <string.h>
   4929 
   4930 _ACEOF
   4931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4932   $EGREP "memchr" >/dev/null 2>&1; then :
   4933 
   4934 else
   4935   ac_cv_header_stdc=no
   4936 fi
   4937 rm -f conftest*
   4938 
   4939 fi
   4940 
   4941 if test $ac_cv_header_stdc = yes; then
   4942   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4944 /* end confdefs.h.  */
   4945 #include <stdlib.h>
   4946 
   4947 _ACEOF
   4948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4949   $EGREP "free" >/dev/null 2>&1; then :
   4950 
   4951 else
   4952   ac_cv_header_stdc=no
   4953 fi
   4954 rm -f conftest*
   4955 
   4956 fi
   4957 
   4958 if test $ac_cv_header_stdc = yes; then
   4959   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4960   if test "$cross_compiling" = yes; then :
   4961   :
   4962 else
   4963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4964 /* end confdefs.h.  */
   4965 #include <ctype.h>
   4966 #include <stdlib.h>
   4967 #if ((' ' & 0x0FF) == 0x020)
   4968 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4969 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4970 #else
   4971 # define ISLOWER(c) \
   4972 		   (('a' <= (c) && (c) <= 'i') \
   4973 		     || ('j' <= (c) && (c) <= 'r') \
   4974 		     || ('s' <= (c) && (c) <= 'z'))
   4975 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4976 #endif
   4977 
   4978 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4979 int
   4980 main ()
   4981 {
   4982   int i;
   4983   for (i = 0; i < 256; i++)
   4984     if (XOR (islower (i), ISLOWER (i))
   4985 	|| toupper (i) != TOUPPER (i))
   4986       return 2;
   4987   return 0;
   4988 }
   4989 _ACEOF
   4990 if ac_fn_c_try_run "$LINENO"; then :
   4991 
   4992 else
   4993   ac_cv_header_stdc=no
   4994 fi
   4995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4996   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4997 fi
   4998 
   4999 fi
   5000 fi
   5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5002 $as_echo "$ac_cv_header_stdc" >&6; }
   5003 if test $ac_cv_header_stdc = yes; then
   5004 
   5005 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   5006 
   5007 fi
   5008 
   5009 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5010 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5011 		  inttypes.h stdint.h unistd.h
   5012 do :
   5013   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5014 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5015 "
   5016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5017   cat >>confdefs.h <<_ACEOF
   5018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5019 _ACEOF
   5020 
   5021 fi
   5022 
   5023 done
   5024 
   5025 
   5026 
   5027   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   5028 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   5029   MINIX=yes
   5030 else
   5031   MINIX=
   5032 fi
   5033 
   5034 
   5035   if test "$MINIX" = yes; then
   5036 
   5037 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   5038 
   5039 
   5040 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5041 
   5042 
   5043 $as_echo "#define _MINIX 1" >>confdefs.h
   5044 
   5045   fi
   5046 
   5047 
   5048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5049 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5050 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   5051   $as_echo_n "(cached) " >&6
   5052 else
   5053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5054 /* end confdefs.h.  */
   5055 
   5056 #	  define __EXTENSIONS__ 1
   5057 	  $ac_includes_default
   5058 int
   5059 main ()
   5060 {
   5061 
   5062   ;
   5063   return 0;
   5064 }
   5065 _ACEOF
   5066 if ac_fn_c_try_compile "$LINENO"; then :
   5067   ac_cv_safe_to_define___extensions__=yes
   5068 else
   5069   ac_cv_safe_to_define___extensions__=no
   5070 fi
   5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5072 fi
   5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5074 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   5075   test $ac_cv_safe_to_define___extensions__ = yes &&
   5076     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   5077 
   5078   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   5079 
   5080   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   5081 
   5082   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5083 
   5084   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   5085 
   5086 
   5087 if test "x$CC" != xcc; then
   5088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   5089 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   5090 else
   5091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   5092 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   5093 fi
   5094 set dummy $CC; ac_cc=`$as_echo "$2" |
   5095 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   5096 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
   5097   $as_echo_n "(cached) " >&6
   5098 else
   5099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5100 /* end confdefs.h.  */
   5101 
   5102 int
   5103 main ()
   5104 {
   5105 
   5106   ;
   5107   return 0;
   5108 }
   5109 _ACEOF
   5110 # Make sure it works both with $CC and with simple cc.
   5111 # We do the test twice because some compilers refuse to overwrite an
   5112 # existing .o file with -o, though they will create one.
   5113 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   5114 rm -f conftest2.*
   5115 if { { case "(($ac_try" in
   5116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5117   *) ac_try_echo=$ac_try;;
   5118 esac
   5119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5120 $as_echo "$ac_try_echo"; } >&5
   5121   (eval "$ac_try") 2>&5
   5122   ac_status=$?
   5123   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5124   test $ac_status = 0; } &&
   5125    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   5126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5127   *) ac_try_echo=$ac_try;;
   5128 esac
   5129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5130 $as_echo "$ac_try_echo"; } >&5
   5131   (eval "$ac_try") 2>&5
   5132   ac_status=$?
   5133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5134   test $ac_status = 0; };
   5135 then
   5136   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   5137   if test "x$CC" != xcc; then
   5138     # Test first that cc exists at all.
   5139     if { ac_try='cc -c conftest.$ac_ext >&5'
   5140   { { case "(($ac_try" in
   5141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5142   *) ac_try_echo=$ac_try;;
   5143 esac
   5144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5145 $as_echo "$ac_try_echo"; } >&5
   5146   (eval "$ac_try") 2>&5
   5147   ac_status=$?
   5148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5149   test $ac_status = 0; }; }; then
   5150       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   5151       rm -f conftest2.*
   5152       if { { case "(($ac_try" in
   5153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5154   *) ac_try_echo=$ac_try;;
   5155 esac
   5156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5157 $as_echo "$ac_try_echo"; } >&5
   5158   (eval "$ac_try") 2>&5
   5159   ac_status=$?
   5160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5161   test $ac_status = 0; } &&
   5162 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   5163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5164   *) ac_try_echo=$ac_try;;
   5165 esac
   5166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5167 $as_echo "$ac_try_echo"; } >&5
   5168   (eval "$ac_try") 2>&5
   5169   ac_status=$?
   5170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5171   test $ac_status = 0; };
   5172       then
   5173 	# cc works too.
   5174 	:
   5175       else
   5176 	# cc exists but doesn't like -o.
   5177 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   5178       fi
   5179     fi
   5180   fi
   5181 else
   5182   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   5183 fi
   5184 rm -f core conftest*
   5185 
   5186 fi
   5187 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   5188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5189 $as_echo "yes" >&6; }
   5190 else
   5191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5192 $as_echo "no" >&6; }
   5193 
   5194 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   5195 
   5196 fi
   5197 
   5198 # FIXME: we rely on the cache variable name because
   5199 # there is no other way.
   5200 set dummy $CC
   5201 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   5202 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
   5203 if test "$am_t" != yes; then
   5204    # Losing compiler, so override with the script.
   5205    # FIXME: It is wrong to rewrite CC.
   5206    # But if we don't then we get into trouble of one sort or another.
   5207    # A longer-term fix would be to have automake use am__CC in this case,
   5208    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5209    CC="$am_aux_dir/compile $CC"
   5210 fi
   5211 
   5212 
   5213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   5214 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   5215 if ${ac_cv_c_bigendian+:} false; then :
   5216   $as_echo_n "(cached) " >&6
   5217 else
   5218   ac_cv_c_bigendian=unknown
   5219     # See if we're dealing with a universal compiler.
   5220     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5221 /* end confdefs.h.  */
   5222 #ifndef __APPLE_CC__
   5223 	       not a universal capable compiler
   5224 	     #endif
   5225 	     typedef int dummy;
   5226 
   5227 _ACEOF
   5228 if ac_fn_c_try_compile "$LINENO"; then :
   5229 
   5230 	# Check for potential -arch flags.  It is not universal unless
   5231 	# there are at least two -arch flags with different values.
   5232 	ac_arch=
   5233 	ac_prev=
   5234 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   5235 	 if test -n "$ac_prev"; then
   5236 	   case $ac_word in
   5237 	     i?86 | x86_64 | ppc | ppc64)
   5238 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   5239 		 ac_arch=$ac_word
   5240 	       else
   5241 		 ac_cv_c_bigendian=universal
   5242 		 break
   5243 	       fi
   5244 	       ;;
   5245 	   esac
   5246 	   ac_prev=
   5247 	 elif test "x$ac_word" = "x-arch"; then
   5248 	   ac_prev=arch
   5249 	 fi
   5250        done
   5251 fi
   5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5253     if test $ac_cv_c_bigendian = unknown; then
   5254       # See if sys/param.h defines the BYTE_ORDER macro.
   5255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5256 /* end confdefs.h.  */
   5257 #include <sys/types.h>
   5258 	     #include <sys/param.h>
   5259 
   5260 int
   5261 main ()
   5262 {
   5263 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   5264 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   5265 		     && LITTLE_ENDIAN)
   5266 	      bogus endian macros
   5267 	     #endif
   5268 
   5269   ;
   5270   return 0;
   5271 }
   5272 _ACEOF
   5273 if ac_fn_c_try_compile "$LINENO"; then :
   5274   # It does; now see whether it defined to BIG_ENDIAN or not.
   5275 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5276 /* end confdefs.h.  */
   5277 #include <sys/types.h>
   5278 		#include <sys/param.h>
   5279 
   5280 int
   5281 main ()
   5282 {
   5283 #if BYTE_ORDER != BIG_ENDIAN
   5284 		 not big endian
   5285 		#endif
   5286 
   5287   ;
   5288   return 0;
   5289 }
   5290 _ACEOF
   5291 if ac_fn_c_try_compile "$LINENO"; then :
   5292   ac_cv_c_bigendian=yes
   5293 else
   5294   ac_cv_c_bigendian=no
   5295 fi
   5296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5297 fi
   5298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5299     fi
   5300     if test $ac_cv_c_bigendian = unknown; then
   5301       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   5302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5303 /* end confdefs.h.  */
   5304 #include <limits.h>
   5305 
   5306 int
   5307 main ()
   5308 {
   5309 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   5310 	      bogus endian macros
   5311 	     #endif
   5312 
   5313   ;
   5314   return 0;
   5315 }
   5316 _ACEOF
   5317 if ac_fn_c_try_compile "$LINENO"; then :
   5318   # It does; now see whether it defined to _BIG_ENDIAN or not.
   5319 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5320 /* end confdefs.h.  */
   5321 #include <limits.h>
   5322 
   5323 int
   5324 main ()
   5325 {
   5326 #ifndef _BIG_ENDIAN
   5327 		 not big endian
   5328 		#endif
   5329 
   5330   ;
   5331   return 0;
   5332 }
   5333 _ACEOF
   5334 if ac_fn_c_try_compile "$LINENO"; then :
   5335   ac_cv_c_bigendian=yes
   5336 else
   5337   ac_cv_c_bigendian=no
   5338 fi
   5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5340 fi
   5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5342     fi
   5343     if test $ac_cv_c_bigendian = unknown; then
   5344       # Compile a test program.
   5345       if test "$cross_compiling" = yes; then :
   5346   # Try to guess by grepping values from an object file.
   5347 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5348 /* end confdefs.h.  */
   5349 short int ascii_mm[] =
   5350 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   5351 		short int ascii_ii[] =
   5352 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   5353 		int use_ascii (int i) {
   5354 		  return ascii_mm[i] + ascii_ii[i];
   5355 		}
   5356 		short int ebcdic_ii[] =
   5357 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   5358 		short int ebcdic_mm[] =
   5359 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   5360 		int use_ebcdic (int i) {
   5361 		  return ebcdic_mm[i] + ebcdic_ii[i];
   5362 		}
   5363 		extern int foo;
   5364 
   5365 int
   5366 main ()
   5367 {
   5368 return use_ascii (foo) == use_ebcdic (foo);
   5369   ;
   5370   return 0;
   5371 }
   5372 _ACEOF
   5373 if ac_fn_c_try_compile "$LINENO"; then :
   5374   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   5375 	      ac_cv_c_bigendian=yes
   5376 	    fi
   5377 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   5378 	      if test "$ac_cv_c_bigendian" = unknown; then
   5379 		ac_cv_c_bigendian=no
   5380 	      else
   5381 		# finding both strings is unlikely to happen, but who knows?
   5382 		ac_cv_c_bigendian=unknown
   5383 	      fi
   5384 	    fi
   5385 fi
   5386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5387 else
   5388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5389 /* end confdefs.h.  */
   5390 $ac_includes_default
   5391 int
   5392 main ()
   5393 {
   5394 
   5395 	     /* Are we little or big endian?  From Harbison&Steele.  */
   5396 	     union
   5397 	     {
   5398 	       long int l;
   5399 	       char c[sizeof (long int)];
   5400 	     } u;
   5401 	     u.l = 1;
   5402 	     return u.c[sizeof (long int) - 1] == 1;
   5403 
   5404   ;
   5405   return 0;
   5406 }
   5407 _ACEOF
   5408 if ac_fn_c_try_run "$LINENO"; then :
   5409   ac_cv_c_bigendian=no
   5410 else
   5411   ac_cv_c_bigendian=yes
   5412 fi
   5413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5414   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5415 fi
   5416 
   5417     fi
   5418 fi
   5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   5420 $as_echo "$ac_cv_c_bigendian" >&6; }
   5421  case $ac_cv_c_bigendian in #(
   5422    yes)
   5423      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   5424 ;; #(
   5425    no)
   5426       ;; #(
   5427    universal)
   5428 
   5429 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   5430 
   5431      ;; #(
   5432    *)
   5433      as_fn_error $? "unknown endianness
   5434  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   5435  esac
   5436 
   5437 
   5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5439 $as_echo_n "checking whether ln -s works... " >&6; }
   5440 LN_S=$as_ln_s
   5441 if test "$LN_S" = "ln -s"; then
   5442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5443 $as_echo "yes" >&6; }
   5444 else
   5445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5446 $as_echo "no, using $LN_S" >&6; }
   5447 fi
   5448 
   5449 case `pwd` in
   5450   *\ * | *\	*)
   5451     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5452 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5453 esac
   5454 
   5455 
   5456 
   5457 macro_version='2.2.6b'
   5458 macro_revision='1.3017'
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 ltmain="$ac_aux_dir/ltmain.sh"
   5473 
   5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5475 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5476 if ${ac_cv_path_SED+:} false; then :
   5477   $as_echo_n "(cached) " >&6
   5478 else
   5479             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5480      for ac_i in 1 2 3 4 5 6 7; do
   5481        ac_script="$ac_script$as_nl$ac_script"
   5482      done
   5483      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5484      { ac_script=; unset ac_script;}
   5485      if test -z "$SED"; then
   5486   ac_path_SED_found=false
   5487   # Loop through the user's path and test for each of PROGNAME-LIST
   5488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5489 for as_dir in $PATH
   5490 do
   5491   IFS=$as_save_IFS
   5492   test -z "$as_dir" && as_dir=.
   5493     for ac_prog in sed gsed; do
   5494     for ac_exec_ext in '' $ac_executable_extensions; do
   5495       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5496       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5497 # Check for GNU ac_path_SED and select it if it is found.
   5498   # Check for GNU $ac_path_SED
   5499 case `"$ac_path_SED" --version 2>&1` in
   5500 *GNU*)
   5501   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5502 *)
   5503   ac_count=0
   5504   $as_echo_n 0123456789 >"conftest.in"
   5505   while :
   5506   do
   5507     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5508     mv "conftest.tmp" "conftest.in"
   5509     cp "conftest.in" "conftest.nl"
   5510     $as_echo '' >> "conftest.nl"
   5511     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5512     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5513     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5514     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5515       # Best one so far, save it but keep looking for a better one
   5516       ac_cv_path_SED="$ac_path_SED"
   5517       ac_path_SED_max=$ac_count
   5518     fi
   5519     # 10*(2^10) chars as input seems more than enough
   5520     test $ac_count -gt 10 && break
   5521   done
   5522   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5523 esac
   5524 
   5525       $ac_path_SED_found && break 3
   5526     done
   5527   done
   5528   done
   5529 IFS=$as_save_IFS
   5530   if test -z "$ac_cv_path_SED"; then
   5531     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5532   fi
   5533 else
   5534   ac_cv_path_SED=$SED
   5535 fi
   5536 
   5537 fi
   5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5539 $as_echo "$ac_cv_path_SED" >&6; }
   5540  SED="$ac_cv_path_SED"
   5541   rm -f conftest.sed
   5542 
   5543 test -z "$SED" && SED=sed
   5544 Xsed="$SED -e 1s/^X//"
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5557 $as_echo_n "checking for fgrep... " >&6; }
   5558 if ${ac_cv_path_FGREP+:} false; then :
   5559   $as_echo_n "(cached) " >&6
   5560 else
   5561   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5562    then ac_cv_path_FGREP="$GREP -F"
   5563    else
   5564      if test -z "$FGREP"; then
   5565   ac_path_FGREP_found=false
   5566   # Loop through the user's path and test for each of PROGNAME-LIST
   5567   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5568 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5569 do
   5570   IFS=$as_save_IFS
   5571   test -z "$as_dir" && as_dir=.
   5572     for ac_prog in fgrep; do
   5573     for ac_exec_ext in '' $ac_executable_extensions; do
   5574       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5575       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5576 # Check for GNU ac_path_FGREP and select it if it is found.
   5577   # Check for GNU $ac_path_FGREP
   5578 case `"$ac_path_FGREP" --version 2>&1` in
   5579 *GNU*)
   5580   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5581 *)
   5582   ac_count=0
   5583   $as_echo_n 0123456789 >"conftest.in"
   5584   while :
   5585   do
   5586     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5587     mv "conftest.tmp" "conftest.in"
   5588     cp "conftest.in" "conftest.nl"
   5589     $as_echo 'FGREP' >> "conftest.nl"
   5590     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5591     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5592     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5593     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5594       # Best one so far, save it but keep looking for a better one
   5595       ac_cv_path_FGREP="$ac_path_FGREP"
   5596       ac_path_FGREP_max=$ac_count
   5597     fi
   5598     # 10*(2^10) chars as input seems more than enough
   5599     test $ac_count -gt 10 && break
   5600   done
   5601   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5602 esac
   5603 
   5604       $ac_path_FGREP_found && break 3
   5605     done
   5606   done
   5607   done
   5608 IFS=$as_save_IFS
   5609   if test -z "$ac_cv_path_FGREP"; then
   5610     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5611   fi
   5612 else
   5613   ac_cv_path_FGREP=$FGREP
   5614 fi
   5615 
   5616    fi
   5617 fi
   5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5619 $as_echo "$ac_cv_path_FGREP" >&6; }
   5620  FGREP="$ac_cv_path_FGREP"
   5621 
   5622 
   5623 test -z "$GREP" && GREP=grep
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 # Check whether --with-gnu-ld was given.
   5644 if test "${with_gnu_ld+set}" = set; then :
   5645   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5646 else
   5647   with_gnu_ld=no
   5648 fi
   5649 
   5650 ac_prog=ld
   5651 if test "$GCC" = yes; then
   5652   # Check if gcc -print-prog-name=ld gives a path.
   5653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5654 $as_echo_n "checking for ld used by $CC... " >&6; }
   5655   case $host in
   5656   *-*-mingw*)
   5657     # gcc leaves a trailing carriage return which upsets mingw
   5658     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5659   *)
   5660     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5661   esac
   5662   case $ac_prog in
   5663     # Accept absolute paths.
   5664     [\\/]* | ?:[\\/]*)
   5665       re_direlt='/[^/][^/]*/\.\./'
   5666       # Canonicalize the pathname of ld
   5667       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5668       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5669 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5670       done
   5671       test -z "$LD" && LD="$ac_prog"
   5672       ;;
   5673   "")
   5674     # If it fails, then pretend we aren't using GCC.
   5675     ac_prog=ld
   5676     ;;
   5677   *)
   5678     # If it is relative, then search for the first ld in PATH.
   5679     with_gnu_ld=unknown
   5680     ;;
   5681   esac
   5682 elif test "$with_gnu_ld" = yes; then
   5683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5684 $as_echo_n "checking for GNU ld... " >&6; }
   5685 else
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5687 $as_echo_n "checking for non-GNU ld... " >&6; }
   5688 fi
   5689 if ${lt_cv_path_LD+:} false; then :
   5690   $as_echo_n "(cached) " >&6
   5691 else
   5692   if test -z "$LD"; then
   5693   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5694   for ac_dir in $PATH; do
   5695     IFS="$lt_save_ifs"
   5696     test -z "$ac_dir" && ac_dir=.
   5697     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5698       lt_cv_path_LD="$ac_dir/$ac_prog"
   5699       # Check to see if the program is GNU ld.  I'd rather use --version,
   5700       # but apparently some variants of GNU ld only accept -v.
   5701       # Break only if it was the GNU/non-GNU ld that we prefer.
   5702       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5703       *GNU* | *'with BFD'*)
   5704 	test "$with_gnu_ld" != no && break
   5705 	;;
   5706       *)
   5707 	test "$with_gnu_ld" != yes && break
   5708 	;;
   5709       esac
   5710     fi
   5711   done
   5712   IFS="$lt_save_ifs"
   5713 else
   5714   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5715 fi
   5716 fi
   5717 
   5718 LD="$lt_cv_path_LD"
   5719 if test -n "$LD"; then
   5720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5721 $as_echo "$LD" >&6; }
   5722 else
   5723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5724 $as_echo "no" >&6; }
   5725 fi
   5726 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5728 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5729 if ${lt_cv_prog_gnu_ld+:} false; then :
   5730   $as_echo_n "(cached) " >&6
   5731 else
   5732   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5733 case `$LD -v 2>&1 </dev/null` in
   5734 *GNU* | *'with BFD'*)
   5735   lt_cv_prog_gnu_ld=yes
   5736   ;;
   5737 *)
   5738   lt_cv_prog_gnu_ld=no
   5739   ;;
   5740 esac
   5741 fi
   5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5743 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5744 with_gnu_ld=$lt_cv_prog_gnu_ld
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5755 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5756 if ${lt_cv_path_NM+:} false; then :
   5757   $as_echo_n "(cached) " >&6
   5758 else
   5759   if test -n "$NM"; then
   5760   # Let the user override the test.
   5761   lt_cv_path_NM="$NM"
   5762 else
   5763   lt_nm_to_check="${ac_tool_prefix}nm"
   5764   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5765     lt_nm_to_check="$lt_nm_to_check nm"
   5766   fi
   5767   for lt_tmp_nm in $lt_nm_to_check; do
   5768     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5769     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5770       IFS="$lt_save_ifs"
   5771       test -z "$ac_dir" && ac_dir=.
   5772       tmp_nm="$ac_dir/$lt_tmp_nm"
   5773       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5774 	# Check to see if the nm accepts a BSD-compat flag.
   5775 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5776 	#   nm: unknown option "B" ignored
   5777 	# Tru64's nm complains that /dev/null is an invalid object file
   5778 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5779 	*/dev/null* | *'Invalid file or object type'*)
   5780 	  lt_cv_path_NM="$tmp_nm -B"
   5781 	  break
   5782 	  ;;
   5783 	*)
   5784 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5785 	  */dev/null*)
   5786 	    lt_cv_path_NM="$tmp_nm -p"
   5787 	    break
   5788 	    ;;
   5789 	  *)
   5790 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5791 	    continue # so that we can try to find one that supports BSD flags
   5792 	    ;;
   5793 	  esac
   5794 	  ;;
   5795 	esac
   5796       fi
   5797     done
   5798     IFS="$lt_save_ifs"
   5799   done
   5800   : ${lt_cv_path_NM=no}
   5801 fi
   5802 fi
   5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5804 $as_echo "$lt_cv_path_NM" >&6; }
   5805 if test "$lt_cv_path_NM" != "no"; then
   5806   NM="$lt_cv_path_NM"
   5807 else
   5808   # Didn't find any BSD compatible name lister, look for dumpbin.
   5809   if test -n "$ac_tool_prefix"; then
   5810   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5811   do
   5812     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5815 $as_echo_n "checking for $ac_word... " >&6; }
   5816 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5817   $as_echo_n "(cached) " >&6
   5818 else
   5819   if test -n "$DUMPBIN"; then
   5820   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5821 else
   5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5823 for as_dir in $PATH
   5824 do
   5825   IFS=$as_save_IFS
   5826   test -z "$as_dir" && as_dir=.
   5827     for ac_exec_ext in '' $ac_executable_extensions; do
   5828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5829     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5831     break 2
   5832   fi
   5833 done
   5834   done
   5835 IFS=$as_save_IFS
   5836 
   5837 fi
   5838 fi
   5839 DUMPBIN=$ac_cv_prog_DUMPBIN
   5840 if test -n "$DUMPBIN"; then
   5841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5842 $as_echo "$DUMPBIN" >&6; }
   5843 else
   5844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5845 $as_echo "no" >&6; }
   5846 fi
   5847 
   5848 
   5849     test -n "$DUMPBIN" && break
   5850   done
   5851 fi
   5852 if test -z "$DUMPBIN"; then
   5853   ac_ct_DUMPBIN=$DUMPBIN
   5854   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5855 do
   5856   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5857 set dummy $ac_prog; ac_word=$2
   5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5859 $as_echo_n "checking for $ac_word... " >&6; }
   5860 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5861   $as_echo_n "(cached) " >&6
   5862 else
   5863   if test -n "$ac_ct_DUMPBIN"; then
   5864   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5865 else
   5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5867 for as_dir in $PATH
   5868 do
   5869   IFS=$as_save_IFS
   5870   test -z "$as_dir" && as_dir=.
   5871     for ac_exec_ext in '' $ac_executable_extensions; do
   5872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5873     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5875     break 2
   5876   fi
   5877 done
   5878   done
   5879 IFS=$as_save_IFS
   5880 
   5881 fi
   5882 fi
   5883 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5884 if test -n "$ac_ct_DUMPBIN"; then
   5885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5886 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5887 else
   5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5889 $as_echo "no" >&6; }
   5890 fi
   5891 
   5892 
   5893   test -n "$ac_ct_DUMPBIN" && break
   5894 done
   5895 
   5896   if test "x$ac_ct_DUMPBIN" = x; then
   5897     DUMPBIN=":"
   5898   else
   5899     case $cross_compiling:$ac_tool_warned in
   5900 yes:)
   5901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5903 ac_tool_warned=yes ;;
   5904 esac
   5905     DUMPBIN=$ac_ct_DUMPBIN
   5906   fi
   5907 fi
   5908 
   5909 
   5910   if test "$DUMPBIN" != ":"; then
   5911     NM="$DUMPBIN"
   5912   fi
   5913 fi
   5914 test -z "$NM" && NM=nm
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5922 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5923 if ${lt_cv_nm_interface+:} false; then :
   5924   $as_echo_n "(cached) " >&6
   5925 else
   5926   lt_cv_nm_interface="BSD nm"
   5927   echo "int some_variable = 0;" > conftest.$ac_ext
   5928   (eval echo "\"\$as_me:5899: $ac_compile\"" >&5)
   5929   (eval "$ac_compile" 2>conftest.err)
   5930   cat conftest.err >&5
   5931   (eval echo "\"\$as_me:5902: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5932   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5933   cat conftest.err >&5
   5934   (eval echo "\"\$as_me:5905: output\"" >&5)
   5935   cat conftest.out >&5
   5936   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5937     lt_cv_nm_interface="MS dumpbin"
   5938   fi
   5939   rm -f conftest*
   5940 fi
   5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5942 $as_echo "$lt_cv_nm_interface" >&6; }
   5943 
   5944 # find the maximum length of command line arguments
   5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5946 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5947 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5948   $as_echo_n "(cached) " >&6
   5949 else
   5950     i=0
   5951   teststring="ABCD"
   5952 
   5953   case $build_os in
   5954   msdosdjgpp*)
   5955     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5956     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5957     # during glob expansion).  Even if it were fixed, the result of this
   5958     # check would be larger than it should be.
   5959     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5960     ;;
   5961 
   5962   gnu*)
   5963     # Under GNU Hurd, this test is not required because there is
   5964     # no limit to the length of command line arguments.
   5965     # Libtool will interpret -1 as no limit whatsoever
   5966     lt_cv_sys_max_cmd_len=-1;
   5967     ;;
   5968 
   5969   cygwin* | mingw* | cegcc*)
   5970     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5971     # about 5 minutes as the teststring grows exponentially.
   5972     # Worse, since 9x/ME are not pre-emptively multitasking,
   5973     # you end up with a "frozen" computer, even though with patience
   5974     # the test eventually succeeds (with a max line length of 256k).
   5975     # Instead, let's just punt: use the minimum linelength reported by
   5976     # all of the supported platforms: 8192 (on NT/2K/XP).
   5977     lt_cv_sys_max_cmd_len=8192;
   5978     ;;
   5979 
   5980   amigaos*)
   5981     # On AmigaOS with pdksh, this test takes hours, literally.
   5982     # So we just punt and use a minimum line length of 8192.
   5983     lt_cv_sys_max_cmd_len=8192;
   5984     ;;
   5985 
   5986   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5987     # This has been around since 386BSD, at least.  Likely further.
   5988     if test -x /sbin/sysctl; then
   5989       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5990     elif test -x /usr/sbin/sysctl; then
   5991       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5992     else
   5993       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5994     fi
   5995     # And add a safety zone
   5996     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5997     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5998     ;;
   5999 
   6000   interix*)
   6001     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6002     lt_cv_sys_max_cmd_len=196608
   6003     ;;
   6004 
   6005   osf*)
   6006     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6007     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6008     # nice to cause kernel panics so lets avoid the loop below.
   6009     # First set a reasonable default.
   6010     lt_cv_sys_max_cmd_len=16384
   6011     #
   6012     if test -x /sbin/sysconfig; then
   6013       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6014         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6015       esac
   6016     fi
   6017     ;;
   6018   sco3.2v5*)
   6019     lt_cv_sys_max_cmd_len=102400
   6020     ;;
   6021   sysv5* | sco5v6* | sysv4.2uw2*)
   6022     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6023     if test -n "$kargmax"; then
   6024       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6025     else
   6026       lt_cv_sys_max_cmd_len=32768
   6027     fi
   6028     ;;
   6029   *)
   6030     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6031     if test -n "$lt_cv_sys_max_cmd_len"; then
   6032       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6033       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6034     else
   6035       # Make teststring a little bigger before we do anything with it.
   6036       # a 1K string should be a reasonable start.
   6037       for i in 1 2 3 4 5 6 7 8 ; do
   6038         teststring=$teststring$teststring
   6039       done
   6040       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6041       # If test is not a shell built-in, we'll probably end up computing a
   6042       # maximum length that is only half of the actual maximum length, but
   6043       # we can't tell.
   6044       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   6045 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   6046 	      test $i != 17 # 1/2 MB should be enough
   6047       do
   6048         i=`expr $i + 1`
   6049         teststring=$teststring$teststring
   6050       done
   6051       # Only check the string length outside the loop.
   6052       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6053       teststring=
   6054       # Add a significant safety factor because C++ compilers can tack on
   6055       # massive amounts of additional arguments before passing them to the
   6056       # linker.  It appears as though 1/2 is a usable value.
   6057       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6058     fi
   6059     ;;
   6060   esac
   6061 
   6062 fi
   6063 
   6064 if test -n $lt_cv_sys_max_cmd_len ; then
   6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6066 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6067 else
   6068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6069 $as_echo "none" >&6; }
   6070 fi
   6071 max_cmd_len=$lt_cv_sys_max_cmd_len
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 : ${CP="cp -f"}
   6079 : ${MV="mv -f"}
   6080 : ${RM="rm -f"}
   6081 
   6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6083 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6084 # Try some XSI features
   6085 xsi_shell=no
   6086 ( _lt_dummy="a/b/c"
   6087   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6088       = c,a/b,, \
   6089     && eval 'test $(( 1 + 1 )) -eq 2 \
   6090     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6091   && xsi_shell=yes
   6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6093 $as_echo "$xsi_shell" >&6; }
   6094 
   6095 
   6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6097 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6098 lt_shell_append=no
   6099 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6100     >/dev/null 2>&1 \
   6101   && lt_shell_append=yes
   6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6103 $as_echo "$lt_shell_append" >&6; }
   6104 
   6105 
   6106 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6107   lt_unset=unset
   6108 else
   6109   lt_unset=false
   6110 fi
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 # test EBCDIC or ASCII
   6117 case `echo X|tr X '\101'` in
   6118  A) # ASCII based system
   6119     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6120   lt_SP2NL='tr \040 \012'
   6121   lt_NL2SP='tr \015\012 \040\040'
   6122   ;;
   6123  *) # EBCDIC based system
   6124   lt_SP2NL='tr \100 \n'
   6125   lt_NL2SP='tr \r\n \100\100'
   6126   ;;
   6127 esac
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6138 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6139 if ${lt_cv_ld_reload_flag+:} false; then :
   6140   $as_echo_n "(cached) " >&6
   6141 else
   6142   lt_cv_ld_reload_flag='-r'
   6143 fi
   6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6145 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6146 reload_flag=$lt_cv_ld_reload_flag
   6147 case $reload_flag in
   6148 "" | " "*) ;;
   6149 *) reload_flag=" $reload_flag" ;;
   6150 esac
   6151 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6152 case $host_os in
   6153   darwin*)
   6154     if test "$GCC" = yes; then
   6155       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6156     else
   6157       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6158     fi
   6159     ;;
   6160 esac
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 if test -n "$ac_tool_prefix"; then
   6171   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6172 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6174 $as_echo_n "checking for $ac_word... " >&6; }
   6175 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6176   $as_echo_n "(cached) " >&6
   6177 else
   6178   if test -n "$OBJDUMP"; then
   6179   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6180 else
   6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6182 for as_dir in $PATH
   6183 do
   6184   IFS=$as_save_IFS
   6185   test -z "$as_dir" && as_dir=.
   6186     for ac_exec_ext in '' $ac_executable_extensions; do
   6187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6188     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6190     break 2
   6191   fi
   6192 done
   6193   done
   6194 IFS=$as_save_IFS
   6195 
   6196 fi
   6197 fi
   6198 OBJDUMP=$ac_cv_prog_OBJDUMP
   6199 if test -n "$OBJDUMP"; then
   6200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6201 $as_echo "$OBJDUMP" >&6; }
   6202 else
   6203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6204 $as_echo "no" >&6; }
   6205 fi
   6206 
   6207 
   6208 fi
   6209 if test -z "$ac_cv_prog_OBJDUMP"; then
   6210   ac_ct_OBJDUMP=$OBJDUMP
   6211   # Extract the first word of "objdump", so it can be a program name with args.
   6212 set dummy objdump; ac_word=$2
   6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6214 $as_echo_n "checking for $ac_word... " >&6; }
   6215 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6216   $as_echo_n "(cached) " >&6
   6217 else
   6218   if test -n "$ac_ct_OBJDUMP"; then
   6219   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6220 else
   6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6222 for as_dir in $PATH
   6223 do
   6224   IFS=$as_save_IFS
   6225   test -z "$as_dir" && as_dir=.
   6226     for ac_exec_ext in '' $ac_executable_extensions; do
   6227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6228     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6230     break 2
   6231   fi
   6232 done
   6233   done
   6234 IFS=$as_save_IFS
   6235 
   6236 fi
   6237 fi
   6238 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6239 if test -n "$ac_ct_OBJDUMP"; then
   6240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6241 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6242 else
   6243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6244 $as_echo "no" >&6; }
   6245 fi
   6246 
   6247   if test "x$ac_ct_OBJDUMP" = x; then
   6248     OBJDUMP="false"
   6249   else
   6250     case $cross_compiling:$ac_tool_warned in
   6251 yes:)
   6252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6254 ac_tool_warned=yes ;;
   6255 esac
   6256     OBJDUMP=$ac_ct_OBJDUMP
   6257   fi
   6258 else
   6259   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6260 fi
   6261 
   6262 test -z "$OBJDUMP" && OBJDUMP=objdump
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6273 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6274 if ${lt_cv_deplibs_check_method+:} false; then :
   6275   $as_echo_n "(cached) " >&6
   6276 else
   6277   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6278 lt_cv_file_magic_test_file=
   6279 lt_cv_deplibs_check_method='unknown'
   6280 # Need to set the preceding variable on all platforms that support
   6281 # interlibrary dependencies.
   6282 # 'none' -- dependencies not supported.
   6283 # `unknown' -- same as none, but documents that we really don't know.
   6284 # 'pass_all' -- all dependencies passed with no checks.
   6285 # 'test_compile' -- check by making test program.
   6286 # 'file_magic [[regex]]' -- check by looking for files in library path
   6287 # which responds to the $file_magic_cmd with a given extended regex.
   6288 # If you have `file' or equivalent on your system and you're not sure
   6289 # whether `pass_all' will *always* work, you probably want this one.
   6290 
   6291 case $host_os in
   6292 aix[4-9]*)
   6293   lt_cv_deplibs_check_method=pass_all
   6294   ;;
   6295 
   6296 beos*)
   6297   lt_cv_deplibs_check_method=pass_all
   6298   ;;
   6299 
   6300 bsdi[45]*)
   6301   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6302   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6303   lt_cv_file_magic_test_file=/shlib/libc.so
   6304   ;;
   6305 
   6306 cygwin*)
   6307   # func_win32_libid is a shell function defined in ltmain.sh
   6308   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6309   lt_cv_file_magic_cmd='func_win32_libid'
   6310   ;;
   6311 
   6312 mingw* | pw32*)
   6313   # Base MSYS/MinGW do not provide the 'file' command needed by
   6314   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6315   # unless we find 'file', for example because we are cross-compiling.
   6316   if ( file / ) >/dev/null 2>&1; then
   6317     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6318     lt_cv_file_magic_cmd='func_win32_libid'
   6319   else
   6320     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6321     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6322   fi
   6323   ;;
   6324 
   6325 cegcc)
   6326   # use the weaker test based on 'objdump'. See mingw*.
   6327   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6328   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6329   ;;
   6330 
   6331 darwin* | rhapsody*)
   6332   lt_cv_deplibs_check_method=pass_all
   6333   ;;
   6334 
   6335 freebsd* | dragonfly*)
   6336   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6337     case $host_cpu in
   6338     i*86 )
   6339       # Not sure whether the presence of OpenBSD here was a mistake.
   6340       # Let's accept both of them until this is cleared up.
   6341       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6342       lt_cv_file_magic_cmd=/usr/bin/file
   6343       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6344       ;;
   6345     esac
   6346   else
   6347     lt_cv_deplibs_check_method=pass_all
   6348   fi
   6349   ;;
   6350 
   6351 gnu*)
   6352   lt_cv_deplibs_check_method=pass_all
   6353   ;;
   6354 
   6355 hpux10.20* | hpux11*)
   6356   lt_cv_file_magic_cmd=/usr/bin/file
   6357   case $host_cpu in
   6358   ia64*)
   6359     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6360     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6361     ;;
   6362   hppa*64*)
   6363     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   6364     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6365     ;;
   6366   *)
   6367     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6368     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6369     ;;
   6370   esac
   6371   ;;
   6372 
   6373 interix[3-9]*)
   6374   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6375   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6376   ;;
   6377 
   6378 irix5* | irix6* | nonstopux*)
   6379   case $LD in
   6380   *-32|*"-32 ") libmagic=32-bit;;
   6381   *-n32|*"-n32 ") libmagic=N32;;
   6382   *-64|*"-64 ") libmagic=64-bit;;
   6383   *) libmagic=never-match;;
   6384   esac
   6385   lt_cv_deplibs_check_method=pass_all
   6386   ;;
   6387 
   6388 # This must be Linux ELF.
   6389 linux* | k*bsd*-gnu)
   6390   lt_cv_deplibs_check_method=pass_all
   6391   ;;
   6392 
   6393 netbsd*)
   6394   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6395     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6396   else
   6397     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6398   fi
   6399   ;;
   6400 
   6401 newos6*)
   6402   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6403   lt_cv_file_magic_cmd=/usr/bin/file
   6404   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6405   ;;
   6406 
   6407 *nto* | *qnx*)
   6408   lt_cv_deplibs_check_method=pass_all
   6409   ;;
   6410 
   6411 openbsd*)
   6412   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6413     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6414   else
   6415     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6416   fi
   6417   ;;
   6418 
   6419 osf3* | osf4* | osf5*)
   6420   lt_cv_deplibs_check_method=pass_all
   6421   ;;
   6422 
   6423 rdos*)
   6424   lt_cv_deplibs_check_method=pass_all
   6425   ;;
   6426 
   6427 solaris*)
   6428   lt_cv_deplibs_check_method=pass_all
   6429   ;;
   6430 
   6431 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6432   lt_cv_deplibs_check_method=pass_all
   6433   ;;
   6434 
   6435 sysv4 | sysv4.3*)
   6436   case $host_vendor in
   6437   motorola)
   6438     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]'
   6439     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6440     ;;
   6441   ncr)
   6442     lt_cv_deplibs_check_method=pass_all
   6443     ;;
   6444   sequent)
   6445     lt_cv_file_magic_cmd='/bin/file'
   6446     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6447     ;;
   6448   sni)
   6449     lt_cv_file_magic_cmd='/bin/file'
   6450     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6451     lt_cv_file_magic_test_file=/lib/libc.so
   6452     ;;
   6453   siemens)
   6454     lt_cv_deplibs_check_method=pass_all
   6455     ;;
   6456   pc)
   6457     lt_cv_deplibs_check_method=pass_all
   6458     ;;
   6459   esac
   6460   ;;
   6461 
   6462 tpf*)
   6463   lt_cv_deplibs_check_method=pass_all
   6464   ;;
   6465 esac
   6466 
   6467 fi
   6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6469 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6470 file_magic_cmd=$lt_cv_file_magic_cmd
   6471 deplibs_check_method=$lt_cv_deplibs_check_method
   6472 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 if test -n "$ac_tool_prefix"; then
   6486   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6487 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6489 $as_echo_n "checking for $ac_word... " >&6; }
   6490 if ${ac_cv_prog_AR+:} false; then :
   6491   $as_echo_n "(cached) " >&6
   6492 else
   6493   if test -n "$AR"; then
   6494   ac_cv_prog_AR="$AR" # Let the user override the test.
   6495 else
   6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6497 for as_dir in $PATH
   6498 do
   6499   IFS=$as_save_IFS
   6500   test -z "$as_dir" && as_dir=.
   6501     for ac_exec_ext in '' $ac_executable_extensions; do
   6502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6503     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6505     break 2
   6506   fi
   6507 done
   6508   done
   6509 IFS=$as_save_IFS
   6510 
   6511 fi
   6512 fi
   6513 AR=$ac_cv_prog_AR
   6514 if test -n "$AR"; then
   6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6516 $as_echo "$AR" >&6; }
   6517 else
   6518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6519 $as_echo "no" >&6; }
   6520 fi
   6521 
   6522 
   6523 fi
   6524 if test -z "$ac_cv_prog_AR"; then
   6525   ac_ct_AR=$AR
   6526   # Extract the first word of "ar", so it can be a program name with args.
   6527 set dummy ar; ac_word=$2
   6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6529 $as_echo_n "checking for $ac_word... " >&6; }
   6530 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533   if test -n "$ac_ct_AR"; then
   6534   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6535 else
   6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6537 for as_dir in $PATH
   6538 do
   6539   IFS=$as_save_IFS
   6540   test -z "$as_dir" && as_dir=.
   6541     for ac_exec_ext in '' $ac_executable_extensions; do
   6542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6543     ac_cv_prog_ac_ct_AR="ar"
   6544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6545     break 2
   6546   fi
   6547 done
   6548   done
   6549 IFS=$as_save_IFS
   6550 
   6551 fi
   6552 fi
   6553 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6554 if test -n "$ac_ct_AR"; then
   6555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6556 $as_echo "$ac_ct_AR" >&6; }
   6557 else
   6558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6559 $as_echo "no" >&6; }
   6560 fi
   6561 
   6562   if test "x$ac_ct_AR" = x; then
   6563     AR="false"
   6564   else
   6565     case $cross_compiling:$ac_tool_warned in
   6566 yes:)
   6567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6569 ac_tool_warned=yes ;;
   6570 esac
   6571     AR=$ac_ct_AR
   6572   fi
   6573 else
   6574   AR="$ac_cv_prog_AR"
   6575 fi
   6576 
   6577 test -z "$AR" && AR=ar
   6578 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 if test -n "$ac_tool_prefix"; then
   6591   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6592 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6594 $as_echo_n "checking for $ac_word... " >&6; }
   6595 if ${ac_cv_prog_STRIP+:} false; then :
   6596   $as_echo_n "(cached) " >&6
   6597 else
   6598   if test -n "$STRIP"; then
   6599   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6600 else
   6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6602 for as_dir in $PATH
   6603 do
   6604   IFS=$as_save_IFS
   6605   test -z "$as_dir" && as_dir=.
   6606     for ac_exec_ext in '' $ac_executable_extensions; do
   6607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6608     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6610     break 2
   6611   fi
   6612 done
   6613   done
   6614 IFS=$as_save_IFS
   6615 
   6616 fi
   6617 fi
   6618 STRIP=$ac_cv_prog_STRIP
   6619 if test -n "$STRIP"; then
   6620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6621 $as_echo "$STRIP" >&6; }
   6622 else
   6623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6624 $as_echo "no" >&6; }
   6625 fi
   6626 
   6627 
   6628 fi
   6629 if test -z "$ac_cv_prog_STRIP"; then
   6630   ac_ct_STRIP=$STRIP
   6631   # Extract the first word of "strip", so it can be a program name with args.
   6632 set dummy strip; ac_word=$2
   6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6634 $as_echo_n "checking for $ac_word... " >&6; }
   6635 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   if test -n "$ac_ct_STRIP"; then
   6639   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6640 else
   6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6642 for as_dir in $PATH
   6643 do
   6644   IFS=$as_save_IFS
   6645   test -z "$as_dir" && as_dir=.
   6646     for ac_exec_ext in '' $ac_executable_extensions; do
   6647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6648     ac_cv_prog_ac_ct_STRIP="strip"
   6649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6650     break 2
   6651   fi
   6652 done
   6653   done
   6654 IFS=$as_save_IFS
   6655 
   6656 fi
   6657 fi
   6658 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6659 if test -n "$ac_ct_STRIP"; then
   6660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6661 $as_echo "$ac_ct_STRIP" >&6; }
   6662 else
   6663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6664 $as_echo "no" >&6; }
   6665 fi
   6666 
   6667   if test "x$ac_ct_STRIP" = x; then
   6668     STRIP=":"
   6669   else
   6670     case $cross_compiling:$ac_tool_warned in
   6671 yes:)
   6672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6674 ac_tool_warned=yes ;;
   6675 esac
   6676     STRIP=$ac_ct_STRIP
   6677   fi
   6678 else
   6679   STRIP="$ac_cv_prog_STRIP"
   6680 fi
   6681 
   6682 test -z "$STRIP" && STRIP=:
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 if test -n "$ac_tool_prefix"; then
   6690   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6691 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6693 $as_echo_n "checking for $ac_word... " >&6; }
   6694 if ${ac_cv_prog_RANLIB+:} false; then :
   6695   $as_echo_n "(cached) " >&6
   6696 else
   6697   if test -n "$RANLIB"; then
   6698   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6699 else
   6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6701 for as_dir in $PATH
   6702 do
   6703   IFS=$as_save_IFS
   6704   test -z "$as_dir" && as_dir=.
   6705     for ac_exec_ext in '' $ac_executable_extensions; do
   6706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6707     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6709     break 2
   6710   fi
   6711 done
   6712   done
   6713 IFS=$as_save_IFS
   6714 
   6715 fi
   6716 fi
   6717 RANLIB=$ac_cv_prog_RANLIB
   6718 if test -n "$RANLIB"; then
   6719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6720 $as_echo "$RANLIB" >&6; }
   6721 else
   6722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6723 $as_echo "no" >&6; }
   6724 fi
   6725 
   6726 
   6727 fi
   6728 if test -z "$ac_cv_prog_RANLIB"; then
   6729   ac_ct_RANLIB=$RANLIB
   6730   # Extract the first word of "ranlib", so it can be a program name with args.
   6731 set dummy ranlib; ac_word=$2
   6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6733 $as_echo_n "checking for $ac_word... " >&6; }
   6734 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6735   $as_echo_n "(cached) " >&6
   6736 else
   6737   if test -n "$ac_ct_RANLIB"; then
   6738   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6739 else
   6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6741 for as_dir in $PATH
   6742 do
   6743   IFS=$as_save_IFS
   6744   test -z "$as_dir" && as_dir=.
   6745     for ac_exec_ext in '' $ac_executable_extensions; do
   6746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6747     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6749     break 2
   6750   fi
   6751 done
   6752   done
   6753 IFS=$as_save_IFS
   6754 
   6755 fi
   6756 fi
   6757 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6758 if test -n "$ac_ct_RANLIB"; then
   6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6760 $as_echo "$ac_ct_RANLIB" >&6; }
   6761 else
   6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6763 $as_echo "no" >&6; }
   6764 fi
   6765 
   6766   if test "x$ac_ct_RANLIB" = x; then
   6767     RANLIB=":"
   6768   else
   6769     case $cross_compiling:$ac_tool_warned in
   6770 yes:)
   6771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6773 ac_tool_warned=yes ;;
   6774 esac
   6775     RANLIB=$ac_ct_RANLIB
   6776   fi
   6777 else
   6778   RANLIB="$ac_cv_prog_RANLIB"
   6779 fi
   6780 
   6781 test -z "$RANLIB" && RANLIB=:
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 # Determine commands to create old-style static archives.
   6789 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6790 old_postinstall_cmds='chmod 644 $oldlib'
   6791 old_postuninstall_cmds=
   6792 
   6793 if test -n "$RANLIB"; then
   6794   case $host_os in
   6795   openbsd*)
   6796     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6797     ;;
   6798   *)
   6799     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6800     ;;
   6801   esac
   6802   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6803 fi
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 # If no C compiler was specified, use CC.
   6839 LTCC=${LTCC-"$CC"}
   6840 
   6841 # If no C compiler flags were specified, use CFLAGS.
   6842 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6843 
   6844 # Allow CC to be a program name with arguments.
   6845 compiler=$CC
   6846 
   6847 
   6848 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6850 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6851 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6852   $as_echo_n "(cached) " >&6
   6853 else
   6854 
   6855 # These are sane defaults that work on at least a few old systems.
   6856 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6857 
   6858 # Character class describing NM global symbol codes.
   6859 symcode='[BCDEGRST]'
   6860 
   6861 # Regexp to match symbols that can be accessed directly from C.
   6862 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6863 
   6864 # Define system-specific variables.
   6865 case $host_os in
   6866 aix*)
   6867   symcode='[BCDT]'
   6868   ;;
   6869 cygwin* | mingw* | pw32* | cegcc*)
   6870   symcode='[ABCDGISTW]'
   6871   ;;
   6872 hpux*)
   6873   if test "$host_cpu" = ia64; then
   6874     symcode='[ABCDEGRST]'
   6875   fi
   6876   ;;
   6877 irix* | nonstopux*)
   6878   symcode='[BCDEGRST]'
   6879   ;;
   6880 osf*)
   6881   symcode='[BCDEGQRST]'
   6882   ;;
   6883 solaris*)
   6884   symcode='[BDRT]'
   6885   ;;
   6886 sco3.2v5*)
   6887   symcode='[DT]'
   6888   ;;
   6889 sysv4.2uw2*)
   6890   symcode='[DT]'
   6891   ;;
   6892 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6893   symcode='[ABDT]'
   6894   ;;
   6895 sysv4)
   6896   symcode='[DFNSTU]'
   6897   ;;
   6898 esac
   6899 
   6900 # If we're using GNU nm, then use its standard symbol codes.
   6901 case `$NM -V 2>&1` in
   6902 *GNU* | *'with BFD'*)
   6903   symcode='[ABCDGIRSTW]' ;;
   6904 esac
   6905 
   6906 # Transform an extracted symbol line into a proper C declaration.
   6907 # Some systems (esp. on ia64) link data and code symbols differently,
   6908 # so use this general approach.
   6909 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6910 
   6911 # Transform an extracted symbol line into symbol name and symbol address
   6912 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6913 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'"
   6914 
   6915 # Handle CRLF in mingw tool chain
   6916 opt_cr=
   6917 case $build_os in
   6918 mingw*)
   6919   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6920   ;;
   6921 esac
   6922 
   6923 # Try without a prefix underscore, then with it.
   6924 for ac_symprfx in "" "_"; do
   6925 
   6926   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6927   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6928 
   6929   # Write the raw and C identifiers.
   6930   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6931     # Fake it for dumpbin and say T for any non-static function
   6932     # and D for any global variable.
   6933     # Also find C++ and __fastcall symbols from MSVC++,
   6934     # which start with @ or ?.
   6935     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6936 "     {last_section=section; section=\$ 3};"\
   6937 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6938 "     \$ 0!~/External *\|/{next};"\
   6939 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6940 "     {if(hide[section]) next};"\
   6941 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6942 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6943 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6944 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6945 "     ' prfx=^$ac_symprfx"
   6946   else
   6947     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6948   fi
   6949 
   6950   # Check to see that the pipe works correctly.
   6951   pipe_works=no
   6952 
   6953   rm -f conftest*
   6954   cat > conftest.$ac_ext <<_LT_EOF
   6955 #ifdef __cplusplus
   6956 extern "C" {
   6957 #endif
   6958 char nm_test_var;
   6959 void nm_test_func(void);
   6960 void nm_test_func(void){}
   6961 #ifdef __cplusplus
   6962 }
   6963 #endif
   6964 int main(){nm_test_var='a';nm_test_func();return(0);}
   6965 _LT_EOF
   6966 
   6967   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6968   (eval $ac_compile) 2>&5
   6969   ac_status=$?
   6970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6971   test $ac_status = 0; }; then
   6972     # Now try to grab the symbols.
   6973     nlist=conftest.nm
   6974     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6975   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6976   ac_status=$?
   6977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6978   test $ac_status = 0; } && test -s "$nlist"; then
   6979       # Try sorting and uniquifying the output.
   6980       if sort "$nlist" | uniq > "$nlist"T; then
   6981 	mv -f "$nlist"T "$nlist"
   6982       else
   6983 	rm -f "$nlist"T
   6984       fi
   6985 
   6986       # Make sure that we snagged all the symbols we need.
   6987       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6988 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6989 	  cat <<_LT_EOF > conftest.$ac_ext
   6990 #ifdef __cplusplus
   6991 extern "C" {
   6992 #endif
   6993 
   6994 _LT_EOF
   6995 	  # Now generate the symbol file.
   6996 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6997 
   6998 	  cat <<_LT_EOF >> conftest.$ac_ext
   6999 
   7000 /* The mapping between symbol names and symbols.  */
   7001 const struct {
   7002   const char *name;
   7003   void       *address;
   7004 }
   7005 lt__PROGRAM__LTX_preloaded_symbols[] =
   7006 {
   7007   { "@PROGRAM@", (void *) 0 },
   7008 _LT_EOF
   7009 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7010 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7011   {0, (void *) 0}
   7012 };
   7013 
   7014 /* This works around a problem in FreeBSD linker */
   7015 #ifdef FREEBSD_WORKAROUND
   7016 static const void *lt_preloaded_setup() {
   7017   return lt__PROGRAM__LTX_preloaded_symbols;
   7018 }
   7019 #endif
   7020 
   7021 #ifdef __cplusplus
   7022 }
   7023 #endif
   7024 _LT_EOF
   7025 	  # Now try linking the two files.
   7026 	  mv conftest.$ac_objext conftstm.$ac_objext
   7027 	  lt_save_LIBS="$LIBS"
   7028 	  lt_save_CFLAGS="$CFLAGS"
   7029 	  LIBS="conftstm.$ac_objext"
   7030 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7031 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7032   (eval $ac_link) 2>&5
   7033   ac_status=$?
   7034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7035   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7036 	    pipe_works=yes
   7037 	  fi
   7038 	  LIBS="$lt_save_LIBS"
   7039 	  CFLAGS="$lt_save_CFLAGS"
   7040 	else
   7041 	  echo "cannot find nm_test_func in $nlist" >&5
   7042 	fi
   7043       else
   7044 	echo "cannot find nm_test_var in $nlist" >&5
   7045       fi
   7046     else
   7047       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7048     fi
   7049   else
   7050     echo "$progname: failed program was:" >&5
   7051     cat conftest.$ac_ext >&5
   7052   fi
   7053   rm -rf conftest* conftst*
   7054 
   7055   # Do not use the global_symbol_pipe unless it works.
   7056   if test "$pipe_works" = yes; then
   7057     break
   7058   else
   7059     lt_cv_sys_global_symbol_pipe=
   7060   fi
   7061 done
   7062 
   7063 fi
   7064 
   7065 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7066   lt_cv_sys_global_symbol_to_cdecl=
   7067 fi
   7068 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7070 $as_echo "failed" >&6; }
   7071 else
   7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7073 $as_echo "ok" >&6; }
   7074 fi
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 # Check whether --enable-libtool-lock was given.
   7098 if test "${enable_libtool_lock+set}" = set; then :
   7099   enableval=$enable_libtool_lock;
   7100 fi
   7101 
   7102 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7103 
   7104 # Some flags need to be propagated to the compiler or linker for good
   7105 # libtool support.
   7106 case $host in
   7107 ia64-*-hpux*)
   7108   # Find out which ABI we are using.
   7109   echo 'int i;' > conftest.$ac_ext
   7110   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7111   (eval $ac_compile) 2>&5
   7112   ac_status=$?
   7113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7114   test $ac_status = 0; }; then
   7115     case `/usr/bin/file conftest.$ac_objext` in
   7116       *ELF-32*)
   7117 	HPUX_IA64_MODE="32"
   7118 	;;
   7119       *ELF-64*)
   7120 	HPUX_IA64_MODE="64"
   7121 	;;
   7122     esac
   7123   fi
   7124   rm -rf conftest*
   7125   ;;
   7126 *-*-irix6*)
   7127   # Find out which ABI we are using.
   7128   echo '#line 7099 "configure"' > conftest.$ac_ext
   7129   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7130   (eval $ac_compile) 2>&5
   7131   ac_status=$?
   7132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7133   test $ac_status = 0; }; then
   7134     if test "$lt_cv_prog_gnu_ld" = yes; then
   7135       case `/usr/bin/file conftest.$ac_objext` in
   7136 	*32-bit*)
   7137 	  LD="${LD-ld} -melf32bsmip"
   7138 	  ;;
   7139 	*N32*)
   7140 	  LD="${LD-ld} -melf32bmipn32"
   7141 	  ;;
   7142 	*64-bit*)
   7143 	  LD="${LD-ld} -melf64bmip"
   7144 	;;
   7145       esac
   7146     else
   7147       case `/usr/bin/file conftest.$ac_objext` in
   7148 	*32-bit*)
   7149 	  LD="${LD-ld} -32"
   7150 	  ;;
   7151 	*N32*)
   7152 	  LD="${LD-ld} -n32"
   7153 	  ;;
   7154 	*64-bit*)
   7155 	  LD="${LD-ld} -64"
   7156 	  ;;
   7157       esac
   7158     fi
   7159   fi
   7160   rm -rf conftest*
   7161   ;;
   7162 
   7163 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7164 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7165   # Find out which ABI we are using.
   7166   echo 'int i;' > conftest.$ac_ext
   7167   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7168   (eval $ac_compile) 2>&5
   7169   ac_status=$?
   7170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7171   test $ac_status = 0; }; then
   7172     case `/usr/bin/file conftest.o` in
   7173       *32-bit*)
   7174 	case $host in
   7175 	  x86_64-*kfreebsd*-gnu)
   7176 	    LD="${LD-ld} -m elf_i386_fbsd"
   7177 	    ;;
   7178 	  x86_64-*linux*)
   7179 	    LD="${LD-ld} -m elf_i386"
   7180 	    ;;
   7181 	  ppc64-*linux*|powerpc64-*linux*)
   7182 	    LD="${LD-ld} -m elf32ppclinux"
   7183 	    ;;
   7184 	  s390x-*linux*)
   7185 	    LD="${LD-ld} -m elf_s390"
   7186 	    ;;
   7187 	  sparc64-*linux*)
   7188 	    LD="${LD-ld} -m elf32_sparc"
   7189 	    ;;
   7190 	esac
   7191 	;;
   7192       *64-bit*)
   7193 	case $host in
   7194 	  x86_64-*kfreebsd*-gnu)
   7195 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7196 	    ;;
   7197 	  x86_64-*linux*)
   7198 	    LD="${LD-ld} -m elf_x86_64"
   7199 	    ;;
   7200 	  ppc*-*linux*|powerpc*-*linux*)
   7201 	    LD="${LD-ld} -m elf64ppc"
   7202 	    ;;
   7203 	  s390*-*linux*|s390*-*tpf*)
   7204 	    LD="${LD-ld} -m elf64_s390"
   7205 	    ;;
   7206 	  sparc*-*linux*)
   7207 	    LD="${LD-ld} -m elf64_sparc"
   7208 	    ;;
   7209 	esac
   7210 	;;
   7211     esac
   7212   fi
   7213   rm -rf conftest*
   7214   ;;
   7215 
   7216 *-*-sco3.2v5*)
   7217   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7218   SAVE_CFLAGS="$CFLAGS"
   7219   CFLAGS="$CFLAGS -belf"
   7220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7221 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7222 if ${lt_cv_cc_needs_belf+:} false; then :
   7223   $as_echo_n "(cached) " >&6
   7224 else
   7225   ac_ext=c
   7226 ac_cpp='$CPP $CPPFLAGS'
   7227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7230 
   7231      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7232 /* end confdefs.h.  */
   7233 
   7234 int
   7235 main ()
   7236 {
   7237 
   7238   ;
   7239   return 0;
   7240 }
   7241 _ACEOF
   7242 if ac_fn_c_try_link "$LINENO"; then :
   7243   lt_cv_cc_needs_belf=yes
   7244 else
   7245   lt_cv_cc_needs_belf=no
   7246 fi
   7247 rm -f core conftest.err conftest.$ac_objext \
   7248     conftest$ac_exeext conftest.$ac_ext
   7249      ac_ext=c
   7250 ac_cpp='$CPP $CPPFLAGS'
   7251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7254 
   7255 fi
   7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7257 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7258   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7259     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7260     CFLAGS="$SAVE_CFLAGS"
   7261   fi
   7262   ;;
   7263 sparc*-*solaris*)
   7264   # Find out which ABI we are using.
   7265   echo 'int i;' > conftest.$ac_ext
   7266   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7267   (eval $ac_compile) 2>&5
   7268   ac_status=$?
   7269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7270   test $ac_status = 0; }; then
   7271     case `/usr/bin/file conftest.o` in
   7272     *64-bit*)
   7273       case $lt_cv_prog_gnu_ld in
   7274       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7275       *)
   7276 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7277 	  LD="${LD-ld} -64"
   7278 	fi
   7279 	;;
   7280       esac
   7281       ;;
   7282     esac
   7283   fi
   7284   rm -rf conftest*
   7285   ;;
   7286 esac
   7287 
   7288 need_locks="$enable_libtool_lock"
   7289 
   7290 
   7291   case $host_os in
   7292     rhapsody* | darwin*)
   7293     if test -n "$ac_tool_prefix"; then
   7294   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7295 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7297 $as_echo_n "checking for $ac_word... " >&6; }
   7298 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7299   $as_echo_n "(cached) " >&6
   7300 else
   7301   if test -n "$DSYMUTIL"; then
   7302   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7303 else
   7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7305 for as_dir in $PATH
   7306 do
   7307   IFS=$as_save_IFS
   7308   test -z "$as_dir" && as_dir=.
   7309     for ac_exec_ext in '' $ac_executable_extensions; do
   7310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7311     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7313     break 2
   7314   fi
   7315 done
   7316   done
   7317 IFS=$as_save_IFS
   7318 
   7319 fi
   7320 fi
   7321 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7322 if test -n "$DSYMUTIL"; then
   7323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7324 $as_echo "$DSYMUTIL" >&6; }
   7325 else
   7326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7327 $as_echo "no" >&6; }
   7328 fi
   7329 
   7330 
   7331 fi
   7332 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7333   ac_ct_DSYMUTIL=$DSYMUTIL
   7334   # Extract the first word of "dsymutil", so it can be a program name with args.
   7335 set dummy dsymutil; ac_word=$2
   7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7337 $as_echo_n "checking for $ac_word... " >&6; }
   7338 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7339   $as_echo_n "(cached) " >&6
   7340 else
   7341   if test -n "$ac_ct_DSYMUTIL"; then
   7342   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7343 else
   7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7345 for as_dir in $PATH
   7346 do
   7347   IFS=$as_save_IFS
   7348   test -z "$as_dir" && as_dir=.
   7349     for ac_exec_ext in '' $ac_executable_extensions; do
   7350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7351     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7353     break 2
   7354   fi
   7355 done
   7356   done
   7357 IFS=$as_save_IFS
   7358 
   7359 fi
   7360 fi
   7361 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7362 if test -n "$ac_ct_DSYMUTIL"; then
   7363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7364 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7365 else
   7366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7367 $as_echo "no" >&6; }
   7368 fi
   7369 
   7370   if test "x$ac_ct_DSYMUTIL" = x; then
   7371     DSYMUTIL=":"
   7372   else
   7373     case $cross_compiling:$ac_tool_warned in
   7374 yes:)
   7375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7377 ac_tool_warned=yes ;;
   7378 esac
   7379     DSYMUTIL=$ac_ct_DSYMUTIL
   7380   fi
   7381 else
   7382   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7383 fi
   7384 
   7385     if test -n "$ac_tool_prefix"; then
   7386   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7387 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7389 $as_echo_n "checking for $ac_word... " >&6; }
   7390 if ${ac_cv_prog_NMEDIT+:} false; then :
   7391   $as_echo_n "(cached) " >&6
   7392 else
   7393   if test -n "$NMEDIT"; then
   7394   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7395 else
   7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7397 for as_dir in $PATH
   7398 do
   7399   IFS=$as_save_IFS
   7400   test -z "$as_dir" && as_dir=.
   7401     for ac_exec_ext in '' $ac_executable_extensions; do
   7402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7403     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7405     break 2
   7406   fi
   7407 done
   7408   done
   7409 IFS=$as_save_IFS
   7410 
   7411 fi
   7412 fi
   7413 NMEDIT=$ac_cv_prog_NMEDIT
   7414 if test -n "$NMEDIT"; then
   7415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7416 $as_echo "$NMEDIT" >&6; }
   7417 else
   7418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7419 $as_echo "no" >&6; }
   7420 fi
   7421 
   7422 
   7423 fi
   7424 if test -z "$ac_cv_prog_NMEDIT"; then
   7425   ac_ct_NMEDIT=$NMEDIT
   7426   # Extract the first word of "nmedit", so it can be a program name with args.
   7427 set dummy nmedit; ac_word=$2
   7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7429 $as_echo_n "checking for $ac_word... " >&6; }
   7430 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7431   $as_echo_n "(cached) " >&6
   7432 else
   7433   if test -n "$ac_ct_NMEDIT"; then
   7434   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7435 else
   7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7437 for as_dir in $PATH
   7438 do
   7439   IFS=$as_save_IFS
   7440   test -z "$as_dir" && as_dir=.
   7441     for ac_exec_ext in '' $ac_executable_extensions; do
   7442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7443     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7445     break 2
   7446   fi
   7447 done
   7448   done
   7449 IFS=$as_save_IFS
   7450 
   7451 fi
   7452 fi
   7453 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7454 if test -n "$ac_ct_NMEDIT"; then
   7455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7456 $as_echo "$ac_ct_NMEDIT" >&6; }
   7457 else
   7458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7459 $as_echo "no" >&6; }
   7460 fi
   7461 
   7462   if test "x$ac_ct_NMEDIT" = x; then
   7463     NMEDIT=":"
   7464   else
   7465     case $cross_compiling:$ac_tool_warned in
   7466 yes:)
   7467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7469 ac_tool_warned=yes ;;
   7470 esac
   7471     NMEDIT=$ac_ct_NMEDIT
   7472   fi
   7473 else
   7474   NMEDIT="$ac_cv_prog_NMEDIT"
   7475 fi
   7476 
   7477     if test -n "$ac_tool_prefix"; then
   7478   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7479 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7481 $as_echo_n "checking for $ac_word... " >&6; }
   7482 if ${ac_cv_prog_LIPO+:} false; then :
   7483   $as_echo_n "(cached) " >&6
   7484 else
   7485   if test -n "$LIPO"; then
   7486   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7487 else
   7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7489 for as_dir in $PATH
   7490 do
   7491   IFS=$as_save_IFS
   7492   test -z "$as_dir" && as_dir=.
   7493     for ac_exec_ext in '' $ac_executable_extensions; do
   7494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7495     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7497     break 2
   7498   fi
   7499 done
   7500   done
   7501 IFS=$as_save_IFS
   7502 
   7503 fi
   7504 fi
   7505 LIPO=$ac_cv_prog_LIPO
   7506 if test -n "$LIPO"; then
   7507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7508 $as_echo "$LIPO" >&6; }
   7509 else
   7510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7511 $as_echo "no" >&6; }
   7512 fi
   7513 
   7514 
   7515 fi
   7516 if test -z "$ac_cv_prog_LIPO"; then
   7517   ac_ct_LIPO=$LIPO
   7518   # Extract the first word of "lipo", so it can be a program name with args.
   7519 set dummy lipo; ac_word=$2
   7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7521 $as_echo_n "checking for $ac_word... " >&6; }
   7522 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7523   $as_echo_n "(cached) " >&6
   7524 else
   7525   if test -n "$ac_ct_LIPO"; then
   7526   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7527 else
   7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7529 for as_dir in $PATH
   7530 do
   7531   IFS=$as_save_IFS
   7532   test -z "$as_dir" && as_dir=.
   7533     for ac_exec_ext in '' $ac_executable_extensions; do
   7534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7535     ac_cv_prog_ac_ct_LIPO="lipo"
   7536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7537     break 2
   7538   fi
   7539 done
   7540   done
   7541 IFS=$as_save_IFS
   7542 
   7543 fi
   7544 fi
   7545 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7546 if test -n "$ac_ct_LIPO"; then
   7547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7548 $as_echo "$ac_ct_LIPO" >&6; }
   7549 else
   7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7551 $as_echo "no" >&6; }
   7552 fi
   7553 
   7554   if test "x$ac_ct_LIPO" = x; then
   7555     LIPO=":"
   7556   else
   7557     case $cross_compiling:$ac_tool_warned in
   7558 yes:)
   7559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7561 ac_tool_warned=yes ;;
   7562 esac
   7563     LIPO=$ac_ct_LIPO
   7564   fi
   7565 else
   7566   LIPO="$ac_cv_prog_LIPO"
   7567 fi
   7568 
   7569     if test -n "$ac_tool_prefix"; then
   7570   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7571 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7573 $as_echo_n "checking for $ac_word... " >&6; }
   7574 if ${ac_cv_prog_OTOOL+:} false; then :
   7575   $as_echo_n "(cached) " >&6
   7576 else
   7577   if test -n "$OTOOL"; then
   7578   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7579 else
   7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7581 for as_dir in $PATH
   7582 do
   7583   IFS=$as_save_IFS
   7584   test -z "$as_dir" && as_dir=.
   7585     for ac_exec_ext in '' $ac_executable_extensions; do
   7586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7587     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7589     break 2
   7590   fi
   7591 done
   7592   done
   7593 IFS=$as_save_IFS
   7594 
   7595 fi
   7596 fi
   7597 OTOOL=$ac_cv_prog_OTOOL
   7598 if test -n "$OTOOL"; then
   7599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7600 $as_echo "$OTOOL" >&6; }
   7601 else
   7602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7603 $as_echo "no" >&6; }
   7604 fi
   7605 
   7606 
   7607 fi
   7608 if test -z "$ac_cv_prog_OTOOL"; then
   7609   ac_ct_OTOOL=$OTOOL
   7610   # Extract the first word of "otool", so it can be a program name with args.
   7611 set dummy otool; ac_word=$2
   7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7613 $as_echo_n "checking for $ac_word... " >&6; }
   7614 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7615   $as_echo_n "(cached) " >&6
   7616 else
   7617   if test -n "$ac_ct_OTOOL"; then
   7618   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7619 else
   7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7621 for as_dir in $PATH
   7622 do
   7623   IFS=$as_save_IFS
   7624   test -z "$as_dir" && as_dir=.
   7625     for ac_exec_ext in '' $ac_executable_extensions; do
   7626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7627     ac_cv_prog_ac_ct_OTOOL="otool"
   7628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7629     break 2
   7630   fi
   7631 done
   7632   done
   7633 IFS=$as_save_IFS
   7634 
   7635 fi
   7636 fi
   7637 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7638 if test -n "$ac_ct_OTOOL"; then
   7639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7640 $as_echo "$ac_ct_OTOOL" >&6; }
   7641 else
   7642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7643 $as_echo "no" >&6; }
   7644 fi
   7645 
   7646   if test "x$ac_ct_OTOOL" = x; then
   7647     OTOOL=":"
   7648   else
   7649     case $cross_compiling:$ac_tool_warned in
   7650 yes:)
   7651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7653 ac_tool_warned=yes ;;
   7654 esac
   7655     OTOOL=$ac_ct_OTOOL
   7656   fi
   7657 else
   7658   OTOOL="$ac_cv_prog_OTOOL"
   7659 fi
   7660 
   7661     if test -n "$ac_tool_prefix"; then
   7662   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7663 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7665 $as_echo_n "checking for $ac_word... " >&6; }
   7666 if ${ac_cv_prog_OTOOL64+:} false; then :
   7667   $as_echo_n "(cached) " >&6
   7668 else
   7669   if test -n "$OTOOL64"; then
   7670   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7671 else
   7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7673 for as_dir in $PATH
   7674 do
   7675   IFS=$as_save_IFS
   7676   test -z "$as_dir" && as_dir=.
   7677     for ac_exec_ext in '' $ac_executable_extensions; do
   7678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7679     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7681     break 2
   7682   fi
   7683 done
   7684   done
   7685 IFS=$as_save_IFS
   7686 
   7687 fi
   7688 fi
   7689 OTOOL64=$ac_cv_prog_OTOOL64
   7690 if test -n "$OTOOL64"; then
   7691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7692 $as_echo "$OTOOL64" >&6; }
   7693 else
   7694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7695 $as_echo "no" >&6; }
   7696 fi
   7697 
   7698 
   7699 fi
   7700 if test -z "$ac_cv_prog_OTOOL64"; then
   7701   ac_ct_OTOOL64=$OTOOL64
   7702   # Extract the first word of "otool64", so it can be a program name with args.
   7703 set dummy otool64; ac_word=$2
   7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7705 $as_echo_n "checking for $ac_word... " >&6; }
   7706 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7707   $as_echo_n "(cached) " >&6
   7708 else
   7709   if test -n "$ac_ct_OTOOL64"; then
   7710   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7711 else
   7712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7713 for as_dir in $PATH
   7714 do
   7715   IFS=$as_save_IFS
   7716   test -z "$as_dir" && as_dir=.
   7717     for ac_exec_ext in '' $ac_executable_extensions; do
   7718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7719     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7721     break 2
   7722   fi
   7723 done
   7724   done
   7725 IFS=$as_save_IFS
   7726 
   7727 fi
   7728 fi
   7729 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7730 if test -n "$ac_ct_OTOOL64"; then
   7731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7732 $as_echo "$ac_ct_OTOOL64" >&6; }
   7733 else
   7734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7735 $as_echo "no" >&6; }
   7736 fi
   7737 
   7738   if test "x$ac_ct_OTOOL64" = x; then
   7739     OTOOL64=":"
   7740   else
   7741     case $cross_compiling:$ac_tool_warned in
   7742 yes:)
   7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7745 ac_tool_warned=yes ;;
   7746 esac
   7747     OTOOL64=$ac_ct_OTOOL64
   7748   fi
   7749 else
   7750   OTOOL64="$ac_cv_prog_OTOOL64"
   7751 fi
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7780 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7781 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7782   $as_echo_n "(cached) " >&6
   7783 else
   7784   lt_cv_apple_cc_single_mod=no
   7785       if test -z "${LT_MULTI_MODULE}"; then
   7786 	# By default we will add the -single_module flag. You can override
   7787 	# by either setting the environment variable LT_MULTI_MODULE
   7788 	# non-empty at configure time, or by adding -multi_module to the
   7789 	# link flags.
   7790 	rm -rf libconftest.dylib*
   7791 	echo "int foo(void){return 1;}" > conftest.c
   7792 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7793 -dynamiclib -Wl,-single_module conftest.c" >&5
   7794 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7795 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7796         _lt_result=$?
   7797 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7798 	  lt_cv_apple_cc_single_mod=yes
   7799 	else
   7800 	  cat conftest.err >&5
   7801 	fi
   7802 	rm -rf libconftest.dylib*
   7803 	rm -f conftest.*
   7804       fi
   7805 fi
   7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7807 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7808     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7809 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7810 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7811   $as_echo_n "(cached) " >&6
   7812 else
   7813   lt_cv_ld_exported_symbols_list=no
   7814       save_LDFLAGS=$LDFLAGS
   7815       echo "_main" > conftest.sym
   7816       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7818 /* end confdefs.h.  */
   7819 
   7820 int
   7821 main ()
   7822 {
   7823 
   7824   ;
   7825   return 0;
   7826 }
   7827 _ACEOF
   7828 if ac_fn_c_try_link "$LINENO"; then :
   7829   lt_cv_ld_exported_symbols_list=yes
   7830 else
   7831   lt_cv_ld_exported_symbols_list=no
   7832 fi
   7833 rm -f core conftest.err conftest.$ac_objext \
   7834     conftest$ac_exeext conftest.$ac_ext
   7835 	LDFLAGS="$save_LDFLAGS"
   7836 
   7837 fi
   7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7839 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7840     case $host_os in
   7841     rhapsody* | darwin1.[012])
   7842       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7843     darwin1.*)
   7844       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7845     darwin*) # darwin 5.x on
   7846       # if running on 10.5 or later, the deployment target defaults
   7847       # to the OS version, if on x86, and 10.4, the deployment
   7848       # target defaults to 10.4. Don't you love it?
   7849       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7850 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7851 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7852 	10.[012]*)
   7853 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7854 	10.*)
   7855 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7856       esac
   7857     ;;
   7858   esac
   7859     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7860       _lt_dar_single_mod='$single_module'
   7861     fi
   7862     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7863       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7864     else
   7865       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7866     fi
   7867     if test "$DSYMUTIL" != ":"; then
   7868       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7869     else
   7870       _lt_dsymutil=
   7871     fi
   7872     ;;
   7873   esac
   7874 
   7875 for ac_header in dlfcn.h
   7876 do :
   7877   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7878 "
   7879 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7880   cat >>confdefs.h <<_ACEOF
   7881 #define HAVE_DLFCN_H 1
   7882 _ACEOF
   7883 
   7884 fi
   7885 
   7886 done
   7887 
   7888 
   7889 
   7890 # Set options
   7891 # Check whether --enable-static was given.
   7892 if test "${enable_static+set}" = set; then :
   7893   enableval=$enable_static; p=${PACKAGE-default}
   7894     case $enableval in
   7895     yes) enable_static=yes ;;
   7896     no) enable_static=no ;;
   7897     *)
   7898      enable_static=no
   7899       # Look at the argument we got.  We use all the common list separators.
   7900       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7901       for pkg in $enableval; do
   7902 	IFS="$lt_save_ifs"
   7903 	if test "X$pkg" = "X$p"; then
   7904 	  enable_static=yes
   7905 	fi
   7906       done
   7907       IFS="$lt_save_ifs"
   7908       ;;
   7909     esac
   7910 else
   7911   enable_static=no
   7912 fi
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 # Check whether --with-pic was given.
   7922 if test "${with_pic+set}" = set; then :
   7923   withval=$with_pic; pic_mode="$withval"
   7924 else
   7925   pic_mode=default
   7926 fi
   7927 
   7928 
   7929 test -z "$pic_mode" && pic_mode=yes
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938         enable_dlopen=no
   7939 
   7940 
   7941   enable_win32_dll=no
   7942 
   7943 
   7944             # Check whether --enable-shared was given.
   7945 if test "${enable_shared+set}" = set; then :
   7946   enableval=$enable_shared; p=${PACKAGE-default}
   7947     case $enableval in
   7948     yes) enable_shared=yes ;;
   7949     no) enable_shared=no ;;
   7950     *)
   7951       enable_shared=no
   7952       # Look at the argument we got.  We use all the common list separators.
   7953       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7954       for pkg in $enableval; do
   7955 	IFS="$lt_save_ifs"
   7956 	if test "X$pkg" = "X$p"; then
   7957 	  enable_shared=yes
   7958 	fi
   7959       done
   7960       IFS="$lt_save_ifs"
   7961       ;;
   7962     esac
   7963 else
   7964   enable_shared=yes
   7965 fi
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977   # Check whether --enable-fast-install was given.
   7978 if test "${enable_fast_install+set}" = set; then :
   7979   enableval=$enable_fast_install; p=${PACKAGE-default}
   7980     case $enableval in
   7981     yes) enable_fast_install=yes ;;
   7982     no) enable_fast_install=no ;;
   7983     *)
   7984       enable_fast_install=no
   7985       # Look at the argument we got.  We use all the common list separators.
   7986       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7987       for pkg in $enableval; do
   7988 	IFS="$lt_save_ifs"
   7989 	if test "X$pkg" = "X$p"; then
   7990 	  enable_fast_install=yes
   7991 	fi
   7992       done
   7993       IFS="$lt_save_ifs"
   7994       ;;
   7995     esac
   7996 else
   7997   enable_fast_install=yes
   7998 fi
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 # This can be used to rebuild libtool when needed
   8011 LIBTOOL_DEPS="$ltmain"
   8012 
   8013 # Always use our own libtool.
   8014 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 test -z "$LN_S" && LN_S="ln -s"
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 if test -n "${ZSH_VERSION+set}" ; then
   8056    setopt NO_GLOB_SUBST
   8057 fi
   8058 
   8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8060 $as_echo_n "checking for objdir... " >&6; }
   8061 if ${lt_cv_objdir+:} false; then :
   8062   $as_echo_n "(cached) " >&6
   8063 else
   8064   rm -f .libs 2>/dev/null
   8065 mkdir .libs 2>/dev/null
   8066 if test -d .libs; then
   8067   lt_cv_objdir=.libs
   8068 else
   8069   # MS-DOS does not allow filenames that begin with a dot.
   8070   lt_cv_objdir=_libs
   8071 fi
   8072 rmdir .libs 2>/dev/null
   8073 fi
   8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8075 $as_echo "$lt_cv_objdir" >&6; }
   8076 objdir=$lt_cv_objdir
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 cat >>confdefs.h <<_ACEOF
   8083 #define LT_OBJDIR "$lt_cv_objdir/"
   8084 _ACEOF
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 case $host_os in
   8103 aix3*)
   8104   # AIX sometimes has problems with the GCC collect2 program.  For some
   8105   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8106   # vanish in a puff of smoke.
   8107   if test "X${COLLECT_NAMES+set}" != Xset; then
   8108     COLLECT_NAMES=
   8109     export COLLECT_NAMES
   8110   fi
   8111   ;;
   8112 esac
   8113 
   8114 # Sed substitution that helps us do robust quoting.  It backslashifies
   8115 # metacharacters that are still active within double-quoted strings.
   8116 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8117 
   8118 # Same as above, but do not quote variable references.
   8119 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8120 
   8121 # Sed substitution to delay expansion of an escaped shell variable in a
   8122 # double_quote_subst'ed string.
   8123 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8124 
   8125 # Sed substitution to delay expansion of an escaped single quote.
   8126 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8127 
   8128 # Sed substitution to avoid accidental globbing in evaled expressions
   8129 no_glob_subst='s/\*/\\\*/g'
   8130 
   8131 # Global variables:
   8132 ofile=libtool
   8133 can_build_shared=yes
   8134 
   8135 # All known linkers require a `.a' archive for static linking (except MSVC,
   8136 # which needs '.lib').
   8137 libext=a
   8138 
   8139 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8140 
   8141 old_CC="$CC"
   8142 old_CFLAGS="$CFLAGS"
   8143 
   8144 # Set sane defaults for various variables
   8145 test -z "$CC" && CC=cc
   8146 test -z "$LTCC" && LTCC=$CC
   8147 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8148 test -z "$LD" && LD=ld
   8149 test -z "$ac_objext" && ac_objext=o
   8150 
   8151 for cc_temp in $compiler""; do
   8152   case $cc_temp in
   8153     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8154     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8155     \-*) ;;
   8156     *) break;;
   8157   esac
   8158 done
   8159 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8160 
   8161 
   8162 # Only perform the check for file, if the check method requires it
   8163 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8164 case $deplibs_check_method in
   8165 file_magic*)
   8166   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8168 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8169 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8170   $as_echo_n "(cached) " >&6
   8171 else
   8172   case $MAGIC_CMD in
   8173 [\\/*] |  ?:[\\/]*)
   8174   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8175   ;;
   8176 *)
   8177   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8178   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8179   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8180   for ac_dir in $ac_dummy; do
   8181     IFS="$lt_save_ifs"
   8182     test -z "$ac_dir" && ac_dir=.
   8183     if test -f $ac_dir/${ac_tool_prefix}file; then
   8184       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8185       if test -n "$file_magic_test_file"; then
   8186 	case $deplibs_check_method in
   8187 	"file_magic "*)
   8188 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8189 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8190 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8191 	    $EGREP "$file_magic_regex" > /dev/null; then
   8192 	    :
   8193 	  else
   8194 	    cat <<_LT_EOF 1>&2
   8195 
   8196 *** Warning: the command libtool uses to detect shared libraries,
   8197 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8198 *** The result is that libtool may fail to recognize shared libraries
   8199 *** as such.  This will affect the creation of libtool libraries that
   8200 *** depend on shared libraries, but programs linked with such libtool
   8201 *** libraries will work regardless of this problem.  Nevertheless, you
   8202 *** may want to report the problem to your system manager and/or to
   8203 *** bug-libtool@gnu.org
   8204 
   8205 _LT_EOF
   8206 	  fi ;;
   8207 	esac
   8208       fi
   8209       break
   8210     fi
   8211   done
   8212   IFS="$lt_save_ifs"
   8213   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8214   ;;
   8215 esac
   8216 fi
   8217 
   8218 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8219 if test -n "$MAGIC_CMD"; then
   8220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8221 $as_echo "$MAGIC_CMD" >&6; }
   8222 else
   8223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8224 $as_echo "no" >&6; }
   8225 fi
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8232   if test -n "$ac_tool_prefix"; then
   8233     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8234 $as_echo_n "checking for file... " >&6; }
   8235 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8236   $as_echo_n "(cached) " >&6
   8237 else
   8238   case $MAGIC_CMD in
   8239 [\\/*] |  ?:[\\/]*)
   8240   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8241   ;;
   8242 *)
   8243   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8244   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8245   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8246   for ac_dir in $ac_dummy; do
   8247     IFS="$lt_save_ifs"
   8248     test -z "$ac_dir" && ac_dir=.
   8249     if test -f $ac_dir/file; then
   8250       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8251       if test -n "$file_magic_test_file"; then
   8252 	case $deplibs_check_method in
   8253 	"file_magic "*)
   8254 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8255 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8256 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8257 	    $EGREP "$file_magic_regex" > /dev/null; then
   8258 	    :
   8259 	  else
   8260 	    cat <<_LT_EOF 1>&2
   8261 
   8262 *** Warning: the command libtool uses to detect shared libraries,
   8263 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8264 *** The result is that libtool may fail to recognize shared libraries
   8265 *** as such.  This will affect the creation of libtool libraries that
   8266 *** depend on shared libraries, but programs linked with such libtool
   8267 *** libraries will work regardless of this problem.  Nevertheless, you
   8268 *** may want to report the problem to your system manager and/or to
   8269 *** bug-libtool@gnu.org
   8270 
   8271 _LT_EOF
   8272 	  fi ;;
   8273 	esac
   8274       fi
   8275       break
   8276     fi
   8277   done
   8278   IFS="$lt_save_ifs"
   8279   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8280   ;;
   8281 esac
   8282 fi
   8283 
   8284 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8285 if test -n "$MAGIC_CMD"; then
   8286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8287 $as_echo "$MAGIC_CMD" >&6; }
   8288 else
   8289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8290 $as_echo "no" >&6; }
   8291 fi
   8292 
   8293 
   8294   else
   8295     MAGIC_CMD=:
   8296   fi
   8297 fi
   8298 
   8299   fi
   8300   ;;
   8301 esac
   8302 
   8303 # Use C for the default configuration in the libtool script
   8304 
   8305 lt_save_CC="$CC"
   8306 ac_ext=c
   8307 ac_cpp='$CPP $CPPFLAGS'
   8308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8311 
   8312 
   8313 # Source file extension for C test sources.
   8314 ac_ext=c
   8315 
   8316 # Object file extension for compiled C test sources.
   8317 objext=o
   8318 objext=$objext
   8319 
   8320 # Code to be used in simple compile tests
   8321 lt_simple_compile_test_code="int some_variable = 0;"
   8322 
   8323 # Code to be used in simple link tests
   8324 lt_simple_link_test_code='int main(){return(0);}'
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 # If no C compiler was specified, use CC.
   8333 LTCC=${LTCC-"$CC"}
   8334 
   8335 # If no C compiler flags were specified, use CFLAGS.
   8336 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8337 
   8338 # Allow CC to be a program name with arguments.
   8339 compiler=$CC
   8340 
   8341 # Save the default compiler, since it gets overwritten when the other
   8342 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8343 compiler_DEFAULT=$CC
   8344 
   8345 # save warnings/boilerplate of simple test code
   8346 ac_outfile=conftest.$ac_objext
   8347 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8348 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8349 _lt_compiler_boilerplate=`cat conftest.err`
   8350 $RM conftest*
   8351 
   8352 ac_outfile=conftest.$ac_objext
   8353 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8354 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8355 _lt_linker_boilerplate=`cat conftest.err`
   8356 $RM -r conftest*
   8357 
   8358 
   8359 ## CAVEAT EMPTOR:
   8360 ## There is no encapsulation within the following macros, do not change
   8361 ## the running order or otherwise move them around unless you know exactly
   8362 ## what you are doing...
   8363 if test -n "$compiler"; then
   8364 
   8365 lt_prog_compiler_no_builtin_flag=
   8366 
   8367 if test "$GCC" = yes; then
   8368   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8369 
   8370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8371 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8372 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8373   $as_echo_n "(cached) " >&6
   8374 else
   8375   lt_cv_prog_compiler_rtti_exceptions=no
   8376    ac_outfile=conftest.$ac_objext
   8377    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8378    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8379    # Insert the option either (1) after the last *FLAGS variable, or
   8380    # (2) before a word containing "conftest.", or (3) at the end.
   8381    # Note that $ac_compile itself does not contain backslashes and begins
   8382    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8383    # The option is referenced via a variable to avoid confusing sed.
   8384    lt_compile=`echo "$ac_compile" | $SED \
   8385    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8386    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8387    -e 's:$: $lt_compiler_flag:'`
   8388    (eval echo "\"\$as_me:8359: $lt_compile\"" >&5)
   8389    (eval "$lt_compile" 2>conftest.err)
   8390    ac_status=$?
   8391    cat conftest.err >&5
   8392    echo "$as_me:8363: \$? = $ac_status" >&5
   8393    if (exit $ac_status) && test -s "$ac_outfile"; then
   8394      # The compiler can only warn and ignore the option if not recognized
   8395      # So say no if there are warnings other than the usual output.
   8396      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8397      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8398      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8399        lt_cv_prog_compiler_rtti_exceptions=yes
   8400      fi
   8401    fi
   8402    $RM conftest*
   8403 
   8404 fi
   8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8406 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8407 
   8408 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8409     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8410 else
   8411     :
   8412 fi
   8413 
   8414 fi
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421   lt_prog_compiler_wl=
   8422 lt_prog_compiler_pic=
   8423 lt_prog_compiler_static=
   8424 
   8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8426 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8427 
   8428   if test "$GCC" = yes; then
   8429     lt_prog_compiler_wl='-Wl,'
   8430     lt_prog_compiler_static='-static'
   8431 
   8432     case $host_os in
   8433       aix*)
   8434       # All AIX code is PIC.
   8435       if test "$host_cpu" = ia64; then
   8436 	# AIX 5 now supports IA64 processor
   8437 	lt_prog_compiler_static='-Bstatic'
   8438       fi
   8439       ;;
   8440 
   8441     amigaos*)
   8442       case $host_cpu in
   8443       powerpc)
   8444             # see comment about AmigaOS4 .so support
   8445             lt_prog_compiler_pic='-fPIC'
   8446         ;;
   8447       m68k)
   8448             # FIXME: we need at least 68020 code to build shared libraries, but
   8449             # adding the `-m68020' flag to GCC prevents building anything better,
   8450             # like `-m68040'.
   8451             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8452         ;;
   8453       esac
   8454       ;;
   8455 
   8456     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8457       # PIC is the default for these OSes.
   8458       ;;
   8459 
   8460     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8461       # This hack is so that the source file can tell whether it is being
   8462       # built for inclusion in a dll (and should export symbols for example).
   8463       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8464       # (--disable-auto-import) libraries
   8465       lt_prog_compiler_pic='-DDLL_EXPORT'
   8466       ;;
   8467 
   8468     darwin* | rhapsody*)
   8469       # PIC is the default on this platform
   8470       # Common symbols not allowed in MH_DYLIB files
   8471       lt_prog_compiler_pic='-fno-common'
   8472       ;;
   8473 
   8474     hpux*)
   8475       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8476       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8477       # sets the default TLS model and affects inlining.
   8478       case $host_cpu in
   8479       hppa*64*)
   8480 	# +Z the default
   8481 	;;
   8482       *)
   8483 	lt_prog_compiler_pic='-fPIC'
   8484 	;;
   8485       esac
   8486       ;;
   8487 
   8488     interix[3-9]*)
   8489       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8490       # Instead, we relocate shared libraries at runtime.
   8491       ;;
   8492 
   8493     msdosdjgpp*)
   8494       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8495       # on systems that don't support them.
   8496       lt_prog_compiler_can_build_shared=no
   8497       enable_shared=no
   8498       ;;
   8499 
   8500     *nto* | *qnx*)
   8501       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8502       # it will coredump.
   8503       lt_prog_compiler_pic='-fPIC -shared'
   8504       ;;
   8505 
   8506     sysv4*MP*)
   8507       if test -d /usr/nec; then
   8508 	lt_prog_compiler_pic=-Kconform_pic
   8509       fi
   8510       ;;
   8511 
   8512     *)
   8513       lt_prog_compiler_pic='-fPIC'
   8514       ;;
   8515     esac
   8516   else
   8517     # PORTME Check for flag to pass linker flags through the system compiler.
   8518     case $host_os in
   8519     aix*)
   8520       lt_prog_compiler_wl='-Wl,'
   8521       if test "$host_cpu" = ia64; then
   8522 	# AIX 5 now supports IA64 processor
   8523 	lt_prog_compiler_static='-Bstatic'
   8524       else
   8525 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8526       fi
   8527       ;;
   8528 
   8529     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8530       # This hack is so that the source file can tell whether it is being
   8531       # built for inclusion in a dll (and should export symbols for example).
   8532       lt_prog_compiler_pic='-DDLL_EXPORT'
   8533       ;;
   8534 
   8535     hpux9* | hpux10* | hpux11*)
   8536       lt_prog_compiler_wl='-Wl,'
   8537       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8538       # not for PA HP-UX.
   8539       case $host_cpu in
   8540       hppa*64*|ia64*)
   8541 	# +Z the default
   8542 	;;
   8543       *)
   8544 	lt_prog_compiler_pic='+Z'
   8545 	;;
   8546       esac
   8547       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8548       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8549       ;;
   8550 
   8551     irix5* | irix6* | nonstopux*)
   8552       lt_prog_compiler_wl='-Wl,'
   8553       # PIC (with -KPIC) is the default.
   8554       lt_prog_compiler_static='-non_shared'
   8555       ;;
   8556 
   8557     linux* | k*bsd*-gnu)
   8558       case $cc_basename in
   8559       # old Intel for x86_64 which still supported -KPIC.
   8560       ecc*)
   8561 	lt_prog_compiler_wl='-Wl,'
   8562 	lt_prog_compiler_pic='-KPIC'
   8563 	lt_prog_compiler_static='-static'
   8564         ;;
   8565       # icc used to be incompatible with GCC.
   8566       # ICC 10 doesn't accept -KPIC any more.
   8567       icc* | ifort*)
   8568 	lt_prog_compiler_wl='-Wl,'
   8569 	lt_prog_compiler_pic='-fPIC'
   8570 	lt_prog_compiler_static='-static'
   8571         ;;
   8572       # Lahey Fortran 8.1.
   8573       lf95*)
   8574 	lt_prog_compiler_wl='-Wl,'
   8575 	lt_prog_compiler_pic='--shared'
   8576 	lt_prog_compiler_static='--static'
   8577 	;;
   8578       pgcc* | pgf77* | pgf90* | pgf95*)
   8579         # Portland Group compilers (*not* the Pentium gcc compiler,
   8580 	# which looks to be a dead project)
   8581 	lt_prog_compiler_wl='-Wl,'
   8582 	lt_prog_compiler_pic='-fpic'
   8583 	lt_prog_compiler_static='-Bstatic'
   8584         ;;
   8585       ccc*)
   8586         lt_prog_compiler_wl='-Wl,'
   8587         # All Alpha code is PIC.
   8588         lt_prog_compiler_static='-non_shared'
   8589         ;;
   8590       xl*)
   8591 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8592 	lt_prog_compiler_wl='-Wl,'
   8593 	lt_prog_compiler_pic='-qpic'
   8594 	lt_prog_compiler_static='-qstaticlink'
   8595 	;;
   8596       *)
   8597 	case `$CC -V 2>&1 | sed 5q` in
   8598 	*Sun\ C*)
   8599 	  # Sun C 5.9
   8600 	  lt_prog_compiler_pic='-KPIC'
   8601 	  lt_prog_compiler_static='-Bstatic'
   8602 	  lt_prog_compiler_wl='-Wl,'
   8603 	  ;;
   8604 	*Sun\ F*)
   8605 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8606 	  lt_prog_compiler_pic='-KPIC'
   8607 	  lt_prog_compiler_static='-Bstatic'
   8608 	  lt_prog_compiler_wl=''
   8609 	  ;;
   8610 	esac
   8611 	;;
   8612       esac
   8613       ;;
   8614 
   8615     newsos6)
   8616       lt_prog_compiler_pic='-KPIC'
   8617       lt_prog_compiler_static='-Bstatic'
   8618       ;;
   8619 
   8620     *nto* | *qnx*)
   8621       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8622       # it will coredump.
   8623       lt_prog_compiler_pic='-fPIC -shared'
   8624       ;;
   8625 
   8626     osf3* | osf4* | osf5*)
   8627       lt_prog_compiler_wl='-Wl,'
   8628       # All OSF/1 code is PIC.
   8629       lt_prog_compiler_static='-non_shared'
   8630       ;;
   8631 
   8632     rdos*)
   8633       lt_prog_compiler_static='-non_shared'
   8634       ;;
   8635 
   8636     solaris*)
   8637       lt_prog_compiler_pic='-KPIC'
   8638       lt_prog_compiler_static='-Bstatic'
   8639       case $cc_basename in
   8640       f77* | f90* | f95*)
   8641 	lt_prog_compiler_wl='-Qoption ld ';;
   8642       *)
   8643 	lt_prog_compiler_wl='-Wl,';;
   8644       esac
   8645       ;;
   8646 
   8647     sunos4*)
   8648       lt_prog_compiler_wl='-Qoption ld '
   8649       lt_prog_compiler_pic='-PIC'
   8650       lt_prog_compiler_static='-Bstatic'
   8651       ;;
   8652 
   8653     sysv4 | sysv4.2uw2* | sysv4.3*)
   8654       lt_prog_compiler_wl='-Wl,'
   8655       lt_prog_compiler_pic='-KPIC'
   8656       lt_prog_compiler_static='-Bstatic'
   8657       ;;
   8658 
   8659     sysv4*MP*)
   8660       if test -d /usr/nec ;then
   8661 	lt_prog_compiler_pic='-Kconform_pic'
   8662 	lt_prog_compiler_static='-Bstatic'
   8663       fi
   8664       ;;
   8665 
   8666     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8667       lt_prog_compiler_wl='-Wl,'
   8668       lt_prog_compiler_pic='-KPIC'
   8669       lt_prog_compiler_static='-Bstatic'
   8670       ;;
   8671 
   8672     unicos*)
   8673       lt_prog_compiler_wl='-Wl,'
   8674       lt_prog_compiler_can_build_shared=no
   8675       ;;
   8676 
   8677     uts4*)
   8678       lt_prog_compiler_pic='-pic'
   8679       lt_prog_compiler_static='-Bstatic'
   8680       ;;
   8681 
   8682     *)
   8683       lt_prog_compiler_can_build_shared=no
   8684       ;;
   8685     esac
   8686   fi
   8687 
   8688 case $host_os in
   8689   # For platforms which do not support PIC, -DPIC is meaningless:
   8690   *djgpp*)
   8691     lt_prog_compiler_pic=
   8692     ;;
   8693   *)
   8694     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8695     ;;
   8696 esac
   8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8698 $as_echo "$lt_prog_compiler_pic" >&6; }
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 #
   8706 # Check to make sure the PIC flag actually works.
   8707 #
   8708 if test -n "$lt_prog_compiler_pic"; then
   8709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8710 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8711 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8712   $as_echo_n "(cached) " >&6
   8713 else
   8714   lt_cv_prog_compiler_pic_works=no
   8715    ac_outfile=conftest.$ac_objext
   8716    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8717    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8718    # Insert the option either (1) after the last *FLAGS variable, or
   8719    # (2) before a word containing "conftest.", or (3) at the end.
   8720    # Note that $ac_compile itself does not contain backslashes and begins
   8721    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8722    # The option is referenced via a variable to avoid confusing sed.
   8723    lt_compile=`echo "$ac_compile" | $SED \
   8724    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8725    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8726    -e 's:$: $lt_compiler_flag:'`
   8727    (eval echo "\"\$as_me:8698: $lt_compile\"" >&5)
   8728    (eval "$lt_compile" 2>conftest.err)
   8729    ac_status=$?
   8730    cat conftest.err >&5
   8731    echo "$as_me:8702: \$? = $ac_status" >&5
   8732    if (exit $ac_status) && test -s "$ac_outfile"; then
   8733      # The compiler can only warn and ignore the option if not recognized
   8734      # So say no if there are warnings other than the usual output.
   8735      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8736      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8737      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8738        lt_cv_prog_compiler_pic_works=yes
   8739      fi
   8740    fi
   8741    $RM conftest*
   8742 
   8743 fi
   8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8745 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8746 
   8747 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8748     case $lt_prog_compiler_pic in
   8749      "" | " "*) ;;
   8750      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8751      esac
   8752 else
   8753     lt_prog_compiler_pic=
   8754      lt_prog_compiler_can_build_shared=no
   8755 fi
   8756 
   8757 fi
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 #
   8765 # Check to make sure the static flag actually works.
   8766 #
   8767 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8769 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8770 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8771   $as_echo_n "(cached) " >&6
   8772 else
   8773   lt_cv_prog_compiler_static_works=no
   8774    save_LDFLAGS="$LDFLAGS"
   8775    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8776    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8777    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8778      # The linker can only warn and ignore the option if not recognized
   8779      # So say no if there are warnings
   8780      if test -s conftest.err; then
   8781        # Append any errors to the config.log.
   8782        cat conftest.err 1>&5
   8783        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8784        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8785        if diff conftest.exp conftest.er2 >/dev/null; then
   8786          lt_cv_prog_compiler_static_works=yes
   8787        fi
   8788      else
   8789        lt_cv_prog_compiler_static_works=yes
   8790      fi
   8791    fi
   8792    $RM -r conftest*
   8793    LDFLAGS="$save_LDFLAGS"
   8794 
   8795 fi
   8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8797 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8798 
   8799 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8800     :
   8801 else
   8802     lt_prog_compiler_static=
   8803 fi
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8813 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8814   $as_echo_n "(cached) " >&6
   8815 else
   8816   lt_cv_prog_compiler_c_o=no
   8817    $RM -r conftest 2>/dev/null
   8818    mkdir conftest
   8819    cd conftest
   8820    mkdir out
   8821    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8822 
   8823    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8824    # Insert the option either (1) after the last *FLAGS variable, or
   8825    # (2) before a word containing "conftest.", or (3) at the end.
   8826    # Note that $ac_compile itself does not contain backslashes and begins
   8827    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8828    lt_compile=`echo "$ac_compile" | $SED \
   8829    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8830    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8831    -e 's:$: $lt_compiler_flag:'`
   8832    (eval echo "\"\$as_me:8803: $lt_compile\"" >&5)
   8833    (eval "$lt_compile" 2>out/conftest.err)
   8834    ac_status=$?
   8835    cat out/conftest.err >&5
   8836    echo "$as_me:8807: \$? = $ac_status" >&5
   8837    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8838    then
   8839      # The compiler can only warn and ignore the option if not recognized
   8840      # So say no if there are warnings
   8841      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8842      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8843      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8844        lt_cv_prog_compiler_c_o=yes
   8845      fi
   8846    fi
   8847    chmod u+w . 2>&5
   8848    $RM conftest*
   8849    # SGI C++ compiler will create directory out/ii_files/ for
   8850    # template instantiation
   8851    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8852    $RM out/* && rmdir out
   8853    cd ..
   8854    $RM -r conftest
   8855    $RM conftest*
   8856 
   8857 fi
   8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8859 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8867 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8868 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8869   $as_echo_n "(cached) " >&6
   8870 else
   8871   lt_cv_prog_compiler_c_o=no
   8872    $RM -r conftest 2>/dev/null
   8873    mkdir conftest
   8874    cd conftest
   8875    mkdir out
   8876    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8877 
   8878    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8879    # Insert the option either (1) after the last *FLAGS variable, or
   8880    # (2) before a word containing "conftest.", or (3) at the end.
   8881    # Note that $ac_compile itself does not contain backslashes and begins
   8882    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8883    lt_compile=`echo "$ac_compile" | $SED \
   8884    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8885    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8886    -e 's:$: $lt_compiler_flag:'`
   8887    (eval echo "\"\$as_me:8858: $lt_compile\"" >&5)
   8888    (eval "$lt_compile" 2>out/conftest.err)
   8889    ac_status=$?
   8890    cat out/conftest.err >&5
   8891    echo "$as_me:8862: \$? = $ac_status" >&5
   8892    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8893    then
   8894      # The compiler can only warn and ignore the option if not recognized
   8895      # So say no if there are warnings
   8896      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8897      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8898      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8899        lt_cv_prog_compiler_c_o=yes
   8900      fi
   8901    fi
   8902    chmod u+w . 2>&5
   8903    $RM conftest*
   8904    # SGI C++ compiler will create directory out/ii_files/ for
   8905    # template instantiation
   8906    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8907    $RM out/* && rmdir out
   8908    cd ..
   8909    $RM -r conftest
   8910    $RM conftest*
   8911 
   8912 fi
   8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8914 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8915 
   8916 
   8917 
   8918 
   8919 hard_links="nottested"
   8920 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8921   # do not overwrite the value of need_locks provided by the user
   8922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8923 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8924   hard_links=yes
   8925   $RM conftest*
   8926   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8927   touch conftest.a
   8928   ln conftest.a conftest.b 2>&5 || hard_links=no
   8929   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8931 $as_echo "$hard_links" >&6; }
   8932   if test "$hard_links" = no; then
   8933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8934 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8935     need_locks=warn
   8936   fi
   8937 else
   8938   need_locks=no
   8939 fi
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8947 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8948 
   8949   runpath_var=
   8950   allow_undefined_flag=
   8951   always_export_symbols=no
   8952   archive_cmds=
   8953   archive_expsym_cmds=
   8954   compiler_needs_object=no
   8955   enable_shared_with_static_runtimes=no
   8956   export_dynamic_flag_spec=
   8957   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8958   hardcode_automatic=no
   8959   hardcode_direct=no
   8960   hardcode_direct_absolute=no
   8961   hardcode_libdir_flag_spec=
   8962   hardcode_libdir_flag_spec_ld=
   8963   hardcode_libdir_separator=
   8964   hardcode_minus_L=no
   8965   hardcode_shlibpath_var=unsupported
   8966   inherit_rpath=no
   8967   link_all_deplibs=unknown
   8968   module_cmds=
   8969   module_expsym_cmds=
   8970   old_archive_from_new_cmds=
   8971   old_archive_from_expsyms_cmds=
   8972   thread_safe_flag_spec=
   8973   whole_archive_flag_spec=
   8974   # include_expsyms should be a list of space-separated symbols to be *always*
   8975   # included in the symbol list
   8976   include_expsyms=
   8977   # exclude_expsyms can be an extended regexp of symbols to exclude
   8978   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8979   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8980   # as well as any symbol that contains `d'.
   8981   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8982   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8983   # platforms (ab)use it in PIC code, but their linkers get confused if
   8984   # the symbol is explicitly referenced.  Since portable code cannot
   8985   # rely on this symbol name, it's probably fine to never include it in
   8986   # preloaded symbol tables.
   8987   # Exclude shared library initialization/finalization symbols.
   8988   extract_expsyms_cmds=
   8989 
   8990   case $host_os in
   8991   cygwin* | mingw* | pw32* | cegcc*)
   8992     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8993     # When not using gcc, we currently assume that we are using
   8994     # Microsoft Visual C++.
   8995     if test "$GCC" != yes; then
   8996       with_gnu_ld=no
   8997     fi
   8998     ;;
   8999   interix*)
   9000     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9001     with_gnu_ld=yes
   9002     ;;
   9003   openbsd*)
   9004     with_gnu_ld=no
   9005     ;;
   9006   esac
   9007 
   9008   ld_shlibs=yes
   9009   if test "$with_gnu_ld" = yes; then
   9010     # If archive_cmds runs LD, not CC, wlarc should be empty
   9011     wlarc='${wl}'
   9012 
   9013     # Set some defaults for GNU ld with shared library support. These
   9014     # are reset later if shared libraries are not supported. Putting them
   9015     # here allows them to be overridden if necessary.
   9016     runpath_var=LD_RUN_PATH
   9017     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9018     export_dynamic_flag_spec='${wl}--export-dynamic'
   9019     # ancient GNU ld didn't support --whole-archive et. al.
   9020     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9021       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9022     else
   9023       whole_archive_flag_spec=
   9024     fi
   9025     supports_anon_versioning=no
   9026     case `$LD -v 2>&1` in
   9027       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9028       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9029       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9030       *\ 2.11.*) ;; # other 2.11 versions
   9031       *) supports_anon_versioning=yes ;;
   9032     esac
   9033 
   9034     # See if GNU ld supports shared libraries.
   9035     case $host_os in
   9036     aix[3-9]*)
   9037       # On AIX/PPC, the GNU linker is very broken
   9038       if test "$host_cpu" != ia64; then
   9039 	ld_shlibs=no
   9040 	cat <<_LT_EOF 1>&2
   9041 
   9042 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   9043 *** to be unable to reliably create shared libraries on AIX.
   9044 *** Therefore, libtool is disabling shared libraries support.  If you
   9045 *** really care for shared libraries, you may want to modify your PATH
   9046 *** so that a non-GNU linker is found, and then restart.
   9047 
   9048 _LT_EOF
   9049       fi
   9050       ;;
   9051 
   9052     amigaos*)
   9053       case $host_cpu in
   9054       powerpc)
   9055             # see comment about AmigaOS4 .so support
   9056             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9057             archive_expsym_cmds=''
   9058         ;;
   9059       m68k)
   9060             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)'
   9061             hardcode_libdir_flag_spec='-L$libdir'
   9062             hardcode_minus_L=yes
   9063         ;;
   9064       esac
   9065       ;;
   9066 
   9067     beos*)
   9068       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9069 	allow_undefined_flag=unsupported
   9070 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9071 	# support --undefined.  This deserves some investigation.  FIXME
   9072 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9073       else
   9074 	ld_shlibs=no
   9075       fi
   9076       ;;
   9077 
   9078     cygwin* | mingw* | pw32* | cegcc*)
   9079       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9080       # as there is no search path for DLLs.
   9081       hardcode_libdir_flag_spec='-L$libdir'
   9082       allow_undefined_flag=unsupported
   9083       always_export_symbols=no
   9084       enable_shared_with_static_runtimes=yes
   9085       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9086 
   9087       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9088         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9089 	# If the export-symbols file already is a .def file (1st line
   9090 	# is EXPORTS), use it as is; otherwise, prepend...
   9091 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9092 	  cp $export_symbols $output_objdir/$soname.def;
   9093 	else
   9094 	  echo EXPORTS > $output_objdir/$soname.def;
   9095 	  cat $export_symbols >> $output_objdir/$soname.def;
   9096 	fi~
   9097 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9098       else
   9099 	ld_shlibs=no
   9100       fi
   9101       ;;
   9102 
   9103     interix[3-9]*)
   9104       hardcode_direct=no
   9105       hardcode_shlibpath_var=no
   9106       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9107       export_dynamic_flag_spec='${wl}-E'
   9108       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9109       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9110       # default) and relocated if they conflict, which is a slow very memory
   9111       # consuming and fragmenting process.  To avoid this, we pick a random,
   9112       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9113       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9114       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9115       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'
   9116       ;;
   9117 
   9118     gnu* | linux* | tpf* | k*bsd*-gnu)
   9119       tmp_diet=no
   9120       if test "$host_os" = linux-dietlibc; then
   9121 	case $cc_basename in
   9122 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9123 	esac
   9124       fi
   9125       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9126 	 && test "$tmp_diet" = no
   9127       then
   9128 	tmp_addflag=
   9129 	tmp_sharedflag='-shared'
   9130 	case $cc_basename,$host_cpu in
   9131         pgcc*)				# Portland Group C compiler
   9132 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   9133 	  tmp_addflag=' $pic_flag'
   9134 	  ;;
   9135 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   9136 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   9137 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9138 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9139 	  tmp_addflag=' -i_dynamic' ;;
   9140 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9141 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9142 	ifc* | ifort*)			# Intel Fortran compiler
   9143 	  tmp_addflag=' -nofor_main' ;;
   9144 	lf95*)				# Lahey Fortran 8.1
   9145 	  whole_archive_flag_spec=
   9146 	  tmp_sharedflag='--shared' ;;
   9147 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   9148 	  tmp_sharedflag='-qmkshrobj'
   9149 	  tmp_addflag= ;;
   9150 	esac
   9151 	case `$CC -V 2>&1 | sed 5q` in
   9152 	*Sun\ C*)			# Sun C 5.9
   9153 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   9154 	  compiler_needs_object=yes
   9155 	  tmp_sharedflag='-G' ;;
   9156 	*Sun\ F*)			# Sun Fortran 8.3
   9157 	  tmp_sharedflag='-G' ;;
   9158 	esac
   9159 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9160 
   9161         if test "x$supports_anon_versioning" = xyes; then
   9162           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9163 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9164 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9165 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9166         fi
   9167 
   9168 	case $cc_basename in
   9169 	xlf*)
   9170 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9171 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9172 	  hardcode_libdir_flag_spec=
   9173 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9174 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9175 	  if test "x$supports_anon_versioning" = xyes; then
   9176 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9177 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9178 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9179 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9180 	  fi
   9181 	  ;;
   9182 	esac
   9183       else
   9184         ld_shlibs=no
   9185       fi
   9186       ;;
   9187 
   9188     netbsd*)
   9189       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9190 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9191 	wlarc=
   9192       else
   9193 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9194 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9195       fi
   9196       ;;
   9197 
   9198     solaris*)
   9199       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9200 	ld_shlibs=no
   9201 	cat <<_LT_EOF 1>&2
   9202 
   9203 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9204 *** create shared libraries on Solaris systems.  Therefore, libtool
   9205 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9206 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9207 *** your PATH or compiler configuration so that the native linker is
   9208 *** used, and then restart.
   9209 
   9210 _LT_EOF
   9211       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9212 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9213 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9214       else
   9215 	ld_shlibs=no
   9216       fi
   9217       ;;
   9218 
   9219     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9220       case `$LD -v 2>&1` in
   9221         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9222 	ld_shlibs=no
   9223 	cat <<_LT_EOF 1>&2
   9224 
   9225 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9226 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9227 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9228 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9229 *** your PATH or compiler configuration so that the native linker is
   9230 *** used, and then restart.
   9231 
   9232 _LT_EOF
   9233 	;;
   9234 	*)
   9235 	  # For security reasons, it is highly recommended that you always
   9236 	  # use absolute paths for naming shared libraries, and exclude the
   9237 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9238 	  # requires that you compile everything twice, which is a pain.
   9239 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9240 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9241 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9242 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9243 	  else
   9244 	    ld_shlibs=no
   9245 	  fi
   9246 	;;
   9247       esac
   9248       ;;
   9249 
   9250     sunos4*)
   9251       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9252       wlarc=
   9253       hardcode_direct=yes
   9254       hardcode_shlibpath_var=no
   9255       ;;
   9256 
   9257     *)
   9258       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9259 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9260 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9261       else
   9262 	ld_shlibs=no
   9263       fi
   9264       ;;
   9265     esac
   9266 
   9267     if test "$ld_shlibs" = no; then
   9268       runpath_var=
   9269       hardcode_libdir_flag_spec=
   9270       export_dynamic_flag_spec=
   9271       whole_archive_flag_spec=
   9272     fi
   9273   else
   9274     # PORTME fill in a description of your system's linker (not GNU ld)
   9275     case $host_os in
   9276     aix3*)
   9277       allow_undefined_flag=unsupported
   9278       always_export_symbols=yes
   9279       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'
   9280       # Note: this linker hardcodes the directories in LIBPATH if there
   9281       # are no directories specified by -L.
   9282       hardcode_minus_L=yes
   9283       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9284 	# Neither direct hardcoding nor static linking is supported with a
   9285 	# broken collect2.
   9286 	hardcode_direct=unsupported
   9287       fi
   9288       ;;
   9289 
   9290     aix[4-9]*)
   9291       if test "$host_cpu" = ia64; then
   9292 	# On IA64, the linker does run time linking by default, so we don't
   9293 	# have to do anything special.
   9294 	aix_use_runtimelinking=no
   9295 	exp_sym_flag='-Bexport'
   9296 	no_entry_flag=""
   9297       else
   9298 	# If we're using GNU nm, then we don't want the "-C" option.
   9299 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9300 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9301 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9302 	else
   9303 	  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'
   9304 	fi
   9305 	aix_use_runtimelinking=no
   9306 
   9307 	# Test if we are trying to use run time linking or normal
   9308 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9309 	# need to do runtime linking.
   9310 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9311 	  for ld_flag in $LDFLAGS; do
   9312 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9313 	    aix_use_runtimelinking=yes
   9314 	    break
   9315 	  fi
   9316 	  done
   9317 	  ;;
   9318 	esac
   9319 
   9320 	exp_sym_flag='-bexport'
   9321 	no_entry_flag='-bnoentry'
   9322       fi
   9323 
   9324       # When large executables or shared objects are built, AIX ld can
   9325       # have problems creating the table of contents.  If linking a library
   9326       # or program results in "error TOC overflow" add -mminimal-toc to
   9327       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9328       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9329 
   9330       archive_cmds=''
   9331       hardcode_direct=yes
   9332       hardcode_direct_absolute=yes
   9333       hardcode_libdir_separator=':'
   9334       link_all_deplibs=yes
   9335       file_list_spec='${wl}-f,'
   9336 
   9337       if test "$GCC" = yes; then
   9338 	case $host_os in aix4.[012]|aix4.[012].*)
   9339 	# We only want to do this on AIX 4.2 and lower, the check
   9340 	# below for broken collect2 doesn't work under 4.3+
   9341 	  collect2name=`${CC} -print-prog-name=collect2`
   9342 	  if test -f "$collect2name" &&
   9343 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9344 	  then
   9345 	  # We have reworked collect2
   9346 	  :
   9347 	  else
   9348 	  # We have old collect2
   9349 	  hardcode_direct=unsupported
   9350 	  # It fails to find uninstalled libraries when the uninstalled
   9351 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9352 	  # to unsupported forces relinking
   9353 	  hardcode_minus_L=yes
   9354 	  hardcode_libdir_flag_spec='-L$libdir'
   9355 	  hardcode_libdir_separator=
   9356 	  fi
   9357 	  ;;
   9358 	esac
   9359 	shared_flag='-shared'
   9360 	if test "$aix_use_runtimelinking" = yes; then
   9361 	  shared_flag="$shared_flag "'${wl}-G'
   9362 	fi
   9363       else
   9364 	# not using gcc
   9365 	if test "$host_cpu" = ia64; then
   9366 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9367 	# chokes on -Wl,-G. The following line is correct:
   9368 	  shared_flag='-G'
   9369 	else
   9370 	  if test "$aix_use_runtimelinking" = yes; then
   9371 	    shared_flag='${wl}-G'
   9372 	  else
   9373 	    shared_flag='${wl}-bM:SRE'
   9374 	  fi
   9375 	fi
   9376       fi
   9377 
   9378       export_dynamic_flag_spec='${wl}-bexpall'
   9379       # It seems that -bexpall does not export symbols beginning with
   9380       # underscore (_), so it is better to generate a list of symbols to export.
   9381       always_export_symbols=yes
   9382       if test "$aix_use_runtimelinking" = yes; then
   9383 	# Warning - without using the other runtime loading flags (-brtl),
   9384 	# -berok will link without error, but may produce a broken library.
   9385 	allow_undefined_flag='-berok'
   9386         # Determine the default libpath from the value encoded in an
   9387         # empty executable.
   9388         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9389 /* end confdefs.h.  */
   9390 
   9391 int
   9392 main ()
   9393 {
   9394 
   9395   ;
   9396   return 0;
   9397 }
   9398 _ACEOF
   9399 if ac_fn_c_try_link "$LINENO"; then :
   9400 
   9401 lt_aix_libpath_sed='
   9402     /Import File Strings/,/^$/ {
   9403 	/^0/ {
   9404 	    s/^0  *\(.*\)$/\1/
   9405 	    p
   9406 	}
   9407     }'
   9408 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9409 # Check for a 64-bit object if we didn't find anything.
   9410 if test -z "$aix_libpath"; then
   9411   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9412 fi
   9413 fi
   9414 rm -f core conftest.err conftest.$ac_objext \
   9415     conftest$ac_exeext conftest.$ac_ext
   9416 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9417 
   9418         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9419         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9420       else
   9421 	if test "$host_cpu" = ia64; then
   9422 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9423 	  allow_undefined_flag="-z nodefs"
   9424 	  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"
   9425 	else
   9426 	 # Determine the default libpath from the value encoded in an
   9427 	 # empty executable.
   9428 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9429 /* end confdefs.h.  */
   9430 
   9431 int
   9432 main ()
   9433 {
   9434 
   9435   ;
   9436   return 0;
   9437 }
   9438 _ACEOF
   9439 if ac_fn_c_try_link "$LINENO"; then :
   9440 
   9441 lt_aix_libpath_sed='
   9442     /Import File Strings/,/^$/ {
   9443 	/^0/ {
   9444 	    s/^0  *\(.*\)$/\1/
   9445 	    p
   9446 	}
   9447     }'
   9448 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9449 # Check for a 64-bit object if we didn't find anything.
   9450 if test -z "$aix_libpath"; then
   9451   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9452 fi
   9453 fi
   9454 rm -f core conftest.err conftest.$ac_objext \
   9455     conftest$ac_exeext conftest.$ac_ext
   9456 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9457 
   9458 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9459 	  # Warning - without using the other run time loading flags,
   9460 	  # -berok will link without error, but may produce a broken library.
   9461 	  no_undefined_flag=' ${wl}-bernotok'
   9462 	  allow_undefined_flag=' ${wl}-berok'
   9463 	  # Exported symbols can be pulled into shared objects from archives
   9464 	  whole_archive_flag_spec='$convenience'
   9465 	  archive_cmds_need_lc=yes
   9466 	  # This is similar to how AIX traditionally builds its shared libraries.
   9467 	  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'
   9468 	fi
   9469       fi
   9470       ;;
   9471 
   9472     amigaos*)
   9473       case $host_cpu in
   9474       powerpc)
   9475             # see comment about AmigaOS4 .so support
   9476             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9477             archive_expsym_cmds=''
   9478         ;;
   9479       m68k)
   9480             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)'
   9481             hardcode_libdir_flag_spec='-L$libdir'
   9482             hardcode_minus_L=yes
   9483         ;;
   9484       esac
   9485       ;;
   9486 
   9487     bsdi[45]*)
   9488       export_dynamic_flag_spec=-rdynamic
   9489       ;;
   9490 
   9491     cygwin* | mingw* | pw32* | cegcc*)
   9492       # When not using gcc, we currently assume that we are using
   9493       # Microsoft Visual C++.
   9494       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9495       # no search path for DLLs.
   9496       hardcode_libdir_flag_spec=' '
   9497       allow_undefined_flag=unsupported
   9498       # Tell ltmain to make .lib files, not .a files.
   9499       libext=lib
   9500       # Tell ltmain to make .dll files, not .so files.
   9501       shrext_cmds=".dll"
   9502       # FIXME: Setting linknames here is a bad hack.
   9503       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9504       # The linker will automatically build a .lib file if we build a DLL.
   9505       old_archive_from_new_cmds='true'
   9506       # FIXME: Should let the user specify the lib program.
   9507       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9508       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9509       enable_shared_with_static_runtimes=yes
   9510       ;;
   9511 
   9512     darwin* | rhapsody*)
   9513 
   9514 
   9515   archive_cmds_need_lc=no
   9516   hardcode_direct=no
   9517   hardcode_automatic=yes
   9518   hardcode_shlibpath_var=unsupported
   9519   whole_archive_flag_spec=''
   9520   link_all_deplibs=yes
   9521   allow_undefined_flag="$_lt_dar_allow_undefined"
   9522   case $cc_basename in
   9523      ifort*) _lt_dar_can_shared=yes ;;
   9524      *) _lt_dar_can_shared=$GCC ;;
   9525   esac
   9526   if test "$_lt_dar_can_shared" = "yes"; then
   9527     output_verbose_link_cmd=echo
   9528     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9529     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9530     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}"
   9531     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}"
   9532 
   9533   else
   9534   ld_shlibs=no
   9535   fi
   9536 
   9537       ;;
   9538 
   9539     dgux*)
   9540       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9541       hardcode_libdir_flag_spec='-L$libdir'
   9542       hardcode_shlibpath_var=no
   9543       ;;
   9544 
   9545     freebsd1*)
   9546       ld_shlibs=no
   9547       ;;
   9548 
   9549     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9550     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9551     # does not break anything, and helps significantly (at the cost of a little
   9552     # extra space).
   9553     freebsd2.2*)
   9554       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9555       hardcode_libdir_flag_spec='-R$libdir'
   9556       hardcode_direct=yes
   9557       hardcode_shlibpath_var=no
   9558       ;;
   9559 
   9560     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9561     freebsd2*)
   9562       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9563       hardcode_direct=yes
   9564       hardcode_minus_L=yes
   9565       hardcode_shlibpath_var=no
   9566       ;;
   9567 
   9568     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9569     freebsd* | dragonfly*)
   9570       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9571       hardcode_libdir_flag_spec='-R$libdir'
   9572       hardcode_direct=yes
   9573       hardcode_shlibpath_var=no
   9574       ;;
   9575 
   9576     hpux9*)
   9577       if test "$GCC" = yes; then
   9578 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9579       else
   9580 	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'
   9581       fi
   9582       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9583       hardcode_libdir_separator=:
   9584       hardcode_direct=yes
   9585 
   9586       # hardcode_minus_L: Not really in the search PATH,
   9587       # but as the default location of the library.
   9588       hardcode_minus_L=yes
   9589       export_dynamic_flag_spec='${wl}-E'
   9590       ;;
   9591 
   9592     hpux10*)
   9593       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9594 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9595       else
   9596 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9597       fi
   9598       if test "$with_gnu_ld" = no; then
   9599 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9600 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9601 	hardcode_libdir_separator=:
   9602 	hardcode_direct=yes
   9603 	hardcode_direct_absolute=yes
   9604 	export_dynamic_flag_spec='${wl}-E'
   9605 	# hardcode_minus_L: Not really in the search PATH,
   9606 	# but as the default location of the library.
   9607 	hardcode_minus_L=yes
   9608       fi
   9609       ;;
   9610 
   9611     hpux11*)
   9612       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9613 	case $host_cpu in
   9614 	hppa*64*)
   9615 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9616 	  ;;
   9617 	ia64*)
   9618 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9619 	  ;;
   9620 	*)
   9621 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9622 	  ;;
   9623 	esac
   9624       else
   9625 	case $host_cpu in
   9626 	hppa*64*)
   9627 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9628 	  ;;
   9629 	ia64*)
   9630 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9631 	  ;;
   9632 	*)
   9633 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9634 	  ;;
   9635 	esac
   9636       fi
   9637       if test "$with_gnu_ld" = no; then
   9638 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9639 	hardcode_libdir_separator=:
   9640 
   9641 	case $host_cpu in
   9642 	hppa*64*|ia64*)
   9643 	  hardcode_direct=no
   9644 	  hardcode_shlibpath_var=no
   9645 	  ;;
   9646 	*)
   9647 	  hardcode_direct=yes
   9648 	  hardcode_direct_absolute=yes
   9649 	  export_dynamic_flag_spec='${wl}-E'
   9650 
   9651 	  # hardcode_minus_L: Not really in the search PATH,
   9652 	  # but as the default location of the library.
   9653 	  hardcode_minus_L=yes
   9654 	  ;;
   9655 	esac
   9656       fi
   9657       ;;
   9658 
   9659     irix5* | irix6* | nonstopux*)
   9660       if test "$GCC" = yes; then
   9661 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9662 	# Try to use the -exported_symbol ld option, if it does not
   9663 	# work, assume that -exports_file does not work either and
   9664 	# implicitly export all symbols.
   9665         save_LDFLAGS="$LDFLAGS"
   9666         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9667         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9668 /* end confdefs.h.  */
   9669 int foo(void) {}
   9670 _ACEOF
   9671 if ac_fn_c_try_link "$LINENO"; then :
   9672   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9673 
   9674 fi
   9675 rm -f core conftest.err conftest.$ac_objext \
   9676     conftest$ac_exeext conftest.$ac_ext
   9677         LDFLAGS="$save_LDFLAGS"
   9678       else
   9679 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9680 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9681       fi
   9682       archive_cmds_need_lc='no'
   9683       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9684       hardcode_libdir_separator=:
   9685       inherit_rpath=yes
   9686       link_all_deplibs=yes
   9687       ;;
   9688 
   9689     netbsd*)
   9690       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9691 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9692       else
   9693 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9694       fi
   9695       hardcode_libdir_flag_spec='-R$libdir'
   9696       hardcode_direct=yes
   9697       hardcode_shlibpath_var=no
   9698       ;;
   9699 
   9700     newsos6)
   9701       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9702       hardcode_direct=yes
   9703       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9704       hardcode_libdir_separator=:
   9705       hardcode_shlibpath_var=no
   9706       ;;
   9707 
   9708     *nto* | *qnx*)
   9709       ;;
   9710 
   9711     openbsd*)
   9712       if test -f /usr/libexec/ld.so; then
   9713 	hardcode_direct=yes
   9714 	hardcode_shlibpath_var=no
   9715 	hardcode_direct_absolute=yes
   9716 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9717 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9718 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9719 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9720 	  export_dynamic_flag_spec='${wl}-E'
   9721 	else
   9722 	  case $host_os in
   9723 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9724 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9725 	     hardcode_libdir_flag_spec='-R$libdir'
   9726 	     ;;
   9727 	   *)
   9728 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9729 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9730 	     ;;
   9731 	  esac
   9732 	fi
   9733       else
   9734 	ld_shlibs=no
   9735       fi
   9736       ;;
   9737 
   9738     os2*)
   9739       hardcode_libdir_flag_spec='-L$libdir'
   9740       hardcode_minus_L=yes
   9741       allow_undefined_flag=unsupported
   9742       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'
   9743       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9744       ;;
   9745 
   9746     osf3*)
   9747       if test "$GCC" = yes; then
   9748 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9749 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9750       else
   9751 	allow_undefined_flag=' -expect_unresolved \*'
   9752 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9753       fi
   9754       archive_cmds_need_lc='no'
   9755       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9756       hardcode_libdir_separator=:
   9757       ;;
   9758 
   9759     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9760       if test "$GCC" = yes; then
   9761 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9762 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9763 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9764       else
   9765 	allow_undefined_flag=' -expect_unresolved \*'
   9766 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9767 	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~
   9768 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9769 
   9770 	# Both c and cxx compiler support -rpath directly
   9771 	hardcode_libdir_flag_spec='-rpath $libdir'
   9772       fi
   9773       archive_cmds_need_lc='no'
   9774       hardcode_libdir_separator=:
   9775       ;;
   9776 
   9777     solaris*)
   9778       no_undefined_flag=' -z defs'
   9779       if test "$GCC" = yes; then
   9780 	wlarc='${wl}'
   9781 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9782 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9783 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9784       else
   9785 	case `$CC -V 2>&1` in
   9786 	*"Compilers 5.0"*)
   9787 	  wlarc=''
   9788 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9789 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9790 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9791 	  ;;
   9792 	*)
   9793 	  wlarc='${wl}'
   9794 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9795 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9796 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9797 	  ;;
   9798 	esac
   9799       fi
   9800       hardcode_libdir_flag_spec='-R$libdir'
   9801       hardcode_shlibpath_var=no
   9802       case $host_os in
   9803       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9804       *)
   9805 	# The compiler driver will combine and reorder linker options,
   9806 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9807 	# but is careful enough not to reorder.
   9808 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9809 	if test "$GCC" = yes; then
   9810 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9811 	else
   9812 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9813 	fi
   9814 	;;
   9815       esac
   9816       link_all_deplibs=yes
   9817       ;;
   9818 
   9819     sunos4*)
   9820       if test "x$host_vendor" = xsequent; then
   9821 	# Use $CC to link under sequent, because it throws in some extra .o
   9822 	# files that make .init and .fini sections work.
   9823 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9824       else
   9825 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9826       fi
   9827       hardcode_libdir_flag_spec='-L$libdir'
   9828       hardcode_direct=yes
   9829       hardcode_minus_L=yes
   9830       hardcode_shlibpath_var=no
   9831       ;;
   9832 
   9833     sysv4)
   9834       case $host_vendor in
   9835 	sni)
   9836 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9837 	  hardcode_direct=yes # is this really true???
   9838 	;;
   9839 	siemens)
   9840 	  ## LD is ld it makes a PLAMLIB
   9841 	  ## CC just makes a GrossModule.
   9842 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9843 	  reload_cmds='$CC -r -o $output$reload_objs'
   9844 	  hardcode_direct=no
   9845         ;;
   9846 	motorola)
   9847 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9848 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9849 	;;
   9850       esac
   9851       runpath_var='LD_RUN_PATH'
   9852       hardcode_shlibpath_var=no
   9853       ;;
   9854 
   9855     sysv4.3*)
   9856       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9857       hardcode_shlibpath_var=no
   9858       export_dynamic_flag_spec='-Bexport'
   9859       ;;
   9860 
   9861     sysv4*MP*)
   9862       if test -d /usr/nec; then
   9863 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9864 	hardcode_shlibpath_var=no
   9865 	runpath_var=LD_RUN_PATH
   9866 	hardcode_runpath_var=yes
   9867 	ld_shlibs=yes
   9868       fi
   9869       ;;
   9870 
   9871     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9872       no_undefined_flag='${wl}-z,text'
   9873       archive_cmds_need_lc=no
   9874       hardcode_shlibpath_var=no
   9875       runpath_var='LD_RUN_PATH'
   9876 
   9877       if test "$GCC" = yes; then
   9878 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9879 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9880       else
   9881 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9882 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9883       fi
   9884       ;;
   9885 
   9886     sysv5* | sco3.2v5* | sco5v6*)
   9887       # Note: We can NOT use -z defs as we might desire, because we do not
   9888       # link with -lc, and that would cause any symbols used from libc to
   9889       # always be unresolved, which means just about no library would
   9890       # ever link correctly.  If we're not using GNU ld we use -z text
   9891       # though, which does catch some bad symbols but isn't as heavy-handed
   9892       # as -z defs.
   9893       no_undefined_flag='${wl}-z,text'
   9894       allow_undefined_flag='${wl}-z,nodefs'
   9895       archive_cmds_need_lc=no
   9896       hardcode_shlibpath_var=no
   9897       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9898       hardcode_libdir_separator=':'
   9899       link_all_deplibs=yes
   9900       export_dynamic_flag_spec='${wl}-Bexport'
   9901       runpath_var='LD_RUN_PATH'
   9902 
   9903       if test "$GCC" = yes; then
   9904 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9905 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9906       else
   9907 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9908 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9909       fi
   9910       ;;
   9911 
   9912     uts4*)
   9913       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9914       hardcode_libdir_flag_spec='-L$libdir'
   9915       hardcode_shlibpath_var=no
   9916       ;;
   9917 
   9918     *)
   9919       ld_shlibs=no
   9920       ;;
   9921     esac
   9922 
   9923     if test x$host_vendor = xsni; then
   9924       case $host in
   9925       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9926 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9927 	;;
   9928       esac
   9929     fi
   9930   fi
   9931 
   9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9933 $as_echo "$ld_shlibs" >&6; }
   9934 test "$ld_shlibs" = no && can_build_shared=no
   9935 
   9936 with_gnu_ld=$with_gnu_ld
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 #
   9953 # Do we need to explicitly link libc?
   9954 #
   9955 case "x$archive_cmds_need_lc" in
   9956 x|xyes)
   9957   # Assume -lc should be added
   9958   archive_cmds_need_lc=yes
   9959 
   9960   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9961     case $archive_cmds in
   9962     *'~'*)
   9963       # FIXME: we may have to deal with multi-command sequences.
   9964       ;;
   9965     '$CC '*)
   9966       # Test whether the compiler implicitly links with -lc since on some
   9967       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9968       # to ld, don't add -lc before -lgcc.
   9969       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9970 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9971       $RM conftest*
   9972       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9973 
   9974       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9975   (eval $ac_compile) 2>&5
   9976   ac_status=$?
   9977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9978   test $ac_status = 0; } 2>conftest.err; then
   9979         soname=conftest
   9980         lib=conftest
   9981         libobjs=conftest.$ac_objext
   9982         deplibs=
   9983         wl=$lt_prog_compiler_wl
   9984 	pic_flag=$lt_prog_compiler_pic
   9985         compiler_flags=-v
   9986         linker_flags=-v
   9987         verstring=
   9988         output_objdir=.
   9989         libname=conftest
   9990         lt_save_allow_undefined_flag=$allow_undefined_flag
   9991         allow_undefined_flag=
   9992         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9993   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9994   ac_status=$?
   9995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9996   test $ac_status = 0; }
   9997         then
   9998 	  archive_cmds_need_lc=no
   9999         else
   10000 	  archive_cmds_need_lc=yes
   10001         fi
   10002         allow_undefined_flag=$lt_save_allow_undefined_flag
   10003       else
   10004         cat conftest.err 1>&5
   10005       fi
   10006       $RM conftest*
   10007       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   10008 $as_echo "$archive_cmds_need_lc" >&6; }
   10009       ;;
   10010     esac
   10011   fi
   10012   ;;
   10013 esac
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10172 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10173 
   10174 if test "$GCC" = yes; then
   10175   case $host_os in
   10176     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10177     *) lt_awk_arg="/^libraries:/" ;;
   10178   esac
   10179   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10180   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10181     # if the path contains ";" then we assume it to be the separator
   10182     # otherwise default to the standard path separator (i.e. ":") - it is
   10183     # assumed that no part of a normal pathname contains ";" but that should
   10184     # okay in the real world where ";" in dirpaths is itself problematic.
   10185     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10186   else
   10187     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10188   fi
   10189   # Ok, now we have the path, separated by spaces, we can step through it
   10190   # and add multilib dir if necessary.
   10191   lt_tmp_lt_search_path_spec=
   10192   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10193   for lt_sys_path in $lt_search_path_spec; do
   10194     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10195       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10196     else
   10197       test -d "$lt_sys_path" && \
   10198 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10199     fi
   10200   done
   10201   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10202 BEGIN {RS=" "; FS="/|\n";} {
   10203   lt_foo="";
   10204   lt_count=0;
   10205   for (lt_i = NF; lt_i > 0; lt_i--) {
   10206     if ($lt_i != "" && $lt_i != ".") {
   10207       if ($lt_i == "..") {
   10208         lt_count++;
   10209       } else {
   10210         if (lt_count == 0) {
   10211           lt_foo="/" $lt_i lt_foo;
   10212         } else {
   10213           lt_count--;
   10214         }
   10215       }
   10216     }
   10217   }
   10218   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10219   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10220 }'`
   10221   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10222 else
   10223   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10224 fi
   10225 library_names_spec=
   10226 libname_spec='lib$name'
   10227 soname_spec=
   10228 shrext_cmds=".so"
   10229 postinstall_cmds=
   10230 postuninstall_cmds=
   10231 finish_cmds=
   10232 finish_eval=
   10233 shlibpath_var=
   10234 shlibpath_overrides_runpath=unknown
   10235 version_type=none
   10236 dynamic_linker="$host_os ld.so"
   10237 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10238 need_lib_prefix=unknown
   10239 hardcode_into_libs=no
   10240 
   10241 # when you set need_version to no, make sure it does not cause -set_version
   10242 # flags to be left without arguments
   10243 need_version=unknown
   10244 
   10245 case $host_os in
   10246 aix3*)
   10247   version_type=linux
   10248   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10249   shlibpath_var=LIBPATH
   10250 
   10251   # AIX 3 has no versioning support, so we append a major version to the name.
   10252   soname_spec='${libname}${release}${shared_ext}$major'
   10253   ;;
   10254 
   10255 aix[4-9]*)
   10256   version_type=linux
   10257   need_lib_prefix=no
   10258   need_version=no
   10259   hardcode_into_libs=yes
   10260   if test "$host_cpu" = ia64; then
   10261     # AIX 5 supports IA64
   10262     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10263     shlibpath_var=LD_LIBRARY_PATH
   10264   else
   10265     # With GCC up to 2.95.x, collect2 would create an import file
   10266     # for dependence libraries.  The import file would start with
   10267     # the line `#! .'.  This would cause the generated library to
   10268     # depend on `.', always an invalid library.  This was fixed in
   10269     # development snapshots of GCC prior to 3.0.
   10270     case $host_os in
   10271       aix4 | aix4.[01] | aix4.[01].*)
   10272       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10273 	   echo ' yes '
   10274 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10275 	:
   10276       else
   10277 	can_build_shared=no
   10278       fi
   10279       ;;
   10280     esac
   10281     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10282     # soname into executable. Probably we can add versioning support to
   10283     # collect2, so additional links can be useful in future.
   10284     if test "$aix_use_runtimelinking" = yes; then
   10285       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10286       # instead of lib<name>.a to let people know that these are not
   10287       # typical AIX shared libraries.
   10288       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10289     else
   10290       # We preserve .a as extension for shared libraries through AIX4.2
   10291       # and later when we are not doing run time linking.
   10292       library_names_spec='${libname}${release}.a $libname.a'
   10293       soname_spec='${libname}${release}${shared_ext}$major'
   10294     fi
   10295     shlibpath_var=LIBPATH
   10296   fi
   10297   ;;
   10298 
   10299 amigaos*)
   10300   case $host_cpu in
   10301   powerpc)
   10302     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10303     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10304     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10305     ;;
   10306   m68k)
   10307     library_names_spec='$libname.ixlibrary $libname.a'
   10308     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10309     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10310     ;;
   10311   esac
   10312   ;;
   10313 
   10314 beos*)
   10315   library_names_spec='${libname}${shared_ext}'
   10316   dynamic_linker="$host_os ld.so"
   10317   shlibpath_var=LIBRARY_PATH
   10318   ;;
   10319 
   10320 bsdi[45]*)
   10321   version_type=linux
   10322   need_version=no
   10323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10324   soname_spec='${libname}${release}${shared_ext}$major'
   10325   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10326   shlibpath_var=LD_LIBRARY_PATH
   10327   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10328   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10329   # the default ld.so.conf also contains /usr/contrib/lib and
   10330   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10331   # libtool to hard-code these into programs
   10332   ;;
   10333 
   10334 cygwin* | mingw* | pw32* | cegcc*)
   10335   version_type=windows
   10336   shrext_cmds=".dll"
   10337   need_version=no
   10338   need_lib_prefix=no
   10339 
   10340   case $GCC,$host_os in
   10341   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10342     library_names_spec='$libname.dll.a'
   10343     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10344     postinstall_cmds='base_file=`basename \${file}`~
   10345       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10346       dldir=$destdir/`dirname \$dlpath`~
   10347       test -d \$dldir || mkdir -p \$dldir~
   10348       $install_prog $dir/$dlname \$dldir/$dlname~
   10349       chmod a+x \$dldir/$dlname~
   10350       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10351         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10352       fi'
   10353     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10354       dlpath=$dir/\$dldll~
   10355        $RM \$dlpath'
   10356     shlibpath_overrides_runpath=yes
   10357 
   10358     case $host_os in
   10359     cygwin*)
   10360       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10361       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10362       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10363       ;;
   10364     mingw* | cegcc*)
   10365       # MinGW DLLs use traditional 'lib' prefix
   10366       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10367       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10368       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10369         # It is most probably a Windows format PATH printed by
   10370         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10371         # path with ; separators, and with drive letters. We can handle the
   10372         # drive letters (cygwin fileutils understands them), so leave them,
   10373         # especially as we might pass files found there to a mingw objdump,
   10374         # which wouldn't understand a cygwinified path. Ahh.
   10375         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10376       else
   10377         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10378       fi
   10379       ;;
   10380     pw32*)
   10381       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10382       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10383       ;;
   10384     esac
   10385     ;;
   10386 
   10387   *)
   10388     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10389     ;;
   10390   esac
   10391   dynamic_linker='Win32 ld.exe'
   10392   # FIXME: first we should search . and the directory the executable is in
   10393   shlibpath_var=PATH
   10394   ;;
   10395 
   10396 darwin* | rhapsody*)
   10397   dynamic_linker="$host_os dyld"
   10398   version_type=darwin
   10399   need_lib_prefix=no
   10400   need_version=no
   10401   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10402   soname_spec='${libname}${release}${major}$shared_ext'
   10403   shlibpath_overrides_runpath=yes
   10404   shlibpath_var=DYLD_LIBRARY_PATH
   10405   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10406 
   10407   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10408   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10409   ;;
   10410 
   10411 dgux*)
   10412   version_type=linux
   10413   need_lib_prefix=no
   10414   need_version=no
   10415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10416   soname_spec='${libname}${release}${shared_ext}$major'
   10417   shlibpath_var=LD_LIBRARY_PATH
   10418   ;;
   10419 
   10420 freebsd1*)
   10421   dynamic_linker=no
   10422   ;;
   10423 
   10424 freebsd* | dragonfly*)
   10425   # DragonFly does not have aout.  When/if they implement a new
   10426   # versioning mechanism, adjust this.
   10427   if test -x /usr/bin/objformat; then
   10428     objformat=`/usr/bin/objformat`
   10429   else
   10430     case $host_os in
   10431     freebsd[123]*) objformat=aout ;;
   10432     *) objformat=elf ;;
   10433     esac
   10434   fi
   10435   version_type=freebsd-$objformat
   10436   case $version_type in
   10437     freebsd-elf*)
   10438       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10439       need_version=no
   10440       need_lib_prefix=no
   10441       ;;
   10442     freebsd-*)
   10443       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10444       need_version=yes
   10445       ;;
   10446   esac
   10447   shlibpath_var=LD_LIBRARY_PATH
   10448   case $host_os in
   10449   freebsd2*)
   10450     shlibpath_overrides_runpath=yes
   10451     ;;
   10452   freebsd3.[01]* | freebsdelf3.[01]*)
   10453     shlibpath_overrides_runpath=yes
   10454     hardcode_into_libs=yes
   10455     ;;
   10456   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10457   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10458     shlibpath_overrides_runpath=no
   10459     hardcode_into_libs=yes
   10460     ;;
   10461   *) # from 4.6 on, and DragonFly
   10462     shlibpath_overrides_runpath=yes
   10463     hardcode_into_libs=yes
   10464     ;;
   10465   esac
   10466   ;;
   10467 
   10468 gnu*)
   10469   version_type=linux
   10470   need_lib_prefix=no
   10471   need_version=no
   10472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10473   soname_spec='${libname}${release}${shared_ext}$major'
   10474   shlibpath_var=LD_LIBRARY_PATH
   10475   hardcode_into_libs=yes
   10476   ;;
   10477 
   10478 hpux9* | hpux10* | hpux11*)
   10479   # Give a soname corresponding to the major version so that dld.sl refuses to
   10480   # link against other versions.
   10481   version_type=sunos
   10482   need_lib_prefix=no
   10483   need_version=no
   10484   case $host_cpu in
   10485   ia64*)
   10486     shrext_cmds='.so'
   10487     hardcode_into_libs=yes
   10488     dynamic_linker="$host_os dld.so"
   10489     shlibpath_var=LD_LIBRARY_PATH
   10490     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10491     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10492     soname_spec='${libname}${release}${shared_ext}$major'
   10493     if test "X$HPUX_IA64_MODE" = X32; then
   10494       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10495     else
   10496       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10497     fi
   10498     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10499     ;;
   10500   hppa*64*)
   10501     shrext_cmds='.sl'
   10502     hardcode_into_libs=yes
   10503     dynamic_linker="$host_os dld.sl"
   10504     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10505     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10506     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10507     soname_spec='${libname}${release}${shared_ext}$major'
   10508     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10509     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10510     ;;
   10511   *)
   10512     shrext_cmds='.sl'
   10513     dynamic_linker="$host_os dld.sl"
   10514     shlibpath_var=SHLIB_PATH
   10515     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10516     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10517     soname_spec='${libname}${release}${shared_ext}$major'
   10518     ;;
   10519   esac
   10520   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10521   postinstall_cmds='chmod 555 $lib'
   10522   ;;
   10523 
   10524 interix[3-9]*)
   10525   version_type=linux
   10526   need_lib_prefix=no
   10527   need_version=no
   10528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10529   soname_spec='${libname}${release}${shared_ext}$major'
   10530   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10531   shlibpath_var=LD_LIBRARY_PATH
   10532   shlibpath_overrides_runpath=no
   10533   hardcode_into_libs=yes
   10534   ;;
   10535 
   10536 irix5* | irix6* | nonstopux*)
   10537   case $host_os in
   10538     nonstopux*) version_type=nonstopux ;;
   10539     *)
   10540 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10541 		version_type=linux
   10542 	else
   10543 		version_type=irix
   10544 	fi ;;
   10545   esac
   10546   need_lib_prefix=no
   10547   need_version=no
   10548   soname_spec='${libname}${release}${shared_ext}$major'
   10549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10550   case $host_os in
   10551   irix5* | nonstopux*)
   10552     libsuff= shlibsuff=
   10553     ;;
   10554   *)
   10555     case $LD in # libtool.m4 will add one of these switches to LD
   10556     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10557       libsuff= shlibsuff= libmagic=32-bit;;
   10558     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10559       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10560     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10561       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10562     *) libsuff= shlibsuff= libmagic=never-match;;
   10563     esac
   10564     ;;
   10565   esac
   10566   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10567   shlibpath_overrides_runpath=no
   10568   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10569   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10570   hardcode_into_libs=yes
   10571   ;;
   10572 
   10573 # No shared lib support for Linux oldld, aout, or coff.
   10574 linux*oldld* | linux*aout* | linux*coff*)
   10575   dynamic_linker=no
   10576   ;;
   10577 
   10578 # This must be Linux ELF.
   10579 linux* | k*bsd*-gnu)
   10580   version_type=linux
   10581   need_lib_prefix=no
   10582   need_version=no
   10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10584   soname_spec='${libname}${release}${shared_ext}$major'
   10585   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10586   shlibpath_var=LD_LIBRARY_PATH
   10587   shlibpath_overrides_runpath=no
   10588   # Some binutils ld are patched to set DT_RUNPATH
   10589   save_LDFLAGS=$LDFLAGS
   10590   save_libdir=$libdir
   10591   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10592        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10594 /* end confdefs.h.  */
   10595 
   10596 int
   10597 main ()
   10598 {
   10599 
   10600   ;
   10601   return 0;
   10602 }
   10603 _ACEOF
   10604 if ac_fn_c_try_link "$LINENO"; then :
   10605   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10606   shlibpath_overrides_runpath=yes
   10607 fi
   10608 fi
   10609 rm -f core conftest.err conftest.$ac_objext \
   10610     conftest$ac_exeext conftest.$ac_ext
   10611   LDFLAGS=$save_LDFLAGS
   10612   libdir=$save_libdir
   10613 
   10614   # This implies no fast_install, which is unacceptable.
   10615   # Some rework will be needed to allow for fast_install
   10616   # before this can be enabled.
   10617   hardcode_into_libs=yes
   10618 
   10619   # Append ld.so.conf contents to the search path
   10620   if test -f /etc/ld.so.conf; then
   10621     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   10622     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10623   fi
   10624 
   10625   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10626   # powerpc, because MkLinux only supported shared libraries with the
   10627   # GNU dynamic linker.  Since this was broken with cross compilers,
   10628   # most powerpc-linux boxes support dynamic linking these days and
   10629   # people can always --disable-shared, the test was removed, and we
   10630   # assume the GNU/Linux dynamic linker is in use.
   10631   dynamic_linker='GNU/Linux ld.so'
   10632   ;;
   10633 
   10634 netbsd*)
   10635   version_type=sunos
   10636   need_lib_prefix=no
   10637   need_version=no
   10638   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10639     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10640     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10641     dynamic_linker='NetBSD (a.out) ld.so'
   10642   else
   10643     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10644     soname_spec='${libname}${release}${shared_ext}$major'
   10645     dynamic_linker='NetBSD ld.elf_so'
   10646   fi
   10647   shlibpath_var=LD_LIBRARY_PATH
   10648   shlibpath_overrides_runpath=yes
   10649   hardcode_into_libs=yes
   10650   ;;
   10651 
   10652 newsos6)
   10653   version_type=linux
   10654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10655   shlibpath_var=LD_LIBRARY_PATH
   10656   shlibpath_overrides_runpath=yes
   10657   ;;
   10658 
   10659 *nto* | *qnx*)
   10660   version_type=qnx
   10661   need_lib_prefix=no
   10662   need_version=no
   10663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10664   soname_spec='${libname}${release}${shared_ext}$major'
   10665   shlibpath_var=LD_LIBRARY_PATH
   10666   shlibpath_overrides_runpath=no
   10667   hardcode_into_libs=yes
   10668   dynamic_linker='ldqnx.so'
   10669   ;;
   10670 
   10671 openbsd*)
   10672   version_type=sunos
   10673   sys_lib_dlsearch_path_spec="/usr/lib"
   10674   need_lib_prefix=no
   10675   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10676   case $host_os in
   10677     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10678     *)				need_version=no  ;;
   10679   esac
   10680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10681   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10682   shlibpath_var=LD_LIBRARY_PATH
   10683   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10684     case $host_os in
   10685       openbsd2.[89] | openbsd2.[89].*)
   10686 	shlibpath_overrides_runpath=no
   10687 	;;
   10688       *)
   10689 	shlibpath_overrides_runpath=yes
   10690 	;;
   10691       esac
   10692   else
   10693     shlibpath_overrides_runpath=yes
   10694   fi
   10695   ;;
   10696 
   10697 os2*)
   10698   libname_spec='$name'
   10699   shrext_cmds=".dll"
   10700   need_lib_prefix=no
   10701   library_names_spec='$libname${shared_ext} $libname.a'
   10702   dynamic_linker='OS/2 ld.exe'
   10703   shlibpath_var=LIBPATH
   10704   ;;
   10705 
   10706 osf3* | osf4* | osf5*)
   10707   version_type=osf
   10708   need_lib_prefix=no
   10709   need_version=no
   10710   soname_spec='${libname}${release}${shared_ext}$major'
   10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10712   shlibpath_var=LD_LIBRARY_PATH
   10713   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10714   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10715   ;;
   10716 
   10717 rdos*)
   10718   dynamic_linker=no
   10719   ;;
   10720 
   10721 solaris*)
   10722   version_type=linux
   10723   need_lib_prefix=no
   10724   need_version=no
   10725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10726   soname_spec='${libname}${release}${shared_ext}$major'
   10727   shlibpath_var=LD_LIBRARY_PATH
   10728   shlibpath_overrides_runpath=yes
   10729   hardcode_into_libs=yes
   10730   # ldd complains unless libraries are executable
   10731   postinstall_cmds='chmod +x $lib'
   10732   ;;
   10733 
   10734 sunos4*)
   10735   version_type=sunos
   10736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10737   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10738   shlibpath_var=LD_LIBRARY_PATH
   10739   shlibpath_overrides_runpath=yes
   10740   if test "$with_gnu_ld" = yes; then
   10741     need_lib_prefix=no
   10742   fi
   10743   need_version=yes
   10744   ;;
   10745 
   10746 sysv4 | sysv4.3*)
   10747   version_type=linux
   10748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10749   soname_spec='${libname}${release}${shared_ext}$major'
   10750   shlibpath_var=LD_LIBRARY_PATH
   10751   case $host_vendor in
   10752     sni)
   10753       shlibpath_overrides_runpath=no
   10754       need_lib_prefix=no
   10755       runpath_var=LD_RUN_PATH
   10756       ;;
   10757     siemens)
   10758       need_lib_prefix=no
   10759       ;;
   10760     motorola)
   10761       need_lib_prefix=no
   10762       need_version=no
   10763       shlibpath_overrides_runpath=no
   10764       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10765       ;;
   10766   esac
   10767   ;;
   10768 
   10769 sysv4*MP*)
   10770   if test -d /usr/nec ;then
   10771     version_type=linux
   10772     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10773     soname_spec='$libname${shared_ext}.$major'
   10774     shlibpath_var=LD_LIBRARY_PATH
   10775   fi
   10776   ;;
   10777 
   10778 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10779   version_type=freebsd-elf
   10780   need_lib_prefix=no
   10781   need_version=no
   10782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10783   soname_spec='${libname}${release}${shared_ext}$major'
   10784   shlibpath_var=LD_LIBRARY_PATH
   10785   shlibpath_overrides_runpath=yes
   10786   hardcode_into_libs=yes
   10787   if test "$with_gnu_ld" = yes; then
   10788     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10789   else
   10790     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10791     case $host_os in
   10792       sco3.2v5*)
   10793         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10794 	;;
   10795     esac
   10796   fi
   10797   sys_lib_dlsearch_path_spec='/usr/lib'
   10798   ;;
   10799 
   10800 tpf*)
   10801   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10802   version_type=linux
   10803   need_lib_prefix=no
   10804   need_version=no
   10805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10806   shlibpath_var=LD_LIBRARY_PATH
   10807   shlibpath_overrides_runpath=no
   10808   hardcode_into_libs=yes
   10809   ;;
   10810 
   10811 uts4*)
   10812   version_type=linux
   10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10814   soname_spec='${libname}${release}${shared_ext}$major'
   10815   shlibpath_var=LD_LIBRARY_PATH
   10816   ;;
   10817 
   10818 *)
   10819   dynamic_linker=no
   10820   ;;
   10821 esac
   10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10823 $as_echo "$dynamic_linker" >&6; }
   10824 test "$dynamic_linker" = no && can_build_shared=no
   10825 
   10826 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10827 if test "$GCC" = yes; then
   10828   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10829 fi
   10830 
   10831 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10832   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10833 fi
   10834 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10835   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10836 fi
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10925 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10926 hardcode_action=
   10927 if test -n "$hardcode_libdir_flag_spec" ||
   10928    test -n "$runpath_var" ||
   10929    test "X$hardcode_automatic" = "Xyes" ; then
   10930 
   10931   # We can hardcode non-existent directories.
   10932   if test "$hardcode_direct" != no &&
   10933      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10934      # have to relink, otherwise we might link with an installed library
   10935      # when we should be linking with a yet-to-be-installed one
   10936      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10937      test "$hardcode_minus_L" != no; then
   10938     # Linking always hardcodes the temporary library directory.
   10939     hardcode_action=relink
   10940   else
   10941     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10942     hardcode_action=immediate
   10943   fi
   10944 else
   10945   # We cannot hardcode anything, or else we can only hardcode existing
   10946   # directories.
   10947   hardcode_action=unsupported
   10948 fi
   10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10950 $as_echo "$hardcode_action" >&6; }
   10951 
   10952 if test "$hardcode_action" = relink ||
   10953    test "$inherit_rpath" = yes; then
   10954   # Fast installation is not supported
   10955   enable_fast_install=no
   10956 elif test "$shlibpath_overrides_runpath" = yes ||
   10957      test "$enable_shared" = no; then
   10958   # Fast installation is not necessary
   10959   enable_fast_install=needless
   10960 fi
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967   if test "x$enable_dlopen" != xyes; then
   10968   enable_dlopen=unknown
   10969   enable_dlopen_self=unknown
   10970   enable_dlopen_self_static=unknown
   10971 else
   10972   lt_cv_dlopen=no
   10973   lt_cv_dlopen_libs=
   10974 
   10975   case $host_os in
   10976   beos*)
   10977     lt_cv_dlopen="load_add_on"
   10978     lt_cv_dlopen_libs=
   10979     lt_cv_dlopen_self=yes
   10980     ;;
   10981 
   10982   mingw* | pw32* | cegcc*)
   10983     lt_cv_dlopen="LoadLibrary"
   10984     lt_cv_dlopen_libs=
   10985     ;;
   10986 
   10987   cygwin*)
   10988     lt_cv_dlopen="dlopen"
   10989     lt_cv_dlopen_libs=
   10990     ;;
   10991 
   10992   darwin*)
   10993   # if libdl is installed we need to link against it
   10994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10995 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10996 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10997   $as_echo_n "(cached) " >&6
   10998 else
   10999   ac_check_lib_save_LIBS=$LIBS
   11000 LIBS="-ldl  $LIBS"
   11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11002 /* end confdefs.h.  */
   11003 
   11004 /* Override any GCC internal prototype to avoid an error.
   11005    Use char because int might match the return type of a GCC
   11006    builtin and then its argument prototype would still apply.  */
   11007 #ifdef __cplusplus
   11008 extern "C"
   11009 #endif
   11010 char dlopen ();
   11011 int
   11012 main ()
   11013 {
   11014 return dlopen ();
   11015   ;
   11016   return 0;
   11017 }
   11018 _ACEOF
   11019 if ac_fn_c_try_link "$LINENO"; then :
   11020   ac_cv_lib_dl_dlopen=yes
   11021 else
   11022   ac_cv_lib_dl_dlopen=no
   11023 fi
   11024 rm -f core conftest.err conftest.$ac_objext \
   11025     conftest$ac_exeext conftest.$ac_ext
   11026 LIBS=$ac_check_lib_save_LIBS
   11027 fi
   11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11029 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11030 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11031   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11032 else
   11033 
   11034     lt_cv_dlopen="dyld"
   11035     lt_cv_dlopen_libs=
   11036     lt_cv_dlopen_self=yes
   11037 
   11038 fi
   11039 
   11040     ;;
   11041 
   11042   *)
   11043     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11044 if test "x$ac_cv_func_shl_load" = xyes; then :
   11045   lt_cv_dlopen="shl_load"
   11046 else
   11047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11048 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11049 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11050   $as_echo_n "(cached) " >&6
   11051 else
   11052   ac_check_lib_save_LIBS=$LIBS
   11053 LIBS="-ldld  $LIBS"
   11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11055 /* end confdefs.h.  */
   11056 
   11057 /* Override any GCC internal prototype to avoid an error.
   11058    Use char because int might match the return type of a GCC
   11059    builtin and then its argument prototype would still apply.  */
   11060 #ifdef __cplusplus
   11061 extern "C"
   11062 #endif
   11063 char shl_load ();
   11064 int
   11065 main ()
   11066 {
   11067 return shl_load ();
   11068   ;
   11069   return 0;
   11070 }
   11071 _ACEOF
   11072 if ac_fn_c_try_link "$LINENO"; then :
   11073   ac_cv_lib_dld_shl_load=yes
   11074 else
   11075   ac_cv_lib_dld_shl_load=no
   11076 fi
   11077 rm -f core conftest.err conftest.$ac_objext \
   11078     conftest$ac_exeext conftest.$ac_ext
   11079 LIBS=$ac_check_lib_save_LIBS
   11080 fi
   11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11082 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11083 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11084   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11085 else
   11086   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11087 if test "x$ac_cv_func_dlopen" = xyes; then :
   11088   lt_cv_dlopen="dlopen"
   11089 else
   11090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11091 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11092 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11093   $as_echo_n "(cached) " >&6
   11094 else
   11095   ac_check_lib_save_LIBS=$LIBS
   11096 LIBS="-ldl  $LIBS"
   11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11098 /* end confdefs.h.  */
   11099 
   11100 /* Override any GCC internal prototype to avoid an error.
   11101    Use char because int might match the return type of a GCC
   11102    builtin and then its argument prototype would still apply.  */
   11103 #ifdef __cplusplus
   11104 extern "C"
   11105 #endif
   11106 char dlopen ();
   11107 int
   11108 main ()
   11109 {
   11110 return dlopen ();
   11111   ;
   11112   return 0;
   11113 }
   11114 _ACEOF
   11115 if ac_fn_c_try_link "$LINENO"; then :
   11116   ac_cv_lib_dl_dlopen=yes
   11117 else
   11118   ac_cv_lib_dl_dlopen=no
   11119 fi
   11120 rm -f core conftest.err conftest.$ac_objext \
   11121     conftest$ac_exeext conftest.$ac_ext
   11122 LIBS=$ac_check_lib_save_LIBS
   11123 fi
   11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11125 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11126 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11127   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11128 else
   11129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11130 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11131 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11132   $as_echo_n "(cached) " >&6
   11133 else
   11134   ac_check_lib_save_LIBS=$LIBS
   11135 LIBS="-lsvld  $LIBS"
   11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11137 /* end confdefs.h.  */
   11138 
   11139 /* Override any GCC internal prototype to avoid an error.
   11140    Use char because int might match the return type of a GCC
   11141    builtin and then its argument prototype would still apply.  */
   11142 #ifdef __cplusplus
   11143 extern "C"
   11144 #endif
   11145 char dlopen ();
   11146 int
   11147 main ()
   11148 {
   11149 return dlopen ();
   11150   ;
   11151   return 0;
   11152 }
   11153 _ACEOF
   11154 if ac_fn_c_try_link "$LINENO"; then :
   11155   ac_cv_lib_svld_dlopen=yes
   11156 else
   11157   ac_cv_lib_svld_dlopen=no
   11158 fi
   11159 rm -f core conftest.err conftest.$ac_objext \
   11160     conftest$ac_exeext conftest.$ac_ext
   11161 LIBS=$ac_check_lib_save_LIBS
   11162 fi
   11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11164 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11165 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11166   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11167 else
   11168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11169 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11170 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11171   $as_echo_n "(cached) " >&6
   11172 else
   11173   ac_check_lib_save_LIBS=$LIBS
   11174 LIBS="-ldld  $LIBS"
   11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11176 /* end confdefs.h.  */
   11177 
   11178 /* Override any GCC internal prototype to avoid an error.
   11179    Use char because int might match the return type of a GCC
   11180    builtin and then its argument prototype would still apply.  */
   11181 #ifdef __cplusplus
   11182 extern "C"
   11183 #endif
   11184 char dld_link ();
   11185 int
   11186 main ()
   11187 {
   11188 return dld_link ();
   11189   ;
   11190   return 0;
   11191 }
   11192 _ACEOF
   11193 if ac_fn_c_try_link "$LINENO"; then :
   11194   ac_cv_lib_dld_dld_link=yes
   11195 else
   11196   ac_cv_lib_dld_dld_link=no
   11197 fi
   11198 rm -f core conftest.err conftest.$ac_objext \
   11199     conftest$ac_exeext conftest.$ac_ext
   11200 LIBS=$ac_check_lib_save_LIBS
   11201 fi
   11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11203 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11204 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11205   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11206 fi
   11207 
   11208 
   11209 fi
   11210 
   11211 
   11212 fi
   11213 
   11214 
   11215 fi
   11216 
   11217 
   11218 fi
   11219 
   11220 
   11221 fi
   11222 
   11223     ;;
   11224   esac
   11225 
   11226   if test "x$lt_cv_dlopen" != xno; then
   11227     enable_dlopen=yes
   11228   else
   11229     enable_dlopen=no
   11230   fi
   11231 
   11232   case $lt_cv_dlopen in
   11233   dlopen)
   11234     save_CPPFLAGS="$CPPFLAGS"
   11235     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11236 
   11237     save_LDFLAGS="$LDFLAGS"
   11238     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11239 
   11240     save_LIBS="$LIBS"
   11241     LIBS="$lt_cv_dlopen_libs $LIBS"
   11242 
   11243     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11244 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11245 if ${lt_cv_dlopen_self+:} false; then :
   11246   $as_echo_n "(cached) " >&6
   11247 else
   11248   	  if test "$cross_compiling" = yes; then :
   11249   lt_cv_dlopen_self=cross
   11250 else
   11251   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11252   lt_status=$lt_dlunknown
   11253   cat > conftest.$ac_ext <<_LT_EOF
   11254 #line 11225 "configure"
   11255 #include "confdefs.h"
   11256 
   11257 #if HAVE_DLFCN_H
   11258 #include <dlfcn.h>
   11259 #endif
   11260 
   11261 #include <stdio.h>
   11262 
   11263 #ifdef RTLD_GLOBAL
   11264 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11265 #else
   11266 #  ifdef DL_GLOBAL
   11267 #    define LT_DLGLOBAL		DL_GLOBAL
   11268 #  else
   11269 #    define LT_DLGLOBAL		0
   11270 #  endif
   11271 #endif
   11272 
   11273 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11274    find out it does not work in some platform. */
   11275 #ifndef LT_DLLAZY_OR_NOW
   11276 #  ifdef RTLD_LAZY
   11277 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11278 #  else
   11279 #    ifdef DL_LAZY
   11280 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11281 #    else
   11282 #      ifdef RTLD_NOW
   11283 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11284 #      else
   11285 #        ifdef DL_NOW
   11286 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11287 #        else
   11288 #          define LT_DLLAZY_OR_NOW	0
   11289 #        endif
   11290 #      endif
   11291 #    endif
   11292 #  endif
   11293 #endif
   11294 
   11295 void fnord() { int i=42;}
   11296 int main ()
   11297 {
   11298   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11299   int status = $lt_dlunknown;
   11300 
   11301   if (self)
   11302     {
   11303       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11304       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11305       /* dlclose (self); */
   11306     }
   11307   else
   11308     puts (dlerror ());
   11309 
   11310   return status;
   11311 }
   11312 _LT_EOF
   11313   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11314   (eval $ac_link) 2>&5
   11315   ac_status=$?
   11316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11317   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11318     (./conftest; exit; ) >&5 2>/dev/null
   11319     lt_status=$?
   11320     case x$lt_status in
   11321       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11322       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11323       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11324     esac
   11325   else :
   11326     # compilation failed
   11327     lt_cv_dlopen_self=no
   11328   fi
   11329 fi
   11330 rm -fr conftest*
   11331 
   11332 
   11333 fi
   11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11335 $as_echo "$lt_cv_dlopen_self" >&6; }
   11336 
   11337     if test "x$lt_cv_dlopen_self" = xyes; then
   11338       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11339       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11340 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11341 if ${lt_cv_dlopen_self_static+:} false; then :
   11342   $as_echo_n "(cached) " >&6
   11343 else
   11344   	  if test "$cross_compiling" = yes; then :
   11345   lt_cv_dlopen_self_static=cross
   11346 else
   11347   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11348   lt_status=$lt_dlunknown
   11349   cat > conftest.$ac_ext <<_LT_EOF
   11350 #line 11321 "configure"
   11351 #include "confdefs.h"
   11352 
   11353 #if HAVE_DLFCN_H
   11354 #include <dlfcn.h>
   11355 #endif
   11356 
   11357 #include <stdio.h>
   11358 
   11359 #ifdef RTLD_GLOBAL
   11360 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11361 #else
   11362 #  ifdef DL_GLOBAL
   11363 #    define LT_DLGLOBAL		DL_GLOBAL
   11364 #  else
   11365 #    define LT_DLGLOBAL		0
   11366 #  endif
   11367 #endif
   11368 
   11369 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11370    find out it does not work in some platform. */
   11371 #ifndef LT_DLLAZY_OR_NOW
   11372 #  ifdef RTLD_LAZY
   11373 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11374 #  else
   11375 #    ifdef DL_LAZY
   11376 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11377 #    else
   11378 #      ifdef RTLD_NOW
   11379 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11380 #      else
   11381 #        ifdef DL_NOW
   11382 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11383 #        else
   11384 #          define LT_DLLAZY_OR_NOW	0
   11385 #        endif
   11386 #      endif
   11387 #    endif
   11388 #  endif
   11389 #endif
   11390 
   11391 void fnord() { int i=42;}
   11392 int main ()
   11393 {
   11394   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11395   int status = $lt_dlunknown;
   11396 
   11397   if (self)
   11398     {
   11399       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11400       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11401       /* dlclose (self); */
   11402     }
   11403   else
   11404     puts (dlerror ());
   11405 
   11406   return status;
   11407 }
   11408 _LT_EOF
   11409   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11410   (eval $ac_link) 2>&5
   11411   ac_status=$?
   11412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11413   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11414     (./conftest; exit; ) >&5 2>/dev/null
   11415     lt_status=$?
   11416     case x$lt_status in
   11417       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11418       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11419       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11420     esac
   11421   else :
   11422     # compilation failed
   11423     lt_cv_dlopen_self_static=no
   11424   fi
   11425 fi
   11426 rm -fr conftest*
   11427 
   11428 
   11429 fi
   11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11431 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11432     fi
   11433 
   11434     CPPFLAGS="$save_CPPFLAGS"
   11435     LDFLAGS="$save_LDFLAGS"
   11436     LIBS="$save_LIBS"
   11437     ;;
   11438   esac
   11439 
   11440   case $lt_cv_dlopen_self in
   11441   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11442   *) enable_dlopen_self=unknown ;;
   11443   esac
   11444 
   11445   case $lt_cv_dlopen_self_static in
   11446   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11447   *) enable_dlopen_self_static=unknown ;;
   11448   esac
   11449 fi
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 striplib=
   11468 old_striplib=
   11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11470 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11471 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11472   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11473   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11475 $as_echo "yes" >&6; }
   11476 else
   11477 # FIXME - insert some real tests, host_os isn't really good enough
   11478   case $host_os in
   11479   darwin*)
   11480     if test -n "$STRIP" ; then
   11481       striplib="$STRIP -x"
   11482       old_striplib="$STRIP -S"
   11483       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11484 $as_echo "yes" >&6; }
   11485     else
   11486       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11487 $as_echo "no" >&6; }
   11488     fi
   11489     ;;
   11490   *)
   11491     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11492 $as_echo "no" >&6; }
   11493     ;;
   11494   esac
   11495 fi
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508   # Report which library types will actually be built
   11509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11510 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11512 $as_echo "$can_build_shared" >&6; }
   11513 
   11514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11515 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11516   test "$can_build_shared" = "no" && enable_shared=no
   11517 
   11518   # On AIX, shared libraries and static libraries use the same namespace, and
   11519   # are all built from PIC.
   11520   case $host_os in
   11521   aix3*)
   11522     test "$enable_shared" = yes && enable_static=no
   11523     if test -n "$RANLIB"; then
   11524       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11525       postinstall_cmds='$RANLIB $lib'
   11526     fi
   11527     ;;
   11528 
   11529   aix[4-9]*)
   11530     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11531       test "$enable_shared" = yes && enable_static=no
   11532     fi
   11533     ;;
   11534   esac
   11535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11536 $as_echo "$enable_shared" >&6; }
   11537 
   11538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11539 $as_echo_n "checking whether to build static libraries... " >&6; }
   11540   # Make sure either enable_shared or enable_static is yes.
   11541   test "$enable_shared" = yes || enable_static=yes
   11542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11543 $as_echo "$enable_static" >&6; }
   11544 
   11545 
   11546 
   11547 
   11548 fi
   11549 ac_ext=c
   11550 ac_cpp='$CPP $CPPFLAGS'
   11551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11554 
   11555 CC="$lt_save_CC"
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569         ac_config_commands="$ac_config_commands libtool"
   11570 
   11571 
   11572 
   11573 
   11574 # Only expand once:
   11575 
   11576 
   11577 
   11578 
   11579   CFLAG_VISIBILITY=
   11580   HAVE_VISIBILITY=0
   11581   if test -n "$GCC"; then
   11582                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
   11583 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
   11584     if ${gl_cv_cc_vis_werror+:} false; then :
   11585   $as_echo_n "(cached) " >&6
   11586 else
   11587 
   11588       gl_save_CFLAGS="$CFLAGS"
   11589       CFLAGS="$CFLAGS -Werror"
   11590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11591 /* end confdefs.h.  */
   11592 
   11593 int
   11594 main ()
   11595 {
   11596 
   11597   ;
   11598   return 0;
   11599 }
   11600 _ACEOF
   11601 if ac_fn_c_try_compile "$LINENO"; then :
   11602   gl_cv_cc_vis_werror=yes
   11603 else
   11604   gl_cv_cc_vis_werror=no
   11605 fi
   11606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11607       CFLAGS="$gl_save_CFLAGS"
   11608 fi
   11609 
   11610     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
   11611 $as_echo "$gl_cv_cc_vis_werror" >&6; }
   11612         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
   11613 $as_echo_n "checking for simple visibility declarations... " >&6; }
   11614     if ${gl_cv_cc_visibility+:} false; then :
   11615   $as_echo_n "(cached) " >&6
   11616 else
   11617 
   11618       gl_save_CFLAGS="$CFLAGS"
   11619       CFLAGS="$CFLAGS -fvisibility=hidden"
   11620                                     if test $gl_cv_cc_vis_werror = yes; then
   11621         CFLAGS="$CFLAGS -Werror"
   11622       fi
   11623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11624 /* end confdefs.h.  */
   11625 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
   11626          extern __attribute__((__visibility__("default"))) int exportedvar;
   11627          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
   11628          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
   11629          void dummyfunc (void) {}
   11630 int
   11631 main ()
   11632 {
   11633 
   11634   ;
   11635   return 0;
   11636 }
   11637 _ACEOF
   11638 if ac_fn_c_try_compile "$LINENO"; then :
   11639   gl_cv_cc_visibility=yes
   11640 else
   11641   gl_cv_cc_visibility=no
   11642 fi
   11643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11644       CFLAGS="$gl_save_CFLAGS"
   11645 fi
   11646 
   11647     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
   11648 $as_echo "$gl_cv_cc_visibility" >&6; }
   11649     if test $gl_cv_cc_visibility = yes; then
   11650       CFLAG_VISIBILITY="-fvisibility=hidden"
   11651       HAVE_VISIBILITY=1
   11652     fi
   11653   fi
   11654 
   11655 
   11656 
   11657 cat >>confdefs.h <<_ACEOF
   11658 #define HAVE_VISIBILITY $HAVE_VISIBILITY
   11659 _ACEOF
   11660 
   11661 
   11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   11663 $as_echo_n "checking for ANSI C header files... " >&6; }
   11664 if ${ac_cv_header_stdc+:} false; then :
   11665   $as_echo_n "(cached) " >&6
   11666 else
   11667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11668 /* end confdefs.h.  */
   11669 #include <stdlib.h>
   11670 #include <stdarg.h>
   11671 #include <string.h>
   11672 #include <float.h>
   11673 
   11674 int
   11675 main ()
   11676 {
   11677 
   11678   ;
   11679   return 0;
   11680 }
   11681 _ACEOF
   11682 if ac_fn_c_try_compile "$LINENO"; then :
   11683   ac_cv_header_stdc=yes
   11684 else
   11685   ac_cv_header_stdc=no
   11686 fi
   11687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11688 
   11689 if test $ac_cv_header_stdc = yes; then
   11690   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   11691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11692 /* end confdefs.h.  */
   11693 #include <string.h>
   11694 
   11695 _ACEOF
   11696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11697   $EGREP "memchr" >/dev/null 2>&1; then :
   11698 
   11699 else
   11700   ac_cv_header_stdc=no
   11701 fi
   11702 rm -f conftest*
   11703 
   11704 fi
   11705 
   11706 if test $ac_cv_header_stdc = yes; then
   11707   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   11708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11709 /* end confdefs.h.  */
   11710 #include <stdlib.h>
   11711 
   11712 _ACEOF
   11713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11714   $EGREP "free" >/dev/null 2>&1; then :
   11715 
   11716 else
   11717   ac_cv_header_stdc=no
   11718 fi
   11719 rm -f conftest*
   11720 
   11721 fi
   11722 
   11723 if test $ac_cv_header_stdc = yes; then
   11724   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   11725   if test "$cross_compiling" = yes; then :
   11726   :
   11727 else
   11728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11729 /* end confdefs.h.  */
   11730 #include <ctype.h>
   11731 #include <stdlib.h>
   11732 #if ((' ' & 0x0FF) == 0x020)
   11733 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   11734 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   11735 #else
   11736 # define ISLOWER(c) \
   11737 		   (('a' <= (c) && (c) <= 'i') \
   11738 		     || ('j' <= (c) && (c) <= 'r') \
   11739 		     || ('s' <= (c) && (c) <= 'z'))
   11740 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   11741 #endif
   11742 
   11743 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   11744 int
   11745 main ()
   11746 {
   11747   int i;
   11748   for (i = 0; i < 256; i++)
   11749     if (XOR (islower (i), ISLOWER (i))
   11750 	|| toupper (i) != TOUPPER (i))
   11751       return 2;
   11752   return 0;
   11753 }
   11754 _ACEOF
   11755 if ac_fn_c_try_run "$LINENO"; then :
   11756 
   11757 else
   11758   ac_cv_header_stdc=no
   11759 fi
   11760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11761   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11762 fi
   11763 
   11764 fi
   11765 fi
   11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   11767 $as_echo "$ac_cv_header_stdc" >&6; }
   11768 if test $ac_cv_header_stdc = yes; then
   11769 
   11770 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   11771 
   11772 fi
   11773 
   11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
   11775 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
   11776 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
   11777   $as_echo_n "(cached) " >&6
   11778 else
   11779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11780 /* end confdefs.h.  */
   11781 #include <sys/types.h>
   11782 int
   11783 main ()
   11784 {
   11785 return makedev(0, 0);
   11786   ;
   11787   return 0;
   11788 }
   11789 _ACEOF
   11790 if ac_fn_c_try_link "$LINENO"; then :
   11791   ac_cv_header_sys_types_h_makedev=yes
   11792 else
   11793   ac_cv_header_sys_types_h_makedev=no
   11794 fi
   11795 rm -f core conftest.err conftest.$ac_objext \
   11796     conftest$ac_exeext conftest.$ac_ext
   11797 
   11798 fi
   11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
   11800 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
   11801 
   11802 if test $ac_cv_header_sys_types_h_makedev = no; then
   11803 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
   11804 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
   11805 
   11806 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
   11807 
   11808 fi
   11809 
   11810 
   11811 
   11812   if test $ac_cv_header_sys_mkdev_h = no; then
   11813     ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
   11814 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
   11815 
   11816 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
   11817 
   11818 fi
   11819 
   11820 
   11821   fi
   11822 fi
   11823 
   11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
   11825 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
   11826 if ${ac_cv_header_sys_wait_h+:} false; then :
   11827   $as_echo_n "(cached) " >&6
   11828 else
   11829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11830 /* end confdefs.h.  */
   11831 #include <sys/types.h>
   11832 #include <sys/wait.h>
   11833 #ifndef WEXITSTATUS
   11834 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
   11835 #endif
   11836 #ifndef WIFEXITED
   11837 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
   11838 #endif
   11839 
   11840 int
   11841 main ()
   11842 {
   11843   int s;
   11844   wait (&s);
   11845   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   11846   ;
   11847   return 0;
   11848 }
   11849 _ACEOF
   11850 if ac_fn_c_try_compile "$LINENO"; then :
   11851   ac_cv_header_sys_wait_h=yes
   11852 else
   11853   ac_cv_header_sys_wait_h=no
   11854 fi
   11855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11856 fi
   11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
   11858 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
   11859 if test $ac_cv_header_sys_wait_h = yes; then
   11860 
   11861 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
   11862 
   11863 fi
   11864 
   11865 for ac_header in stdint.h fcntl.h locale.h stdint.h inttypes.h unistd.h
   11866 do :
   11867   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11868 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11869 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11870   cat >>confdefs.h <<_ACEOF
   11871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11872 _ACEOF
   11873 
   11874 fi
   11875 
   11876 done
   11877 
   11878 for ac_header in stddef.h utime.h wchar.h wctype.h limits.h
   11879 do :
   11880   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11881 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11882 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11883   cat >>confdefs.h <<_ACEOF
   11884 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11885 _ACEOF
   11886 
   11887 fi
   11888 
   11889 done
   11890 
   11891 for ac_header in getopt.h err.h
   11892 do :
   11893   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11894 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11895 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11896   cat >>confdefs.h <<_ACEOF
   11897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11898 _ACEOF
   11899 
   11900 fi
   11901 
   11902 done
   11903 
   11904 for ac_header in sys/mman.h sys/stat.h sys/types.h sys/utime.h sys/time.h
   11905 do :
   11906   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11907 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11908 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11909   cat >>confdefs.h <<_ACEOF
   11910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11911 _ACEOF
   11912 
   11913 fi
   11914 
   11915 done
   11916 
   11917 for ac_header in zlib.h
   11918 do :
   11919   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   11920 if test "x$ac_cv_header_zlib_h" = xyes; then :
   11921   cat >>confdefs.h <<_ACEOF
   11922 #define HAVE_ZLIB_H 1
   11923 _ACEOF
   11924 
   11925 fi
   11926 
   11927 done
   11928 
   11929 
   11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   11931 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   11932 if ${ac_cv_c_const+:} false; then :
   11933   $as_echo_n "(cached) " >&6
   11934 else
   11935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11936 /* end confdefs.h.  */
   11937 
   11938 int
   11939 main ()
   11940 {
   11941 /* FIXME: Include the comments suggested by Paul. */
   11942 #ifndef __cplusplus
   11943   /* Ultrix mips cc rejects this.  */
   11944   typedef int charset[2];
   11945   const charset cs;
   11946   /* SunOS 4.1.1 cc rejects this.  */
   11947   char const *const *pcpcc;
   11948   char **ppc;
   11949   /* NEC SVR4.0.2 mips cc rejects this.  */
   11950   struct point {int x, y;};
   11951   static struct point const zero = {0,0};
   11952   /* AIX XL C 1.02.0.0 rejects this.
   11953      It does not let you subtract one const X* pointer from another in
   11954      an arm of an if-expression whose if-part is not a constant
   11955      expression */
   11956   const char *g = "string";
   11957   pcpcc = &g + (g ? g-g : 0);
   11958   /* HPUX 7.0 cc rejects these. */
   11959   ++pcpcc;
   11960   ppc = (char**) pcpcc;
   11961   pcpcc = (char const *const *) ppc;
   11962   { /* SCO 3.2v4 cc rejects this.  */
   11963     char *t;
   11964     char const *s = 0 ? (char *) 0 : (char const *) 0;
   11965 
   11966     *t++ = 0;
   11967     if (s) return 0;
   11968   }
   11969   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   11970     int x[] = {25, 17};
   11971     const int *foo = &x[0];
   11972     ++foo;
   11973   }
   11974   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   11975     typedef const int *iptr;
   11976     iptr p = 0;
   11977     ++p;
   11978   }
   11979   { /* AIX XL C 1.02.0.0 rejects this saying
   11980        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   11981     struct s { int j; const int *ap[3]; };
   11982     struct s *b; b->j = 5;
   11983   }
   11984   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   11985     const int foo = 10;
   11986     if (!foo) return 0;
   11987   }
   11988   return !cs[0] && !zero.x;
   11989 #endif
   11990 
   11991   ;
   11992   return 0;
   11993 }
   11994 _ACEOF
   11995 if ac_fn_c_try_compile "$LINENO"; then :
   11996   ac_cv_c_const=yes
   11997 else
   11998   ac_cv_c_const=no
   11999 fi
   12000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12001 fi
   12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   12003 $as_echo "$ac_cv_c_const" >&6; }
   12004 if test $ac_cv_c_const = no; then
   12005 
   12006 $as_echo "#define const /**/" >>confdefs.h
   12007 
   12008 fi
   12009 
   12010 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   12011 if test "x$ac_cv_type_off_t" = xyes; then :
   12012 
   12013 else
   12014 
   12015 cat >>confdefs.h <<_ACEOF
   12016 #define off_t long int
   12017 _ACEOF
   12018 
   12019 fi
   12020 
   12021 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   12022 if test "x$ac_cv_type_size_t" = xyes; then :
   12023 
   12024 else
   12025 
   12026 cat >>confdefs.h <<_ACEOF
   12027 #define size_t unsigned int
   12028 _ACEOF
   12029 
   12030 fi
   12031 
   12032 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
   12033 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
   12034 
   12035 cat >>confdefs.h <<_ACEOF
   12036 #define HAVE_STRUCT_STAT_ST_RDEV 1
   12037 _ACEOF
   12038 
   12039 
   12040 fi
   12041 
   12042 
   12043 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
   12044 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
   12045 
   12046 cat >>confdefs.h <<_ACEOF
   12047 #define HAVE_STRUCT_TM_TM_GMTOFF 1
   12048 _ACEOF
   12049 
   12050 
   12051 fi
   12052 
   12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
   12054 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
   12055 if ${ac_cv_struct_tm+:} false; then :
   12056   $as_echo_n "(cached) " >&6
   12057 else
   12058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12059 /* end confdefs.h.  */
   12060 #include <sys/types.h>
   12061 #include <time.h>
   12062 
   12063 int
   12064 main ()
   12065 {
   12066 struct tm tm;
   12067 				     int *p = &tm.tm_sec;
   12068 				     return !p;
   12069   ;
   12070   return 0;
   12071 }
   12072 _ACEOF
   12073 if ac_fn_c_try_compile "$LINENO"; then :
   12074   ac_cv_struct_tm=time.h
   12075 else
   12076   ac_cv_struct_tm=sys/time.h
   12077 fi
   12078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12079 fi
   12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
   12081 $as_echo "$ac_cv_struct_tm" >&6; }
   12082 if test $ac_cv_struct_tm = sys/time.h; then
   12083 
   12084 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
   12085 
   12086 fi
   12087 
   12088 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
   12089 #include <$ac_cv_struct_tm>
   12090 
   12091 "
   12092 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
   12093 
   12094 cat >>confdefs.h <<_ACEOF
   12095 #define HAVE_STRUCT_TM_TM_ZONE 1
   12096 _ACEOF
   12097 
   12098 
   12099 fi
   12100 
   12101 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
   12102 
   12103 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
   12104 
   12105 else
   12106   ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
   12107 "
   12108 if test "x$ac_cv_have_decl_tzname" = xyes; then :
   12109   ac_have_decl=1
   12110 else
   12111   ac_have_decl=0
   12112 fi
   12113 
   12114 cat >>confdefs.h <<_ACEOF
   12115 #define HAVE_DECL_TZNAME $ac_have_decl
   12116 _ACEOF
   12117 
   12118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
   12119 $as_echo_n "checking for tzname... " >&6; }
   12120 if ${ac_cv_var_tzname+:} false; then :
   12121   $as_echo_n "(cached) " >&6
   12122 else
   12123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12124 /* end confdefs.h.  */
   12125 #include <time.h>
   12126 #if !HAVE_DECL_TZNAME
   12127 extern char *tzname[];
   12128 #endif
   12129 
   12130 int
   12131 main ()
   12132 {
   12133 return tzname[0][0];
   12134   ;
   12135   return 0;
   12136 }
   12137 _ACEOF
   12138 if ac_fn_c_try_link "$LINENO"; then :
   12139   ac_cv_var_tzname=yes
   12140 else
   12141   ac_cv_var_tzname=no
   12142 fi
   12143 rm -f core conftest.err conftest.$ac_objext \
   12144     conftest$ac_exeext conftest.$ac_ext
   12145 fi
   12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
   12147 $as_echo "$ac_cv_var_tzname" >&6; }
   12148   if test $ac_cv_var_tzname = yes; then
   12149 
   12150 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
   12151 
   12152   fi
   12153 fi
   12154 
   12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_zone in struct tm" >&5
   12156 $as_echo_n "checking for tm_zone in struct tm... " >&6; }
   12157 if ${ac_cv_struct_tm_zone+:} false; then :
   12158   $as_echo_n "(cached) " >&6
   12159 else
   12160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12161 /* end confdefs.h.  */
   12162 #include <sys/types.h>
   12163 #include <$ac_cv_struct_tm>
   12164 int
   12165 main ()
   12166 {
   12167 struct tm tm; tm.tm_zone;
   12168   ;
   12169   return 0;
   12170 }
   12171 _ACEOF
   12172 if ac_fn_c_try_compile "$LINENO"; then :
   12173   ac_cv_struct_tm_zone=yes
   12174 else
   12175   ac_cv_struct_tm_zone=no
   12176 fi
   12177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12178 fi
   12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_zone" >&5
   12180 $as_echo "$ac_cv_struct_tm_zone" >&6; }
   12181 if test "$ac_cv_struct_tm_zone" = yes; then
   12182 
   12183 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
   12184 
   12185 fi
   12186 
   12187 # On SGI, apparently tzname is a #define, but that's ok, AC_CHECK_DECL will
   12188 # consider it declared and we won't give our own extern.
   12189 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
   12190 "
   12191 if test "x$ac_cv_have_decl_tzname" = xyes; then :
   12192   ac_have_decl=1
   12193 else
   12194   ac_have_decl=0
   12195 fi
   12196 
   12197 cat >>confdefs.h <<_ACEOF
   12198 #define HAVE_DECL_TZNAME $ac_have_decl
   12199 _ACEOF
   12200 
   12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
   12202 $as_echo_n "checking for tzname... " >&6; }
   12203 if ${ac_cv_var_tzname+:} false; then :
   12204   $as_echo_n "(cached) " >&6
   12205 else
   12206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12207 /* end confdefs.h.  */
   12208 #include <time.h>
   12209 #if !HAVE_DECL_TZNAME
   12210 extern char *tzname[];
   12211 #endif
   12212 int
   12213 main ()
   12214 {
   12215 return tzname[0][0];
   12216   ;
   12217   return 0;
   12218 }
   12219 _ACEOF
   12220 if ac_fn_c_try_link "$LINENO"; then :
   12221   ac_cv_var_tzname=yes
   12222 else
   12223   ac_cv_var_tzname=no
   12224 fi
   12225 rm -f core conftest.err conftest.$ac_objext \
   12226     conftest$ac_exeext conftest.$ac_ext
   12227 fi
   12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
   12229 $as_echo "$ac_cv_var_tzname" >&6; }
   12230   if test $ac_cv_var_tzname = yes; then
   12231 
   12232 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
   12233 
   12234   fi
   12235 
   12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_isdst in struct tm" >&5
   12237 $as_echo_n "checking for tm_isdst in struct tm... " >&6; }
   12238 if ${ac_cv_struct_tm_isdst+:} false; then :
   12239   $as_echo_n "(cached) " >&6
   12240 else
   12241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12242 /* end confdefs.h.  */
   12243 #include <sys/types.h>
   12244 #include <$ac_cv_struct_tm>
   12245 int
   12246 main ()
   12247 {
   12248 struct tm tm; tm.tm_isdst;
   12249   ;
   12250   return 0;
   12251 }
   12252 _ACEOF
   12253 if ac_fn_c_try_compile "$LINENO"; then :
   12254   ac_cv_struct_tm_isdst=yes
   12255 else
   12256   ac_cv_struct_tm_isdst=no
   12257 fi
   12258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12259 fi
   12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_isdst" >&5
   12261 $as_echo "$ac_cv_struct_tm_isdst" >&6; }
   12262 if test "$ac_cv_struct_tm_isdst" = yes; then
   12263 
   12264 $as_echo "#define HAVE_TM_ISDST 1" >>confdefs.h
   12265 
   12266 fi
   12267 
   12268 
   12269 ac_fn_c_check_decl "$LINENO" "daylight" "ac_cv_have_decl_daylight" "#include <time.h>
   12270 "
   12271 if test "x$ac_cv_have_decl_daylight" = xyes; then :
   12272   ac_have_decl=1
   12273 else
   12274   ac_have_decl=0
   12275 fi
   12276 
   12277 cat >>confdefs.h <<_ACEOF
   12278 #define HAVE_DECL_DAYLIGHT $ac_have_decl
   12279 _ACEOF
   12280 
   12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight" >&5
   12282 $as_echo_n "checking for daylight... " >&6; }
   12283 if ${ac_cv_var_daylight+:} false; then :
   12284   $as_echo_n "(cached) " >&6
   12285 else
   12286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12287 /* end confdefs.h.  */
   12288 #include <time.h>
   12289 #if !HAVE_DECL_DAYLIGHT
   12290 extern int daylight;
   12291 #endif
   12292 int
   12293 main ()
   12294 {
   12295 atoi(daylight);
   12296   ;
   12297   return 0;
   12298 }
   12299 _ACEOF
   12300 if ac_fn_c_try_link "$LINENO"; then :
   12301   ac_cv_var_daylight=yes
   12302 else
   12303   ac_cv_var_daylight=no
   12304 fi
   12305 rm -f core conftest.err conftest.$ac_objext \
   12306     conftest$ac_exeext conftest.$ac_ext
   12307 fi
   12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_daylight" >&5
   12309 $as_echo "$ac_cv_var_daylight" >&6; }
   12310   if test $ac_cv_var_daylight = yes; then
   12311 
   12312 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
   12313 
   12314   fi
   12315 
   12316 # Check whether --enable-largefile was given.
   12317 if test "${enable_largefile+set}" = set; then :
   12318   enableval=$enable_largefile;
   12319 fi
   12320 
   12321 if test "$enable_largefile" != no; then
   12322 
   12323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   12324 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   12325 if ${ac_cv_sys_largefile_CC+:} false; then :
   12326   $as_echo_n "(cached) " >&6
   12327 else
   12328   ac_cv_sys_largefile_CC=no
   12329      if test "$GCC" != yes; then
   12330        ac_save_CC=$CC
   12331        while :; do
   12332 	 # IRIX 6.2 and later do not support large files by default,
   12333 	 # so use the C compiler's -n32 option if that helps.
   12334 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12335 /* end confdefs.h.  */
   12336 #include <sys/types.h>
   12337  /* Check that off_t can represent 2**63 - 1 correctly.
   12338     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12339     since some C++ compilers masquerading as C compilers
   12340     incorrectly reject 9223372036854775807.  */
   12341 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12342   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12343 		       && LARGE_OFF_T % 2147483647 == 1)
   12344 		      ? 1 : -1];
   12345 int
   12346 main ()
   12347 {
   12348 
   12349   ;
   12350   return 0;
   12351 }
   12352 _ACEOF
   12353 	 if ac_fn_c_try_compile "$LINENO"; then :
   12354   break
   12355 fi
   12356 rm -f core conftest.err conftest.$ac_objext
   12357 	 CC="$CC -n32"
   12358 	 if ac_fn_c_try_compile "$LINENO"; then :
   12359   ac_cv_sys_largefile_CC=' -n32'; break
   12360 fi
   12361 rm -f core conftest.err conftest.$ac_objext
   12362 	 break
   12363        done
   12364        CC=$ac_save_CC
   12365        rm -f conftest.$ac_ext
   12366     fi
   12367 fi
   12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   12369 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   12370   if test "$ac_cv_sys_largefile_CC" != no; then
   12371     CC=$CC$ac_cv_sys_largefile_CC
   12372   fi
   12373 
   12374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   12375 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   12376 if ${ac_cv_sys_file_offset_bits+:} false; then :
   12377   $as_echo_n "(cached) " >&6
   12378 else
   12379   while :; do
   12380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12381 /* end confdefs.h.  */
   12382 #include <sys/types.h>
   12383  /* Check that off_t can represent 2**63 - 1 correctly.
   12384     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12385     since some C++ compilers masquerading as C compilers
   12386     incorrectly reject 9223372036854775807.  */
   12387 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12388   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12389 		       && LARGE_OFF_T % 2147483647 == 1)
   12390 		      ? 1 : -1];
   12391 int
   12392 main ()
   12393 {
   12394 
   12395   ;
   12396   return 0;
   12397 }
   12398 _ACEOF
   12399 if ac_fn_c_try_compile "$LINENO"; then :
   12400   ac_cv_sys_file_offset_bits=no; break
   12401 fi
   12402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12404 /* end confdefs.h.  */
   12405 #define _FILE_OFFSET_BITS 64
   12406 #include <sys/types.h>
   12407  /* Check that off_t can represent 2**63 - 1 correctly.
   12408     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12409     since some C++ compilers masquerading as C compilers
   12410     incorrectly reject 9223372036854775807.  */
   12411 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12412   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12413 		       && LARGE_OFF_T % 2147483647 == 1)
   12414 		      ? 1 : -1];
   12415 int
   12416 main ()
   12417 {
   12418 
   12419   ;
   12420   return 0;
   12421 }
   12422 _ACEOF
   12423 if ac_fn_c_try_compile "$LINENO"; then :
   12424   ac_cv_sys_file_offset_bits=64; break
   12425 fi
   12426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12427   ac_cv_sys_file_offset_bits=unknown
   12428   break
   12429 done
   12430 fi
   12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   12432 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   12433 case $ac_cv_sys_file_offset_bits in #(
   12434   no | unknown) ;;
   12435   *)
   12436 cat >>confdefs.h <<_ACEOF
   12437 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   12438 _ACEOF
   12439 ;;
   12440 esac
   12441 rm -rf conftest*
   12442   if test $ac_cv_sys_file_offset_bits = unknown; then
   12443     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   12444 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   12445 if ${ac_cv_sys_large_files+:} false; then :
   12446   $as_echo_n "(cached) " >&6
   12447 else
   12448   while :; do
   12449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12450 /* end confdefs.h.  */
   12451 #include <sys/types.h>
   12452  /* Check that off_t can represent 2**63 - 1 correctly.
   12453     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12454     since some C++ compilers masquerading as C compilers
   12455     incorrectly reject 9223372036854775807.  */
   12456 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12457   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12458 		       && LARGE_OFF_T % 2147483647 == 1)
   12459 		      ? 1 : -1];
   12460 int
   12461 main ()
   12462 {
   12463 
   12464   ;
   12465   return 0;
   12466 }
   12467 _ACEOF
   12468 if ac_fn_c_try_compile "$LINENO"; then :
   12469   ac_cv_sys_large_files=no; break
   12470 fi
   12471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12473 /* end confdefs.h.  */
   12474 #define _LARGE_FILES 1
   12475 #include <sys/types.h>
   12476  /* Check that off_t can represent 2**63 - 1 correctly.
   12477     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12478     since some C++ compilers masquerading as C compilers
   12479     incorrectly reject 9223372036854775807.  */
   12480 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12481   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12482 		       && LARGE_OFF_T % 2147483647 == 1)
   12483 		      ? 1 : -1];
   12484 int
   12485 main ()
   12486 {
   12487 
   12488   ;
   12489   return 0;
   12490 }
   12491 _ACEOF
   12492 if ac_fn_c_try_compile "$LINENO"; then :
   12493   ac_cv_sys_large_files=1; break
   12494 fi
   12495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12496   ac_cv_sys_large_files=unknown
   12497   break
   12498 done
   12499 fi
   12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   12501 $as_echo "$ac_cv_sys_large_files" >&6; }
   12502 case $ac_cv_sys_large_files in #(
   12503   no | unknown) ;;
   12504   *)
   12505 cat >>confdefs.h <<_ACEOF
   12506 #define _LARGE_FILES $ac_cv_sys_large_files
   12507 _ACEOF
   12508 ;;
   12509 esac
   12510 rm -rf conftest*
   12511   fi
   12512 fi
   12513 
   12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
   12515 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
   12516 if ${ac_cv_sys_largefile_source+:} false; then :
   12517   $as_echo_n "(cached) " >&6
   12518 else
   12519   while :; do
   12520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12521 /* end confdefs.h.  */
   12522 #include <sys/types.h> /* for off_t */
   12523      #include <stdio.h>
   12524 int
   12525 main ()
   12526 {
   12527 int (*fp) (FILE *, off_t, int) = fseeko;
   12528      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   12529   ;
   12530   return 0;
   12531 }
   12532 _ACEOF
   12533 if ac_fn_c_try_link "$LINENO"; then :
   12534   ac_cv_sys_largefile_source=no; break
   12535 fi
   12536 rm -f core conftest.err conftest.$ac_objext \
   12537     conftest$ac_exeext conftest.$ac_ext
   12538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12539 /* end confdefs.h.  */
   12540 #define _LARGEFILE_SOURCE 1
   12541 #include <sys/types.h> /* for off_t */
   12542      #include <stdio.h>
   12543 int
   12544 main ()
   12545 {
   12546 int (*fp) (FILE *, off_t, int) = fseeko;
   12547      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   12548   ;
   12549   return 0;
   12550 }
   12551 _ACEOF
   12552 if ac_fn_c_try_link "$LINENO"; then :
   12553   ac_cv_sys_largefile_source=1; break
   12554 fi
   12555 rm -f core conftest.err conftest.$ac_objext \
   12556     conftest$ac_exeext conftest.$ac_ext
   12557   ac_cv_sys_largefile_source=unknown
   12558   break
   12559 done
   12560 fi
   12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
   12562 $as_echo "$ac_cv_sys_largefile_source" >&6; }
   12563 case $ac_cv_sys_largefile_source in #(
   12564   no | unknown) ;;
   12565   *)
   12566 cat >>confdefs.h <<_ACEOF
   12567 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
   12568 _ACEOF
   12569 ;;
   12570 esac
   12571 rm -rf conftest*
   12572 
   12573 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
   12574 # in glibc 2.1.3, but that breaks too many other things.
   12575 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
   12576 if test $ac_cv_sys_largefile_source != unknown; then
   12577 
   12578 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
   12579 
   12580 fi
   12581 
   12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
   12583 $as_echo_n "checking for mbstate_t... " >&6; }
   12584 if ${ac_cv_type_mbstate_t+:} false; then :
   12585   $as_echo_n "(cached) " >&6
   12586 else
   12587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12588 /* end confdefs.h.  */
   12589 $ac_includes_default
   12590 #	    include <wchar.h>
   12591 int
   12592 main ()
   12593 {
   12594 mbstate_t x; return sizeof x;
   12595   ;
   12596   return 0;
   12597 }
   12598 _ACEOF
   12599 if ac_fn_c_try_compile "$LINENO"; then :
   12600   ac_cv_type_mbstate_t=yes
   12601 else
   12602   ac_cv_type_mbstate_t=no
   12603 fi
   12604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12605 fi
   12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
   12607 $as_echo "$ac_cv_type_mbstate_t" >&6; }
   12608    if test $ac_cv_type_mbstate_t = yes; then
   12609 
   12610 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
   12611 
   12612    else
   12613 
   12614 $as_echo "#define mbstate_t int" >>confdefs.h
   12615 
   12616    fi
   12617 
   12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct option in getopt" >&5
   12619 $as_echo_n "checking for struct option in getopt... " >&6; }
   12620 if ${ac_cv_struct_option_getopt_h+:} false; then :
   12621   $as_echo_n "(cached) " >&6
   12622 else
   12623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12624 /* end confdefs.h.  */
   12625 #include <getopt.h>
   12626 int
   12627 main ()
   12628 {
   12629 struct option op; op.name;
   12630   ;
   12631   return 0;
   12632 }
   12633 _ACEOF
   12634 if ac_fn_c_try_compile "$LINENO"; then :
   12635   ac_cv_struct_option_getopt_h=yes
   12636 else
   12637   ac_cv_struct_option_getopt_h=no
   12638 fi
   12639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12640 fi
   12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_option_getopt_h" >&5
   12642 $as_echo "$ac_cv_struct_option_getopt_h" >&6; }
   12643 if test "$ac_cv_struct_option_getopt_h" = yes; then
   12644 
   12645 $as_echo "#define HAVE_STRUCT_OPTION 1" >>confdefs.h
   12646 
   12647 fi
   12648 
   12649 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   12650 if test "x$ac_cv_type_pid_t" = xyes; then :
   12651 
   12652 else
   12653 
   12654 cat >>confdefs.h <<_ACEOF
   12655 #define pid_t int
   12656 _ACEOF
   12657 
   12658 fi
   12659 
   12660 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
   12661 case $ac_cv_c_uint8_t in #(
   12662   no|yes) ;; #(
   12663   *)
   12664 
   12665 $as_echo "#define _UINT8_T 1" >>confdefs.h
   12666 
   12667 
   12668 cat >>confdefs.h <<_ACEOF
   12669 #define uint8_t $ac_cv_c_uint8_t
   12670 _ACEOF
   12671 ;;
   12672   esac
   12673 
   12674 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
   12675 case $ac_cv_c_uint16_t in #(
   12676   no|yes) ;; #(
   12677   *)
   12678 
   12679 
   12680 cat >>confdefs.h <<_ACEOF
   12681 #define uint16_t $ac_cv_c_uint16_t
   12682 _ACEOF
   12683 ;;
   12684   esac
   12685 
   12686 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
   12687 case $ac_cv_c_uint32_t in #(
   12688   no|yes) ;; #(
   12689   *)
   12690 
   12691 $as_echo "#define _UINT32_T 1" >>confdefs.h
   12692 
   12693 
   12694 cat >>confdefs.h <<_ACEOF
   12695 #define uint32_t $ac_cv_c_uint32_t
   12696 _ACEOF
   12697 ;;
   12698   esac
   12699 
   12700 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
   12701 case $ac_cv_c_int32_t in #(
   12702   no|yes) ;; #(
   12703   *)
   12704 
   12705 cat >>confdefs.h <<_ACEOF
   12706 #define int32_t $ac_cv_c_int32_t
   12707 _ACEOF
   12708 ;;
   12709 esac
   12710 
   12711 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
   12712 case $ac_cv_c_uint64_t in #(
   12713   no|yes) ;; #(
   12714   *)
   12715 
   12716 $as_echo "#define _UINT64_T 1" >>confdefs.h
   12717 
   12718 
   12719 cat >>confdefs.h <<_ACEOF
   12720 #define uint64_t $ac_cv_c_uint64_t
   12721 _ACEOF
   12722 ;;
   12723   esac
   12724 
   12725 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
   12726 case $ac_cv_c_int64_t in #(
   12727   no|yes) ;; #(
   12728   *)
   12729 
   12730 cat >>confdefs.h <<_ACEOF
   12731 #define int64_t $ac_cv_c_int64_t
   12732 _ACEOF
   12733 ;;
   12734 esac
   12735 
   12736 
   12737 
   12738 
   12739   for ac_header in $ac_header_list
   12740 do :
   12741   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12742 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   12743 "
   12744 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12745   cat >>confdefs.h <<_ACEOF
   12746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12747 _ACEOF
   12748 
   12749 fi
   12750 
   12751 done
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 for ac_func in getpagesize
   12761 do :
   12762   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   12763 if test "x$ac_cv_func_getpagesize" = xyes; then :
   12764   cat >>confdefs.h <<_ACEOF
   12765 #define HAVE_GETPAGESIZE 1
   12766 _ACEOF
   12767 
   12768 fi
   12769 done
   12770 
   12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   12772 $as_echo_n "checking for working mmap... " >&6; }
   12773 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   12774   $as_echo_n "(cached) " >&6
   12775 else
   12776   if test "$cross_compiling" = yes; then :
   12777   ac_cv_func_mmap_fixed_mapped=no
   12778 else
   12779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12780 /* end confdefs.h.  */
   12781 $ac_includes_default
   12782 /* malloc might have been renamed as rpl_malloc. */
   12783 #undef malloc
   12784 
   12785 /* Thanks to Mike Haertel and Jim Avera for this test.
   12786    Here is a matrix of mmap possibilities:
   12787 	mmap private not fixed
   12788 	mmap private fixed at somewhere currently unmapped
   12789 	mmap private fixed at somewhere already mapped
   12790 	mmap shared not fixed
   12791 	mmap shared fixed at somewhere currently unmapped
   12792 	mmap shared fixed at somewhere already mapped
   12793    For private mappings, we should verify that changes cannot be read()
   12794    back from the file, nor mmap's back from the file at a different
   12795    address.  (There have been systems where private was not correctly
   12796    implemented like the infamous i386 svr4.0, and systems where the
   12797    VM page cache was not coherent with the file system buffer cache
   12798    like early versions of FreeBSD and possibly contemporary NetBSD.)
   12799    For shared mappings, we should conversely verify that changes get
   12800    propagated back to all the places they're supposed to be.
   12801 
   12802    Grep wants private fixed already mapped.
   12803    The main things grep needs to know about mmap are:
   12804    * does it exist and is it safe to write into the mmap'd area
   12805    * how to use it (BSD variants)  */
   12806 
   12807 #include <fcntl.h>
   12808 #include <sys/mman.h>
   12809 
   12810 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   12811 char *malloc ();
   12812 #endif
   12813 
   12814 /* This mess was copied from the GNU getpagesize.h.  */
   12815 #ifndef HAVE_GETPAGESIZE
   12816 # ifdef _SC_PAGESIZE
   12817 #  define getpagesize() sysconf(_SC_PAGESIZE)
   12818 # else /* no _SC_PAGESIZE */
   12819 #  ifdef HAVE_SYS_PARAM_H
   12820 #   include <sys/param.h>
   12821 #   ifdef EXEC_PAGESIZE
   12822 #    define getpagesize() EXEC_PAGESIZE
   12823 #   else /* no EXEC_PAGESIZE */
   12824 #    ifdef NBPG
   12825 #     define getpagesize() NBPG * CLSIZE
   12826 #     ifndef CLSIZE
   12827 #      define CLSIZE 1
   12828 #     endif /* no CLSIZE */
   12829 #    else /* no NBPG */
   12830 #     ifdef NBPC
   12831 #      define getpagesize() NBPC
   12832 #     else /* no NBPC */
   12833 #      ifdef PAGESIZE
   12834 #       define getpagesize() PAGESIZE
   12835 #      endif /* PAGESIZE */
   12836 #     endif /* no NBPC */
   12837 #    endif /* no NBPG */
   12838 #   endif /* no EXEC_PAGESIZE */
   12839 #  else /* no HAVE_SYS_PARAM_H */
   12840 #   define getpagesize() 8192	/* punt totally */
   12841 #  endif /* no HAVE_SYS_PARAM_H */
   12842 # endif /* no _SC_PAGESIZE */
   12843 
   12844 #endif /* no HAVE_GETPAGESIZE */
   12845 
   12846 int
   12847 main ()
   12848 {
   12849   char *data, *data2, *data3;
   12850   const char *cdata2;
   12851   int i, pagesize;
   12852   int fd, fd2;
   12853 
   12854   pagesize = getpagesize ();
   12855 
   12856   /* First, make a file with some known garbage in it. */
   12857   data = (char *) malloc (pagesize);
   12858   if (!data)
   12859     return 1;
   12860   for (i = 0; i < pagesize; ++i)
   12861     *(data + i) = rand ();
   12862   umask (0);
   12863   fd = creat ("conftest.mmap", 0600);
   12864   if (fd < 0)
   12865     return 2;
   12866   if (write (fd, data, pagesize) != pagesize)
   12867     return 3;
   12868   close (fd);
   12869 
   12870   /* Next, check that the tail of a page is zero-filled.  File must have
   12871      non-zero length, otherwise we risk SIGBUS for entire page.  */
   12872   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   12873   if (fd2 < 0)
   12874     return 4;
   12875   cdata2 = "";
   12876   if (write (fd2, cdata2, 1) != 1)
   12877     return 5;
   12878   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   12879   if (data2 == MAP_FAILED)
   12880     return 6;
   12881   for (i = 0; i < pagesize; ++i)
   12882     if (*(data2 + i))
   12883       return 7;
   12884   close (fd2);
   12885   if (munmap (data2, pagesize))
   12886     return 8;
   12887 
   12888   /* Next, try to mmap the file at a fixed address which already has
   12889      something else allocated at it.  If we can, also make sure that
   12890      we see the same garbage.  */
   12891   fd = open ("conftest.mmap", O_RDWR);
   12892   if (fd < 0)
   12893     return 9;
   12894   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   12895 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   12896     return 10;
   12897   for (i = 0; i < pagesize; ++i)
   12898     if (*(data + i) != *(data2 + i))
   12899       return 11;
   12900 
   12901   /* Finally, make sure that changes to the mapped area do not
   12902      percolate back to the file as seen by read().  (This is a bug on
   12903      some variants of i386 svr4.0.)  */
   12904   for (i = 0; i < pagesize; ++i)
   12905     *(data2 + i) = *(data2 + i) + 1;
   12906   data3 = (char *) malloc (pagesize);
   12907   if (!data3)
   12908     return 12;
   12909   if (read (fd, data3, pagesize) != pagesize)
   12910     return 13;
   12911   for (i = 0; i < pagesize; ++i)
   12912     if (*(data + i) != *(data3 + i))
   12913       return 14;
   12914   close (fd);
   12915   return 0;
   12916 }
   12917 _ACEOF
   12918 if ac_fn_c_try_run "$LINENO"; then :
   12919   ac_cv_func_mmap_fixed_mapped=yes
   12920 else
   12921   ac_cv_func_mmap_fixed_mapped=no
   12922 fi
   12923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12924   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12925 fi
   12926 
   12927 fi
   12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   12929 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   12930 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   12931 
   12932 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   12933 
   12934 fi
   12935 rm -f conftest.mmap conftest.txt
   12936 
   12937 for ac_header in vfork.h
   12938 do :
   12939   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
   12940 if test "x$ac_cv_header_vfork_h" = xyes; then :
   12941   cat >>confdefs.h <<_ACEOF
   12942 #define HAVE_VFORK_H 1
   12943 _ACEOF
   12944 
   12945 fi
   12946 
   12947 done
   12948 
   12949 for ac_func in fork vfork
   12950 do :
   12951   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12953 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   12954   cat >>confdefs.h <<_ACEOF
   12955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12956 _ACEOF
   12957 
   12958 fi
   12959 done
   12960 
   12961 if test "x$ac_cv_func_fork" = xyes; then
   12962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
   12963 $as_echo_n "checking for working fork... " >&6; }
   12964 if ${ac_cv_func_fork_works+:} false; then :
   12965   $as_echo_n "(cached) " >&6
   12966 else
   12967   if test "$cross_compiling" = yes; then :
   12968   ac_cv_func_fork_works=cross
   12969 else
   12970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12971 /* end confdefs.h.  */
   12972 $ac_includes_default
   12973 int
   12974 main ()
   12975 {
   12976 
   12977 	  /* By Ruediger Kuhlmann. */
   12978 	  return fork () < 0;
   12979 
   12980   ;
   12981   return 0;
   12982 }
   12983 _ACEOF
   12984 if ac_fn_c_try_run "$LINENO"; then :
   12985   ac_cv_func_fork_works=yes
   12986 else
   12987   ac_cv_func_fork_works=no
   12988 fi
   12989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12990   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12991 fi
   12992 
   12993 fi
   12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
   12995 $as_echo "$ac_cv_func_fork_works" >&6; }
   12996 
   12997 else
   12998   ac_cv_func_fork_works=$ac_cv_func_fork
   12999 fi
   13000 if test "x$ac_cv_func_fork_works" = xcross; then
   13001   case $host in
   13002     *-*-amigaos* | *-*-msdosdjgpp*)
   13003       # Override, as these systems have only a dummy fork() stub
   13004       ac_cv_func_fork_works=no
   13005       ;;
   13006     *)
   13007       ac_cv_func_fork_works=yes
   13008       ;;
   13009   esac
   13010   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   13011 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   13012 fi
   13013 ac_cv_func_vfork_works=$ac_cv_func_vfork
   13014 if test "x$ac_cv_func_vfork" = xyes; then
   13015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
   13016 $as_echo_n "checking for working vfork... " >&6; }
   13017 if ${ac_cv_func_vfork_works+:} false; then :
   13018   $as_echo_n "(cached) " >&6
   13019 else
   13020   if test "$cross_compiling" = yes; then :
   13021   ac_cv_func_vfork_works=cross
   13022 else
   13023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13024 /* end confdefs.h.  */
   13025 /* Thanks to Paul Eggert for this test.  */
   13026 $ac_includes_default
   13027 #include <sys/wait.h>
   13028 #ifdef HAVE_VFORK_H
   13029 # include <vfork.h>
   13030 #endif
   13031 /* On some sparc systems, changes by the child to local and incoming
   13032    argument registers are propagated back to the parent.  The compiler
   13033    is told about this with #include <vfork.h>, but some compilers
   13034    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   13035    static variable whose address is put into a register that is
   13036    clobbered by the vfork.  */
   13037 static void
   13038 #ifdef __cplusplus
   13039 sparc_address_test (int arg)
   13040 # else
   13041 sparc_address_test (arg) int arg;
   13042 #endif
   13043 {
   13044   static pid_t child;
   13045   if (!child) {
   13046     child = vfork ();
   13047     if (child < 0) {
   13048       perror ("vfork");
   13049       _exit(2);
   13050     }
   13051     if (!child) {
   13052       arg = getpid();
   13053       write(-1, "", 0);
   13054       _exit (arg);
   13055     }
   13056   }
   13057 }
   13058 
   13059 int
   13060 main ()
   13061 {
   13062   pid_t parent = getpid ();
   13063   pid_t child;
   13064 
   13065   sparc_address_test (0);
   13066 
   13067   child = vfork ();
   13068 
   13069   if (child == 0) {
   13070     /* Here is another test for sparc vfork register problems.  This
   13071        test uses lots of local variables, at least as many local
   13072        variables as main has allocated so far including compiler
   13073        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   13074        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   13075        reuse the register of parent for one of the local variables,
   13076        since it will think that parent can't possibly be used any more
   13077        in this routine.  Assigning to the local variable will thus
   13078        munge parent in the parent process.  */
   13079     pid_t
   13080       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   13081       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   13082     /* Convince the compiler that p..p7 are live; otherwise, it might
   13083        use the same hardware register for all 8 local variables.  */
   13084     if (p != p1 || p != p2 || p != p3 || p != p4
   13085 	|| p != p5 || p != p6 || p != p7)
   13086       _exit(1);
   13087 
   13088     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   13089        from child file descriptors.  If the child closes a descriptor
   13090        before it execs or exits, this munges the parent's descriptor
   13091        as well.  Test for this by closing stdout in the child.  */
   13092     _exit(close(fileno(stdout)) != 0);
   13093   } else {
   13094     int status;
   13095     struct stat st;
   13096 
   13097     while (wait(&status) != child)
   13098       ;
   13099     return (
   13100 	 /* Was there some problem with vforking?  */
   13101 	 child < 0
   13102 
   13103 	 /* Did the child fail?  (This shouldn't happen.)  */
   13104 	 || status
   13105 
   13106 	 /* Did the vfork/compiler bug occur?  */
   13107 	 || parent != getpid()
   13108 
   13109 	 /* Did the file descriptor bug occur?  */
   13110 	 || fstat(fileno(stdout), &st) != 0
   13111 	 );
   13112   }
   13113 }
   13114 _ACEOF
   13115 if ac_fn_c_try_run "$LINENO"; then :
   13116   ac_cv_func_vfork_works=yes
   13117 else
   13118   ac_cv_func_vfork_works=no
   13119 fi
   13120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13121   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13122 fi
   13123 
   13124 fi
   13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
   13126 $as_echo "$ac_cv_func_vfork_works" >&6; }
   13127 
   13128 fi;
   13129 if test "x$ac_cv_func_fork_works" = xcross; then
   13130   ac_cv_func_vfork_works=$ac_cv_func_vfork
   13131   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   13132 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   13133 fi
   13134 
   13135 if test "x$ac_cv_func_vfork_works" = xyes; then
   13136 
   13137 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
   13138 
   13139 else
   13140 
   13141 $as_echo "#define vfork fork" >>confdefs.h
   13142 
   13143 fi
   13144 if test "x$ac_cv_func_fork_works" = xyes; then
   13145 
   13146 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
   13147 
   13148 fi
   13149 
   13150 
   13151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc and mbstate_t are properly declared" >&5
   13152 $as_echo_n "checking whether mbrtowc and mbstate_t are properly declared... " >&6; }
   13153 if ${ac_cv_func_mbrtowc+:} false; then :
   13154   $as_echo_n "(cached) " >&6
   13155 else
   13156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13157 /* end confdefs.h.  */
   13158 #include <wchar.h>
   13159 int
   13160 main ()
   13161 {
   13162 wchar_t wc;
   13163 	      char const s[] = "";
   13164 	      size_t n = 1;
   13165 	      mbstate_t state;
   13166 	      return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
   13167   ;
   13168   return 0;
   13169 }
   13170 _ACEOF
   13171 if ac_fn_c_try_link "$LINENO"; then :
   13172   ac_cv_func_mbrtowc=yes
   13173 else
   13174   ac_cv_func_mbrtowc=no
   13175 fi
   13176 rm -f core conftest.err conftest.$ac_objext \
   13177     conftest$ac_exeext conftest.$ac_ext
   13178 fi
   13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mbrtowc" >&5
   13180 $as_echo "$ac_cv_func_mbrtowc" >&6; }
   13181   if test $ac_cv_func_mbrtowc = yes; then
   13182 
   13183 $as_echo "#define HAVE_MBRTOWC 1" >>confdefs.h
   13184 
   13185   fi
   13186 
   13187 
   13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc compiler warnings" >&5
   13189 $as_echo_n "checking for gcc compiler warnings... " >&6; }
   13190 # Check whether --enable-warnings was given.
   13191 if test "${enable_warnings+set}" = set; then :
   13192   enableval=$enable_warnings; if test "${enableval}" = no -o "$GCC" = no; then
   13193    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13194 $as_echo "no" >&6; }
   13195    WARNINGS=
   13196 else
   13197    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13198 $as_echo "yes" >&6; }
   13199    WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
   13200        -Wmissing-declarations -Wredundant-decls -Wnested-externs \
   13201        -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
   13202        -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
   13203 fi
   13204 else
   13205 
   13206 if test "$GCC" = yes; then
   13207    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13208 $as_echo "yes" >&6; }
   13209    WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
   13210        -Wmissing-declarations -Wredundant-decls -Wnested-externs \
   13211        -Wsign-compare -Wreturn-type -Wswitch -Wshadow \
   13212        -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter -Wformat=2"
   13213 else
   13214    WARNINGS=
   13215    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13216 $as_echo "no" >&6; }
   13217 fi
   13218 fi
   13219 
   13220 
   13221 for ac_func in strerror strndup strtoul mkstemp mkostemp utimes utime wcwidth strtof
   13222 do :
   13223   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13224 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13225 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13226   cat >>confdefs.h <<_ACEOF
   13227 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13228 _ACEOF
   13229 
   13230 fi
   13231 done
   13232 
   13233 
   13234 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
   13235 if test "x$ac_cv_func_getopt_long" = xyes; then :
   13236   $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
   13237 
   13238 else
   13239   case " $LIBOBJS " in
   13240   *" getopt_long.$ac_objext "* ) ;;
   13241   *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext"
   13242  ;;
   13243 esac
   13244 
   13245 fi
   13246 
   13247 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   13248 if test "x$ac_cv_func_asprintf" = xyes; then :
   13249   $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
   13250 
   13251 else
   13252   case " $LIBOBJS " in
   13253   *" asprintf.$ac_objext "* ) ;;
   13254   *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
   13255  ;;
   13256 esac
   13257 
   13258 fi
   13259 
   13260 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
   13261 if test "x$ac_cv_func_vasprintf" = xyes; then :
   13262   $as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h
   13263 
   13264 else
   13265   case " $LIBOBJS " in
   13266   *" vasprintf.$ac_objext "* ) ;;
   13267   *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
   13268  ;;
   13269 esac
   13270 
   13271 fi
   13272 
   13273 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   13274 if test "x$ac_cv_func_strlcpy" = xyes; then :
   13275   $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
   13276 
   13277 else
   13278   case " $LIBOBJS " in
   13279   *" strlcpy.$ac_objext "* ) ;;
   13280   *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
   13281  ;;
   13282 esac
   13283 
   13284 fi
   13285 
   13286 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   13287 if test "x$ac_cv_func_strlcat" = xyes; then :
   13288   $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
   13289 
   13290 else
   13291   case " $LIBOBJS " in
   13292   *" strlcat.$ac_objext "* ) ;;
   13293   *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
   13294  ;;
   13295 esac
   13296 
   13297 fi
   13298 
   13299 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
   13300 if test "x$ac_cv_func_getline" = xyes; then :
   13301   $as_echo "#define HAVE_GETLINE 1" >>confdefs.h
   13302 
   13303 else
   13304   case " $LIBOBJS " in
   13305   *" getline.$ac_objext "* ) ;;
   13306   *) LIBOBJS="$LIBOBJS getline.$ac_objext"
   13307  ;;
   13308 esac
   13309 
   13310 fi
   13311 
   13312 ac_fn_c_check_func "$LINENO" "ctime_r" "ac_cv_func_ctime_r"
   13313 if test "x$ac_cv_func_ctime_r" = xyes; then :
   13314   $as_echo "#define HAVE_CTIME_R 1" >>confdefs.h
   13315 
   13316 else
   13317   case " $LIBOBJS " in
   13318   *" ctime_r.$ac_objext "* ) ;;
   13319   *) LIBOBJS="$LIBOBJS ctime_r.$ac_objext"
   13320  ;;
   13321 esac
   13322 
   13323 fi
   13324 
   13325 ac_fn_c_check_func "$LINENO" "asctime_r" "ac_cv_func_asctime_r"
   13326 if test "x$ac_cv_func_asctime_r" = xyes; then :
   13327   $as_echo "#define HAVE_ASCTIME_R 1" >>confdefs.h
   13328 
   13329 else
   13330   case " $LIBOBJS " in
   13331   *" asctime_r.$ac_objext "* ) ;;
   13332   *) LIBOBJS="$LIBOBJS asctime_r.$ac_objext"
   13333  ;;
   13334 esac
   13335 
   13336 fi
   13337 
   13338 ac_fn_c_check_func "$LINENO" "pread" "ac_cv_func_pread"
   13339 if test "x$ac_cv_func_pread" = xyes; then :
   13340   $as_echo "#define HAVE_PREAD 1" >>confdefs.h
   13341 
   13342 else
   13343   case " $LIBOBJS " in
   13344   *" pread.$ac_objext "* ) ;;
   13345   *) LIBOBJS="$LIBOBJS pread.$ac_objext"
   13346  ;;
   13347 esac
   13348 
   13349 fi
   13350 
   13351 
   13352 
   13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   13354 $as_echo_n "checking for gzopen in -lz... " >&6; }
   13355 if ${ac_cv_lib_z_gzopen+:} false; then :
   13356   $as_echo_n "(cached) " >&6
   13357 else
   13358   ac_check_lib_save_LIBS=$LIBS
   13359 LIBS="-lz  $LIBS"
   13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13361 /* end confdefs.h.  */
   13362 
   13363 /* Override any GCC internal prototype to avoid an error.
   13364    Use char because int might match the return type of a GCC
   13365    builtin and then its argument prototype would still apply.  */
   13366 #ifdef __cplusplus
   13367 extern "C"
   13368 #endif
   13369 char gzopen ();
   13370 int
   13371 main ()
   13372 {
   13373 return gzopen ();
   13374   ;
   13375   return 0;
   13376 }
   13377 _ACEOF
   13378 if ac_fn_c_try_link "$LINENO"; then :
   13379   ac_cv_lib_z_gzopen=yes
   13380 else
   13381   ac_cv_lib_z_gzopen=no
   13382 fi
   13383 rm -f core conftest.err conftest.$ac_objext \
   13384     conftest$ac_exeext conftest.$ac_ext
   13385 LIBS=$ac_check_lib_save_LIBS
   13386 fi
   13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   13388 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   13389 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   13390   cat >>confdefs.h <<_ACEOF
   13391 #define HAVE_LIBZ 1
   13392 _ACEOF
   13393 
   13394   LIBS="-lz $LIBS"
   13395 
   13396 fi
   13397 
   13398 if test "$MINGW" = 1; then
   13399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -lgnurx" >&5
   13400 $as_echo_n "checking for regexec in -lgnurx... " >&6; }
   13401 if ${ac_cv_lib_gnurx_regexec+:} false; then :
   13402   $as_echo_n "(cached) " >&6
   13403 else
   13404   ac_check_lib_save_LIBS=$LIBS
   13405 LIBS="-lgnurx  $LIBS"
   13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13407 /* end confdefs.h.  */
   13408 
   13409 /* Override any GCC internal prototype to avoid an error.
   13410    Use char because int might match the return type of a GCC
   13411    builtin and then its argument prototype would still apply.  */
   13412 #ifdef __cplusplus
   13413 extern "C"
   13414 #endif
   13415 char regexec ();
   13416 int
   13417 main ()
   13418 {
   13419 return regexec ();
   13420   ;
   13421   return 0;
   13422 }
   13423 _ACEOF
   13424 if ac_fn_c_try_link "$LINENO"; then :
   13425   ac_cv_lib_gnurx_regexec=yes
   13426 else
   13427   ac_cv_lib_gnurx_regexec=no
   13428 fi
   13429 rm -f core conftest.err conftest.$ac_objext \
   13430     conftest$ac_exeext conftest.$ac_ext
   13431 LIBS=$ac_check_lib_save_LIBS
   13432 fi
   13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnurx_regexec" >&5
   13434 $as_echo "$ac_cv_lib_gnurx_regexec" >&6; }
   13435 if test "x$ac_cv_lib_gnurx_regexec" = xyes; then :
   13436   cat >>confdefs.h <<_ACEOF
   13437 #define HAVE_LIBGNURX 1
   13438 _ACEOF
   13439 
   13440   LIBS="-lgnurx $LIBS"
   13441 
   13442 else
   13443   as_fn_error $? "libgnurx is required to build file(1) with MinGW" "$LINENO" 5
   13444 fi
   13445 
   13446 fi
   13447 
   13448  if test "$cross_compiling" = yes; then
   13449   IS_CROSS_COMPILE_TRUE=
   13450   IS_CROSS_COMPILE_FALSE='#'
   13451 else
   13452   IS_CROSS_COMPILE_TRUE='#'
   13453   IS_CROSS_COMPILE_FALSE=
   13454 fi
   13455 
   13456 
   13457 ac_config_files="$ac_config_files Makefile src/Makefile magic/Makefile tests/Makefile doc/Makefile python/Makefile"
   13458 
   13459 cat >confcache <<\_ACEOF
   13460 # This file is a shell script that caches the results of configure
   13461 # tests run on this system so they can be shared between configure
   13462 # scripts and configure runs, see configure's option --config-cache.
   13463 # It is not useful on other systems.  If it contains results you don't
   13464 # want to keep, you may remove or edit it.
   13465 #
   13466 # config.status only pays attention to the cache file if you give it
   13467 # the --recheck option to rerun configure.
   13468 #
   13469 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13470 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13471 # following values.
   13472 
   13473 _ACEOF
   13474 
   13475 # The following way of writing the cache mishandles newlines in values,
   13476 # but we know of no workaround that is simple, portable, and efficient.
   13477 # So, we kill variables containing newlines.
   13478 # Ultrix sh set writes to stderr and can't be redirected directly,
   13479 # and sets the high bit in the cache file unless we assign to the vars.
   13480 (
   13481   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13482     eval ac_val=\$$ac_var
   13483     case $ac_val in #(
   13484     *${as_nl}*)
   13485       case $ac_var in #(
   13486       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   13487 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13488       esac
   13489       case $ac_var in #(
   13490       _ | IFS | as_nl) ;; #(
   13491       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13492       *) { eval $ac_var=; unset $ac_var;} ;;
   13493       esac ;;
   13494     esac
   13495   done
   13496 
   13497   (set) 2>&1 |
   13498     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13499     *${as_nl}ac_space=\ *)
   13500       # `set' does not quote correctly, so add quotes: double-quote
   13501       # substitution turns \\\\ into \\, and sed turns \\ into \.
   13502       sed -n \
   13503 	"s/'/'\\\\''/g;
   13504 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13505       ;; #(
   13506     *)
   13507       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13508       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13509       ;;
   13510     esac |
   13511     sort
   13512 ) |
   13513   sed '
   13514      /^ac_cv_env_/b end
   13515      t clear
   13516      :clear
   13517      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13518      t end
   13519      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13520      :end' >>confcache
   13521 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13522   if test -w "$cache_file"; then
   13523     if test "x$cache_file" != "x/dev/null"; then
   13524       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   13525 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13526       if test ! -f "$cache_file" || test -h "$cache_file"; then
   13527 	cat confcache >"$cache_file"
   13528       else
   13529         case $cache_file in #(
   13530         */* | ?:*)
   13531 	  mv -f confcache "$cache_file"$$ &&
   13532 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   13533         *)
   13534 	  mv -f confcache "$cache_file" ;;
   13535 	esac
   13536       fi
   13537     fi
   13538   else
   13539     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   13540 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13541   fi
   13542 fi
   13543 rm -f confcache
   13544 
   13545 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13546 # Let make expand exec_prefix.
   13547 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13548 
   13549 DEFS=-DHAVE_CONFIG_H
   13550 
   13551 ac_libobjs=
   13552 ac_ltlibobjs=
   13553 U=
   13554 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13555   # 1. Remove the extension, and $U if already installed.
   13556   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13557   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13558   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13559   #    will be set to the directory where LIBOBJS objects are built.
   13560   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13561   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   13562 done
   13563 LIBOBJS=$ac_libobjs
   13564 
   13565 LTLIBOBJS=$ac_ltlibobjs
   13566 
   13567 
   13568  if test -n "$EXEEXT"; then
   13569   am__EXEEXT_TRUE=
   13570   am__EXEEXT_FALSE='#'
   13571 else
   13572   am__EXEEXT_TRUE='#'
   13573   am__EXEEXT_FALSE=
   13574 fi
   13575 
   13576 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13577   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   13578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13579 fi
   13580 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
   13581   as_fn_error $? "conditional \"MINGW\" was never defined.
   13582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13583 fi
   13584 if test -z "${FSECT5_TRUE}" && test -z "${FSECT5_FALSE}"; then
   13585   as_fn_error $? "conditional \"FSECT5\" was never defined.
   13586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13587 fi
   13588 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13589   as_fn_error $? "conditional \"AMDEP\" was never defined.
   13590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13591 fi
   13592 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13593   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   13594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13595 fi
   13596 
   13597 if test -z "${IS_CROSS_COMPILE_TRUE}" && test -z "${IS_CROSS_COMPILE_FALSE}"; then
   13598   as_fn_error $? "conditional \"IS_CROSS_COMPILE\" was never defined.
   13599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13600 fi
   13601 
   13602 : "${CONFIG_STATUS=./config.status}"
   13603 ac_write_fail=0
   13604 ac_clean_files_save=$ac_clean_files
   13605 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   13607 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13608 as_write_fail=0
   13609 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   13610 #! $SHELL
   13611 # Generated by $as_me.
   13612 # Run this file to recreate the current configuration.
   13613 # Compiler output produced by configure, useful for debugging
   13614 # configure, is in config.log if it exists.
   13615 
   13616 debug=false
   13617 ac_cs_recheck=false
   13618 ac_cs_silent=false
   13619 
   13620 SHELL=\${CONFIG_SHELL-$SHELL}
   13621 export SHELL
   13622 _ASEOF
   13623 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   13624 ## -------------------- ##
   13625 ## M4sh Initialization. ##
   13626 ## -------------------- ##
   13627 
   13628 # Be more Bourne compatible
   13629 DUALCASE=1; export DUALCASE # for MKS sh
   13630 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   13631   emulate sh
   13632   NULLCMD=:
   13633   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13634   # is contrary to our usage.  Disable this feature.
   13635   alias -g '${1+"$@"}'='"$@"'
   13636   setopt NO_GLOB_SUBST
   13637 else
   13638   case `(set -o) 2>/dev/null` in #(
   13639   *posix*) :
   13640     set -o posix ;; #(
   13641   *) :
   13642      ;;
   13643 esac
   13644 fi
   13645 
   13646 
   13647 as_nl='
   13648 '
   13649 export as_nl
   13650 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13651 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13654 # Prefer a ksh shell builtin over an external printf program on Solaris,
   13655 # but without wasting forks for bash or zsh.
   13656 if test -z "$BASH_VERSION$ZSH_VERSION" \
   13657     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   13658   as_echo='print -r --'
   13659   as_echo_n='print -rn --'
   13660 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13661   as_echo='printf %s\n'
   13662   as_echo_n='printf %s'
   13663 else
   13664   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13665     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13666     as_echo_n='/usr/ucb/echo -n'
   13667   else
   13668     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13669     as_echo_n_body='eval
   13670       arg=$1;
   13671       case $arg in #(
   13672       *"$as_nl"*)
   13673 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13674 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13675       esac;
   13676       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13677     '
   13678     export as_echo_n_body
   13679     as_echo_n='sh -c $as_echo_n_body as_echo'
   13680   fi
   13681   export as_echo_body
   13682   as_echo='sh -c $as_echo_body as_echo'
   13683 fi
   13684 
   13685 # The user is always right.
   13686 if test "${PATH_SEPARATOR+set}" != set; then
   13687   PATH_SEPARATOR=:
   13688   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13689     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13690       PATH_SEPARATOR=';'
   13691   }
   13692 fi
   13693 
   13694 
   13695 # IFS
   13696 # We need space, tab and new line, in precisely that order.  Quoting is
   13697 # there to prevent editors from complaining about space-tab.
   13698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13699 # splitting by setting IFS to empty value.)
   13700 IFS=" ""	$as_nl"
   13701 
   13702 # Find who we are.  Look in the path if we contain no directory separator.
   13703 as_myself=
   13704 case $0 in #((
   13705   *[\\/]* ) as_myself=$0 ;;
   13706   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13707 for as_dir in $PATH
   13708 do
   13709   IFS=$as_save_IFS
   13710   test -z "$as_dir" && as_dir=.
   13711     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13712   done
   13713 IFS=$as_save_IFS
   13714 
   13715      ;;
   13716 esac
   13717 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13718 # in which case we are not to be found in the path.
   13719 if test "x$as_myself" = x; then
   13720   as_myself=$0
   13721 fi
   13722 if test ! -f "$as_myself"; then
   13723   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13724   exit 1
   13725 fi
   13726 
   13727 # Unset variables that we do not need and which cause bugs (e.g. in
   13728 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   13729 # suppresses any "Segmentation fault" message there.  '((' could
   13730 # trigger a bug in pdksh 5.2.14.
   13731 for as_var in BASH_ENV ENV MAIL MAILPATH
   13732 do eval test x\${$as_var+set} = xset \
   13733   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   13734 done
   13735 PS1='$ '
   13736 PS2='> '
   13737 PS4='+ '
   13738 
   13739 # NLS nuisances.
   13740 LC_ALL=C
   13741 export LC_ALL
   13742 LANGUAGE=C
   13743 export LANGUAGE
   13744 
   13745 # CDPATH.
   13746 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13747 
   13748 
   13749 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   13750 # ----------------------------------------
   13751 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   13752 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   13753 # script with STATUS, using 1 if that was 0.
   13754 as_fn_error ()
   13755 {
   13756   as_status=$1; test $as_status -eq 0 && as_status=1
   13757   if test "$4"; then
   13758     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   13759     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   13760   fi
   13761   $as_echo "$as_me: error: $2" >&2
   13762   as_fn_exit $as_status
   13763 } # as_fn_error
   13764 
   13765 
   13766 # as_fn_set_status STATUS
   13767 # -----------------------
   13768 # Set $? to STATUS, without forking.
   13769 as_fn_set_status ()
   13770 {
   13771   return $1
   13772 } # as_fn_set_status
   13773 
   13774 # as_fn_exit STATUS
   13775 # -----------------
   13776 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   13777 as_fn_exit ()
   13778 {
   13779   set +e
   13780   as_fn_set_status $1
   13781   exit $1
   13782 } # as_fn_exit
   13783 
   13784 # as_fn_unset VAR
   13785 # ---------------
   13786 # Portably unset VAR.
   13787 as_fn_unset ()
   13788 {
   13789   { eval $1=; unset $1;}
   13790 }
   13791 as_unset=as_fn_unset
   13792 # as_fn_append VAR VALUE
   13793 # ----------------------
   13794 # Append the text in VALUE to the end of the definition contained in VAR. Take
   13795 # advantage of any shell optimizations that allow amortized linear growth over
   13796 # repeated appends, instead of the typical quadratic growth present in naive
   13797 # implementations.
   13798 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   13799   eval 'as_fn_append ()
   13800   {
   13801     eval $1+=\$2
   13802   }'
   13803 else
   13804   as_fn_append ()
   13805   {
   13806     eval $1=\$$1\$2
   13807   }
   13808 fi # as_fn_append
   13809 
   13810 # as_fn_arith ARG...
   13811 # ------------------
   13812 # Perform arithmetic evaluation on the ARGs, and store the result in the
   13813 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   13814 # must be portable across $(()) and expr.
   13815 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   13816   eval 'as_fn_arith ()
   13817   {
   13818     as_val=$(( $* ))
   13819   }'
   13820 else
   13821   as_fn_arith ()
   13822   {
   13823     as_val=`expr "$@" || test $? -eq 1`
   13824   }
   13825 fi # as_fn_arith
   13826 
   13827 
   13828 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13829    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13830   as_expr=expr
   13831 else
   13832   as_expr=false
   13833 fi
   13834 
   13835 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13836   as_basename=basename
   13837 else
   13838   as_basename=false
   13839 fi
   13840 
   13841 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13842   as_dirname=dirname
   13843 else
   13844   as_dirname=false
   13845 fi
   13846 
   13847 as_me=`$as_basename -- "$0" ||
   13848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13849 	 X"$0" : 'X\(//\)$' \| \
   13850 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13851 $as_echo X/"$0" |
   13852     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13853 	    s//\1/
   13854 	    q
   13855 	  }
   13856 	  /^X\/\(\/\/\)$/{
   13857 	    s//\1/
   13858 	    q
   13859 	  }
   13860 	  /^X\/\(\/\).*/{
   13861 	    s//\1/
   13862 	    q
   13863 	  }
   13864 	  s/.*/./; q'`
   13865 
   13866 # Avoid depending upon Character Ranges.
   13867 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13868 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13869 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13870 as_cr_digits='0123456789'
   13871 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13872 
   13873 ECHO_C= ECHO_N= ECHO_T=
   13874 case `echo -n x` in #(((((
   13875 -n*)
   13876   case `echo 'xy\c'` in
   13877   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13878   xy)  ECHO_C='\c';;
   13879   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   13880        ECHO_T='	';;
   13881   esac;;
   13882 *)
   13883   ECHO_N='-n';;
   13884 esac
   13885 
   13886 rm -f conf$$ conf$$.exe conf$$.file
   13887 if test -d conf$$.dir; then
   13888   rm -f conf$$.dir/conf$$.file
   13889 else
   13890   rm -f conf$$.dir
   13891   mkdir conf$$.dir 2>/dev/null
   13892 fi
   13893 if (echo >conf$$.file) 2>/dev/null; then
   13894   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13895     as_ln_s='ln -s'
   13896     # ... but there are two gotchas:
   13897     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13898     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13899     # In both cases, we have to default to `cp -p'.
   13900     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13901       as_ln_s='cp -p'
   13902   elif ln conf$$.file conf$$ 2>/dev/null; then
   13903     as_ln_s=ln
   13904   else
   13905     as_ln_s='cp -p'
   13906   fi
   13907 else
   13908   as_ln_s='cp -p'
   13909 fi
   13910 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13911 rmdir conf$$.dir 2>/dev/null
   13912 
   13913 
   13914 # as_fn_mkdir_p
   13915 # -------------
   13916 # Create "$as_dir" as a directory, including parents if necessary.
   13917 as_fn_mkdir_p ()
   13918 {
   13919 
   13920   case $as_dir in #(
   13921   -*) as_dir=./$as_dir;;
   13922   esac
   13923   test -d "$as_dir" || eval $as_mkdir_p || {
   13924     as_dirs=
   13925     while :; do
   13926       case $as_dir in #(
   13927       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13928       *) as_qdir=$as_dir;;
   13929       esac
   13930       as_dirs="'$as_qdir' $as_dirs"
   13931       as_dir=`$as_dirname -- "$as_dir" ||
   13932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13933 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13934 	 X"$as_dir" : 'X\(//\)$' \| \
   13935 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13936 $as_echo X"$as_dir" |
   13937     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13938 	    s//\1/
   13939 	    q
   13940 	  }
   13941 	  /^X\(\/\/\)[^/].*/{
   13942 	    s//\1/
   13943 	    q
   13944 	  }
   13945 	  /^X\(\/\/\)$/{
   13946 	    s//\1/
   13947 	    q
   13948 	  }
   13949 	  /^X\(\/\).*/{
   13950 	    s//\1/
   13951 	    q
   13952 	  }
   13953 	  s/.*/./; q'`
   13954       test -d "$as_dir" && break
   13955     done
   13956     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13957   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   13958 
   13959 
   13960 } # as_fn_mkdir_p
   13961 if mkdir -p . 2>/dev/null; then
   13962   as_mkdir_p='mkdir -p "$as_dir"'
   13963 else
   13964   test -d ./-p && rmdir ./-p
   13965   as_mkdir_p=false
   13966 fi
   13967 
   13968 if test -x / >/dev/null 2>&1; then
   13969   as_test_x='test -x'
   13970 else
   13971   if ls -dL / >/dev/null 2>&1; then
   13972     as_ls_L_option=L
   13973   else
   13974     as_ls_L_option=
   13975   fi
   13976   as_test_x='
   13977     eval sh -c '\''
   13978       if test -d "$1"; then
   13979 	test -d "$1/.";
   13980       else
   13981 	case $1 in #(
   13982 	-*)set "./$1";;
   13983 	esac;
   13984 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   13985 	???[sx]*):;;*)false;;esac;fi
   13986     '\'' sh
   13987   '
   13988 fi
   13989 as_executable_p=$as_test_x
   13990 
   13991 # Sed expression to map a string onto a valid CPP name.
   13992 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13993 
   13994 # Sed expression to map a string onto a valid variable name.
   13995 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13996 
   13997 
   13998 exec 6>&1
   13999 ## ----------------------------------- ##
   14000 ## Main body of $CONFIG_STATUS script. ##
   14001 ## ----------------------------------- ##
   14002 _ASEOF
   14003 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   14004 
   14005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14006 # Save the log message, to keep $0 and so on meaningful, and to
   14007 # report actual input values of CONFIG_FILES etc. instead of their
   14008 # values after options handling.
   14009 ac_log="
   14010 This file was extended by file $as_me 5.16, which was
   14011 generated by GNU Autoconf 2.68.  Invocation command line was
   14012 
   14013   CONFIG_FILES    = $CONFIG_FILES
   14014   CONFIG_HEADERS  = $CONFIG_HEADERS
   14015   CONFIG_LINKS    = $CONFIG_LINKS
   14016   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14017   $ $0 $@
   14018 
   14019 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14020 "
   14021 
   14022 _ACEOF
   14023 
   14024 case $ac_config_files in *"
   14025 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14026 esac
   14027 
   14028 case $ac_config_headers in *"
   14029 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14030 esac
   14031 
   14032 
   14033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14034 # Files that config.status was made for.
   14035 config_files="$ac_config_files"
   14036 config_headers="$ac_config_headers"
   14037 config_commands="$ac_config_commands"
   14038 
   14039 _ACEOF
   14040 
   14041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14042 ac_cs_usage="\
   14043 \`$as_me' instantiates files and other configuration actions
   14044 from templates according to the current configuration.  Unless the files
   14045 and actions are specified as TAGs, all are instantiated by default.
   14046 
   14047 Usage: $0 [OPTION]... [TAG]...
   14048 
   14049   -h, --help       print this help, then exit
   14050   -V, --version    print version number and configuration settings, then exit
   14051       --config     print configuration, then exit
   14052   -q, --quiet, --silent
   14053                    do not print progress messages
   14054   -d, --debug      don't remove temporary files
   14055       --recheck    update $as_me by reconfiguring in the same conditions
   14056       --file=FILE[:TEMPLATE]
   14057                    instantiate the configuration file FILE
   14058       --header=FILE[:TEMPLATE]
   14059                    instantiate the configuration header FILE
   14060 
   14061 Configuration files:
   14062 $config_files
   14063 
   14064 Configuration headers:
   14065 $config_headers
   14066 
   14067 Configuration commands:
   14068 $config_commands
   14069 
   14070 Report bugs to <christos (at] astron.com>."
   14071 
   14072 _ACEOF
   14073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14074 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   14075 ac_cs_version="\\
   14076 file config.status 5.16
   14077 configured by $0, generated by GNU Autoconf 2.68,
   14078   with options \\"\$ac_cs_config\\"
   14079 
   14080 Copyright (C) 2010 Free Software Foundation, Inc.
   14081 This config.status script is free software; the Free Software Foundation
   14082 gives unlimited permission to copy, distribute and modify it."
   14083 
   14084 ac_pwd='$ac_pwd'
   14085 srcdir='$srcdir'
   14086 INSTALL='$INSTALL'
   14087 MKDIR_P='$MKDIR_P'
   14088 AWK='$AWK'
   14089 test -n "\$AWK" || AWK=awk
   14090 _ACEOF
   14091 
   14092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14093 # The default lists apply if the user does not specify any file.
   14094 ac_need_defaults=:
   14095 while test $# != 0
   14096 do
   14097   case $1 in
   14098   --*=?*)
   14099     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14100     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14101     ac_shift=:
   14102     ;;
   14103   --*=)
   14104     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14105     ac_optarg=
   14106     ac_shift=:
   14107     ;;
   14108   *)
   14109     ac_option=$1
   14110     ac_optarg=$2
   14111     ac_shift=shift
   14112     ;;
   14113   esac
   14114 
   14115   case $ac_option in
   14116   # Handling of the options.
   14117   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14118     ac_cs_recheck=: ;;
   14119   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14120     $as_echo "$ac_cs_version"; exit ;;
   14121   --config | --confi | --conf | --con | --co | --c )
   14122     $as_echo "$ac_cs_config"; exit ;;
   14123   --debug | --debu | --deb | --de | --d | -d )
   14124     debug=: ;;
   14125   --file | --fil | --fi | --f )
   14126     $ac_shift
   14127     case $ac_optarg in
   14128     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14129     '') as_fn_error $? "missing file argument" ;;
   14130     esac
   14131     as_fn_append CONFIG_FILES " '$ac_optarg'"
   14132     ac_need_defaults=false;;
   14133   --header | --heade | --head | --hea )
   14134     $ac_shift
   14135     case $ac_optarg in
   14136     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14137     esac
   14138     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   14139     ac_need_defaults=false;;
   14140   --he | --h)
   14141     # Conflict between --help and --header
   14142     as_fn_error $? "ambiguous option: \`$1'
   14143 Try \`$0 --help' for more information.";;
   14144   --help | --hel | -h )
   14145     $as_echo "$ac_cs_usage"; exit ;;
   14146   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14147   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14148     ac_cs_silent=: ;;
   14149 
   14150   # This is an error.
   14151   -*) as_fn_error $? "unrecognized option: \`$1'
   14152 Try \`$0 --help' for more information." ;;
   14153 
   14154   *) as_fn_append ac_config_targets " $1"
   14155      ac_need_defaults=false ;;
   14156 
   14157   esac
   14158   shift
   14159 done
   14160 
   14161 ac_configure_extra_args=
   14162 
   14163 if $ac_cs_silent; then
   14164   exec 6>/dev/null
   14165   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14166 fi
   14167 
   14168 _ACEOF
   14169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14170 if \$ac_cs_recheck; then
   14171   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14172   shift
   14173   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14174   CONFIG_SHELL='$SHELL'
   14175   export CONFIG_SHELL
   14176   exec "\$@"
   14177 fi
   14178 
   14179 _ACEOF
   14180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14181 exec 5>>config.log
   14182 {
   14183   echo
   14184   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14185 ## Running $as_me. ##
   14186 _ASBOX
   14187   $as_echo "$ac_log"
   14188 } >&5
   14189 
   14190 _ACEOF
   14191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14192 #
   14193 # INIT-COMMANDS
   14194 #
   14195 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14196 
   14197 
   14198 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14199 # if CDPATH is set.
   14200 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14201 
   14202 sed_quote_subst='$sed_quote_subst'
   14203 double_quote_subst='$double_quote_subst'
   14204 delay_variable_subst='$delay_variable_subst'
   14205 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   14206 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   14207 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   14208 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   14209 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   14210 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   14211 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14212 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   14213 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   14214 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14215 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   14216 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   14217 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   14218 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   14219 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   14220 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14221 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14222 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   14223 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   14224 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   14225 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   14226 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   14227 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   14228 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   14229 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   14230 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   14231 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14232 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14233 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   14234 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   14235 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   14236 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   14237 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14238 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   14239 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   14240 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14241 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14242 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14243 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   14244 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14245 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   14246 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   14247 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   14248 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   14249 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   14250 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14251 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   14252 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   14253 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   14254 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   14255 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14256 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   14257 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   14258 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   14259 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   14260 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   14261 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   14262 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   14263 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   14264 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   14265 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   14266 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   14267 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14268 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14269 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   14270 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   14271 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14272 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14273 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   14274 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14275 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14276 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14277 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14278 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14279 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14280 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14281 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14282 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14283 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14284 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14285 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   14286 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   14287 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   14288 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   14289 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14290 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   14291 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   14292 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   14293 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   14294 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   14295 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14296 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14297 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14298 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14299 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14300 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   14301 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14302 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   14303 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   14304 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14305 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14306 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   14307 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14308 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14309 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14310 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14311 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14312 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14313 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   14314 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   14315 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14316 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14317 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   14318 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   14319 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   14320 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   14321 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14322 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14323 
   14324 LTCC='$LTCC'
   14325 LTCFLAGS='$LTCFLAGS'
   14326 compiler='$compiler_DEFAULT'
   14327 
   14328 # Quote evaled strings.
   14329 for var in SED \
   14330 GREP \
   14331 EGREP \
   14332 FGREP \
   14333 LD \
   14334 NM \
   14335 LN_S \
   14336 lt_SP2NL \
   14337 lt_NL2SP \
   14338 reload_flag \
   14339 OBJDUMP \
   14340 deplibs_check_method \
   14341 file_magic_cmd \
   14342 AR \
   14343 AR_FLAGS \
   14344 STRIP \
   14345 RANLIB \
   14346 CC \
   14347 CFLAGS \
   14348 compiler \
   14349 lt_cv_sys_global_symbol_pipe \
   14350 lt_cv_sys_global_symbol_to_cdecl \
   14351 lt_cv_sys_global_symbol_to_c_name_address \
   14352 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14353 SHELL \
   14354 ECHO \
   14355 lt_prog_compiler_no_builtin_flag \
   14356 lt_prog_compiler_wl \
   14357 lt_prog_compiler_pic \
   14358 lt_prog_compiler_static \
   14359 lt_cv_prog_compiler_c_o \
   14360 need_locks \
   14361 DSYMUTIL \
   14362 NMEDIT \
   14363 LIPO \
   14364 OTOOL \
   14365 OTOOL64 \
   14366 shrext_cmds \
   14367 export_dynamic_flag_spec \
   14368 whole_archive_flag_spec \
   14369 compiler_needs_object \
   14370 with_gnu_ld \
   14371 allow_undefined_flag \
   14372 no_undefined_flag \
   14373 hardcode_libdir_flag_spec \
   14374 hardcode_libdir_flag_spec_ld \
   14375 hardcode_libdir_separator \
   14376 fix_srcfile_path \
   14377 exclude_expsyms \
   14378 include_expsyms \
   14379 file_list_spec \
   14380 variables_saved_for_relink \
   14381 libname_spec \
   14382 library_names_spec \
   14383 soname_spec \
   14384 finish_eval \
   14385 old_striplib \
   14386 striplib; do
   14387     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14388     *[\\\\\\\`\\"\\\$]*)
   14389       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14390       ;;
   14391     *)
   14392       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14393       ;;
   14394     esac
   14395 done
   14396 
   14397 # Double-quote double-evaled strings.
   14398 for var in reload_cmds \
   14399 old_postinstall_cmds \
   14400 old_postuninstall_cmds \
   14401 old_archive_cmds \
   14402 extract_expsyms_cmds \
   14403 old_archive_from_new_cmds \
   14404 old_archive_from_expsyms_cmds \
   14405 archive_cmds \
   14406 archive_expsym_cmds \
   14407 module_cmds \
   14408 module_expsym_cmds \
   14409 export_symbols_cmds \
   14410 prelink_cmds \
   14411 postinstall_cmds \
   14412 postuninstall_cmds \
   14413 finish_cmds \
   14414 sys_lib_search_path_spec \
   14415 sys_lib_dlsearch_path_spec; do
   14416     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14417     *[\\\\\\\`\\"\\\$]*)
   14418       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14419       ;;
   14420     *)
   14421       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14422       ;;
   14423     esac
   14424 done
   14425 
   14426 # Fix-up fallback echo if it was mangled by the above quoting rules.
   14427 case \$lt_ECHO in
   14428 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   14429   ;;
   14430 esac
   14431 
   14432 ac_aux_dir='$ac_aux_dir'
   14433 xsi_shell='$xsi_shell'
   14434 lt_shell_append='$lt_shell_append'
   14435 
   14436 # See if we are running on zsh, and set the options which allow our
   14437 # commands through without removal of \ escapes INIT.
   14438 if test -n "\${ZSH_VERSION+set}" ; then
   14439    setopt NO_GLOB_SUBST
   14440 fi
   14441 
   14442 
   14443     PACKAGE='$PACKAGE'
   14444     VERSION='$VERSION'
   14445     TIMESTAMP='$TIMESTAMP'
   14446     RM='$RM'
   14447     ofile='$ofile'
   14448 
   14449 
   14450 
   14451 
   14452 _ACEOF
   14453 
   14454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14455 
   14456 # Handling of arguments.
   14457 for ac_config_target in $ac_config_targets
   14458 do
   14459   case $ac_config_target in
   14460     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14461     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14462     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14463     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14464     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   14465     "magic/Makefile") CONFIG_FILES="$CONFIG_FILES magic/Makefile" ;;
   14466     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   14467     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   14468     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
   14469 
   14470   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   14471   esac
   14472 done
   14473 
   14474 
   14475 # If the user did not use the arguments to specify the items to instantiate,
   14476 # then the envvar interface is used.  Set only those that are not.
   14477 # We use the long form for the default assignment because of an extremely
   14478 # bizarre bug on SunOS 4.1.3.
   14479 if $ac_need_defaults; then
   14480   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14481   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14482   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14483 fi
   14484 
   14485 # Have a temporary directory for convenience.  Make it in the build tree
   14486 # simply because there is no reason against having it here, and in addition,
   14487 # creating and moving files from /tmp can sometimes cause problems.
   14488 # Hook for its removal unless debugging.
   14489 # Note that there is a small window in which the directory will not be cleaned:
   14490 # after its creation but before its name has been assigned to `$tmp'.
   14491 $debug ||
   14492 {
   14493   tmp= ac_tmp=
   14494   trap 'exit_status=$?
   14495   : "${ac_tmp:=$tmp}"
   14496   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   14497 ' 0
   14498   trap 'as_fn_exit 1' 1 2 13 15
   14499 }
   14500 # Create a (secure) tmp directory for tmp files.
   14501 
   14502 {
   14503   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14504   test -d "$tmp"
   14505 }  ||
   14506 {
   14507   tmp=./conf$$-$RANDOM
   14508   (umask 077 && mkdir "$tmp")
   14509 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   14510 ac_tmp=$tmp
   14511 
   14512 # Set up the scripts for CONFIG_FILES section.
   14513 # No need to generate them if there are no CONFIG_FILES.
   14514 # This happens for instance with `./config.status config.h'.
   14515 if test -n "$CONFIG_FILES"; then
   14516 
   14517 
   14518 ac_cr=`echo X | tr X '\015'`
   14519 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   14520 # But we know of no other shell where ac_cr would be empty at this
   14521 # point, so we can use a bashism as a fallback.
   14522 if test "x$ac_cr" = x; then
   14523   eval ac_cr=\$\'\\r\'
   14524 fi
   14525 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14526 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14527   ac_cs_awk_cr='\\r'
   14528 else
   14529   ac_cs_awk_cr=$ac_cr
   14530 fi
   14531 
   14532 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   14533 _ACEOF
   14534 
   14535 
   14536 {
   14537   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14538   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14539   echo "_ACEOF"
   14540 } >conf$$subs.sh ||
   14541   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14542 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   14543 ac_delim='%!_!# '
   14544 for ac_last_try in false false false false false :; do
   14545   . ./conf$$subs.sh ||
   14546     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14547 
   14548   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14549   if test $ac_delim_n = $ac_delim_num; then
   14550     break
   14551   elif $ac_last_try; then
   14552     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   14553   else
   14554     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14555   fi
   14556 done
   14557 rm -f conf$$subs.sh
   14558 
   14559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14560 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   14561 _ACEOF
   14562 sed -n '
   14563 h
   14564 s/^/S["/; s/!.*/"]=/
   14565 p
   14566 g
   14567 s/^[^!]*!//
   14568 :repl
   14569 t repl
   14570 s/'"$ac_delim"'$//
   14571 t delim
   14572 :nl
   14573 h
   14574 s/\(.\{148\}\)..*/\1/
   14575 t more1
   14576 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14577 p
   14578 n
   14579 b repl
   14580 :more1
   14581 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14582 p
   14583 g
   14584 s/.\{148\}//
   14585 t nl
   14586 :delim
   14587 h
   14588 s/\(.\{148\}\)..*/\1/
   14589 t more2
   14590 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14591 p
   14592 b
   14593 :more2
   14594 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14595 p
   14596 g
   14597 s/.\{148\}//
   14598 t delim
   14599 ' <conf$$subs.awk | sed '
   14600 /^[^""]/{
   14601   N
   14602   s/\n//
   14603 }
   14604 ' >>$CONFIG_STATUS || ac_write_fail=1
   14605 rm -f conf$$subs.awk
   14606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14607 _ACAWK
   14608 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   14609   for (key in S) S_is_set[key] = 1
   14610   FS = ""
   14611 
   14612 }
   14613 {
   14614   line = $ 0
   14615   nfields = split(line, field, "@")
   14616   substed = 0
   14617   len = length(field[1])
   14618   for (i = 2; i < nfields; i++) {
   14619     key = field[i]
   14620     keylen = length(key)
   14621     if (S_is_set[key]) {
   14622       value = S[key]
   14623       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14624       len += length(value) + length(field[++i])
   14625       substed = 1
   14626     } else
   14627       len += 1 + keylen
   14628   }
   14629 
   14630   print line
   14631 }
   14632 
   14633 _ACAWK
   14634 _ACEOF
   14635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14636 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14637   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14638 else
   14639   cat
   14640 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   14641   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   14642 _ACEOF
   14643 
   14644 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   14645 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   14646 # trailing colons and then remove the whole line if VPATH becomes empty
   14647 # (actually we leave an empty line to preserve line numbers).
   14648 if test "x$srcdir" = x.; then
   14649   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   14650 h
   14651 s///
   14652 s/^/:/
   14653 s/[	 ]*$/:/
   14654 s/:\$(srcdir):/:/g
   14655 s/:\${srcdir}:/:/g
   14656 s/:@srcdir@:/:/g
   14657 s/^:*//
   14658 s/:*$//
   14659 x
   14660 s/\(=[	 ]*\).*/\1/
   14661 G
   14662 s/\n//
   14663 s/^[^=]*=[	 ]*$//
   14664 }'
   14665 fi
   14666 
   14667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14668 fi # test -n "$CONFIG_FILES"
   14669 
   14670 # Set up the scripts for CONFIG_HEADERS section.
   14671 # No need to generate them if there are no CONFIG_HEADERS.
   14672 # This happens for instance with `./config.status Makefile'.
   14673 if test -n "$CONFIG_HEADERS"; then
   14674 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   14675 BEGIN {
   14676 _ACEOF
   14677 
   14678 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14679 # here-document in config.status, that substitutes the proper values into
   14680 # config.h.in to produce config.h.
   14681 
   14682 # Create a delimiter string that does not exist in confdefs.h, to ease
   14683 # handling of long lines.
   14684 ac_delim='%!_!# '
   14685 for ac_last_try in false false :; do
   14686   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   14687   if test -z "$ac_tt"; then
   14688     break
   14689   elif $ac_last_try; then
   14690     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   14691   else
   14692     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14693   fi
   14694 done
   14695 
   14696 # For the awk script, D is an array of macro values keyed by name,
   14697 # likewise P contains macro parameters if any.  Preserve backslash
   14698 # newline sequences.
   14699 
   14700 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14701 sed -n '
   14702 s/.\{148\}/&'"$ac_delim"'/g
   14703 t rset
   14704 :rset
   14705 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14706 t def
   14707 d
   14708 :def
   14709 s/\\$//
   14710 t bsnl
   14711 s/["\\]/\\&/g
   14712 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14713 D["\1"]=" \3"/p
   14714 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14715 d
   14716 :bsnl
   14717 s/["\\]/\\&/g
   14718 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14719 D["\1"]=" \3\\\\\\n"\\/p
   14720 t cont
   14721 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14722 t cont
   14723 d
   14724 :cont
   14725 n
   14726 s/.\{148\}/&'"$ac_delim"'/g
   14727 t clear
   14728 :clear
   14729 s/\\$//
   14730 t bsnlc
   14731 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14732 d
   14733 :bsnlc
   14734 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14735 b cont
   14736 ' <confdefs.h | sed '
   14737 s/'"$ac_delim"'/"\\\
   14738 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14739 
   14740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14741   for (key in D) D_is_set[key] = 1
   14742   FS = ""
   14743 }
   14744 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14745   line = \$ 0
   14746   split(line, arg, " ")
   14747   if (arg[1] == "#") {
   14748     defundef = arg[2]
   14749     mac1 = arg[3]
   14750   } else {
   14751     defundef = substr(arg[1], 2)
   14752     mac1 = arg[2]
   14753   }
   14754   split(mac1, mac2, "(") #)
   14755   macro = mac2[1]
   14756   prefix = substr(line, 1, index(line, defundef) - 1)
   14757   if (D_is_set[macro]) {
   14758     # Preserve the white space surrounding the "#".
   14759     print prefix "define", macro P[macro] D[macro]
   14760     next
   14761   } else {
   14762     # Replace #undef with comments.  This is necessary, for example,
   14763     # in the case of _POSIX_SOURCE, which is predefined and required
   14764     # on some systems where configure will not decide to define it.
   14765     if (defundef == "undef") {
   14766       print "/*", prefix defundef, macro, "*/"
   14767       next
   14768     }
   14769   }
   14770 }
   14771 { print }
   14772 _ACAWK
   14773 _ACEOF
   14774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14775   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   14776 fi # test -n "$CONFIG_HEADERS"
   14777 
   14778 
   14779 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14780 shift
   14781 for ac_tag
   14782 do
   14783   case $ac_tag in
   14784   :[FHLC]) ac_mode=$ac_tag; continue;;
   14785   esac
   14786   case $ac_mode$ac_tag in
   14787   :[FHL]*:*);;
   14788   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   14789   :[FH]-) ac_tag=-:-;;
   14790   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14791   esac
   14792   ac_save_IFS=$IFS
   14793   IFS=:
   14794   set x $ac_tag
   14795   IFS=$ac_save_IFS
   14796   shift
   14797   ac_file=$1
   14798   shift
   14799 
   14800   case $ac_mode in
   14801   :L) ac_source=$1;;
   14802   :[FH])
   14803     ac_file_inputs=
   14804     for ac_f
   14805     do
   14806       case $ac_f in
   14807       -) ac_f="$ac_tmp/stdin";;
   14808       *) # Look for the file first in the build tree, then in the source tree
   14809 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14810 	 # because $ac_f cannot contain `:'.
   14811 	 test -f "$ac_f" ||
   14812 	   case $ac_f in
   14813 	   [\\/$]*) false;;
   14814 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14815 	   esac ||
   14816 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   14817       esac
   14818       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14819       as_fn_append ac_file_inputs " '$ac_f'"
   14820     done
   14821 
   14822     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14823     # use $as_me), people would be surprised to read:
   14824     #    /* config.h.  Generated by config.status.  */
   14825     configure_input='Generated from '`
   14826 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14827 	`' by configure.'
   14828     if test x"$ac_file" != x-; then
   14829       configure_input="$ac_file.  $configure_input"
   14830       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   14831 $as_echo "$as_me: creating $ac_file" >&6;}
   14832     fi
   14833     # Neutralize special characters interpreted by sed in replacement strings.
   14834     case $configure_input in #(
   14835     *\&* | *\|* | *\\* )
   14836        ac_sed_conf_input=`$as_echo "$configure_input" |
   14837        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14838     *) ac_sed_conf_input=$configure_input;;
   14839     esac
   14840 
   14841     case $ac_tag in
   14842     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   14843       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   14844     esac
   14845     ;;
   14846   esac
   14847 
   14848   ac_dir=`$as_dirname -- "$ac_file" ||
   14849 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14850 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14851 	 X"$ac_file" : 'X\(//\)$' \| \
   14852 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14853 $as_echo X"$ac_file" |
   14854     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14855 	    s//\1/
   14856 	    q
   14857 	  }
   14858 	  /^X\(\/\/\)[^/].*/{
   14859 	    s//\1/
   14860 	    q
   14861 	  }
   14862 	  /^X\(\/\/\)$/{
   14863 	    s//\1/
   14864 	    q
   14865 	  }
   14866 	  /^X\(\/\).*/{
   14867 	    s//\1/
   14868 	    q
   14869 	  }
   14870 	  s/.*/./; q'`
   14871   as_dir="$ac_dir"; as_fn_mkdir_p
   14872   ac_builddir=.
   14873 
   14874 case "$ac_dir" in
   14875 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14876 *)
   14877   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14878   # A ".." for each directory in $ac_dir_suffix.
   14879   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14880   case $ac_top_builddir_sub in
   14881   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14882   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14883   esac ;;
   14884 esac
   14885 ac_abs_top_builddir=$ac_pwd
   14886 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14887 # for backward compatibility:
   14888 ac_top_builddir=$ac_top_build_prefix
   14889 
   14890 case $srcdir in
   14891   .)  # We are building in place.
   14892     ac_srcdir=.
   14893     ac_top_srcdir=$ac_top_builddir_sub
   14894     ac_abs_top_srcdir=$ac_pwd ;;
   14895   [\\/]* | ?:[\\/]* )  # Absolute name.
   14896     ac_srcdir=$srcdir$ac_dir_suffix;
   14897     ac_top_srcdir=$srcdir
   14898     ac_abs_top_srcdir=$srcdir ;;
   14899   *) # Relative name.
   14900     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14901     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14902     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14903 esac
   14904 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14905 
   14906 
   14907   case $ac_mode in
   14908   :F)
   14909   #
   14910   # CONFIG_FILE
   14911   #
   14912 
   14913   case $INSTALL in
   14914   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14915   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14916   esac
   14917   ac_MKDIR_P=$MKDIR_P
   14918   case $MKDIR_P in
   14919   [\\/$]* | ?:[\\/]* ) ;;
   14920   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14921   esac
   14922 _ACEOF
   14923 
   14924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14925 # If the template does not know about datarootdir, expand it.
   14926 # FIXME: This hack should be removed a few years after 2.60.
   14927 ac_datarootdir_hack=; ac_datarootdir_seen=
   14928 ac_sed_dataroot='
   14929 /datarootdir/ {
   14930   p
   14931   q
   14932 }
   14933 /@datadir@/p
   14934 /@docdir@/p
   14935 /@infodir@/p
   14936 /@localedir@/p
   14937 /@mandir@/p'
   14938 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14939 *datarootdir*) ac_datarootdir_seen=yes;;
   14940 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14941   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14942 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14943 _ACEOF
   14944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14945   ac_datarootdir_hack='
   14946   s&@datadir@&$datadir&g
   14947   s&@docdir@&$docdir&g
   14948   s&@infodir@&$infodir&g
   14949   s&@localedir@&$localedir&g
   14950   s&@mandir@&$mandir&g
   14951   s&\\\${datarootdir}&$datarootdir&g' ;;
   14952 esac
   14953 _ACEOF
   14954 
   14955 # Neutralize VPATH when `$srcdir' = `.'.
   14956 # Shell code in configure.ac might set extrasub.
   14957 # FIXME: do we really want to maintain this feature?
   14958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14959 ac_sed_extra="$ac_vpsub
   14960 $extrasub
   14961 _ACEOF
   14962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14963 :t
   14964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14965 s|@configure_input@|$ac_sed_conf_input|;t t
   14966 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14967 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14968 s&@srcdir@&$ac_srcdir&;t t
   14969 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14970 s&@top_srcdir@&$ac_top_srcdir&;t t
   14971 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14972 s&@builddir@&$ac_builddir&;t t
   14973 s&@abs_builddir@&$ac_abs_builddir&;t t
   14974 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14975 s&@INSTALL@&$ac_INSTALL&;t t
   14976 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14977 $ac_datarootdir_hack
   14978 "
   14979 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   14980   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14981 
   14982 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14983   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   14984   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   14985       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   14986   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14987 which seems to be undefined.  Please make sure it is defined" >&5
   14988 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14989 which seems to be undefined.  Please make sure it is defined" >&2;}
   14990 
   14991   rm -f "$ac_tmp/stdin"
   14992   case $ac_file in
   14993   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   14994   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   14995   esac \
   14996   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14997  ;;
   14998   :H)
   14999   #
   15000   # CONFIG_HEADER
   15001   #
   15002   if test x"$ac_file" != x-; then
   15003     {
   15004       $as_echo "/* $configure_input  */" \
   15005       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   15006     } >"$ac_tmp/config.h" \
   15007       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15008     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   15009       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15010 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15011     else
   15012       rm -f "$ac_file"
   15013       mv "$ac_tmp/config.h" "$ac_file" \
   15014 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15015     fi
   15016   else
   15017     $as_echo "/* $configure_input  */" \
   15018       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   15019       || as_fn_error $? "could not create -" "$LINENO" 5
   15020   fi
   15021 # Compute "$ac_file"'s index in $config_headers.
   15022 _am_arg="$ac_file"
   15023 _am_stamp_count=1
   15024 for _am_header in $config_headers :; do
   15025   case $_am_header in
   15026     $_am_arg | $_am_arg:* )
   15027       break ;;
   15028     * )
   15029       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15030   esac
   15031 done
   15032 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15033 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15034 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15035 	 X"$_am_arg" : 'X\(//\)$' \| \
   15036 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15037 $as_echo X"$_am_arg" |
   15038     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15039 	    s//\1/
   15040 	    q
   15041 	  }
   15042 	  /^X\(\/\/\)[^/].*/{
   15043 	    s//\1/
   15044 	    q
   15045 	  }
   15046 	  /^X\(\/\/\)$/{
   15047 	    s//\1/
   15048 	    q
   15049 	  }
   15050 	  /^X\(\/\).*/{
   15051 	    s//\1/
   15052 	    q
   15053 	  }
   15054 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15055  ;;
   15056 
   15057   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   15058 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15059  ;;
   15060   esac
   15061 
   15062 
   15063   case $ac_file$ac_mode in
   15064     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15065   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   15066   # are listed without --file.  Let's play safe and only enable the eval
   15067   # if we detect the quoting.
   15068   case $CONFIG_FILES in
   15069   *\'*) eval set x "$CONFIG_FILES" ;;
   15070   *)   set x $CONFIG_FILES ;;
   15071   esac
   15072   shift
   15073   for mf
   15074   do
   15075     # Strip MF so we end up with the name of the file.
   15076     mf=`echo "$mf" | sed -e 's/:.*$//'`
   15077     # Check whether this is an Automake generated Makefile or not.
   15078     # We used to match only the files named `Makefile.in', but
   15079     # some people rename them; so instead we look at the file content.
   15080     # Grep'ing the first line is not enough: some people post-process
   15081     # each Makefile.in and add a new line on top of each file to say so.
   15082     # Grep'ing the whole file is not good either: AIX grep has a line
   15083     # limit of 2048, but all sed's we know have understand at least 4000.
   15084     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   15085       dirpart=`$as_dirname -- "$mf" ||
   15086 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15087 	 X"$mf" : 'X\(//\)[^/]' \| \
   15088 	 X"$mf" : 'X\(//\)$' \| \
   15089 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   15090 $as_echo X"$mf" |
   15091     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15092 	    s//\1/
   15093 	    q
   15094 	  }
   15095 	  /^X\(\/\/\)[^/].*/{
   15096 	    s//\1/
   15097 	    q
   15098 	  }
   15099 	  /^X\(\/\/\)$/{
   15100 	    s//\1/
   15101 	    q
   15102 	  }
   15103 	  /^X\(\/\).*/{
   15104 	    s//\1/
   15105 	    q
   15106 	  }
   15107 	  s/.*/./; q'`
   15108     else
   15109       continue
   15110     fi
   15111     # Extract the definition of DEPDIR, am__include, and am__quote
   15112     # from the Makefile without running `make'.
   15113     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15114     test -z "$DEPDIR" && continue
   15115     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15116     test -z "am__include" && continue
   15117     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15118     # When using ansi2knr, U may be empty or an underscore; expand it
   15119     U=`sed -n 's/^U = //p' < "$mf"`
   15120     # Find all dependency output files, they are included files with
   15121     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15122     # simplest approach to changing $(DEPDIR) to its actual value in the
   15123     # expansion.
   15124     for file in `sed -n "
   15125       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15126 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   15127       # Make sure the directory exists.
   15128       test -f "$dirpart/$file" && continue
   15129       fdir=`$as_dirname -- "$file" ||
   15130 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15131 	 X"$file" : 'X\(//\)[^/]' \| \
   15132 	 X"$file" : 'X\(//\)$' \| \
   15133 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   15134 $as_echo X"$file" |
   15135     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15136 	    s//\1/
   15137 	    q
   15138 	  }
   15139 	  /^X\(\/\/\)[^/].*/{
   15140 	    s//\1/
   15141 	    q
   15142 	  }
   15143 	  /^X\(\/\/\)$/{
   15144 	    s//\1/
   15145 	    q
   15146 	  }
   15147 	  /^X\(\/\).*/{
   15148 	    s//\1/
   15149 	    q
   15150 	  }
   15151 	  s/.*/./; q'`
   15152       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   15153       # echo "creating $dirpart/$file"
   15154       echo '# dummy' > "$dirpart/$file"
   15155     done
   15156   done
   15157 }
   15158  ;;
   15159     "libtool":C)
   15160 
   15161     # See if we are running on zsh, and set the options which allow our
   15162     # commands through without removal of \ escapes.
   15163     if test -n "${ZSH_VERSION+set}" ; then
   15164       setopt NO_GLOB_SUBST
   15165     fi
   15166 
   15167     cfgfile="${ofile}T"
   15168     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15169     $RM "$cfgfile"
   15170 
   15171     cat <<_LT_EOF >> "$cfgfile"
   15172 #! $SHELL
   15173 
   15174 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15175 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15176 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15177 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15178 #
   15179 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15180 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   15181 #   Written by Gordon Matzigkeit, 1996
   15182 #
   15183 #   This file is part of GNU Libtool.
   15184 #
   15185 # GNU Libtool is free software; you can redistribute it and/or
   15186 # modify it under the terms of the GNU General Public License as
   15187 # published by the Free Software Foundation; either version 2 of
   15188 # the License, or (at your option) any later version.
   15189 #
   15190 # As a special exception to the GNU General Public License,
   15191 # if you distribute this file as part of a program or library that
   15192 # is built using GNU Libtool, you may include this file under the
   15193 # same distribution terms that you use for the rest of that program.
   15194 #
   15195 # GNU Libtool is distributed in the hope that it will be useful,
   15196 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15197 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15198 # GNU General Public License for more details.
   15199 #
   15200 # You should have received a copy of the GNU General Public License
   15201 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15202 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15203 # obtained by writing to the Free Software Foundation, Inc.,
   15204 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15205 
   15206 
   15207 # The names of the tagged configurations supported by this script.
   15208 available_tags=""
   15209 
   15210 # ### BEGIN LIBTOOL CONFIG
   15211 
   15212 # Which release of libtool.m4 was used?
   15213 macro_version=$macro_version
   15214 macro_revision=$macro_revision
   15215 
   15216 # Whether or not to build static libraries.
   15217 build_old_libs=$enable_static
   15218 
   15219 # What type of objects to build.
   15220 pic_mode=$pic_mode
   15221 
   15222 # Whether or not to build shared libraries.
   15223 build_libtool_libs=$enable_shared
   15224 
   15225 # Whether or not to optimize for fast installation.
   15226 fast_install=$enable_fast_install
   15227 
   15228 # The host system.
   15229 host_alias=$host_alias
   15230 host=$host
   15231 host_os=$host_os
   15232 
   15233 # The build system.
   15234 build_alias=$build_alias
   15235 build=$build
   15236 build_os=$build_os
   15237 
   15238 # A sed program that does not truncate output.
   15239 SED=$lt_SED
   15240 
   15241 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15242 Xsed="\$SED -e 1s/^X//"
   15243 
   15244 # A grep program that handles long lines.
   15245 GREP=$lt_GREP
   15246 
   15247 # An ERE matcher.
   15248 EGREP=$lt_EGREP
   15249 
   15250 # A literal string matcher.
   15251 FGREP=$lt_FGREP
   15252 
   15253 # A BSD- or MS-compatible name lister.
   15254 NM=$lt_NM
   15255 
   15256 # Whether we need soft or hard links.
   15257 LN_S=$lt_LN_S
   15258 
   15259 # What is the maximum length of a command?
   15260 max_cmd_len=$max_cmd_len
   15261 
   15262 # Object file suffix (normally "o").
   15263 objext=$ac_objext
   15264 
   15265 # Executable file suffix (normally "").
   15266 exeext=$exeext
   15267 
   15268 # whether the shell understands "unset".
   15269 lt_unset=$lt_unset
   15270 
   15271 # turn spaces into newlines.
   15272 SP2NL=$lt_lt_SP2NL
   15273 
   15274 # turn newlines into spaces.
   15275 NL2SP=$lt_lt_NL2SP
   15276 
   15277 # How to create reloadable object files.
   15278 reload_flag=$lt_reload_flag
   15279 reload_cmds=$lt_reload_cmds
   15280 
   15281 # An object symbol dumper.
   15282 OBJDUMP=$lt_OBJDUMP
   15283 
   15284 # Method to check whether dependent libraries are shared objects.
   15285 deplibs_check_method=$lt_deplibs_check_method
   15286 
   15287 # Command to use when deplibs_check_method == "file_magic".
   15288 file_magic_cmd=$lt_file_magic_cmd
   15289 
   15290 # The archiver.
   15291 AR=$lt_AR
   15292 AR_FLAGS=$lt_AR_FLAGS
   15293 
   15294 # A symbol stripping program.
   15295 STRIP=$lt_STRIP
   15296 
   15297 # Commands used to install an old-style archive.
   15298 RANLIB=$lt_RANLIB
   15299 old_postinstall_cmds=$lt_old_postinstall_cmds
   15300 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15301 
   15302 # A C compiler.
   15303 LTCC=$lt_CC
   15304 
   15305 # LTCC compiler flags.
   15306 LTCFLAGS=$lt_CFLAGS
   15307 
   15308 # Take the output of nm and produce a listing of raw symbols and C names.
   15309 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15310 
   15311 # Transform the output of nm in a proper C declaration.
   15312 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15313 
   15314 # Transform the output of nm in a C name address pair.
   15315 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15316 
   15317 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15318 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15319 
   15320 # The name of the directory that contains temporary libtool files.
   15321 objdir=$objdir
   15322 
   15323 # Shell to use when invoking shell scripts.
   15324 SHELL=$lt_SHELL
   15325 
   15326 # An echo program that does not interpret backslashes.
   15327 ECHO=$lt_ECHO
   15328 
   15329 # Used to examine libraries when file_magic_cmd begins with "file".
   15330 MAGIC_CMD=$MAGIC_CMD
   15331 
   15332 # Must we lock files when doing compilation?
   15333 need_locks=$lt_need_locks
   15334 
   15335 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15336 DSYMUTIL=$lt_DSYMUTIL
   15337 
   15338 # Tool to change global to local symbols on Mac OS X.
   15339 NMEDIT=$lt_NMEDIT
   15340 
   15341 # Tool to manipulate fat objects and archives on Mac OS X.
   15342 LIPO=$lt_LIPO
   15343 
   15344 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15345 OTOOL=$lt_OTOOL
   15346 
   15347 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15348 OTOOL64=$lt_OTOOL64
   15349 
   15350 # Old archive suffix (normally "a").
   15351 libext=$libext
   15352 
   15353 # Shared library suffix (normally ".so").
   15354 shrext_cmds=$lt_shrext_cmds
   15355 
   15356 # The commands to extract the exported symbol list from a shared archive.
   15357 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15358 
   15359 # Variables whose values should be saved in libtool wrapper scripts and
   15360 # restored at link time.
   15361 variables_saved_for_relink=$lt_variables_saved_for_relink
   15362 
   15363 # Do we need the "lib" prefix for modules?
   15364 need_lib_prefix=$need_lib_prefix
   15365 
   15366 # Do we need a version for libraries?
   15367 need_version=$need_version
   15368 
   15369 # Library versioning type.
   15370 version_type=$version_type
   15371 
   15372 # Shared library runtime path variable.
   15373 runpath_var=$runpath_var
   15374 
   15375 # Shared library path variable.
   15376 shlibpath_var=$shlibpath_var
   15377 
   15378 # Is shlibpath searched before the hard-coded library search path?
   15379 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15380 
   15381 # Format of library name prefix.
   15382 libname_spec=$lt_libname_spec
   15383 
   15384 # List of archive names.  First name is the real one, the rest are links.
   15385 # The last name is the one that the linker finds with -lNAME
   15386 library_names_spec=$lt_library_names_spec
   15387 
   15388 # The coded name of the library, if different from the real name.
   15389 soname_spec=$lt_soname_spec
   15390 
   15391 # Command to use after installation of a shared archive.
   15392 postinstall_cmds=$lt_postinstall_cmds
   15393 
   15394 # Command to use after uninstallation of a shared archive.
   15395 postuninstall_cmds=$lt_postuninstall_cmds
   15396 
   15397 # Commands used to finish a libtool library installation in a directory.
   15398 finish_cmds=$lt_finish_cmds
   15399 
   15400 # As "finish_cmds", except a single script fragment to be evaled but
   15401 # not shown.
   15402 finish_eval=$lt_finish_eval
   15403 
   15404 # Whether we should hardcode library paths into libraries.
   15405 hardcode_into_libs=$hardcode_into_libs
   15406 
   15407 # Compile-time system search path for libraries.
   15408 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15409 
   15410 # Run-time system search path for libraries.
   15411 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15412 
   15413 # Whether dlopen is supported.
   15414 dlopen_support=$enable_dlopen
   15415 
   15416 # Whether dlopen of programs is supported.
   15417 dlopen_self=$enable_dlopen_self
   15418 
   15419 # Whether dlopen of statically linked programs is supported.
   15420 dlopen_self_static=$enable_dlopen_self_static
   15421 
   15422 # Commands to strip libraries.
   15423 old_striplib=$lt_old_striplib
   15424 striplib=$lt_striplib
   15425 
   15426 
   15427 # The linker used to build libraries.
   15428 LD=$lt_LD
   15429 
   15430 # Commands used to build an old-style archive.
   15431 old_archive_cmds=$lt_old_archive_cmds
   15432 
   15433 # A language specific compiler.
   15434 CC=$lt_compiler
   15435 
   15436 # Is the compiler the GNU compiler?
   15437 with_gcc=$GCC
   15438 
   15439 # Compiler flag to turn off builtin functions.
   15440 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15441 
   15442 # How to pass a linker flag through the compiler.
   15443 wl=$lt_lt_prog_compiler_wl
   15444 
   15445 # Additional compiler flags for building library objects.
   15446 pic_flag=$lt_lt_prog_compiler_pic
   15447 
   15448 # Compiler flag to prevent dynamic linking.
   15449 link_static_flag=$lt_lt_prog_compiler_static
   15450 
   15451 # Does compiler simultaneously support -c and -o options?
   15452 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15453 
   15454 # Whether or not to add -lc for building shared libraries.
   15455 build_libtool_need_lc=$archive_cmds_need_lc
   15456 
   15457 # Whether or not to disallow shared libs when runtime libs are static.
   15458 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15459 
   15460 # Compiler flag to allow reflexive dlopens.
   15461 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15462 
   15463 # Compiler flag to generate shared objects directly from archives.
   15464 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15465 
   15466 # Whether the compiler copes with passing no objects directly.
   15467 compiler_needs_object=$lt_compiler_needs_object
   15468 
   15469 # Create an old-style archive from a shared archive.
   15470 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15471 
   15472 # Create a temporary old-style archive to link instead of a shared archive.
   15473 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15474 
   15475 # Commands used to build a shared archive.
   15476 archive_cmds=$lt_archive_cmds
   15477 archive_expsym_cmds=$lt_archive_expsym_cmds
   15478 
   15479 # Commands used to build a loadable module if different from building
   15480 # a shared archive.
   15481 module_cmds=$lt_module_cmds
   15482 module_expsym_cmds=$lt_module_expsym_cmds
   15483 
   15484 # Whether we are building with GNU ld or not.
   15485 with_gnu_ld=$lt_with_gnu_ld
   15486 
   15487 # Flag that allows shared libraries with undefined symbols to be built.
   15488 allow_undefined_flag=$lt_allow_undefined_flag
   15489 
   15490 # Flag that enforces no undefined symbols.
   15491 no_undefined_flag=$lt_no_undefined_flag
   15492 
   15493 # Flag to hardcode \$libdir into a binary during linking.
   15494 # This must work even if \$libdir does not exist
   15495 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15496 
   15497 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15498 # during linking.  This must work even if \$libdir does not exist.
   15499 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15500 
   15501 # Whether we need a single "-rpath" flag with a separated argument.
   15502 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15503 
   15504 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15505 # DIR into the resulting binary.
   15506 hardcode_direct=$hardcode_direct
   15507 
   15508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15509 # DIR into the resulting binary and the resulting library dependency is
   15510 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15511 # library is relocated.
   15512 hardcode_direct_absolute=$hardcode_direct_absolute
   15513 
   15514 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15515 # into the resulting binary.
   15516 hardcode_minus_L=$hardcode_minus_L
   15517 
   15518 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15519 # into the resulting binary.
   15520 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15521 
   15522 # Set to "yes" if building a shared library automatically hardcodes DIR
   15523 # into the library and all subsequent libraries and executables linked
   15524 # against it.
   15525 hardcode_automatic=$hardcode_automatic
   15526 
   15527 # Set to yes if linker adds runtime paths of dependent libraries
   15528 # to runtime path list.
   15529 inherit_rpath=$inherit_rpath
   15530 
   15531 # Whether libtool must link a program against all its dependency libraries.
   15532 link_all_deplibs=$link_all_deplibs
   15533 
   15534 # Fix the shell variable \$srcfile for the compiler.
   15535 fix_srcfile_path=$lt_fix_srcfile_path
   15536 
   15537 # Set to "yes" if exported symbols are required.
   15538 always_export_symbols=$always_export_symbols
   15539 
   15540 # The commands to list exported symbols.
   15541 export_symbols_cmds=$lt_export_symbols_cmds
   15542 
   15543 # Symbols that should not be listed in the preloaded symbols.
   15544 exclude_expsyms=$lt_exclude_expsyms
   15545 
   15546 # Symbols that must always be exported.
   15547 include_expsyms=$lt_include_expsyms
   15548 
   15549 # Commands necessary for linking programs (against libraries) with templates.
   15550 prelink_cmds=$lt_prelink_cmds
   15551 
   15552 # Specify filename containing input files.
   15553 file_list_spec=$lt_file_list_spec
   15554 
   15555 # How to hardcode a shared library path into an executable.
   15556 hardcode_action=$hardcode_action
   15557 
   15558 # ### END LIBTOOL CONFIG
   15559 
   15560 _LT_EOF
   15561 
   15562   case $host_os in
   15563   aix3*)
   15564     cat <<\_LT_EOF >> "$cfgfile"
   15565 # AIX sometimes has problems with the GCC collect2 program.  For some
   15566 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15567 # vanish in a puff of smoke.
   15568 if test "X${COLLECT_NAMES+set}" != Xset; then
   15569   COLLECT_NAMES=
   15570   export COLLECT_NAMES
   15571 fi
   15572 _LT_EOF
   15573     ;;
   15574   esac
   15575 
   15576 
   15577 ltmain="$ac_aux_dir/ltmain.sh"
   15578 
   15579 
   15580   # We use sed instead of cat because bash on DJGPP gets confused if
   15581   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15582   # text mode, it properly converts lines to CR/LF.  This bash problem
   15583   # is reportedly fixed, but why not run on old versions too?
   15584   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15585     || (rm -f "$cfgfile"; exit 1)
   15586 
   15587   case $xsi_shell in
   15588   yes)
   15589     cat << \_LT_EOF >> "$cfgfile"
   15590 
   15591 # func_dirname file append nondir_replacement
   15592 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15593 # otherwise set result to NONDIR_REPLACEMENT.
   15594 func_dirname ()
   15595 {
   15596   case ${1} in
   15597     */*) func_dirname_result="${1%/*}${2}" ;;
   15598     *  ) func_dirname_result="${3}" ;;
   15599   esac
   15600 }
   15601 
   15602 # func_basename file
   15603 func_basename ()
   15604 {
   15605   func_basename_result="${1##*/}"
   15606 }
   15607 
   15608 # func_dirname_and_basename file append nondir_replacement
   15609 # perform func_basename and func_dirname in a single function
   15610 # call:
   15611 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15612 #             add APPEND to the result, otherwise set result
   15613 #             to NONDIR_REPLACEMENT.
   15614 #             value returned in "$func_dirname_result"
   15615 #   basename: Compute filename of FILE.
   15616 #             value retuned in "$func_basename_result"
   15617 # Implementation must be kept synchronized with func_dirname
   15618 # and func_basename. For efficiency, we do not delegate to
   15619 # those functions but instead duplicate the functionality here.
   15620 func_dirname_and_basename ()
   15621 {
   15622   case ${1} in
   15623     */*) func_dirname_result="${1%/*}${2}" ;;
   15624     *  ) func_dirname_result="${3}" ;;
   15625   esac
   15626   func_basename_result="${1##*/}"
   15627 }
   15628 
   15629 # func_stripname prefix suffix name
   15630 # strip PREFIX and SUFFIX off of NAME.
   15631 # PREFIX and SUFFIX must not contain globbing or regex special
   15632 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15633 # dot (in which case that matches only a dot).
   15634 func_stripname ()
   15635 {
   15636   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15637   # positional parameters, so assign one to ordinary parameter first.
   15638   func_stripname_result=${3}
   15639   func_stripname_result=${func_stripname_result#"${1}"}
   15640   func_stripname_result=${func_stripname_result%"${2}"}
   15641 }
   15642 
   15643 # func_opt_split
   15644 func_opt_split ()
   15645 {
   15646   func_opt_split_opt=${1%%=*}
   15647   func_opt_split_arg=${1#*=}
   15648 }
   15649 
   15650 # func_lo2o object
   15651 func_lo2o ()
   15652 {
   15653   case ${1} in
   15654     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15655     *)    func_lo2o_result=${1} ;;
   15656   esac
   15657 }
   15658 
   15659 # func_xform libobj-or-source
   15660 func_xform ()
   15661 {
   15662   func_xform_result=${1%.*}.lo
   15663 }
   15664 
   15665 # func_arith arithmetic-term...
   15666 func_arith ()
   15667 {
   15668   func_arith_result=$(( $* ))
   15669 }
   15670 
   15671 # func_len string
   15672 # STRING may not start with a hyphen.
   15673 func_len ()
   15674 {
   15675   func_len_result=${#1}
   15676 }
   15677 
   15678 _LT_EOF
   15679     ;;
   15680   *) # Bourne compatible functions.
   15681     cat << \_LT_EOF >> "$cfgfile"
   15682 
   15683 # func_dirname file append nondir_replacement
   15684 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15685 # otherwise set result to NONDIR_REPLACEMENT.
   15686 func_dirname ()
   15687 {
   15688   # Extract subdirectory from the argument.
   15689   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15690   if test "X$func_dirname_result" = "X${1}"; then
   15691     func_dirname_result="${3}"
   15692   else
   15693     func_dirname_result="$func_dirname_result${2}"
   15694   fi
   15695 }
   15696 
   15697 # func_basename file
   15698 func_basename ()
   15699 {
   15700   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15701 }
   15702 
   15703 
   15704 # func_stripname prefix suffix name
   15705 # strip PREFIX and SUFFIX off of NAME.
   15706 # PREFIX and SUFFIX must not contain globbing or regex special
   15707 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15708 # dot (in which case that matches only a dot).
   15709 # func_strip_suffix prefix name
   15710 func_stripname ()
   15711 {
   15712   case ${2} in
   15713     .*) func_stripname_result=`$ECHO "X${3}" \
   15714            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15715     *)  func_stripname_result=`$ECHO "X${3}" \
   15716            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15717   esac
   15718 }
   15719 
   15720 # sed scripts:
   15721 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15722 my_sed_long_arg='1s/^-[^=]*=//'
   15723 
   15724 # func_opt_split
   15725 func_opt_split ()
   15726 {
   15727   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15728   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15729 }
   15730 
   15731 # func_lo2o object
   15732 func_lo2o ()
   15733 {
   15734   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15735 }
   15736 
   15737 # func_xform libobj-or-source
   15738 func_xform ()
   15739 {
   15740   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   15741 }
   15742 
   15743 # func_arith arithmetic-term...
   15744 func_arith ()
   15745 {
   15746   func_arith_result=`expr "$@"`
   15747 }
   15748 
   15749 # func_len string
   15750 # STRING may not start with a hyphen.
   15751 func_len ()
   15752 {
   15753   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15754 }
   15755 
   15756 _LT_EOF
   15757 esac
   15758 
   15759 case $lt_shell_append in
   15760   yes)
   15761     cat << \_LT_EOF >> "$cfgfile"
   15762 
   15763 # func_append var value
   15764 # Append VALUE to the end of shell variable VAR.
   15765 func_append ()
   15766 {
   15767   eval "$1+=\$2"
   15768 }
   15769 _LT_EOF
   15770     ;;
   15771   *)
   15772     cat << \_LT_EOF >> "$cfgfile"
   15773 
   15774 # func_append var value
   15775 # Append VALUE to the end of shell variable VAR.
   15776 func_append ()
   15777 {
   15778   eval "$1=\$$1\$2"
   15779 }
   15780 
   15781 _LT_EOF
   15782     ;;
   15783   esac
   15784 
   15785 
   15786   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15787     || (rm -f "$cfgfile"; exit 1)
   15788 
   15789   mv -f "$cfgfile" "$ofile" ||
   15790     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15791   chmod +x "$ofile"
   15792 
   15793  ;;
   15794 
   15795   esac
   15796 done # for ac_tag
   15797 
   15798 
   15799 as_fn_exit 0
   15800 _ACEOF
   15801 ac_clean_files=$ac_clean_files_save
   15802 
   15803 test $ac_write_fail = 0 ||
   15804   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15805 
   15806 
   15807 # configure is writing to config.log, and then calls config.status.
   15808 # config.status does its own redirection, appending to config.log.
   15809 # Unfortunately, on DOS this fails, as config.log is still kept open
   15810 # by configure, so config.status won't be able to write to it; its
   15811 # output is simply discarded.  So we exec the FD to /dev/null,
   15812 # effectively closing config.log, so it can be properly (re)opened and
   15813 # appended to by config.status.  When coming back to configure, we
   15814 # need to make the FD available again.
   15815 if test "$no_create" != yes; then
   15816   ac_cs_success=:
   15817   ac_config_status_args=
   15818   test "$silent" = yes &&
   15819     ac_config_status_args="$ac_config_status_args --quiet"
   15820   exec 5>/dev/null
   15821   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15822   exec 5>>config.log
   15823   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15824   # would make configure fail if this is the last instruction.
   15825   $ac_cs_success || as_fn_exit 1
   15826 fi
   15827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15828   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15829 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15830 fi
   15831 
   15832