Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for fontconfig 2.10.93.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enger_bug.cgi?product=fontconfig>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enger_bug.cgi?product=fontconfig
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='fontconfig'
    593 PACKAGE_TARNAME='fontconfig'
    594 PACKAGE_VERSION='2.10.93'
    595 PACKAGE_STRING='fontconfig 2.10.93'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enger_bug.cgi?product=fontconfig'
    597 PACKAGE_URL=''
    598 
    599 # Factoring default headers for most tests.
    600 ac_includes_default="\
    601 #include <stdio.h>
    602 #ifdef HAVE_SYS_TYPES_H
    603 # include <sys/types.h>
    604 #endif
    605 #ifdef HAVE_SYS_STAT_H
    606 # include <sys/stat.h>
    607 #endif
    608 #ifdef STDC_HEADERS
    609 # include <stdlib.h>
    610 # include <stddef.h>
    611 #else
    612 # ifdef HAVE_STDLIB_H
    613 #  include <stdlib.h>
    614 # endif
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618 #  include <memory.h>
    619 # endif
    620 # include <string.h>
    621 #endif
    622 #ifdef HAVE_STRINGS_H
    623 # include <strings.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_UNISTD_H
    632 # include <unistd.h>
    633 #endif"
    634 
    635 ac_header_list=
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DOCMAN3
    641 ENABLE_DOCS_FALSE
    642 ENABLE_DOCS_TRUE
    643 USEDOCBOOK_FALSE
    644 USEDOCBOOK_TRUE
    645 HASDOCBOOK
    646 HAVE_PTHREAD_FALSE
    647 HAVE_PTHREAD_TRUE
    648 PTHREAD_CFLAGS
    649 PTHREAD_LIBS
    650 PTHREAD_CC
    651 ax_pthread_config
    652 XMLDIR
    653 xmldir
    654 CONFIGDIR
    655 configdir
    656 BASECONFIGDIR
    657 baseconfigdir
    658 TEMPLATEDIR
    659 templatedir
    660 FC_FONTDATE
    661 FC_CACHEDIR
    662 fc_cachedir
    663 FC_FONTPATH
    664 FC_ADD_FONTS
    665 FC_DEFAULT_FONTS
    666 LIBXML2_LIBS
    667 LIBXML2_CFLAGS
    668 HAVE_XMLPARSE_H
    669 EXPAT_LIBS
    670 EXPAT_CFLAGS
    671 FREETYPE_LIBS
    672 FREETYPE_CFLAGS
    673 ICONV_LIBS
    674 ICONV_CFLAGS
    675 ENABLE_SHARED_FALSE
    676 ENABLE_SHARED_TRUE
    677 CROSS_COMPILING_FALSE
    678 CROSS_COMPILING_TRUE
    679 EXEEXT_FOR_BUILD
    680 CC_FOR_BUILD
    681 WARN_CFLAGS
    682 MS_LIB_AVAILABLE_FALSE
    683 MS_LIB_AVAILABLE_TRUE
    684 ms_librarian
    685 OS_WIN32_FALSE
    686 OS_WIN32_TRUE
    687 RM
    688 GPERF
    689 GIT
    690 pkgconfigdir
    691 PKG_CONFIG_LIBDIR
    692 PKG_CONFIG_PATH
    693 PKG_CONFIG
    694 OTOOL64
    695 OTOOL
    696 LIPO
    697 NMEDIT
    698 DSYMUTIL
    699 MANIFEST_TOOL
    700 RANLIB
    701 ac_ct_AR
    702 AR
    703 NM
    704 ac_ct_DUMPBIN
    705 DUMPBIN
    706 LD
    707 FGREP
    708 SED
    709 LIBTOOL
    710 OBJDUMP
    711 DLLTOOL
    712 AS
    713 host_os
    714 host_vendor
    715 host_cpu
    716 host
    717 build_os
    718 build_vendor
    719 build_cpu
    720 build
    721 LN_S
    722 EGREP
    723 GREP
    724 CPP
    725 am__fastdepCC_FALSE
    726 am__fastdepCC_TRUE
    727 CCDEPMODE
    728 am__nodep
    729 AMDEPBACKSLASH
    730 AMDEP_FALSE
    731 AMDEP_TRUE
    732 am__quote
    733 am__include
    734 DEPDIR
    735 OBJEXT
    736 EXEEXT
    737 ac_ct_CC
    738 CPPFLAGS
    739 LDFLAGS
    740 CFLAGS
    741 CC
    742 LIBT_CURRENT_MINUS_AGE
    743 LIBT_VERSION_INFO
    744 LIBT_REVISION
    745 LIBT_CURRENT
    746 AM_BACKSLASH
    747 AM_DEFAULT_VERBOSITY
    748 AM_DEFAULT_V
    749 AM_V
    750 am__untar
    751 am__tar
    752 AMTAR
    753 am__leading_dot
    754 SET_MAKE
    755 AWK
    756 mkdir_p
    757 MKDIR_P
    758 INSTALL_STRIP_PROGRAM
    759 STRIP
    760 install_sh
    761 MAKEINFO
    762 AUTOHEADER
    763 AUTOMAKE
    764 AUTOCONF
    765 ACLOCAL
    766 VERSION
    767 PACKAGE
    768 CYGPATH_W
    769 am__isrc
    770 INSTALL_DATA
    771 INSTALL_SCRIPT
    772 INSTALL_PROGRAM
    773 target_alias
    774 host_alias
    775 build_alias
    776 LIBS
    777 ECHO_T
    778 ECHO_N
    779 ECHO_C
    780 DEFS
    781 mandir
    782 localedir
    783 libdir
    784 psdir
    785 pdfdir
    786 dvidir
    787 htmldir
    788 infodir
    789 docdir
    790 oldincludedir
    791 includedir
    792 localstatedir
    793 sharedstatedir
    794 sysconfdir
    795 datadir
    796 datarootdir
    797 libexecdir
    798 sbindir
    799 bindir
    800 program_transform_name
    801 prefix
    802 exec_prefix
    803 PACKAGE_URL
    804 PACKAGE_BUGREPORT
    805 PACKAGE_STRING
    806 PACKAGE_VERSION
    807 PACKAGE_TARNAME
    808 PACKAGE_NAME
    809 PATH_SEPARATOR
    810 SHELL'
    811 ac_subst_files=''
    812 ac_user_opts='
    813 enable_option_checking
    814 enable_silent_rules
    815 enable_dependency_tracking
    816 enable_largefile
    817 enable_shared
    818 enable_static
    819 with_pic
    820 enable_fast_install
    821 with_gnu_ld
    822 with_sysroot
    823 enable_libtool_lock
    824 with_pkgconfigdir
    825 with_arch
    826 enable_iconv
    827 with_libiconv
    828 with_libiconv_includes
    829 with_libiconv_lib
    830 with_expat
    831 with_expat_includes
    832 with_expat_lib
    833 enable_libxml2
    834 with_default_fonts
    835 with_add_fonts
    836 with_cache_dir
    837 with_templatedir
    838 with_baseconfigdir
    839 with_configdir
    840 with_xmldir
    841 enable_docs
    842 '
    843       ac_precious_vars='build_alias
    844 host_alias
    845 target_alias
    846 CC
    847 CFLAGS
    848 LDFLAGS
    849 LIBS
    850 CPPFLAGS
    851 CPP
    852 PKG_CONFIG
    853 PKG_CONFIG_PATH
    854 PKG_CONFIG_LIBDIR
    855 CC_FOR_BUILD
    856 FREETYPE_CFLAGS
    857 FREETYPE_LIBS
    858 EXPAT_CFLAGS
    859 EXPAT_LIBS
    860 LIBXML2_CFLAGS
    861 LIBXML2_LIBS'
    862 
    863 
    864 # Initialize some variables set by options.
    865 ac_init_help=
    866 ac_init_version=false
    867 ac_unrecognized_opts=
    868 ac_unrecognized_sep=
    869 # The variables have the same names as the options, with
    870 # dashes changed to underlines.
    871 cache_file=/dev/null
    872 exec_prefix=NONE
    873 no_create=
    874 no_recursion=
    875 prefix=NONE
    876 program_prefix=NONE
    877 program_suffix=NONE
    878 program_transform_name=s,x,x,
    879 silent=
    880 site=
    881 srcdir=
    882 verbose=
    883 x_includes=NONE
    884 x_libraries=NONE
    885 
    886 # Installation directory options.
    887 # These are left unexpanded so users can "make install exec_prefix=/foo"
    888 # and all the variables that are supposed to be based on exec_prefix
    889 # by default will actually change.
    890 # Use braces instead of parens because sh, perl, etc. also accept them.
    891 # (The list follows the same order as the GNU Coding Standards.)
    892 bindir='${exec_prefix}/bin'
    893 sbindir='${exec_prefix}/sbin'
    894 libexecdir='${exec_prefix}/libexec'
    895 datarootdir='${prefix}/share'
    896 datadir='${datarootdir}'
    897 sysconfdir='${prefix}/etc'
    898 sharedstatedir='${prefix}/com'
    899 localstatedir='${prefix}/var'
    900 includedir='${prefix}/include'
    901 oldincludedir='/usr/include'
    902 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    903 infodir='${datarootdir}/info'
    904 htmldir='${docdir}'
    905 dvidir='${docdir}'
    906 pdfdir='${docdir}'
    907 psdir='${docdir}'
    908 libdir='${exec_prefix}/lib'
    909 localedir='${datarootdir}/locale'
    910 mandir='${datarootdir}/man'
    911 
    912 ac_prev=
    913 ac_dashdash=
    914 for ac_option
    915 do
    916   # If the previous option needs an argument, assign it.
    917   if test -n "$ac_prev"; then
    918     eval $ac_prev=\$ac_option
    919     ac_prev=
    920     continue
    921   fi
    922 
    923   case $ac_option in
    924   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    925   *=)   ac_optarg= ;;
    926   *)    ac_optarg=yes ;;
    927   esac
    928 
    929   # Accept the important Cygnus configure options, so we can diagnose typos.
    930 
    931   case $ac_dashdash$ac_option in
    932   --)
    933     ac_dashdash=yes ;;
    934 
    935   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    936     ac_prev=bindir ;;
    937   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    938     bindir=$ac_optarg ;;
    939 
    940   -build | --build | --buil | --bui | --bu)
    941     ac_prev=build_alias ;;
    942   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    943     build_alias=$ac_optarg ;;
    944 
    945   -cache-file | --cache-file | --cache-fil | --cache-fi \
    946   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    947     ac_prev=cache_file ;;
    948   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    949   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    950     cache_file=$ac_optarg ;;
    951 
    952   --config-cache | -C)
    953     cache_file=config.cache ;;
    954 
    955   -datadir | --datadir | --datadi | --datad)
    956     ac_prev=datadir ;;
    957   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    958     datadir=$ac_optarg ;;
    959 
    960   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    961   | --dataroo | --dataro | --datar)
    962     ac_prev=datarootdir ;;
    963   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    964   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    965     datarootdir=$ac_optarg ;;
    966 
    967   -disable-* | --disable-*)
    968     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    969     # Reject names that are not valid shell variable names.
    970     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    971       as_fn_error $? "invalid feature name: $ac_useropt"
    972     ac_useropt_orig=$ac_useropt
    973     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    974     case $ac_user_opts in
    975       *"
    976 "enable_$ac_useropt"
    977 "*) ;;
    978       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    979 	 ac_unrecognized_sep=', ';;
    980     esac
    981     eval enable_$ac_useropt=no ;;
    982 
    983   -docdir | --docdir | --docdi | --doc | --do)
    984     ac_prev=docdir ;;
    985   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    986     docdir=$ac_optarg ;;
    987 
    988   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    989     ac_prev=dvidir ;;
    990   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    991     dvidir=$ac_optarg ;;
    992 
    993   -enable-* | --enable-*)
    994     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    995     # Reject names that are not valid shell variable names.
    996     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    997       as_fn_error $? "invalid feature name: $ac_useropt"
    998     ac_useropt_orig=$ac_useropt
    999     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1000     case $ac_user_opts in
   1001       *"
   1002 "enable_$ac_useropt"
   1003 "*) ;;
   1004       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1005 	 ac_unrecognized_sep=', ';;
   1006     esac
   1007     eval enable_$ac_useropt=\$ac_optarg ;;
   1008 
   1009   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1010   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1011   | --exec | --exe | --ex)
   1012     ac_prev=exec_prefix ;;
   1013   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1014   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1015   | --exec=* | --exe=* | --ex=*)
   1016     exec_prefix=$ac_optarg ;;
   1017 
   1018   -gas | --gas | --ga | --g)
   1019     # Obsolete; use --with-gas.
   1020     with_gas=yes ;;
   1021 
   1022   -help | --help | --hel | --he | -h)
   1023     ac_init_help=long ;;
   1024   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1025     ac_init_help=recursive ;;
   1026   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1027     ac_init_help=short ;;
   1028 
   1029   -host | --host | --hos | --ho)
   1030     ac_prev=host_alias ;;
   1031   -host=* | --host=* | --hos=* | --ho=*)
   1032     host_alias=$ac_optarg ;;
   1033 
   1034   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1035     ac_prev=htmldir ;;
   1036   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1037   | --ht=*)
   1038     htmldir=$ac_optarg ;;
   1039 
   1040   -includedir | --includedir | --includedi | --included | --include \
   1041   | --includ | --inclu | --incl | --inc)
   1042     ac_prev=includedir ;;
   1043   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1044   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1045     includedir=$ac_optarg ;;
   1046 
   1047   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1048     ac_prev=infodir ;;
   1049   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1050     infodir=$ac_optarg ;;
   1051 
   1052   -libdir | --libdir | --libdi | --libd)
   1053     ac_prev=libdir ;;
   1054   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1055     libdir=$ac_optarg ;;
   1056 
   1057   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1058   | --libexe | --libex | --libe)
   1059     ac_prev=libexecdir ;;
   1060   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1061   | --libexe=* | --libex=* | --libe=*)
   1062     libexecdir=$ac_optarg ;;
   1063 
   1064   -localedir | --localedir | --localedi | --localed | --locale)
   1065     ac_prev=localedir ;;
   1066   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1067     localedir=$ac_optarg ;;
   1068 
   1069   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1070   | --localstate | --localstat | --localsta | --localst | --locals)
   1071     ac_prev=localstatedir ;;
   1072   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1073   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1074     localstatedir=$ac_optarg ;;
   1075 
   1076   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1077     ac_prev=mandir ;;
   1078   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1079     mandir=$ac_optarg ;;
   1080 
   1081   -nfp | --nfp | --nf)
   1082     # Obsolete; use --without-fp.
   1083     with_fp=no ;;
   1084 
   1085   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1086   | --no-cr | --no-c | -n)
   1087     no_create=yes ;;
   1088 
   1089   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1090   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1091     no_recursion=yes ;;
   1092 
   1093   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1094   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1095   | --oldin | --oldi | --old | --ol | --o)
   1096     ac_prev=oldincludedir ;;
   1097   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1098   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1099   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1100     oldincludedir=$ac_optarg ;;
   1101 
   1102   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1103     ac_prev=prefix ;;
   1104   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1105     prefix=$ac_optarg ;;
   1106 
   1107   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1108   | --program-pre | --program-pr | --program-p)
   1109     ac_prev=program_prefix ;;
   1110   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1111   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1112     program_prefix=$ac_optarg ;;
   1113 
   1114   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1115   | --program-suf | --program-su | --program-s)
   1116     ac_prev=program_suffix ;;
   1117   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1118   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1119     program_suffix=$ac_optarg ;;
   1120 
   1121   -program-transform-name | --program-transform-name \
   1122   | --program-transform-nam | --program-transform-na \
   1123   | --program-transform-n | --program-transform- \
   1124   | --program-transform | --program-transfor \
   1125   | --program-transfo | --program-transf \
   1126   | --program-trans | --program-tran \
   1127   | --progr-tra | --program-tr | --program-t)
   1128     ac_prev=program_transform_name ;;
   1129   -program-transform-name=* | --program-transform-name=* \
   1130   | --program-transform-nam=* | --program-transform-na=* \
   1131   | --program-transform-n=* | --program-transform-=* \
   1132   | --program-transform=* | --program-transfor=* \
   1133   | --program-transfo=* | --program-transf=* \
   1134   | --program-trans=* | --program-tran=* \
   1135   | --progr-tra=* | --program-tr=* | --program-t=*)
   1136     program_transform_name=$ac_optarg ;;
   1137 
   1138   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1139     ac_prev=pdfdir ;;
   1140   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1141     pdfdir=$ac_optarg ;;
   1142 
   1143   -psdir | --psdir | --psdi | --psd | --ps)
   1144     ac_prev=psdir ;;
   1145   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1146     psdir=$ac_optarg ;;
   1147 
   1148   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1149   | -silent | --silent | --silen | --sile | --sil)
   1150     silent=yes ;;
   1151 
   1152   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1153     ac_prev=sbindir ;;
   1154   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1155   | --sbi=* | --sb=*)
   1156     sbindir=$ac_optarg ;;
   1157 
   1158   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1159   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1160   | --sharedst | --shareds | --shared | --share | --shar \
   1161   | --sha | --sh)
   1162     ac_prev=sharedstatedir ;;
   1163   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1164   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1165   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1166   | --sha=* | --sh=*)
   1167     sharedstatedir=$ac_optarg ;;
   1168 
   1169   -site | --site | --sit)
   1170     ac_prev=site ;;
   1171   -site=* | --site=* | --sit=*)
   1172     site=$ac_optarg ;;
   1173 
   1174   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1175     ac_prev=srcdir ;;
   1176   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1177     srcdir=$ac_optarg ;;
   1178 
   1179   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1180   | --syscon | --sysco | --sysc | --sys | --sy)
   1181     ac_prev=sysconfdir ;;
   1182   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1183   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1184     sysconfdir=$ac_optarg ;;
   1185 
   1186   -target | --target | --targe | --targ | --tar | --ta | --t)
   1187     ac_prev=target_alias ;;
   1188   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1189     target_alias=$ac_optarg ;;
   1190 
   1191   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1192     verbose=yes ;;
   1193 
   1194   -version | --version | --versio | --versi | --vers | -V)
   1195     ac_init_version=: ;;
   1196 
   1197   -with-* | --with-*)
   1198     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1199     # Reject names that are not valid shell variable names.
   1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1201       as_fn_error $? "invalid package name: $ac_useropt"
   1202     ac_useropt_orig=$ac_useropt
   1203     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1204     case $ac_user_opts in
   1205       *"
   1206 "with_$ac_useropt"
   1207 "*) ;;
   1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1209 	 ac_unrecognized_sep=', ';;
   1210     esac
   1211     eval with_$ac_useropt=\$ac_optarg ;;
   1212 
   1213   -without-* | --without-*)
   1214     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1215     # Reject names that are not valid shell variable names.
   1216     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1217       as_fn_error $? "invalid package name: $ac_useropt"
   1218     ac_useropt_orig=$ac_useropt
   1219     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1220     case $ac_user_opts in
   1221       *"
   1222 "with_$ac_useropt"
   1223 "*) ;;
   1224       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1225 	 ac_unrecognized_sep=', ';;
   1226     esac
   1227     eval with_$ac_useropt=no ;;
   1228 
   1229   --x)
   1230     # Obsolete; use --with-x.
   1231     with_x=yes ;;
   1232 
   1233   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1234   | --x-incl | --x-inc | --x-in | --x-i)
   1235     ac_prev=x_includes ;;
   1236   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1237   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1238     x_includes=$ac_optarg ;;
   1239 
   1240   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1241   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1242     ac_prev=x_libraries ;;
   1243   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1244   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1245     x_libraries=$ac_optarg ;;
   1246 
   1247   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1248 Try \`$0 --help' for more information"
   1249     ;;
   1250 
   1251   *=*)
   1252     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1253     # Reject names that are not valid shell variable names.
   1254     case $ac_envvar in #(
   1255       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1256       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1257     esac
   1258     eval $ac_envvar=\$ac_optarg
   1259     export $ac_envvar ;;
   1260 
   1261   *)
   1262     # FIXME: should be removed in autoconf 3.0.
   1263     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1264     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1265       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1266     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1267     ;;
   1268 
   1269   esac
   1270 done
   1271 
   1272 if test -n "$ac_prev"; then
   1273   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1274   as_fn_error $? "missing argument to $ac_option"
   1275 fi
   1276 
   1277 if test -n "$ac_unrecognized_opts"; then
   1278   case $enable_option_checking in
   1279     no) ;;
   1280     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1281     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1282   esac
   1283 fi
   1284 
   1285 # Check all directory arguments for consistency.
   1286 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1287 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1288 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1289 		libdir localedir mandir
   1290 do
   1291   eval ac_val=\$$ac_var
   1292   # Remove trailing slashes.
   1293   case $ac_val in
   1294     */ )
   1295       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1296       eval $ac_var=\$ac_val;;
   1297   esac
   1298   # Be sure to have absolute directory names.
   1299   case $ac_val in
   1300     [\\/$]* | ?:[\\/]* )  continue;;
   1301     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1302   esac
   1303   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1304 done
   1305 
   1306 # There might be people who depend on the old broken behavior: `$host'
   1307 # used to hold the argument of --host etc.
   1308 # FIXME: To remove some day.
   1309 build=$build_alias
   1310 host=$host_alias
   1311 target=$target_alias
   1312 
   1313 # FIXME: To remove some day.
   1314 if test "x$host_alias" != x; then
   1315   if test "x$build_alias" = x; then
   1316     cross_compiling=maybe
   1317   elif test "x$build_alias" != "x$host_alias"; then
   1318     cross_compiling=yes
   1319   fi
   1320 fi
   1321 
   1322 ac_tool_prefix=
   1323 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1324 
   1325 test "$silent" = yes && exec 6>/dev/null
   1326 
   1327 
   1328 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1329 ac_ls_di=`ls -di .` &&
   1330 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1331   as_fn_error $? "working directory cannot be determined"
   1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1333   as_fn_error $? "pwd does not report name of working directory"
   1334 
   1335 
   1336 # Find the source files, if location was not specified.
   1337 if test -z "$srcdir"; then
   1338   ac_srcdir_defaulted=yes
   1339   # Try the directory containing this script, then the parent directory.
   1340   ac_confdir=`$as_dirname -- "$as_myself" ||
   1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1342 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1343 	 X"$as_myself" : 'X\(//\)$' \| \
   1344 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1345 $as_echo X"$as_myself" |
   1346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)[^/].*/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\/\)$/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  /^X\(\/\).*/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  s/.*/./; q'`
   1363   srcdir=$ac_confdir
   1364   if test ! -r "$srcdir/$ac_unique_file"; then
   1365     srcdir=..
   1366   fi
   1367 else
   1368   ac_srcdir_defaulted=no
   1369 fi
   1370 if test ! -r "$srcdir/$ac_unique_file"; then
   1371   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1372   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1373 fi
   1374 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1375 ac_abs_confdir=`(
   1376 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1377 	pwd)`
   1378 # When building in place, set srcdir=.
   1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1380   srcdir=.
   1381 fi
   1382 # Remove unnecessary trailing slashes from srcdir.
   1383 # Double slashes in file names in object file debugging info
   1384 # mess up M-x gdb in Emacs.
   1385 case $srcdir in
   1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1387 esac
   1388 for ac_var in $ac_precious_vars; do
   1389   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1390   eval ac_env_${ac_var}_value=\$${ac_var}
   1391   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1392   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1393 done
   1394 
   1395 #
   1396 # Report the --help message.
   1397 #
   1398 if test "$ac_init_help" = "long"; then
   1399   # Omit some internal or obsolete options to make the list less imposing.
   1400   # This message is too long to be a string in the A/UX 3.1 sh.
   1401   cat <<_ACEOF
   1402 \`configure' configures fontconfig 2.10.93 to adapt to many kinds of systems.
   1403 
   1404 Usage: $0 [OPTION]... [VAR=VALUE]...
   1405 
   1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1407 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1408 
   1409 Defaults for the options are specified in brackets.
   1410 
   1411 Configuration:
   1412   -h, --help              display this help and exit
   1413       --help=short        display options specific to this package
   1414       --help=recursive    display the short help of all the included packages
   1415   -V, --version           display version information and exit
   1416   -q, --quiet, --silent   do not print \`checking ...' messages
   1417       --cache-file=FILE   cache test results in FILE [disabled]
   1418   -C, --config-cache      alias for \`--cache-file=config.cache'
   1419   -n, --no-create         do not create output files
   1420       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1421 
   1422 Installation directories:
   1423   --prefix=PREFIX         install architecture-independent files in PREFIX
   1424                           [$ac_default_prefix]
   1425   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1426                           [PREFIX]
   1427 
   1428 By default, \`make install' will install all the files in
   1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1431 for instance \`--prefix=\$HOME'.
   1432 
   1433 For better control, use the options below.
   1434 
   1435 Fine tuning of the installation directories:
   1436   --bindir=DIR            user executables [EPREFIX/bin]
   1437   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1438   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1439   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1440   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1441   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1442   --libdir=DIR            object code libraries [EPREFIX/lib]
   1443   --includedir=DIR        C header files [PREFIX/include]
   1444   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1445   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1446   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1447   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1448   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1449   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1450   --docdir=DIR            documentation root [DATAROOTDIR/doc/fontconfig]
   1451   --htmldir=DIR           html documentation [DOCDIR]
   1452   --dvidir=DIR            dvi documentation [DOCDIR]
   1453   --pdfdir=DIR            pdf documentation [DOCDIR]
   1454   --psdir=DIR             ps documentation [DOCDIR]
   1455 _ACEOF
   1456 
   1457   cat <<\_ACEOF
   1458 
   1459 Program names:
   1460   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1461   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1462   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1463 
   1464 System types:
   1465   --build=BUILD     configure for building on BUILD [guessed]
   1466   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1467 _ACEOF
   1468 fi
   1469 
   1470 if test -n "$ac_init_help"; then
   1471   case $ac_init_help in
   1472      short | recursive ) echo "Configuration of fontconfig 2.10.93:";;
   1473    esac
   1474   cat <<\_ACEOF
   1475 
   1476 Optional Features:
   1477   --disable-option-checking  ignore unrecognized --enable/--with options
   1478   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1479   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1480   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1481   --disable-silent-rules  verbose build output (undo: "make V=0")
   1482   --enable-dependency-tracking
   1483                           do not reject slow dependency extractors
   1484   --disable-dependency-tracking
   1485                           speeds up one-time build
   1486   --disable-largefile     omit support for large files
   1487   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1488   --enable-static[=PKGS]  build static libraries [default=yes]
   1489   --enable-fast-install[=PKGS]
   1490                           optimize for fast installation [default=yes]
   1491   --disable-libtool-lock  avoid locking (might break parallel builds)
   1492   --enable-iconv          Use iconv to support non-Unicode SFNT name
   1493   --enable-libxml2        Use libxml2 instead of Expat
   1494   --disable-docs          Don't build and install documentation
   1495 
   1496 Optional Packages:
   1497   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1498   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1499   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1500                           both]
   1501   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1502   --with-sysroot=DIR Search for dependent libraries within DIR
   1503                         (or the compiler's sysroot if not specified).
   1504   --with-pkgconfigdir     pkg-config installation directory
   1505                           ['${libdir}/pkgconfig']
   1506   --with-arch=ARCH        Force architecture to ARCH
   1507   --with-libiconv=DIR     Use libiconv in DIR
   1508   --with-libiconv-includes=DIR
   1509                           Use libiconv includes in DIR
   1510   --with-libiconv-lib=DIR Use libiconv library in DIR
   1511   --with-expat=DIR        Use Expat in DIR
   1512   --with-expat-includes=DIR
   1513                           Use Expat includes in DIR
   1514   --with-expat-lib=DIR
   1515   --with-default-fonts=DIR
   1516                           Use fonts from DIR when config is busted
   1517   --with-add-fonts=DIR1,DIR2,...
   1518                           Find additional fonts in DIR1,DIR2,...
   1519   --with-cache-dir=DIR    Use DIR to store cache files
   1520                           [default=LOCALSTATEDIR/cache/fontconfig]
   1521   --with-templatedir=DIR  Use DIR to store the configuration template files
   1522                           [default=DATADIR/fontconfig/conf.avail]
   1523   --with-baseconfigdir=DIR
   1524                           Use DIR to store the base configuration files
   1525                           [default=SYSCONFDIR/fonts]
   1526   --with-configdir=DIR    Use DIR to store active configuration files
   1527                           [default=BASECONFIGDIR/conf.d]
   1528   --with-xmldir=DIR       Use DIR to store XML schema files
   1529                           [default=DATADIR/xml/fontconfig]
   1530 
   1531 Some influential environment variables:
   1532   CC          C compiler command
   1533   CFLAGS      C compiler flags
   1534   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1535               nonstandard directory <lib dir>
   1536   LIBS        libraries to pass to the linker, e.g. -l<library>
   1537   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1538               you have headers in a nonstandard directory <include dir>
   1539   CPP         C preprocessor
   1540   PKG_CONFIG  path to pkg-config utility
   1541   PKG_CONFIG_PATH
   1542               directories to add to pkg-config's search path
   1543   PKG_CONFIG_LIBDIR
   1544               path overriding pkg-config's built-in search path
   1545   CC_FOR_BUILD
   1546               build system C compiler
   1547   FREETYPE_CFLAGS
   1548               C compiler flags for FREETYPE, overriding pkg-config
   1549   FREETYPE_LIBS
   1550               linker flags for FREETYPE, overriding pkg-config
   1551   EXPAT_CFLAGS
   1552               C compiler flags for EXPAT, overriding pkg-config
   1553   EXPAT_LIBS  linker flags for EXPAT, overriding pkg-config
   1554   LIBXML2_CFLAGS
   1555               C compiler flags for LIBXML2, overriding pkg-config
   1556   LIBXML2_LIBS
   1557               linker flags for LIBXML2, overriding pkg-config
   1558 
   1559 Use these variables to override the choices made by `configure' or to help
   1560 it to find libraries and programs with nonstandard names/locations.
   1561 
   1562 Report bugs to <https://bugs.freedesktop.org/enger_bug.cgi?product=fontconfig>.
   1563 _ACEOF
   1564 ac_status=$?
   1565 fi
   1566 
   1567 if test "$ac_init_help" = "recursive"; then
   1568   # If there are subdirs, report their specific --help.
   1569   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1570     test -d "$ac_dir" ||
   1571       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1572       continue
   1573     ac_builddir=.
   1574 
   1575 case "$ac_dir" in
   1576 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1577 *)
   1578   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1579   # A ".." for each directory in $ac_dir_suffix.
   1580   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1581   case $ac_top_builddir_sub in
   1582   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1583   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1584   esac ;;
   1585 esac
   1586 ac_abs_top_builddir=$ac_pwd
   1587 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1588 # for backward compatibility:
   1589 ac_top_builddir=$ac_top_build_prefix
   1590 
   1591 case $srcdir in
   1592   .)  # We are building in place.
   1593     ac_srcdir=.
   1594     ac_top_srcdir=$ac_top_builddir_sub
   1595     ac_abs_top_srcdir=$ac_pwd ;;
   1596   [\\/]* | ?:[\\/]* )  # Absolute name.
   1597     ac_srcdir=$srcdir$ac_dir_suffix;
   1598     ac_top_srcdir=$srcdir
   1599     ac_abs_top_srcdir=$srcdir ;;
   1600   *) # Relative name.
   1601     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1602     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1603     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1604 esac
   1605 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1606 
   1607     cd "$ac_dir" || { ac_status=$?; continue; }
   1608     # Check for guested configure.
   1609     if test -f "$ac_srcdir/configure.gnu"; then
   1610       echo &&
   1611       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1612     elif test -f "$ac_srcdir/configure"; then
   1613       echo &&
   1614       $SHELL "$ac_srcdir/configure" --help=recursive
   1615     else
   1616       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1617     fi || ac_status=$?
   1618     cd "$ac_pwd" || { ac_status=$?; break; }
   1619   done
   1620 fi
   1621 
   1622 test -n "$ac_init_help" && exit $ac_status
   1623 if $ac_init_version; then
   1624   cat <<\_ACEOF
   1625 fontconfig configure 2.10.93
   1626 generated by GNU Autoconf 2.69
   1627 
   1628 Copyright (C) 2012 Free Software Foundation, Inc.
   1629 This configure script is free software; the Free Software Foundation
   1630 gives unlimited permission to copy, distribute and modify it.
   1631 _ACEOF
   1632   exit
   1633 fi
   1634 
   1635 ## ------------------------ ##
   1636 ## Autoconf initialization. ##
   1637 ## ------------------------ ##
   1638 
   1639 # ac_fn_c_try_compile LINENO
   1640 # --------------------------
   1641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1642 ac_fn_c_try_compile ()
   1643 {
   1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1645   rm -f conftest.$ac_objext
   1646   if { { ac_try="$ac_compile"
   1647 case "(($ac_try" in
   1648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1649   *) ac_try_echo=$ac_try;;
   1650 esac
   1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1652 $as_echo "$ac_try_echo"; } >&5
   1653   (eval "$ac_compile") 2>conftest.err
   1654   ac_status=$?
   1655   if test -s conftest.err; then
   1656     grep -v '^ *+' conftest.err >conftest.er1
   1657     cat conftest.er1 >&5
   1658     mv -f conftest.er1 conftest.err
   1659   fi
   1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1661   test $ac_status = 0; } && {
   1662 	 test -z "$ac_c_werror_flag" ||
   1663 	 test ! -s conftest.err
   1664        } && test -s conftest.$ac_objext; then :
   1665   ac_retval=0
   1666 else
   1667   $as_echo "$as_me: failed program was:" >&5
   1668 sed 's/^/| /' conftest.$ac_ext >&5
   1669 
   1670 	ac_retval=1
   1671 fi
   1672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1673   as_fn_set_status $ac_retval
   1674 
   1675 } # ac_fn_c_try_compile
   1676 
   1677 # ac_fn_c_try_cpp LINENO
   1678 # ----------------------
   1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1680 ac_fn_c_try_cpp ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1691   ac_status=$?
   1692   if test -s conftest.err; then
   1693     grep -v '^ *+' conftest.err >conftest.er1
   1694     cat conftest.er1 >&5
   1695     mv -f conftest.er1 conftest.err
   1696   fi
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } > conftest.i && {
   1699 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1700 	 test ! -s conftest.err
   1701        }; then :
   1702   ac_retval=0
   1703 else
   1704   $as_echo "$as_me: failed program was:" >&5
   1705 sed 's/^/| /' conftest.$ac_ext >&5
   1706 
   1707     ac_retval=1
   1708 fi
   1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1710   as_fn_set_status $ac_retval
   1711 
   1712 } # ac_fn_c_try_cpp
   1713 
   1714 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1715 # -------------------------------------------------------
   1716 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1717 # the include files in INCLUDES and setting the cache variable VAR
   1718 # accordingly.
   1719 ac_fn_c_check_header_mongrel ()
   1720 {
   1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1722   if eval \${$3+:} false; then :
   1723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1724 $as_echo_n "checking for $2... " >&6; }
   1725 if eval \${$3+:} false; then :
   1726   $as_echo_n "(cached) " >&6
   1727 fi
   1728 eval ac_res=\$$3
   1729 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1730 $as_echo "$ac_res" >&6; }
   1731 else
   1732   # Is the header compilable?
   1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1734 $as_echo_n "checking $2 usability... " >&6; }
   1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1736 /* end confdefs.h.  */
   1737 $4
   1738 #include <$2>
   1739 _ACEOF
   1740 if ac_fn_c_try_compile "$LINENO"; then :
   1741   ac_header_compiler=yes
   1742 else
   1743   ac_header_compiler=no
   1744 fi
   1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1747 $as_echo "$ac_header_compiler" >&6; }
   1748 
   1749 # Is the header present?
   1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1751 $as_echo_n "checking $2 presence... " >&6; }
   1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1753 /* end confdefs.h.  */
   1754 #include <$2>
   1755 _ACEOF
   1756 if ac_fn_c_try_cpp "$LINENO"; then :
   1757   ac_header_preproc=yes
   1758 else
   1759   ac_header_preproc=no
   1760 fi
   1761 rm -f conftest.err conftest.i conftest.$ac_ext
   1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1763 $as_echo "$ac_header_preproc" >&6; }
   1764 
   1765 # So?  What about this header?
   1766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1767   yes:no: )
   1768     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1769 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1770     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1771 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1772     ;;
   1773   no:yes:* )
   1774     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1775 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1776     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1777 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1778     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1779 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1780     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1781 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1782     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1783 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1784 ( $as_echo "## ---------------------------------------------------------------------------- ##
   1785 ## Report this to https://bugs.freedesktop.org/enger_bug.cgi?product=fontconfig ##
   1786 ## ---------------------------------------------------------------------------- ##"
   1787      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1788     ;;
   1789 esac
   1790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1791 $as_echo_n "checking for $2... " >&6; }
   1792 if eval \${$3+:} false; then :
   1793   $as_echo_n "(cached) " >&6
   1794 else
   1795   eval "$3=\$ac_header_compiler"
   1796 fi
   1797 eval ac_res=\$$3
   1798 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1799 $as_echo "$ac_res" >&6; }
   1800 fi
   1801   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1802 
   1803 } # ac_fn_c_check_header_mongrel
   1804 
   1805 # ac_fn_c_try_run LINENO
   1806 # ----------------------
   1807 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1808 # that executables *can* be run.
   1809 ac_fn_c_try_run ()
   1810 {
   1811   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1812   if { { ac_try="$ac_link"
   1813 case "(($ac_try" in
   1814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1815   *) ac_try_echo=$ac_try;;
   1816 esac
   1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1818 $as_echo "$ac_try_echo"; } >&5
   1819   (eval "$ac_link") 2>&5
   1820   ac_status=$?
   1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1822   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1823   { { case "(($ac_try" in
   1824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1825   *) ac_try_echo=$ac_try;;
   1826 esac
   1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1828 $as_echo "$ac_try_echo"; } >&5
   1829   (eval "$ac_try") 2>&5
   1830   ac_status=$?
   1831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1832   test $ac_status = 0; }; }; then :
   1833   ac_retval=0
   1834 else
   1835   $as_echo "$as_me: program exited with status $ac_status" >&5
   1836        $as_echo "$as_me: failed program was:" >&5
   1837 sed 's/^/| /' conftest.$ac_ext >&5
   1838 
   1839        ac_retval=$ac_status
   1840 fi
   1841   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1843   as_fn_set_status $ac_retval
   1844 
   1845 } # ac_fn_c_try_run
   1846 
   1847 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1848 # -------------------------------------------------------
   1849 # Tests whether HEADER exists and can be compiled using the include files in
   1850 # INCLUDES, setting the cache variable VAR accordingly.
   1851 ac_fn_c_check_header_compile ()
   1852 {
   1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1855 $as_echo_n "checking for $2... " >&6; }
   1856 if eval \${$3+:} false; then :
   1857   $as_echo_n "(cached) " >&6
   1858 else
   1859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1860 /* end confdefs.h.  */
   1861 $4
   1862 #include <$2>
   1863 _ACEOF
   1864 if ac_fn_c_try_compile "$LINENO"; then :
   1865   eval "$3=yes"
   1866 else
   1867   eval "$3=no"
   1868 fi
   1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1870 fi
   1871 eval ac_res=\$$3
   1872 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1873 $as_echo "$ac_res" >&6; }
   1874   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1875 
   1876 } # ac_fn_c_check_header_compile
   1877 
   1878 # ac_fn_c_try_link LINENO
   1879 # -----------------------
   1880 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1881 ac_fn_c_try_link ()
   1882 {
   1883   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1884   rm -f conftest.$ac_objext conftest$ac_exeext
   1885   if { { ac_try="$ac_link"
   1886 case "(($ac_try" in
   1887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1888   *) ac_try_echo=$ac_try;;
   1889 esac
   1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1891 $as_echo "$ac_try_echo"; } >&5
   1892   (eval "$ac_link") 2>conftest.err
   1893   ac_status=$?
   1894   if test -s conftest.err; then
   1895     grep -v '^ *+' conftest.err >conftest.er1
   1896     cat conftest.er1 >&5
   1897     mv -f conftest.er1 conftest.err
   1898   fi
   1899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1900   test $ac_status = 0; } && {
   1901 	 test -z "$ac_c_werror_flag" ||
   1902 	 test ! -s conftest.err
   1903        } && test -s conftest$ac_exeext && {
   1904 	 test "$cross_compiling" = yes ||
   1905 	 test -x conftest$ac_exeext
   1906        }; then :
   1907   ac_retval=0
   1908 else
   1909   $as_echo "$as_me: failed program was:" >&5
   1910 sed 's/^/| /' conftest.$ac_ext >&5
   1911 
   1912 	ac_retval=1
   1913 fi
   1914   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1915   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1916   # interfere with the next link command; also delete a directory that is
   1917   # left behind by Apple's compiler.  We do this before executing the actions.
   1918   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1919   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1920   as_fn_set_status $ac_retval
   1921 
   1922 } # ac_fn_c_try_link
   1923 
   1924 # ac_fn_c_check_func LINENO FUNC VAR
   1925 # ----------------------------------
   1926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1927 ac_fn_c_check_func ()
   1928 {
   1929   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1931 $as_echo_n "checking for $2... " >&6; }
   1932 if eval \${$3+:} false; then :
   1933   $as_echo_n "(cached) " >&6
   1934 else
   1935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1936 /* end confdefs.h.  */
   1937 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1939 #define $2 innocuous_$2
   1940 
   1941 /* System header to define __stub macros and hopefully few prototypes,
   1942     which can conflict with char $2 (); below.
   1943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1944     <limits.h> exists even on freestanding compilers.  */
   1945 
   1946 #ifdef __STDC__
   1947 # include <limits.h>
   1948 #else
   1949 # include <assert.h>
   1950 #endif
   1951 
   1952 #undef $2
   1953 
   1954 /* Override any GCC internal prototype to avoid an error.
   1955    Use char because int might match the return type of a GCC
   1956    builtin and then its argument prototype would still apply.  */
   1957 #ifdef __cplusplus
   1958 extern "C"
   1959 #endif
   1960 char $2 ();
   1961 /* The GNU C library defines this for functions which it implements
   1962     to always fail with ENOSYS.  Some functions are actually named
   1963     something starting with __ and the normal name is an alias.  */
   1964 #if defined __stub_$2 || defined __stub___$2
   1965 choke me
   1966 #endif
   1967 
   1968 int
   1969 main ()
   1970 {
   1971 return $2 ();
   1972   ;
   1973   return 0;
   1974 }
   1975 _ACEOF
   1976 if ac_fn_c_try_link "$LINENO"; then :
   1977   eval "$3=yes"
   1978 else
   1979   eval "$3=no"
   1980 fi
   1981 rm -f core conftest.err conftest.$ac_objext \
   1982     conftest$ac_exeext conftest.$ac_ext
   1983 fi
   1984 eval ac_res=\$$3
   1985 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1986 $as_echo "$ac_res" >&6; }
   1987   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1988 
   1989 } # ac_fn_c_check_func
   1990 
   1991 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1992 # -------------------------------------------
   1993 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1994 # variable VAR accordingly.
   1995 ac_fn_c_check_type ()
   1996 {
   1997   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1999 $as_echo_n "checking for $2... " >&6; }
   2000 if eval \${$3+:} false; then :
   2001   $as_echo_n "(cached) " >&6
   2002 else
   2003   eval "$3=no"
   2004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2005 /* end confdefs.h.  */
   2006 $4
   2007 int
   2008 main ()
   2009 {
   2010 if (sizeof ($2))
   2011 	 return 0;
   2012   ;
   2013   return 0;
   2014 }
   2015 _ACEOF
   2016 if ac_fn_c_try_compile "$LINENO"; then :
   2017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2018 /* end confdefs.h.  */
   2019 $4
   2020 int
   2021 main ()
   2022 {
   2023 if (sizeof (($2)))
   2024 	    return 0;
   2025   ;
   2026   return 0;
   2027 }
   2028 _ACEOF
   2029 if ac_fn_c_try_compile "$LINENO"; then :
   2030 
   2031 else
   2032   eval "$3=yes"
   2033 fi
   2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2035 fi
   2036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2037 fi
   2038 eval ac_res=\$$3
   2039 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2040 $as_echo "$ac_res" >&6; }
   2041   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2042 
   2043 } # ac_fn_c_check_type
   2044 
   2045 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2046 # --------------------------------------------
   2047 # Tries to find the compile-time value of EXPR in a program that includes
   2048 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2049 # computed
   2050 ac_fn_c_compute_int ()
   2051 {
   2052   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2053   if test "$cross_compiling" = yes; then
   2054     # Depending upon the size, compute the lo and hi bounds.
   2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2056 /* end confdefs.h.  */
   2057 $4
   2058 int
   2059 main ()
   2060 {
   2061 static int test_array [1 - 2 * !(($2) >= 0)];
   2062 test_array [0] = 0;
   2063 return test_array [0];
   2064 
   2065   ;
   2066   return 0;
   2067 }
   2068 _ACEOF
   2069 if ac_fn_c_try_compile "$LINENO"; then :
   2070   ac_lo=0 ac_mid=0
   2071   while :; do
   2072     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2073 /* end confdefs.h.  */
   2074 $4
   2075 int
   2076 main ()
   2077 {
   2078 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2079 test_array [0] = 0;
   2080 return test_array [0];
   2081 
   2082   ;
   2083   return 0;
   2084 }
   2085 _ACEOF
   2086 if ac_fn_c_try_compile "$LINENO"; then :
   2087   ac_hi=$ac_mid; break
   2088 else
   2089   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2090 			if test $ac_lo -le $ac_mid; then
   2091 			  ac_lo= ac_hi=
   2092 			  break
   2093 			fi
   2094 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2095 fi
   2096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2097   done
   2098 else
   2099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2100 /* end confdefs.h.  */
   2101 $4
   2102 int
   2103 main ()
   2104 {
   2105 static int test_array [1 - 2 * !(($2) < 0)];
   2106 test_array [0] = 0;
   2107 return test_array [0];
   2108 
   2109   ;
   2110   return 0;
   2111 }
   2112 _ACEOF
   2113 if ac_fn_c_try_compile "$LINENO"; then :
   2114   ac_hi=-1 ac_mid=-1
   2115   while :; do
   2116     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2117 /* end confdefs.h.  */
   2118 $4
   2119 int
   2120 main ()
   2121 {
   2122 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2123 test_array [0] = 0;
   2124 return test_array [0];
   2125 
   2126   ;
   2127   return 0;
   2128 }
   2129 _ACEOF
   2130 if ac_fn_c_try_compile "$LINENO"; then :
   2131   ac_lo=$ac_mid; break
   2132 else
   2133   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2134 			if test $ac_mid -le $ac_hi; then
   2135 			  ac_lo= ac_hi=
   2136 			  break
   2137 			fi
   2138 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2139 fi
   2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2141   done
   2142 else
   2143   ac_lo= ac_hi=
   2144 fi
   2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2146 fi
   2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2148 # Binary search between lo and hi bounds.
   2149 while test "x$ac_lo" != "x$ac_hi"; do
   2150   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2152 /* end confdefs.h.  */
   2153 $4
   2154 int
   2155 main ()
   2156 {
   2157 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2158 test_array [0] = 0;
   2159 return test_array [0];
   2160 
   2161   ;
   2162   return 0;
   2163 }
   2164 _ACEOF
   2165 if ac_fn_c_try_compile "$LINENO"; then :
   2166   ac_hi=$ac_mid
   2167 else
   2168   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2169 fi
   2170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2171 done
   2172 case $ac_lo in #((
   2173 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2174 '') ac_retval=1 ;;
   2175 esac
   2176   else
   2177     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2178 /* end confdefs.h.  */
   2179 $4
   2180 static long int longval () { return $2; }
   2181 static unsigned long int ulongval () { return $2; }
   2182 #include <stdio.h>
   2183 #include <stdlib.h>
   2184 int
   2185 main ()
   2186 {
   2187 
   2188   FILE *f = fopen ("conftest.val", "w");
   2189   if (! f)
   2190     return 1;
   2191   if (($2) < 0)
   2192     {
   2193       long int i = longval ();
   2194       if (i != ($2))
   2195 	return 1;
   2196       fprintf (f, "%ld", i);
   2197     }
   2198   else
   2199     {
   2200       unsigned long int i = ulongval ();
   2201       if (i != ($2))
   2202 	return 1;
   2203       fprintf (f, "%lu", i);
   2204     }
   2205   /* Do not output a trailing newline, as this causes \r\n confusion
   2206      on some platforms.  */
   2207   return ferror (f) || fclose (f) != 0;
   2208 
   2209   ;
   2210   return 0;
   2211 }
   2212 _ACEOF
   2213 if ac_fn_c_try_run "$LINENO"; then :
   2214   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2215 else
   2216   ac_retval=1
   2217 fi
   2218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2219   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2220 rm -f conftest.val
   2221 
   2222   fi
   2223   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2224   as_fn_set_status $ac_retval
   2225 
   2226 } # ac_fn_c_compute_int
   2227 
   2228 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2229 # ----------------------------------------------------
   2230 # Tries to find if the field MEMBER exists in type AGGR, after including
   2231 # INCLUDES, setting cache variable VAR accordingly.
   2232 ac_fn_c_check_member ()
   2233 {
   2234   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2236 $as_echo_n "checking for $2.$3... " >&6; }
   2237 if eval \${$4+:} false; then :
   2238   $as_echo_n "(cached) " >&6
   2239 else
   2240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2241 /* end confdefs.h.  */
   2242 $5
   2243 int
   2244 main ()
   2245 {
   2246 static $2 ac_aggr;
   2247 if (ac_aggr.$3)
   2248 return 0;
   2249   ;
   2250   return 0;
   2251 }
   2252 _ACEOF
   2253 if ac_fn_c_try_compile "$LINENO"; then :
   2254   eval "$4=yes"
   2255 else
   2256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2257 /* end confdefs.h.  */
   2258 $5
   2259 int
   2260 main ()
   2261 {
   2262 static $2 ac_aggr;
   2263 if (sizeof ac_aggr.$3)
   2264 return 0;
   2265   ;
   2266   return 0;
   2267 }
   2268 _ACEOF
   2269 if ac_fn_c_try_compile "$LINENO"; then :
   2270   eval "$4=yes"
   2271 else
   2272   eval "$4=no"
   2273 fi
   2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2275 fi
   2276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2277 fi
   2278 eval ac_res=\$$4
   2279 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2280 $as_echo "$ac_res" >&6; }
   2281   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2282 
   2283 } # ac_fn_c_check_member
   2284 cat >config.log <<_ACEOF
   2285 This file contains any messages produced by compilers while
   2286 running configure, to aid debugging if configure makes a mistake.
   2287 
   2288 It was created by fontconfig $as_me 2.10.93, which was
   2289 generated by GNU Autoconf 2.69.  Invocation command line was
   2290 
   2291   $ $0 $@
   2292 
   2293 _ACEOF
   2294 exec 5>>config.log
   2295 {
   2296 cat <<_ASUNAME
   2297 ## --------- ##
   2298 ## Platform. ##
   2299 ## --------- ##
   2300 
   2301 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2302 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2303 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2304 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2305 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2306 
   2307 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2308 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2309 
   2310 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2311 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2312 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2313 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2314 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2315 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2316 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2317 
   2318 _ASUNAME
   2319 
   2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2321 for as_dir in $PATH
   2322 do
   2323   IFS=$as_save_IFS
   2324   test -z "$as_dir" && as_dir=.
   2325     $as_echo "PATH: $as_dir"
   2326   done
   2327 IFS=$as_save_IFS
   2328 
   2329 } >&5
   2330 
   2331 cat >&5 <<_ACEOF
   2332 
   2333 
   2334 ## ----------- ##
   2335 ## Core tests. ##
   2336 ## ----------- ##
   2337 
   2338 _ACEOF
   2339 
   2340 
   2341 # Keep a trace of the command line.
   2342 # Strip out --no-create and --no-recursion so they do not pile up.
   2343 # Strip out --silent because we don't want to record it for future runs.
   2344 # Also quote any args containing shell meta-characters.
   2345 # Make two passes to allow for proper duplicate-argument suppression.
   2346 ac_configure_args=
   2347 ac_configure_args0=
   2348 ac_configure_args1=
   2349 ac_must_keep_next=false
   2350 for ac_pass in 1 2
   2351 do
   2352   for ac_arg
   2353   do
   2354     case $ac_arg in
   2355     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2356     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2357     | -silent | --silent | --silen | --sile | --sil)
   2358       continue ;;
   2359     *\'*)
   2360       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2361     esac
   2362     case $ac_pass in
   2363     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2364     2)
   2365       as_fn_append ac_configure_args1 " '$ac_arg'"
   2366       if test $ac_must_keep_next = true; then
   2367 	ac_must_keep_next=false # Got value, back to normal.
   2368       else
   2369 	case $ac_arg in
   2370 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2371 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2372 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2373 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2374 	    case "$ac_configure_args0 " in
   2375 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2376 	    esac
   2377 	    ;;
   2378 	  -* ) ac_must_keep_next=true ;;
   2379 	esac
   2380       fi
   2381       as_fn_append ac_configure_args " '$ac_arg'"
   2382       ;;
   2383     esac
   2384   done
   2385 done
   2386 { ac_configure_args0=; unset ac_configure_args0;}
   2387 { ac_configure_args1=; unset ac_configure_args1;}
   2388 
   2389 # When interrupted or exit'd, cleanup temporary files, and complete
   2390 # config.log.  We remove comments because anyway the quotes in there
   2391 # would cause problems or look ugly.
   2392 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2393 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2394 trap 'exit_status=$?
   2395   # Save into config.log some information that might help in debugging.
   2396   {
   2397     echo
   2398 
   2399     $as_echo "## ---------------- ##
   2400 ## Cache variables. ##
   2401 ## ---------------- ##"
   2402     echo
   2403     # The following way of writing the cache mishandles newlines in values,
   2404 (
   2405   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2406     eval ac_val=\$$ac_var
   2407     case $ac_val in #(
   2408     *${as_nl}*)
   2409       case $ac_var in #(
   2410       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2411 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2412       esac
   2413       case $ac_var in #(
   2414       _ | IFS | as_nl) ;; #(
   2415       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2416       *) { eval $ac_var=; unset $ac_var;} ;;
   2417       esac ;;
   2418     esac
   2419   done
   2420   (set) 2>&1 |
   2421     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2422     *${as_nl}ac_space=\ *)
   2423       sed -n \
   2424 	"s/'\''/'\''\\\\'\'''\''/g;
   2425 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2426       ;; #(
   2427     *)
   2428       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2429       ;;
   2430     esac |
   2431     sort
   2432 )
   2433     echo
   2434 
   2435     $as_echo "## ----------------- ##
   2436 ## Output variables. ##
   2437 ## ----------------- ##"
   2438     echo
   2439     for ac_var in $ac_subst_vars
   2440     do
   2441       eval ac_val=\$$ac_var
   2442       case $ac_val in
   2443       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2444       esac
   2445       $as_echo "$ac_var='\''$ac_val'\''"
   2446     done | sort
   2447     echo
   2448 
   2449     if test -n "$ac_subst_files"; then
   2450       $as_echo "## ------------------- ##
   2451 ## File substitutions. ##
   2452 ## ------------------- ##"
   2453       echo
   2454       for ac_var in $ac_subst_files
   2455       do
   2456 	eval ac_val=\$$ac_var
   2457 	case $ac_val in
   2458 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2459 	esac
   2460 	$as_echo "$ac_var='\''$ac_val'\''"
   2461       done | sort
   2462       echo
   2463     fi
   2464 
   2465     if test -s confdefs.h; then
   2466       $as_echo "## ----------- ##
   2467 ## confdefs.h. ##
   2468 ## ----------- ##"
   2469       echo
   2470       cat confdefs.h
   2471       echo
   2472     fi
   2473     test "$ac_signal" != 0 &&
   2474       $as_echo "$as_me: caught signal $ac_signal"
   2475     $as_echo "$as_me: exit $exit_status"
   2476   } >&5
   2477   rm -f core *.core core.conftest.* &&
   2478     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2479     exit $exit_status
   2480 ' 0
   2481 for ac_signal in 1 2 13 15; do
   2482   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2483 done
   2484 ac_signal=0
   2485 
   2486 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2487 rm -f -r conftest* confdefs.h
   2488 
   2489 $as_echo "/* confdefs.h */" > confdefs.h
   2490 
   2491 # Predefined preprocessor variables.
   2492 
   2493 cat >>confdefs.h <<_ACEOF
   2494 #define PACKAGE_NAME "$PACKAGE_NAME"
   2495 _ACEOF
   2496 
   2497 cat >>confdefs.h <<_ACEOF
   2498 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2499 _ACEOF
   2500 
   2501 cat >>confdefs.h <<_ACEOF
   2502 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2503 _ACEOF
   2504 
   2505 cat >>confdefs.h <<_ACEOF
   2506 #define PACKAGE_STRING "$PACKAGE_STRING"
   2507 _ACEOF
   2508 
   2509 cat >>confdefs.h <<_ACEOF
   2510 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2511 _ACEOF
   2512 
   2513 cat >>confdefs.h <<_ACEOF
   2514 #define PACKAGE_URL "$PACKAGE_URL"
   2515 _ACEOF
   2516 
   2517 
   2518 # Let the site file select an alternate cache file if it wants to.
   2519 # Prefer an explicitly selected file to automatically selected ones.
   2520 ac_site_file1=NONE
   2521 ac_site_file2=NONE
   2522 if test -n "$CONFIG_SITE"; then
   2523   # We do not want a PATH search for config.site.
   2524   case $CONFIG_SITE in #((
   2525     -*)  ac_site_file1=./$CONFIG_SITE;;
   2526     */*) ac_site_file1=$CONFIG_SITE;;
   2527     *)   ac_site_file1=./$CONFIG_SITE;;
   2528   esac
   2529 elif test "x$prefix" != xNONE; then
   2530   ac_site_file1=$prefix/share/config.site
   2531   ac_site_file2=$prefix/etc/config.site
   2532 else
   2533   ac_site_file1=$ac_default_prefix/share/config.site
   2534   ac_site_file2=$ac_default_prefix/etc/config.site
   2535 fi
   2536 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2537 do
   2538   test "x$ac_site_file" = xNONE && continue
   2539   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2540     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2541 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2542     sed 's/^/| /' "$ac_site_file" >&5
   2543     . "$ac_site_file" \
   2544       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2546 as_fn_error $? "failed to load site script $ac_site_file
   2547 See \`config.log' for more details" "$LINENO" 5; }
   2548   fi
   2549 done
   2550 
   2551 if test -r "$cache_file"; then
   2552   # Some versions of bash will fail to source /dev/null (special files
   2553   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2554   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2555     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2556 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2557     case $cache_file in
   2558       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2559       *)                      . "./$cache_file";;
   2560     esac
   2561   fi
   2562 else
   2563   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2564 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2565   >$cache_file
   2566 fi
   2567 
   2568 as_fn_append ac_header_list " stdlib.h"
   2569 as_fn_append ac_header_list " unistd.h"
   2570 as_fn_append ac_header_list " sys/param.h"
   2571 # Check that the precious variables saved in the cache have kept the same
   2572 # value.
   2573 ac_cache_corrupted=false
   2574 for ac_var in $ac_precious_vars; do
   2575   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2576   eval ac_new_set=\$ac_env_${ac_var}_set
   2577   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2578   eval ac_new_val=\$ac_env_${ac_var}_value
   2579   case $ac_old_set,$ac_new_set in
   2580     set,)
   2581       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2582 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2583       ac_cache_corrupted=: ;;
   2584     ,set)
   2585       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2586 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2587       ac_cache_corrupted=: ;;
   2588     ,);;
   2589     *)
   2590       if test "x$ac_old_val" != "x$ac_new_val"; then
   2591 	# differences in whitespace do not lead to failure.
   2592 	ac_old_val_w=`echo x $ac_old_val`
   2593 	ac_new_val_w=`echo x $ac_new_val`
   2594 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2595 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2596 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2597 	  ac_cache_corrupted=:
   2598 	else
   2599 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2600 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2601 	  eval $ac_var=\$ac_old_val
   2602 	fi
   2603 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2604 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2605 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2606 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2607       fi;;
   2608   esac
   2609   # Pass precious variables to config.status.
   2610   if test "$ac_new_set" = set; then
   2611     case $ac_new_val in
   2612     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2613     *) ac_arg=$ac_var=$ac_new_val ;;
   2614     esac
   2615     case " $ac_configure_args " in
   2616       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2617       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2618     esac
   2619   fi
   2620 done
   2621 if $ac_cache_corrupted; then
   2622   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2624   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2625 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2626   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2627 fi
   2628 ## -------------------- ##
   2629 ## Main body of script. ##
   2630 ## -------------------- ##
   2631 
   2632 ac_ext=c
   2633 ac_cpp='$CPP $CPPFLAGS'
   2634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2637 
   2638 
   2639 am__api_version='1.12'
   2640 
   2641 ac_aux_dir=
   2642 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2643   if test -f "$ac_dir/install-sh"; then
   2644     ac_aux_dir=$ac_dir
   2645     ac_install_sh="$ac_aux_dir/install-sh -c"
   2646     break
   2647   elif test -f "$ac_dir/install.sh"; then
   2648     ac_aux_dir=$ac_dir
   2649     ac_install_sh="$ac_aux_dir/install.sh -c"
   2650     break
   2651   elif test -f "$ac_dir/shtool"; then
   2652     ac_aux_dir=$ac_dir
   2653     ac_install_sh="$ac_aux_dir/shtool install -c"
   2654     break
   2655   fi
   2656 done
   2657 if test -z "$ac_aux_dir"; then
   2658   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2659 fi
   2660 
   2661 # These three variables are undocumented and unsupported,
   2662 # and are intended to be withdrawn in a future Autoconf release.
   2663 # They can cause serious problems if a builder's source tree is in a directory
   2664 # whose full name contains unusual characters.
   2665 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2666 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2667 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2668 
   2669 
   2670 # Find a good install program.  We prefer a C program (faster),
   2671 # so one script is as good as another.  But avoid the broken or
   2672 # incompatible versions:
   2673 # SysV /etc/install, /usr/sbin/install
   2674 # SunOS /usr/etc/install
   2675 # IRIX /sbin/install
   2676 # AIX /bin/install
   2677 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2678 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2679 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2680 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2681 # OS/2's system install, which has a completely different semantic
   2682 # ./install, which can be erroneously created by make from ./install.sh.
   2683 # Reject install programs that cannot install multiple files.
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2685 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2686 if test -z "$INSTALL"; then
   2687 if ${ac_cv_path_install+:} false; then :
   2688   $as_echo_n "(cached) " >&6
   2689 else
   2690   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2691 for as_dir in $PATH
   2692 do
   2693   IFS=$as_save_IFS
   2694   test -z "$as_dir" && as_dir=.
   2695     # Account for people who put trailing slashes in PATH elements.
   2696 case $as_dir/ in #((
   2697   ./ | .// | /[cC]/* | \
   2698   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2699   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2700   /usr/ucb/* ) ;;
   2701   *)
   2702     # OSF1 and SCO ODT 3.0 have their own names for install.
   2703     # Don't use installbsd from OSF since it installs stuff as root
   2704     # by default.
   2705     for ac_prog in ginstall scoinst install; do
   2706       for ac_exec_ext in '' $ac_executable_extensions; do
   2707 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2708 	  if test $ac_prog = install &&
   2709 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2710 	    # AIX install.  It has an incompatible calling convention.
   2711 	    :
   2712 	  elif test $ac_prog = install &&
   2713 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2714 	    # program-specific install script used by HP pwplus--don't use.
   2715 	    :
   2716 	  else
   2717 	    rm -rf conftest.one conftest.two conftest.dir
   2718 	    echo one > conftest.one
   2719 	    echo two > conftest.two
   2720 	    mkdir conftest.dir
   2721 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2722 	      test -s conftest.one && test -s conftest.two &&
   2723 	      test -s conftest.dir/conftest.one &&
   2724 	      test -s conftest.dir/conftest.two
   2725 	    then
   2726 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2727 	      break 3
   2728 	    fi
   2729 	  fi
   2730 	fi
   2731       done
   2732     done
   2733     ;;
   2734 esac
   2735 
   2736   done
   2737 IFS=$as_save_IFS
   2738 
   2739 rm -rf conftest.one conftest.two conftest.dir
   2740 
   2741 fi
   2742   if test "${ac_cv_path_install+set}" = set; then
   2743     INSTALL=$ac_cv_path_install
   2744   else
   2745     # As a last resort, use the slow shell script.  Don't cache a
   2746     # value for INSTALL within a source directory, because that will
   2747     # break other packages using the cache if that directory is
   2748     # removed, or if the value is a relative name.
   2749     INSTALL=$ac_install_sh
   2750   fi
   2751 fi
   2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2753 $as_echo "$INSTALL" >&6; }
   2754 
   2755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2756 # It thinks the first close brace ends the variable substitution.
   2757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2758 
   2759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2760 
   2761 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2762 
   2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2764 $as_echo_n "checking whether build environment is sane... " >&6; }
   2765 # Reject unsafe characters in $srcdir or the absolute working directory
   2766 # name.  Accept space and tab only in the latter.
   2767 am_lf='
   2768 '
   2769 case `pwd` in
   2770   *[\\\"\#\$\&\'\`$am_lf]*)
   2771     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2772 esac
   2773 case $srcdir in
   2774   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2775     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2776 esac
   2777 
   2778 # Do 'set' in a subshell so we don't clobber the current shell's
   2779 # arguments.  Must try -L first in case configure is actually a
   2780 # symlink; some systems play weird games with the mod time of symlinks
   2781 # (eg FreeBSD returns the mod time of the symlink's containing
   2782 # directory).
   2783 if (
   2784    am_has_slept=no
   2785    for am_try in 1 2; do
   2786      echo "timestamp, slept: $am_has_slept" > conftest.file
   2787      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2788      if test "$*" = "X"; then
   2789 	# -L didn't work.
   2790 	set X `ls -t "$srcdir/configure" conftest.file`
   2791      fi
   2792      if test "$*" != "X $srcdir/configure conftest.file" \
   2793 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2794 
   2795 	# If neither matched, then we have a broken ls.  This can happen
   2796 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2797 	# broken ls alias from the environment.  This has actually
   2798 	# happened.  Such a system could not be considered "sane".
   2799 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2800   alias in your environment" "$LINENO" 5
   2801      fi
   2802      if test "$2" = conftest.file || test $am_try -eq 2; then
   2803        break
   2804      fi
   2805      # Just in case.
   2806      sleep 1
   2807      am_has_slept=yes
   2808    done
   2809    test "$2" = conftest.file
   2810    )
   2811 then
   2812    # Ok.
   2813    :
   2814 else
   2815    as_fn_error $? "newly created file is older than distributed files!
   2816 Check your system clock" "$LINENO" 5
   2817 fi
   2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2819 $as_echo "yes" >&6; }
   2820 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2821 # generated files are strictly newer.
   2822 am_sleep_pid=
   2823 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2824   ( sleep 1 ) &
   2825   am_sleep_pid=$!
   2826 fi
   2827 
   2828 rm -f conftest.file
   2829 
   2830 test "$program_prefix" != NONE &&
   2831   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2832 # Use a double $ so make ignores it.
   2833 test "$program_suffix" != NONE &&
   2834   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2835 # Double any \ or $.
   2836 # By default was `s,x,x', remove it if useless.
   2837 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2838 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2839 
   2840 # expand $ac_aux_dir to an absolute path
   2841 am_aux_dir=`cd $ac_aux_dir && pwd`
   2842 
   2843 if test x"${MISSING+set}" != xset; then
   2844   case $am_aux_dir in
   2845   *\ * | *\	*)
   2846     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2847   *)
   2848     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2849   esac
   2850 fi
   2851 # Use eval to expand $SHELL
   2852 if eval "$MISSING --run true"; then
   2853   am_missing_run="$MISSING --run "
   2854 else
   2855   am_missing_run=
   2856   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2857 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2858 fi
   2859 
   2860 if test x"${install_sh}" != xset; then
   2861   case $am_aux_dir in
   2862   *\ * | *\	*)
   2863     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2864   *)
   2865     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2866   esac
   2867 fi
   2868 
   2869 # Installed binaries are usually stripped using 'strip' when the user
   2870 # run "make install-strip".  However 'strip' might not be the right
   2871 # tool to use in cross-compilation environments, therefore Automake
   2872 # will honor the 'STRIP' environment variable to overrule this program.
   2873 if test "$cross_compiling" != no; then
   2874   if test -n "$ac_tool_prefix"; then
   2875   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2876 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2878 $as_echo_n "checking for $ac_word... " >&6; }
   2879 if ${ac_cv_prog_STRIP+:} false; then :
   2880   $as_echo_n "(cached) " >&6
   2881 else
   2882   if test -n "$STRIP"; then
   2883   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2884 else
   2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2886 for as_dir in $PATH
   2887 do
   2888   IFS=$as_save_IFS
   2889   test -z "$as_dir" && as_dir=.
   2890     for ac_exec_ext in '' $ac_executable_extensions; do
   2891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2892     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2894     break 2
   2895   fi
   2896 done
   2897   done
   2898 IFS=$as_save_IFS
   2899 
   2900 fi
   2901 fi
   2902 STRIP=$ac_cv_prog_STRIP
   2903 if test -n "$STRIP"; then
   2904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2905 $as_echo "$STRIP" >&6; }
   2906 else
   2907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2908 $as_echo "no" >&6; }
   2909 fi
   2910 
   2911 
   2912 fi
   2913 if test -z "$ac_cv_prog_STRIP"; then
   2914   ac_ct_STRIP=$STRIP
   2915   # Extract the first word of "strip", so it can be a program name with args.
   2916 set dummy strip; ac_word=$2
   2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2918 $as_echo_n "checking for $ac_word... " >&6; }
   2919 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2920   $as_echo_n "(cached) " >&6
   2921 else
   2922   if test -n "$ac_ct_STRIP"; then
   2923   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2924 else
   2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2926 for as_dir in $PATH
   2927 do
   2928   IFS=$as_save_IFS
   2929   test -z "$as_dir" && as_dir=.
   2930     for ac_exec_ext in '' $ac_executable_extensions; do
   2931   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2932     ac_cv_prog_ac_ct_STRIP="strip"
   2933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2934     break 2
   2935   fi
   2936 done
   2937   done
   2938 IFS=$as_save_IFS
   2939 
   2940 fi
   2941 fi
   2942 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2943 if test -n "$ac_ct_STRIP"; then
   2944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2945 $as_echo "$ac_ct_STRIP" >&6; }
   2946 else
   2947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2948 $as_echo "no" >&6; }
   2949 fi
   2950 
   2951   if test "x$ac_ct_STRIP" = x; then
   2952     STRIP=":"
   2953   else
   2954     case $cross_compiling:$ac_tool_warned in
   2955 yes:)
   2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2958 ac_tool_warned=yes ;;
   2959 esac
   2960     STRIP=$ac_ct_STRIP
   2961   fi
   2962 else
   2963   STRIP="$ac_cv_prog_STRIP"
   2964 fi
   2965 
   2966 fi
   2967 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2968 
   2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2970 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2971 if test -z "$MKDIR_P"; then
   2972   if ${ac_cv_path_mkdir+:} false; then :
   2973   $as_echo_n "(cached) " >&6
   2974 else
   2975   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2976 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2977 do
   2978   IFS=$as_save_IFS
   2979   test -z "$as_dir" && as_dir=.
   2980     for ac_prog in mkdir gmkdir; do
   2981 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2982 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2983 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2984 	     'mkdir (GNU coreutils) '* | \
   2985 	     'mkdir (coreutils) '* | \
   2986 	     'mkdir (fileutils) '4.1*)
   2987 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2988 	       break 3;;
   2989 	   esac
   2990 	 done
   2991        done
   2992   done
   2993 IFS=$as_save_IFS
   2994 
   2995 fi
   2996 
   2997   test -d ./--version && rmdir ./--version
   2998   if test "${ac_cv_path_mkdir+set}" = set; then
   2999     MKDIR_P="$ac_cv_path_mkdir -p"
   3000   else
   3001     # As a last resort, use the slow shell script.  Don't cache a
   3002     # value for MKDIR_P within a source directory, because that will
   3003     # break other packages using the cache if that directory is
   3004     # removed, or if the value is a relative name.
   3005     MKDIR_P="$ac_install_sh -d"
   3006   fi
   3007 fi
   3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3009 $as_echo "$MKDIR_P" >&6; }
   3010 
   3011 for ac_prog in gawk mawk nawk awk
   3012 do
   3013   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3014 set dummy $ac_prog; ac_word=$2
   3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3016 $as_echo_n "checking for $ac_word... " >&6; }
   3017 if ${ac_cv_prog_AWK+:} false; then :
   3018   $as_echo_n "(cached) " >&6
   3019 else
   3020   if test -n "$AWK"; then
   3021   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3022 else
   3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3024 for as_dir in $PATH
   3025 do
   3026   IFS=$as_save_IFS
   3027   test -z "$as_dir" && as_dir=.
   3028     for ac_exec_ext in '' $ac_executable_extensions; do
   3029   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3030     ac_cv_prog_AWK="$ac_prog"
   3031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3032     break 2
   3033   fi
   3034 done
   3035   done
   3036 IFS=$as_save_IFS
   3037 
   3038 fi
   3039 fi
   3040 AWK=$ac_cv_prog_AWK
   3041 if test -n "$AWK"; then
   3042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3043 $as_echo "$AWK" >&6; }
   3044 else
   3045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3046 $as_echo "no" >&6; }
   3047 fi
   3048 
   3049 
   3050   test -n "$AWK" && break
   3051 done
   3052 
   3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3054 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3055 set x ${MAKE-make}
   3056 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3057 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3058   $as_echo_n "(cached) " >&6
   3059 else
   3060   cat >conftest.make <<\_ACEOF
   3061 SHELL = /bin/sh
   3062 all:
   3063 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3064 _ACEOF
   3065 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3066 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3067   *@@@%%%=?*=@@@%%%*)
   3068     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3069   *)
   3070     eval ac_cv_prog_make_${ac_make}_set=no;;
   3071 esac
   3072 rm -f conftest.make
   3073 fi
   3074 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3076 $as_echo "yes" >&6; }
   3077   SET_MAKE=
   3078 else
   3079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3080 $as_echo "no" >&6; }
   3081   SET_MAKE="MAKE=${MAKE-make}"
   3082 fi
   3083 
   3084 rm -rf .tst 2>/dev/null
   3085 mkdir .tst 2>/dev/null
   3086 if test -d .tst; then
   3087   am__leading_dot=.
   3088 else
   3089   am__leading_dot=_
   3090 fi
   3091 rmdir .tst 2>/dev/null
   3092 
   3093 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3094   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3095   # is not polluted with repeated "-I."
   3096   am__isrc=' -I$(srcdir)'
   3097   # test to see if srcdir already configured
   3098   if test -f $srcdir/config.status; then
   3099     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3100   fi
   3101 fi
   3102 
   3103 # test whether we have cygpath
   3104 if test -z "$CYGPATH_W"; then
   3105   if (cygpath --version) >/dev/null 2>/dev/null; then
   3106     CYGPATH_W='cygpath -w'
   3107   else
   3108     CYGPATH_W=echo
   3109   fi
   3110 fi
   3111 
   3112 
   3113 # Define the identity of the package.
   3114  PACKAGE='fontconfig'
   3115  VERSION='2.10.93'
   3116 
   3117 
   3118 cat >>confdefs.h <<_ACEOF
   3119 #define PACKAGE "$PACKAGE"
   3120 _ACEOF
   3121 
   3122 
   3123 cat >>confdefs.h <<_ACEOF
   3124 #define VERSION "$VERSION"
   3125 _ACEOF
   3126 
   3127 # Some tools Automake needs.
   3128 
   3129 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3130 
   3131 
   3132 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3133 
   3134 
   3135 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3136 
   3137 
   3138 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3139 
   3140 
   3141 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3142 
   3143 # For better backward compatibility.  To be removed once Automake 1.9.x
   3144 # dies out for good.  For more background, see:
   3145 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3146 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3147 mkdir_p='$(MKDIR_P)'
   3148 
   3149 # We need awk for the "check" target.  The system "awk" is bad on
   3150 # some platforms.
   3151 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3152 # in the wild :-(  We should find a proper way to deprecate it ...
   3153 AMTAR='$${TAR-tar}'
   3154 
   3155 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3156 
   3157 
   3158 
   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_make=${MAKE-make}
   3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3173 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3174 if ${am_cv_make_support_nested_variables+:} false; then :
   3175   $as_echo_n "(cached) " >&6
   3176 else
   3177   if $as_echo 'TRUE=$(BAR$(V))
   3178 BAR0=false
   3179 BAR1=true
   3180 V=1
   3181 am__doit:
   3182 	@$(TRUE)
   3183 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3184   am_cv_make_support_nested_variables=yes
   3185 else
   3186   am_cv_make_support_nested_variables=no
   3187 fi
   3188 fi
   3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3190 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3191 if test $am_cv_make_support_nested_variables = yes; then
   3192     AM_V='$(V)'
   3193   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3194 else
   3195   AM_V=$AM_DEFAULT_VERBOSITY
   3196   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3197 fi
   3198 AM_BACKSLASH='\'
   3199 
   3200 
   3201 
   3202 LIBT_CURRENT=8
   3203 LIBT_REVISION=0
   3204 
   3205 
   3206 LIBT_AGE=7
   3207 
   3208 LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
   3209 
   3210 
   3211 LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
   3212 
   3213 
   3214 
   3215 ac_config_headers="$ac_config_headers config.h"
   3216 
   3217 
   3218 
   3219 ac_ext=c
   3220 ac_cpp='$CPP $CPPFLAGS'
   3221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3224 if test -n "$ac_tool_prefix"; then
   3225   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3226 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3228 $as_echo_n "checking for $ac_word... " >&6; }
   3229 if ${ac_cv_prog_CC+:} false; then :
   3230   $as_echo_n "(cached) " >&6
   3231 else
   3232   if test -n "$CC"; then
   3233   ac_cv_prog_CC="$CC" # Let the user override the test.
   3234 else
   3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3236 for as_dir in $PATH
   3237 do
   3238   IFS=$as_save_IFS
   3239   test -z "$as_dir" && as_dir=.
   3240     for ac_exec_ext in '' $ac_executable_extensions; do
   3241   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3242     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3244     break 2
   3245   fi
   3246 done
   3247   done
   3248 IFS=$as_save_IFS
   3249 
   3250 fi
   3251 fi
   3252 CC=$ac_cv_prog_CC
   3253 if test -n "$CC"; then
   3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3255 $as_echo "$CC" >&6; }
   3256 else
   3257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3258 $as_echo "no" >&6; }
   3259 fi
   3260 
   3261 
   3262 fi
   3263 if test -z "$ac_cv_prog_CC"; then
   3264   ac_ct_CC=$CC
   3265   # Extract the first word of "gcc", so it can be a program name with args.
   3266 set dummy gcc; ac_word=$2
   3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3268 $as_echo_n "checking for $ac_word... " >&6; }
   3269 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3270   $as_echo_n "(cached) " >&6
   3271 else
   3272   if test -n "$ac_ct_CC"; then
   3273   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3274 else
   3275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3276 for as_dir in $PATH
   3277 do
   3278   IFS=$as_save_IFS
   3279   test -z "$as_dir" && as_dir=.
   3280     for ac_exec_ext in '' $ac_executable_extensions; do
   3281   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3282     ac_cv_prog_ac_ct_CC="gcc"
   3283     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3284     break 2
   3285   fi
   3286 done
   3287   done
   3288 IFS=$as_save_IFS
   3289 
   3290 fi
   3291 fi
   3292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3293 if test -n "$ac_ct_CC"; then
   3294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3295 $as_echo "$ac_ct_CC" >&6; }
   3296 else
   3297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3298 $as_echo "no" >&6; }
   3299 fi
   3300 
   3301   if test "x$ac_ct_CC" = x; then
   3302     CC=""
   3303   else
   3304     case $cross_compiling:$ac_tool_warned in
   3305 yes:)
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3308 ac_tool_warned=yes ;;
   3309 esac
   3310     CC=$ac_ct_CC
   3311   fi
   3312 else
   3313   CC="$ac_cv_prog_CC"
   3314 fi
   3315 
   3316 if test -z "$CC"; then
   3317           if test -n "$ac_tool_prefix"; then
   3318     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3319 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3321 $as_echo_n "checking for $ac_word... " >&6; }
   3322 if ${ac_cv_prog_CC+:} false; then :
   3323   $as_echo_n "(cached) " >&6
   3324 else
   3325   if test -n "$CC"; then
   3326   ac_cv_prog_CC="$CC" # Let the user override the test.
   3327 else
   3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3329 for as_dir in $PATH
   3330 do
   3331   IFS=$as_save_IFS
   3332   test -z "$as_dir" && as_dir=.
   3333     for ac_exec_ext in '' $ac_executable_extensions; do
   3334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3335     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3337     break 2
   3338   fi
   3339 done
   3340   done
   3341 IFS=$as_save_IFS
   3342 
   3343 fi
   3344 fi
   3345 CC=$ac_cv_prog_CC
   3346 if test -n "$CC"; then
   3347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3348 $as_echo "$CC" >&6; }
   3349 else
   3350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3351 $as_echo "no" >&6; }
   3352 fi
   3353 
   3354 
   3355   fi
   3356 fi
   3357 if test -z "$CC"; then
   3358   # Extract the first word of "cc", so it can be a program name with args.
   3359 set dummy cc; ac_word=$2
   3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3361 $as_echo_n "checking for $ac_word... " >&6; }
   3362 if ${ac_cv_prog_CC+:} false; then :
   3363   $as_echo_n "(cached) " >&6
   3364 else
   3365   if test -n "$CC"; then
   3366   ac_cv_prog_CC="$CC" # Let the user override the test.
   3367 else
   3368   ac_prog_rejected=no
   3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3370 for as_dir in $PATH
   3371 do
   3372   IFS=$as_save_IFS
   3373   test -z "$as_dir" && as_dir=.
   3374     for ac_exec_ext in '' $ac_executable_extensions; do
   3375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3376     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3377        ac_prog_rejected=yes
   3378        continue
   3379      fi
   3380     ac_cv_prog_CC="cc"
   3381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3382     break 2
   3383   fi
   3384 done
   3385   done
   3386 IFS=$as_save_IFS
   3387 
   3388 if test $ac_prog_rejected = yes; then
   3389   # We found a bogon in the path, so make sure we never use it.
   3390   set dummy $ac_cv_prog_CC
   3391   shift
   3392   if test $# != 0; then
   3393     # We chose a different compiler from the bogus one.
   3394     # However, it has the same basename, so the bogon will be chosen
   3395     # first if we set CC to just the basename; use the full file name.
   3396     shift
   3397     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3398   fi
   3399 fi
   3400 fi
   3401 fi
   3402 CC=$ac_cv_prog_CC
   3403 if test -n "$CC"; then
   3404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3405 $as_echo "$CC" >&6; }
   3406 else
   3407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3408 $as_echo "no" >&6; }
   3409 fi
   3410 
   3411 
   3412 fi
   3413 if test -z "$CC"; then
   3414   if test -n "$ac_tool_prefix"; then
   3415   for ac_prog in cl.exe
   3416   do
   3417     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3418 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3420 $as_echo_n "checking for $ac_word... " >&6; }
   3421 if ${ac_cv_prog_CC+:} false; then :
   3422   $as_echo_n "(cached) " >&6
   3423 else
   3424   if test -n "$CC"; then
   3425   ac_cv_prog_CC="$CC" # Let the user override the test.
   3426 else
   3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3428 for as_dir in $PATH
   3429 do
   3430   IFS=$as_save_IFS
   3431   test -z "$as_dir" && as_dir=.
   3432     for ac_exec_ext in '' $ac_executable_extensions; do
   3433   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3434     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3436     break 2
   3437   fi
   3438 done
   3439   done
   3440 IFS=$as_save_IFS
   3441 
   3442 fi
   3443 fi
   3444 CC=$ac_cv_prog_CC
   3445 if test -n "$CC"; then
   3446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3447 $as_echo "$CC" >&6; }
   3448 else
   3449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3450 $as_echo "no" >&6; }
   3451 fi
   3452 
   3453 
   3454     test -n "$CC" && break
   3455   done
   3456 fi
   3457 if test -z "$CC"; then
   3458   ac_ct_CC=$CC
   3459   for ac_prog in cl.exe
   3460 do
   3461   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3462 set dummy $ac_prog; ac_word=$2
   3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3464 $as_echo_n "checking for $ac_word... " >&6; }
   3465 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3466   $as_echo_n "(cached) " >&6
   3467 else
   3468   if test -n "$ac_ct_CC"; then
   3469   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3470 else
   3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3472 for as_dir in $PATH
   3473 do
   3474   IFS=$as_save_IFS
   3475   test -z "$as_dir" && as_dir=.
   3476     for ac_exec_ext in '' $ac_executable_extensions; do
   3477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3478     ac_cv_prog_ac_ct_CC="$ac_prog"
   3479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3480     break 2
   3481   fi
   3482 done
   3483   done
   3484 IFS=$as_save_IFS
   3485 
   3486 fi
   3487 fi
   3488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3489 if test -n "$ac_ct_CC"; then
   3490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3491 $as_echo "$ac_ct_CC" >&6; }
   3492 else
   3493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3494 $as_echo "no" >&6; }
   3495 fi
   3496 
   3497 
   3498   test -n "$ac_ct_CC" && break
   3499 done
   3500 
   3501   if test "x$ac_ct_CC" = x; then
   3502     CC=""
   3503   else
   3504     case $cross_compiling:$ac_tool_warned in
   3505 yes:)
   3506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3508 ac_tool_warned=yes ;;
   3509 esac
   3510     CC=$ac_ct_CC
   3511   fi
   3512 fi
   3513 
   3514 fi
   3515 
   3516 
   3517 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3519 as_fn_error $? "no acceptable C compiler found in \$PATH
   3520 See \`config.log' for more details" "$LINENO" 5; }
   3521 
   3522 # Provide some information about the compiler.
   3523 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3524 set X $ac_compile
   3525 ac_compiler=$2
   3526 for ac_option in --version -v -V -qversion; do
   3527   { { ac_try="$ac_compiler $ac_option >&5"
   3528 case "(($ac_try" in
   3529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3530   *) ac_try_echo=$ac_try;;
   3531 esac
   3532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3533 $as_echo "$ac_try_echo"; } >&5
   3534   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3535   ac_status=$?
   3536   if test -s conftest.err; then
   3537     sed '10a\
   3538 ... rest of stderr output deleted ...
   3539          10q' conftest.err >conftest.er1
   3540     cat conftest.er1 >&5
   3541   fi
   3542   rm -f conftest.er1 conftest.err
   3543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3544   test $ac_status = 0; }
   3545 done
   3546 
   3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3548 /* end confdefs.h.  */
   3549 
   3550 int
   3551 main ()
   3552 {
   3553 
   3554   ;
   3555   return 0;
   3556 }
   3557 _ACEOF
   3558 ac_clean_files_save=$ac_clean_files
   3559 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3560 # Try to create an executable without -o first, disregard a.out.
   3561 # It will help us diagnose broken compilers, and finding out an intuition
   3562 # of exeext.
   3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3564 $as_echo_n "checking whether the C compiler works... " >&6; }
   3565 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3566 
   3567 # The possible output files:
   3568 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3569 
   3570 ac_rmfiles=
   3571 for ac_file in $ac_files
   3572 do
   3573   case $ac_file in
   3574     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3575     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3576   esac
   3577 done
   3578 rm -f $ac_rmfiles
   3579 
   3580 if { { ac_try="$ac_link_default"
   3581 case "(($ac_try" in
   3582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3583   *) ac_try_echo=$ac_try;;
   3584 esac
   3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3586 $as_echo "$ac_try_echo"; } >&5
   3587   (eval "$ac_link_default") 2>&5
   3588   ac_status=$?
   3589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3590   test $ac_status = 0; }; then :
   3591   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3592 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3593 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3594 # so that the user can short-circuit this test for compilers unknown to
   3595 # Autoconf.
   3596 for ac_file in $ac_files ''
   3597 do
   3598   test -f "$ac_file" || continue
   3599   case $ac_file in
   3600     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3601 	;;
   3602     [ab].out )
   3603 	# We found the default executable, but exeext='' is most
   3604 	# certainly right.
   3605 	break;;
   3606     *.* )
   3607 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3608 	then :; else
   3609 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3610 	fi
   3611 	# We set ac_cv_exeext here because the later test for it is not
   3612 	# safe: cross compilers may not add the suffix if given an `-o'
   3613 	# argument, so we may need to know it at that point already.
   3614 	# Even if this section looks crufty: it has the advantage of
   3615 	# actually working.
   3616 	break;;
   3617     * )
   3618 	break;;
   3619   esac
   3620 done
   3621 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3622 
   3623 else
   3624   ac_file=''
   3625 fi
   3626 if test -z "$ac_file"; then :
   3627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3628 $as_echo "no" >&6; }
   3629 $as_echo "$as_me: failed program was:" >&5
   3630 sed 's/^/| /' conftest.$ac_ext >&5
   3631 
   3632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3634 as_fn_error 77 "C compiler cannot create executables
   3635 See \`config.log' for more details" "$LINENO" 5; }
   3636 else
   3637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3638 $as_echo "yes" >&6; }
   3639 fi
   3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3641 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3643 $as_echo "$ac_file" >&6; }
   3644 ac_exeext=$ac_cv_exeext
   3645 
   3646 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3647 ac_clean_files=$ac_clean_files_save
   3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3649 $as_echo_n "checking for suffix of executables... " >&6; }
   3650 if { { ac_try="$ac_link"
   3651 case "(($ac_try" in
   3652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3653   *) ac_try_echo=$ac_try;;
   3654 esac
   3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3656 $as_echo "$ac_try_echo"; } >&5
   3657   (eval "$ac_link") 2>&5
   3658   ac_status=$?
   3659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3660   test $ac_status = 0; }; then :
   3661   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3662 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3663 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3664 # `rm'.
   3665 for ac_file in conftest.exe conftest conftest.*; do
   3666   test -f "$ac_file" || continue
   3667   case $ac_file in
   3668     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3669     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3670 	  break;;
   3671     * ) break;;
   3672   esac
   3673 done
   3674 else
   3675   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3677 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3678 See \`config.log' for more details" "$LINENO" 5; }
   3679 fi
   3680 rm -f conftest conftest$ac_cv_exeext
   3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3682 $as_echo "$ac_cv_exeext" >&6; }
   3683 
   3684 rm -f conftest.$ac_ext
   3685 EXEEXT=$ac_cv_exeext
   3686 ac_exeext=$EXEEXT
   3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3688 /* end confdefs.h.  */
   3689 #include <stdio.h>
   3690 int
   3691 main ()
   3692 {
   3693 FILE *f = fopen ("conftest.out", "w");
   3694  return ferror (f) || fclose (f) != 0;
   3695 
   3696   ;
   3697   return 0;
   3698 }
   3699 _ACEOF
   3700 ac_clean_files="$ac_clean_files conftest.out"
   3701 # Check that the compiler produces executables we can run.  If not, either
   3702 # the compiler is broken, or we cross compile.
   3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3704 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3705 if test "$cross_compiling" != yes; then
   3706   { { ac_try="$ac_link"
   3707 case "(($ac_try" in
   3708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3709   *) ac_try_echo=$ac_try;;
   3710 esac
   3711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3712 $as_echo "$ac_try_echo"; } >&5
   3713   (eval "$ac_link") 2>&5
   3714   ac_status=$?
   3715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3716   test $ac_status = 0; }
   3717   if { ac_try='./conftest$ac_cv_exeext'
   3718   { { case "(($ac_try" in
   3719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3720   *) ac_try_echo=$ac_try;;
   3721 esac
   3722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3723 $as_echo "$ac_try_echo"; } >&5
   3724   (eval "$ac_try") 2>&5
   3725   ac_status=$?
   3726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3727   test $ac_status = 0; }; }; then
   3728     cross_compiling=no
   3729   else
   3730     if test "$cross_compiling" = maybe; then
   3731 	cross_compiling=yes
   3732     else
   3733 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3735 as_fn_error $? "cannot run C compiled programs.
   3736 If you meant to cross compile, use \`--host'.
   3737 See \`config.log' for more details" "$LINENO" 5; }
   3738     fi
   3739   fi
   3740 fi
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3742 $as_echo "$cross_compiling" >&6; }
   3743 
   3744 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3745 ac_clean_files=$ac_clean_files_save
   3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3747 $as_echo_n "checking for suffix of object files... " >&6; }
   3748 if ${ac_cv_objext+:} false; then :
   3749   $as_echo_n "(cached) " >&6
   3750 else
   3751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3752 /* end confdefs.h.  */
   3753 
   3754 int
   3755 main ()
   3756 {
   3757 
   3758   ;
   3759   return 0;
   3760 }
   3761 _ACEOF
   3762 rm -f conftest.o conftest.obj
   3763 if { { ac_try="$ac_compile"
   3764 case "(($ac_try" in
   3765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3766   *) ac_try_echo=$ac_try;;
   3767 esac
   3768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3769 $as_echo "$ac_try_echo"; } >&5
   3770   (eval "$ac_compile") 2>&5
   3771   ac_status=$?
   3772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3773   test $ac_status = 0; }; then :
   3774   for ac_file in conftest.o conftest.obj conftest.*; do
   3775   test -f "$ac_file" || continue;
   3776   case $ac_file in
   3777     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3778     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3779        break;;
   3780   esac
   3781 done
   3782 else
   3783   $as_echo "$as_me: failed program was:" >&5
   3784 sed 's/^/| /' conftest.$ac_ext >&5
   3785 
   3786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3788 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3789 See \`config.log' for more details" "$LINENO" 5; }
   3790 fi
   3791 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3792 fi
   3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3794 $as_echo "$ac_cv_objext" >&6; }
   3795 OBJEXT=$ac_cv_objext
   3796 ac_objext=$OBJEXT
   3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3798 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3799 if ${ac_cv_c_compiler_gnu+:} false; then :
   3800   $as_echo_n "(cached) " >&6
   3801 else
   3802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3803 /* end confdefs.h.  */
   3804 
   3805 int
   3806 main ()
   3807 {
   3808 #ifndef __GNUC__
   3809        choke me
   3810 #endif
   3811 
   3812   ;
   3813   return 0;
   3814 }
   3815 _ACEOF
   3816 if ac_fn_c_try_compile "$LINENO"; then :
   3817   ac_compiler_gnu=yes
   3818 else
   3819   ac_compiler_gnu=no
   3820 fi
   3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3822 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3823 
   3824 fi
   3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3826 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3827 if test $ac_compiler_gnu = yes; then
   3828   GCC=yes
   3829 else
   3830   GCC=
   3831 fi
   3832 ac_test_CFLAGS=${CFLAGS+set}
   3833 ac_save_CFLAGS=$CFLAGS
   3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3835 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3836 if ${ac_cv_prog_cc_g+:} false; then :
   3837   $as_echo_n "(cached) " >&6
   3838 else
   3839   ac_save_c_werror_flag=$ac_c_werror_flag
   3840    ac_c_werror_flag=yes
   3841    ac_cv_prog_cc_g=no
   3842    CFLAGS="-g"
   3843    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3844 /* end confdefs.h.  */
   3845 
   3846 int
   3847 main ()
   3848 {
   3849 
   3850   ;
   3851   return 0;
   3852 }
   3853 _ACEOF
   3854 if ac_fn_c_try_compile "$LINENO"; then :
   3855   ac_cv_prog_cc_g=yes
   3856 else
   3857   CFLAGS=""
   3858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3859 /* end confdefs.h.  */
   3860 
   3861 int
   3862 main ()
   3863 {
   3864 
   3865   ;
   3866   return 0;
   3867 }
   3868 _ACEOF
   3869 if ac_fn_c_try_compile "$LINENO"; then :
   3870 
   3871 else
   3872   ac_c_werror_flag=$ac_save_c_werror_flag
   3873 	 CFLAGS="-g"
   3874 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3875 /* end confdefs.h.  */
   3876 
   3877 int
   3878 main ()
   3879 {
   3880 
   3881   ;
   3882   return 0;
   3883 }
   3884 _ACEOF
   3885 if ac_fn_c_try_compile "$LINENO"; then :
   3886   ac_cv_prog_cc_g=yes
   3887 fi
   3888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3889 fi
   3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3891 fi
   3892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3893    ac_c_werror_flag=$ac_save_c_werror_flag
   3894 fi
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3896 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3897 if test "$ac_test_CFLAGS" = set; then
   3898   CFLAGS=$ac_save_CFLAGS
   3899 elif test $ac_cv_prog_cc_g = yes; then
   3900   if test "$GCC" = yes; then
   3901     CFLAGS="-g -O2"
   3902   else
   3903     CFLAGS="-g"
   3904   fi
   3905 else
   3906   if test "$GCC" = yes; then
   3907     CFLAGS="-O2"
   3908   else
   3909     CFLAGS=
   3910   fi
   3911 fi
   3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3913 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3914 if ${ac_cv_prog_cc_c89+:} false; then :
   3915   $as_echo_n "(cached) " >&6
   3916 else
   3917   ac_cv_prog_cc_c89=no
   3918 ac_save_CC=$CC
   3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3920 /* end confdefs.h.  */
   3921 #include <stdarg.h>
   3922 #include <stdio.h>
   3923 struct stat;
   3924 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3925 struct buf { int x; };
   3926 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3927 static char *e (p, i)
   3928      char **p;
   3929      int i;
   3930 {
   3931   return p[i];
   3932 }
   3933 static char *f (char * (*g) (char **, int), char **p, ...)
   3934 {
   3935   char *s;
   3936   va_list v;
   3937   va_start (v,p);
   3938   s = g (p, va_arg (v,int));
   3939   va_end (v);
   3940   return s;
   3941 }
   3942 
   3943 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3944    function prototypes and stuff, but not '\xHH' hex character constants.
   3945    These don't provoke an error unfortunately, instead are silently treated
   3946    as 'x'.  The following induces an error, until -std is added to get
   3947    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3948    array size at least.  It's necessary to write '\x00'==0 to get something
   3949    that's true only with -std.  */
   3950 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3951 
   3952 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3953    inside strings and character constants.  */
   3954 #define FOO(x) 'x'
   3955 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3956 
   3957 int test (int i, double x);
   3958 struct s1 {int (*f) (int a);};
   3959 struct s2 {int (*f) (double a);};
   3960 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3961 int argc;
   3962 char **argv;
   3963 int
   3964 main ()
   3965 {
   3966 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3967   ;
   3968   return 0;
   3969 }
   3970 _ACEOF
   3971 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3972 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3973 do
   3974   CC="$ac_save_CC $ac_arg"
   3975   if ac_fn_c_try_compile "$LINENO"; then :
   3976   ac_cv_prog_cc_c89=$ac_arg
   3977 fi
   3978 rm -f core conftest.err conftest.$ac_objext
   3979   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3980 done
   3981 rm -f conftest.$ac_ext
   3982 CC=$ac_save_CC
   3983 
   3984 fi
   3985 # AC_CACHE_VAL
   3986 case "x$ac_cv_prog_cc_c89" in
   3987   x)
   3988     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3989 $as_echo "none needed" >&6; } ;;
   3990   xno)
   3991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3992 $as_echo "unsupported" >&6; } ;;
   3993   *)
   3994     CC="$CC $ac_cv_prog_cc_c89"
   3995     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3996 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3997 esac
   3998 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3999 
   4000 fi
   4001 
   4002 ac_ext=c
   4003 ac_cpp='$CPP $CPPFLAGS'
   4004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4007 DEPDIR="${am__leading_dot}deps"
   4008 
   4009 ac_config_commands="$ac_config_commands depfiles"
   4010 
   4011 
   4012 am_make=${MAKE-make}
   4013 cat > confinc << 'END'
   4014 am__doit:
   4015 	@echo this is the am__doit target
   4016 .PHONY: am__doit
   4017 END
   4018 # If we don't find an include directive, just comment out the code.
   4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4020 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4021 am__include="#"
   4022 am__quote=
   4023 _am_result=none
   4024 # First try GNU make style include.
   4025 echo "include confinc" > confmf
   4026 # Ignore all kinds of additional output from 'make'.
   4027 case `$am_make -s -f confmf 2> /dev/null` in #(
   4028 *the\ am__doit\ target*)
   4029   am__include=include
   4030   am__quote=
   4031   _am_result=GNU
   4032   ;;
   4033 esac
   4034 # Now try BSD make style include.
   4035 if test "$am__include" = "#"; then
   4036    echo '.include "confinc"' > confmf
   4037    case `$am_make -s -f confmf 2> /dev/null` in #(
   4038    *the\ am__doit\ target*)
   4039      am__include=.include
   4040      am__quote="\""
   4041      _am_result=BSD
   4042      ;;
   4043    esac
   4044 fi
   4045 
   4046 
   4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4048 $as_echo "$_am_result" >&6; }
   4049 rm -f confinc confmf
   4050 
   4051 # Check whether --enable-dependency-tracking was given.
   4052 if test "${enable_dependency_tracking+set}" = set; then :
   4053   enableval=$enable_dependency_tracking;
   4054 fi
   4055 
   4056 if test "x$enable_dependency_tracking" != xno; then
   4057   am_depcomp="$ac_aux_dir/depcomp"
   4058   AMDEPBACKSLASH='\'
   4059   am__nodep='_no'
   4060 fi
   4061  if test "x$enable_dependency_tracking" != xno; then
   4062   AMDEP_TRUE=
   4063   AMDEP_FALSE='#'
   4064 else
   4065   AMDEP_TRUE='#'
   4066   AMDEP_FALSE=
   4067 fi
   4068 
   4069 
   4070 
   4071 depcc="$CC"   am_compiler_list=
   4072 
   4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4074 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4075 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4076   $as_echo_n "(cached) " >&6
   4077 else
   4078   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4079   # We make a subdir and do the tests there.  Otherwise we can end up
   4080   # making bogus files that we don't know about and never remove.  For
   4081   # instance it was reported that on HP-UX the gcc test will end up
   4082   # making a dummy file named 'D' -- because '-MD' means "put the output
   4083   # in D".
   4084   rm -rf conftest.dir
   4085   mkdir conftest.dir
   4086   # Copy depcomp to subdir because otherwise we won't find it if we're
   4087   # using a relative directory.
   4088   cp "$am_depcomp" conftest.dir
   4089   cd conftest.dir
   4090   # We will build objects and dependencies in a subdirectory because
   4091   # it helps to detect inapplicable dependency modes.  For instance
   4092   # both Tru64's cc and ICC support -MD to output dependencies as a
   4093   # side effect of compilation, but ICC will put the dependencies in
   4094   # the current directory while Tru64 will put them in the object
   4095   # directory.
   4096   mkdir sub
   4097 
   4098   am_cv_CC_dependencies_compiler_type=none
   4099   if test "$am_compiler_list" = ""; then
   4100      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4101   fi
   4102   am__universal=false
   4103   case " $depcc " in #(
   4104      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4105      esac
   4106 
   4107   for depmode in $am_compiler_list; do
   4108     # Setup a source with many dependencies, because some compilers
   4109     # like to wrap large dependency lists on column 80 (with \), and
   4110     # we should not choose a depcomp mode which is confused by this.
   4111     #
   4112     # We need to recreate these files for each test, as the compiler may
   4113     # overwrite some of them when testing with obscure command lines.
   4114     # This happens at least with the AIX C compiler.
   4115     : > sub/conftest.c
   4116     for i in 1 2 3 4 5 6; do
   4117       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4118       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4119       # Solaris 10 /bin/sh.
   4120       echo '/* dummy */' > sub/conftst$i.h
   4121     done
   4122     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4123 
   4124     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4125     # mode.  It turns out that the SunPro C++ compiler does not properly
   4126     # handle '-M -o', and we need to detect this.  Also, some Intel
   4127     # versions had trouble with output in subdirs.
   4128     am__obj=sub/conftest.${OBJEXT-o}
   4129     am__minus_obj="-o $am__obj"
   4130     case $depmode in
   4131     gcc)
   4132       # This depmode causes a compiler race in universal mode.
   4133       test "$am__universal" = false || continue
   4134       ;;
   4135     nosideeffect)
   4136       # After this tag, mechanisms are not by side-effect, so they'll
   4137       # only be used when explicitly requested.
   4138       if test "x$enable_dependency_tracking" = xyes; then
   4139 	continue
   4140       else
   4141 	break
   4142       fi
   4143       ;;
   4144     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4145       # This compiler won't grok '-c -o', but also, the minuso test has
   4146       # not run yet.  These depmodes are late enough in the game, and
   4147       # so weak that their functioning should not be impacted.
   4148       am__obj=conftest.${OBJEXT-o}
   4149       am__minus_obj=
   4150       ;;
   4151     none) break ;;
   4152     esac
   4153     if depmode=$depmode \
   4154        source=sub/conftest.c object=$am__obj \
   4155        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4156        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4157          >/dev/null 2>conftest.err &&
   4158        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4159        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4160        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4161        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4162       # icc doesn't choke on unknown options, it will just issue warnings
   4163       # or remarks (even with -Werror).  So we grep stderr for any message
   4164       # that says an option was ignored or not supported.
   4165       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4166       #   icc: Command line warning: ignoring option '-M'; no argument required
   4167       # The diagnosis changed in icc 8.0:
   4168       #   icc: Command line remark: option '-MP' not supported
   4169       if (grep 'ignoring option' conftest.err ||
   4170           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4171         am_cv_CC_dependencies_compiler_type=$depmode
   4172         break
   4173       fi
   4174     fi
   4175   done
   4176 
   4177   cd ..
   4178   rm -rf conftest.dir
   4179 else
   4180   am_cv_CC_dependencies_compiler_type=none
   4181 fi
   4182 
   4183 fi
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4185 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4186 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4187 
   4188  if
   4189   test "x$enable_dependency_tracking" != xno \
   4190   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4191   am__fastdepCC_TRUE=
   4192   am__fastdepCC_FALSE='#'
   4193 else
   4194   am__fastdepCC_TRUE='#'
   4195   am__fastdepCC_FALSE=
   4196 fi
   4197 
   4198 
   4199 
   4200 ac_ext=c
   4201 ac_cpp='$CPP $CPPFLAGS'
   4202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4206 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4207 # On Suns, sometimes $CPP names a directory.
   4208 if test -n "$CPP" && test -d "$CPP"; then
   4209   CPP=
   4210 fi
   4211 if test -z "$CPP"; then
   4212   if ${ac_cv_prog_CPP+:} false; then :
   4213   $as_echo_n "(cached) " >&6
   4214 else
   4215       # Double quotes because CPP needs to be expanded
   4216     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4217     do
   4218       ac_preproc_ok=false
   4219 for ac_c_preproc_warn_flag in '' yes
   4220 do
   4221   # Use a header file that comes with gcc, so configuring glibc
   4222   # with a fresh cross-compiler works.
   4223   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4224   # <limits.h> exists even on freestanding compilers.
   4225   # On the NeXT, cc -E runs the code through the compiler's parser,
   4226   # not just through cpp. "Syntax error" is here to catch this case.
   4227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 #ifdef __STDC__
   4230 # include <limits.h>
   4231 #else
   4232 # include <assert.h>
   4233 #endif
   4234 		     Syntax error
   4235 _ACEOF
   4236 if ac_fn_c_try_cpp "$LINENO"; then :
   4237 
   4238 else
   4239   # Broken: fails on valid input.
   4240 continue
   4241 fi
   4242 rm -f conftest.err conftest.i conftest.$ac_ext
   4243 
   4244   # OK, works on sane cases.  Now check whether nonexistent headers
   4245   # can be detected and how.
   4246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4247 /* end confdefs.h.  */
   4248 #include <ac_nonexistent.h>
   4249 _ACEOF
   4250 if ac_fn_c_try_cpp "$LINENO"; then :
   4251   # Broken: success on invalid input.
   4252 continue
   4253 else
   4254   # Passes both tests.
   4255 ac_preproc_ok=:
   4256 break
   4257 fi
   4258 rm -f conftest.err conftest.i conftest.$ac_ext
   4259 
   4260 done
   4261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4262 rm -f conftest.i conftest.err conftest.$ac_ext
   4263 if $ac_preproc_ok; then :
   4264   break
   4265 fi
   4266 
   4267     done
   4268     ac_cv_prog_CPP=$CPP
   4269 
   4270 fi
   4271   CPP=$ac_cv_prog_CPP
   4272 else
   4273   ac_cv_prog_CPP=$CPP
   4274 fi
   4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4276 $as_echo "$CPP" >&6; }
   4277 ac_preproc_ok=false
   4278 for ac_c_preproc_warn_flag in '' yes
   4279 do
   4280   # Use a header file that comes with gcc, so configuring glibc
   4281   # with a fresh cross-compiler works.
   4282   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4283   # <limits.h> exists even on freestanding compilers.
   4284   # On the NeXT, cc -E runs the code through the compiler's parser,
   4285   # not just through cpp. "Syntax error" is here to catch this case.
   4286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4287 /* end confdefs.h.  */
   4288 #ifdef __STDC__
   4289 # include <limits.h>
   4290 #else
   4291 # include <assert.h>
   4292 #endif
   4293 		     Syntax error
   4294 _ACEOF
   4295 if ac_fn_c_try_cpp "$LINENO"; then :
   4296 
   4297 else
   4298   # Broken: fails on valid input.
   4299 continue
   4300 fi
   4301 rm -f conftest.err conftest.i conftest.$ac_ext
   4302 
   4303   # OK, works on sane cases.  Now check whether nonexistent headers
   4304   # can be detected and how.
   4305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4306 /* end confdefs.h.  */
   4307 #include <ac_nonexistent.h>
   4308 _ACEOF
   4309 if ac_fn_c_try_cpp "$LINENO"; then :
   4310   # Broken: success on invalid input.
   4311 continue
   4312 else
   4313   # Passes both tests.
   4314 ac_preproc_ok=:
   4315 break
   4316 fi
   4317 rm -f conftest.err conftest.i conftest.$ac_ext
   4318 
   4319 done
   4320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4321 rm -f conftest.i conftest.err conftest.$ac_ext
   4322 if $ac_preproc_ok; then :
   4323 
   4324 else
   4325   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4327 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4328 See \`config.log' for more details" "$LINENO" 5; }
   4329 fi
   4330 
   4331 ac_ext=c
   4332 ac_cpp='$CPP $CPPFLAGS'
   4333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4336 
   4337 
   4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4339 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4340 if ${ac_cv_path_GREP+:} false; then :
   4341   $as_echo_n "(cached) " >&6
   4342 else
   4343   if test -z "$GREP"; then
   4344   ac_path_GREP_found=false
   4345   # Loop through the user's path and test for each of PROGNAME-LIST
   4346   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4347 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4348 do
   4349   IFS=$as_save_IFS
   4350   test -z "$as_dir" && as_dir=.
   4351     for ac_prog in grep ggrep; do
   4352     for ac_exec_ext in '' $ac_executable_extensions; do
   4353       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4354       as_fn_executable_p "$ac_path_GREP" || continue
   4355 # Check for GNU ac_path_GREP and select it if it is found.
   4356   # Check for GNU $ac_path_GREP
   4357 case `"$ac_path_GREP" --version 2>&1` in
   4358 *GNU*)
   4359   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4360 *)
   4361   ac_count=0
   4362   $as_echo_n 0123456789 >"conftest.in"
   4363   while :
   4364   do
   4365     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4366     mv "conftest.tmp" "conftest.in"
   4367     cp "conftest.in" "conftest.nl"
   4368     $as_echo 'GREP' >> "conftest.nl"
   4369     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4370     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4371     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4372     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4373       # Best one so far, save it but keep looking for a better one
   4374       ac_cv_path_GREP="$ac_path_GREP"
   4375       ac_path_GREP_max=$ac_count
   4376     fi
   4377     # 10*(2^10) chars as input seems more than enough
   4378     test $ac_count -gt 10 && break
   4379   done
   4380   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4381 esac
   4382 
   4383       $ac_path_GREP_found && break 3
   4384     done
   4385   done
   4386   done
   4387 IFS=$as_save_IFS
   4388   if test -z "$ac_cv_path_GREP"; then
   4389     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4390   fi
   4391 else
   4392   ac_cv_path_GREP=$GREP
   4393 fi
   4394 
   4395 fi
   4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4397 $as_echo "$ac_cv_path_GREP" >&6; }
   4398  GREP="$ac_cv_path_GREP"
   4399 
   4400 
   4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4402 $as_echo_n "checking for egrep... " >&6; }
   4403 if ${ac_cv_path_EGREP+:} false; then :
   4404   $as_echo_n "(cached) " >&6
   4405 else
   4406   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4407    then ac_cv_path_EGREP="$GREP -E"
   4408    else
   4409      if test -z "$EGREP"; then
   4410   ac_path_EGREP_found=false
   4411   # Loop through the user's path and test for each of PROGNAME-LIST
   4412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4414 do
   4415   IFS=$as_save_IFS
   4416   test -z "$as_dir" && as_dir=.
   4417     for ac_prog in egrep; do
   4418     for ac_exec_ext in '' $ac_executable_extensions; do
   4419       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4420       as_fn_executable_p "$ac_path_EGREP" || continue
   4421 # Check for GNU ac_path_EGREP and select it if it is found.
   4422   # Check for GNU $ac_path_EGREP
   4423 case `"$ac_path_EGREP" --version 2>&1` in
   4424 *GNU*)
   4425   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4426 *)
   4427   ac_count=0
   4428   $as_echo_n 0123456789 >"conftest.in"
   4429   while :
   4430   do
   4431     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4432     mv "conftest.tmp" "conftest.in"
   4433     cp "conftest.in" "conftest.nl"
   4434     $as_echo 'EGREP' >> "conftest.nl"
   4435     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4436     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4437     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4438     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4439       # Best one so far, save it but keep looking for a better one
   4440       ac_cv_path_EGREP="$ac_path_EGREP"
   4441       ac_path_EGREP_max=$ac_count
   4442     fi
   4443     # 10*(2^10) chars as input seems more than enough
   4444     test $ac_count -gt 10 && break
   4445   done
   4446   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4447 esac
   4448 
   4449       $ac_path_EGREP_found && break 3
   4450     done
   4451   done
   4452   done
   4453 IFS=$as_save_IFS
   4454   if test -z "$ac_cv_path_EGREP"; then
   4455     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4456   fi
   4457 else
   4458   ac_cv_path_EGREP=$EGREP
   4459 fi
   4460 
   4461    fi
   4462 fi
   4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4464 $as_echo "$ac_cv_path_EGREP" >&6; }
   4465  EGREP="$ac_cv_path_EGREP"
   4466 
   4467 
   4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4469 $as_echo_n "checking for ANSI C header files... " >&6; }
   4470 if ${ac_cv_header_stdc+:} false; then :
   4471   $as_echo_n "(cached) " >&6
   4472 else
   4473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4474 /* end confdefs.h.  */
   4475 #include <stdlib.h>
   4476 #include <stdarg.h>
   4477 #include <string.h>
   4478 #include <float.h>
   4479 
   4480 int
   4481 main ()
   4482 {
   4483 
   4484   ;
   4485   return 0;
   4486 }
   4487 _ACEOF
   4488 if ac_fn_c_try_compile "$LINENO"; then :
   4489   ac_cv_header_stdc=yes
   4490 else
   4491   ac_cv_header_stdc=no
   4492 fi
   4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4494 
   4495 if test $ac_cv_header_stdc = yes; then
   4496   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4498 /* end confdefs.h.  */
   4499 #include <string.h>
   4500 
   4501 _ACEOF
   4502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4503   $EGREP "memchr" >/dev/null 2>&1; then :
   4504 
   4505 else
   4506   ac_cv_header_stdc=no
   4507 fi
   4508 rm -f conftest*
   4509 
   4510 fi
   4511 
   4512 if test $ac_cv_header_stdc = yes; then
   4513   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4515 /* end confdefs.h.  */
   4516 #include <stdlib.h>
   4517 
   4518 _ACEOF
   4519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4520   $EGREP "free" >/dev/null 2>&1; then :
   4521 
   4522 else
   4523   ac_cv_header_stdc=no
   4524 fi
   4525 rm -f conftest*
   4526 
   4527 fi
   4528 
   4529 if test $ac_cv_header_stdc = yes; then
   4530   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4531   if test "$cross_compiling" = yes; then :
   4532   :
   4533 else
   4534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4535 /* end confdefs.h.  */
   4536 #include <ctype.h>
   4537 #include <stdlib.h>
   4538 #if ((' ' & 0x0FF) == 0x020)
   4539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4541 #else
   4542 # define ISLOWER(c) \
   4543 		   (('a' <= (c) && (c) <= 'i') \
   4544 		     || ('j' <= (c) && (c) <= 'r') \
   4545 		     || ('s' <= (c) && (c) <= 'z'))
   4546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4547 #endif
   4548 
   4549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4550 int
   4551 main ()
   4552 {
   4553   int i;
   4554   for (i = 0; i < 256; i++)
   4555     if (XOR (islower (i), ISLOWER (i))
   4556 	|| toupper (i) != TOUPPER (i))
   4557       return 2;
   4558   return 0;
   4559 }
   4560 _ACEOF
   4561 if ac_fn_c_try_run "$LINENO"; then :
   4562 
   4563 else
   4564   ac_cv_header_stdc=no
   4565 fi
   4566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4567   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4568 fi
   4569 
   4570 fi
   4571 fi
   4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4573 $as_echo "$ac_cv_header_stdc" >&6; }
   4574 if test $ac_cv_header_stdc = yes; then
   4575 
   4576 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4577 
   4578 fi
   4579 
   4580 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4581 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4582 		  inttypes.h stdint.h unistd.h
   4583 do :
   4584   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4586 "
   4587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4588   cat >>confdefs.h <<_ACEOF
   4589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4590 _ACEOF
   4591 
   4592 fi
   4593 
   4594 done
   4595 
   4596 
   4597 
   4598   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4599 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4600   MINIX=yes
   4601 else
   4602   MINIX=
   4603 fi
   4604 
   4605 
   4606   if test "$MINIX" = yes; then
   4607 
   4608 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4609 
   4610 
   4611 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4612 
   4613 
   4614 $as_echo "#define _MINIX 1" >>confdefs.h
   4615 
   4616   fi
   4617 
   4618 
   4619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4620 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4621 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4622   $as_echo_n "(cached) " >&6
   4623 else
   4624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4625 /* end confdefs.h.  */
   4626 
   4627 #         define __EXTENSIONS__ 1
   4628           $ac_includes_default
   4629 int
   4630 main ()
   4631 {
   4632 
   4633   ;
   4634   return 0;
   4635 }
   4636 _ACEOF
   4637 if ac_fn_c_try_compile "$LINENO"; then :
   4638   ac_cv_safe_to_define___extensions__=yes
   4639 else
   4640   ac_cv_safe_to_define___extensions__=no
   4641 fi
   4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4643 fi
   4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4645 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4646   test $ac_cv_safe_to_define___extensions__ = yes &&
   4647     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4648 
   4649   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4650 
   4651   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4652 
   4653   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4654 
   4655   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4656 
   4657 
   4658 # Check whether --enable-largefile was given.
   4659 if test "${enable_largefile+set}" = set; then :
   4660   enableval=$enable_largefile;
   4661 fi
   4662 
   4663 if test "$enable_largefile" != no; then
   4664 
   4665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   4666 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   4667 if ${ac_cv_sys_largefile_CC+:} false; then :
   4668   $as_echo_n "(cached) " >&6
   4669 else
   4670   ac_cv_sys_largefile_CC=no
   4671      if test "$GCC" != yes; then
   4672        ac_save_CC=$CC
   4673        while :; do
   4674 	 # IRIX 6.2 and later do not support large files by default,
   4675 	 # so use the C compiler's -n32 option if that helps.
   4676 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4677 /* end confdefs.h.  */
   4678 #include <sys/types.h>
   4679  /* Check that off_t can represent 2**63 - 1 correctly.
   4680     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4681     since some C++ compilers masquerading as C compilers
   4682     incorrectly reject 9223372036854775807.  */
   4683 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4684   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4685 		       && LARGE_OFF_T % 2147483647 == 1)
   4686 		      ? 1 : -1];
   4687 int
   4688 main ()
   4689 {
   4690 
   4691   ;
   4692   return 0;
   4693 }
   4694 _ACEOF
   4695 	 if ac_fn_c_try_compile "$LINENO"; then :
   4696   break
   4697 fi
   4698 rm -f core conftest.err conftest.$ac_objext
   4699 	 CC="$CC -n32"
   4700 	 if ac_fn_c_try_compile "$LINENO"; then :
   4701   ac_cv_sys_largefile_CC=' -n32'; break
   4702 fi
   4703 rm -f core conftest.err conftest.$ac_objext
   4704 	 break
   4705        done
   4706        CC=$ac_save_CC
   4707        rm -f conftest.$ac_ext
   4708     fi
   4709 fi
   4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   4711 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   4712   if test "$ac_cv_sys_largefile_CC" != no; then
   4713     CC=$CC$ac_cv_sys_largefile_CC
   4714   fi
   4715 
   4716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   4717 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   4718 if ${ac_cv_sys_file_offset_bits+:} false; then :
   4719   $as_echo_n "(cached) " >&6
   4720 else
   4721   while :; do
   4722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4723 /* end confdefs.h.  */
   4724 #include <sys/types.h>
   4725  /* Check that off_t can represent 2**63 - 1 correctly.
   4726     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4727     since some C++ compilers masquerading as C compilers
   4728     incorrectly reject 9223372036854775807.  */
   4729 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4730   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4731 		       && LARGE_OFF_T % 2147483647 == 1)
   4732 		      ? 1 : -1];
   4733 int
   4734 main ()
   4735 {
   4736 
   4737   ;
   4738   return 0;
   4739 }
   4740 _ACEOF
   4741 if ac_fn_c_try_compile "$LINENO"; then :
   4742   ac_cv_sys_file_offset_bits=no; break
   4743 fi
   4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4746 /* end confdefs.h.  */
   4747 #define _FILE_OFFSET_BITS 64
   4748 #include <sys/types.h>
   4749  /* Check that off_t can represent 2**63 - 1 correctly.
   4750     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4751     since some C++ compilers masquerading as C compilers
   4752     incorrectly reject 9223372036854775807.  */
   4753 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4754   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4755 		       && LARGE_OFF_T % 2147483647 == 1)
   4756 		      ? 1 : -1];
   4757 int
   4758 main ()
   4759 {
   4760 
   4761   ;
   4762   return 0;
   4763 }
   4764 _ACEOF
   4765 if ac_fn_c_try_compile "$LINENO"; then :
   4766   ac_cv_sys_file_offset_bits=64; break
   4767 fi
   4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4769   ac_cv_sys_file_offset_bits=unknown
   4770   break
   4771 done
   4772 fi
   4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   4774 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   4775 case $ac_cv_sys_file_offset_bits in #(
   4776   no | unknown) ;;
   4777   *)
   4778 cat >>confdefs.h <<_ACEOF
   4779 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   4780 _ACEOF
   4781 ;;
   4782 esac
   4783 rm -rf conftest*
   4784   if test $ac_cv_sys_file_offset_bits = unknown; then
   4785     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   4786 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   4787 if ${ac_cv_sys_large_files+:} false; then :
   4788   $as_echo_n "(cached) " >&6
   4789 else
   4790   while :; do
   4791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 #include <sys/types.h>
   4794  /* Check that off_t can represent 2**63 - 1 correctly.
   4795     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4796     since some C++ compilers masquerading as C compilers
   4797     incorrectly reject 9223372036854775807.  */
   4798 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4799   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4800 		       && LARGE_OFF_T % 2147483647 == 1)
   4801 		      ? 1 : -1];
   4802 int
   4803 main ()
   4804 {
   4805 
   4806   ;
   4807   return 0;
   4808 }
   4809 _ACEOF
   4810 if ac_fn_c_try_compile "$LINENO"; then :
   4811   ac_cv_sys_large_files=no; break
   4812 fi
   4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4815 /* end confdefs.h.  */
   4816 #define _LARGE_FILES 1
   4817 #include <sys/types.h>
   4818  /* Check that off_t can represent 2**63 - 1 correctly.
   4819     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4820     since some C++ compilers masquerading as C compilers
   4821     incorrectly reject 9223372036854775807.  */
   4822 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4823   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4824 		       && LARGE_OFF_T % 2147483647 == 1)
   4825 		      ? 1 : -1];
   4826 int
   4827 main ()
   4828 {
   4829 
   4830   ;
   4831   return 0;
   4832 }
   4833 _ACEOF
   4834 if ac_fn_c_try_compile "$LINENO"; then :
   4835   ac_cv_sys_large_files=1; break
   4836 fi
   4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4838   ac_cv_sys_large_files=unknown
   4839   break
   4840 done
   4841 fi
   4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   4843 $as_echo "$ac_cv_sys_large_files" >&6; }
   4844 case $ac_cv_sys_large_files in #(
   4845   no | unknown) ;;
   4846   *)
   4847 cat >>confdefs.h <<_ACEOF
   4848 #define _LARGE_FILES $ac_cv_sys_large_files
   4849 _ACEOF
   4850 ;;
   4851 esac
   4852 rm -rf conftest*
   4853   fi
   4854 
   4855 
   4856 fi
   4857 
   4858 
   4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4860 $as_echo_n "checking whether ln -s works... " >&6; }
   4861 LN_S=$as_ln_s
   4862 if test "$LN_S" = "ln -s"; then
   4863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4864 $as_echo "yes" >&6; }
   4865 else
   4866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4867 $as_echo "no, using $LN_S" >&6; }
   4868 fi
   4869 
   4870 # Make sure we can run config.sub.
   4871 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4872   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4873 
   4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4875 $as_echo_n "checking build system type... " >&6; }
   4876 if ${ac_cv_build+:} false; then :
   4877   $as_echo_n "(cached) " >&6
   4878 else
   4879   ac_build_alias=$build_alias
   4880 test "x$ac_build_alias" = x &&
   4881   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4882 test "x$ac_build_alias" = x &&
   4883   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4884 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4885   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4886 
   4887 fi
   4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4889 $as_echo "$ac_cv_build" >&6; }
   4890 case $ac_cv_build in
   4891 *-*-*) ;;
   4892 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4893 esac
   4894 build=$ac_cv_build
   4895 ac_save_IFS=$IFS; IFS='-'
   4896 set x $ac_cv_build
   4897 shift
   4898 build_cpu=$1
   4899 build_vendor=$2
   4900 shift; shift
   4901 # Remember, the first character of IFS is used to create $*,
   4902 # except with old shells:
   4903 build_os=$*
   4904 IFS=$ac_save_IFS
   4905 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4906 
   4907 
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4909 $as_echo_n "checking host system type... " >&6; }
   4910 if ${ac_cv_host+:} false; then :
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   if test "x$host_alias" = x; then
   4914   ac_cv_host=$ac_cv_build
   4915 else
   4916   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4917     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4918 fi
   4919 
   4920 fi
   4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4922 $as_echo "$ac_cv_host" >&6; }
   4923 case $ac_cv_host in
   4924 *-*-*) ;;
   4925 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4926 esac
   4927 host=$ac_cv_host
   4928 ac_save_IFS=$IFS; IFS='-'
   4929 set x $ac_cv_host
   4930 shift
   4931 host_cpu=$1
   4932 host_vendor=$2
   4933 shift; shift
   4934 # Remember, the first character of IFS is used to create $*,
   4935 # except with old shells:
   4936 host_os=$*
   4937 IFS=$ac_save_IFS
   4938 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4939 
   4940 
   4941 enable_win32_dll=yes
   4942 
   4943 case $host in
   4944 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   4945   if test -n "$ac_tool_prefix"; then
   4946   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4947 set dummy ${ac_tool_prefix}as; ac_word=$2
   4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4949 $as_echo_n "checking for $ac_word... " >&6; }
   4950 if ${ac_cv_prog_AS+:} false; then :
   4951   $as_echo_n "(cached) " >&6
   4952 else
   4953   if test -n "$AS"; then
   4954   ac_cv_prog_AS="$AS" # Let the user override the test.
   4955 else
   4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4957 for as_dir in $PATH
   4958 do
   4959   IFS=$as_save_IFS
   4960   test -z "$as_dir" && as_dir=.
   4961     for ac_exec_ext in '' $ac_executable_extensions; do
   4962   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4963     ac_cv_prog_AS="${ac_tool_prefix}as"
   4964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4965     break 2
   4966   fi
   4967 done
   4968   done
   4969 IFS=$as_save_IFS
   4970 
   4971 fi
   4972 fi
   4973 AS=$ac_cv_prog_AS
   4974 if test -n "$AS"; then
   4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   4976 $as_echo "$AS" >&6; }
   4977 else
   4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4979 $as_echo "no" >&6; }
   4980 fi
   4981 
   4982 
   4983 fi
   4984 if test -z "$ac_cv_prog_AS"; then
   4985   ac_ct_AS=$AS
   4986   # Extract the first word of "as", so it can be a program name with args.
   4987 set dummy as; ac_word=$2
   4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4989 $as_echo_n "checking for $ac_word... " >&6; }
   4990 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   4991   $as_echo_n "(cached) " >&6
   4992 else
   4993   if test -n "$ac_ct_AS"; then
   4994   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4995 else
   4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4997 for as_dir in $PATH
   4998 do
   4999   IFS=$as_save_IFS
   5000   test -z "$as_dir" && as_dir=.
   5001     for ac_exec_ext in '' $ac_executable_extensions; do
   5002   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5003     ac_cv_prog_ac_ct_AS="as"
   5004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5005     break 2
   5006   fi
   5007 done
   5008   done
   5009 IFS=$as_save_IFS
   5010 
   5011 fi
   5012 fi
   5013 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   5014 if test -n "$ac_ct_AS"; then
   5015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   5016 $as_echo "$ac_ct_AS" >&6; }
   5017 else
   5018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5019 $as_echo "no" >&6; }
   5020 fi
   5021 
   5022   if test "x$ac_ct_AS" = x; then
   5023     AS="false"
   5024   else
   5025     case $cross_compiling:$ac_tool_warned in
   5026 yes:)
   5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5029 ac_tool_warned=yes ;;
   5030 esac
   5031     AS=$ac_ct_AS
   5032   fi
   5033 else
   5034   AS="$ac_cv_prog_AS"
   5035 fi
   5036 
   5037   if test -n "$ac_tool_prefix"; then
   5038   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5039 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5041 $as_echo_n "checking for $ac_word... " >&6; }
   5042 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5043   $as_echo_n "(cached) " >&6
   5044 else
   5045   if test -n "$DLLTOOL"; then
   5046   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5047 else
   5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5049 for as_dir in $PATH
   5050 do
   5051   IFS=$as_save_IFS
   5052   test -z "$as_dir" && as_dir=.
   5053     for ac_exec_ext in '' $ac_executable_extensions; do
   5054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5055     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5057     break 2
   5058   fi
   5059 done
   5060   done
   5061 IFS=$as_save_IFS
   5062 
   5063 fi
   5064 fi
   5065 DLLTOOL=$ac_cv_prog_DLLTOOL
   5066 if test -n "$DLLTOOL"; then
   5067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5068 $as_echo "$DLLTOOL" >&6; }
   5069 else
   5070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5071 $as_echo "no" >&6; }
   5072 fi
   5073 
   5074 
   5075 fi
   5076 if test -z "$ac_cv_prog_DLLTOOL"; then
   5077   ac_ct_DLLTOOL=$DLLTOOL
   5078   # Extract the first word of "dlltool", so it can be a program name with args.
   5079 set dummy dlltool; ac_word=$2
   5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5081 $as_echo_n "checking for $ac_word... " >&6; }
   5082 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5083   $as_echo_n "(cached) " >&6
   5084 else
   5085   if test -n "$ac_ct_DLLTOOL"; then
   5086   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5087 else
   5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5089 for as_dir in $PATH
   5090 do
   5091   IFS=$as_save_IFS
   5092   test -z "$as_dir" && as_dir=.
   5093     for ac_exec_ext in '' $ac_executable_extensions; do
   5094   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5095     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5097     break 2
   5098   fi
   5099 done
   5100   done
   5101 IFS=$as_save_IFS
   5102 
   5103 fi
   5104 fi
   5105 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5106 if test -n "$ac_ct_DLLTOOL"; then
   5107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5108 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5109 else
   5110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5111 $as_echo "no" >&6; }
   5112 fi
   5113 
   5114   if test "x$ac_ct_DLLTOOL" = x; then
   5115     DLLTOOL="false"
   5116   else
   5117     case $cross_compiling:$ac_tool_warned in
   5118 yes:)
   5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5121 ac_tool_warned=yes ;;
   5122 esac
   5123     DLLTOOL=$ac_ct_DLLTOOL
   5124   fi
   5125 else
   5126   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5127 fi
   5128 
   5129   if test -n "$ac_tool_prefix"; then
   5130   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5131 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5133 $as_echo_n "checking for $ac_word... " >&6; }
   5134 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5135   $as_echo_n "(cached) " >&6
   5136 else
   5137   if test -n "$OBJDUMP"; then
   5138   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5139 else
   5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5141 for as_dir in $PATH
   5142 do
   5143   IFS=$as_save_IFS
   5144   test -z "$as_dir" && as_dir=.
   5145     for ac_exec_ext in '' $ac_executable_extensions; do
   5146   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5147     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5149     break 2
   5150   fi
   5151 done
   5152   done
   5153 IFS=$as_save_IFS
   5154 
   5155 fi
   5156 fi
   5157 OBJDUMP=$ac_cv_prog_OBJDUMP
   5158 if test -n "$OBJDUMP"; then
   5159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5160 $as_echo "$OBJDUMP" >&6; }
   5161 else
   5162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5163 $as_echo "no" >&6; }
   5164 fi
   5165 
   5166 
   5167 fi
   5168 if test -z "$ac_cv_prog_OBJDUMP"; then
   5169   ac_ct_OBJDUMP=$OBJDUMP
   5170   # Extract the first word of "objdump", so it can be a program name with args.
   5171 set dummy objdump; ac_word=$2
   5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5173 $as_echo_n "checking for $ac_word... " >&6; }
   5174 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5175   $as_echo_n "(cached) " >&6
   5176 else
   5177   if test -n "$ac_ct_OBJDUMP"; then
   5178   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5179 else
   5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5181 for as_dir in $PATH
   5182 do
   5183   IFS=$as_save_IFS
   5184   test -z "$as_dir" && as_dir=.
   5185     for ac_exec_ext in '' $ac_executable_extensions; do
   5186   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5187     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5189     break 2
   5190   fi
   5191 done
   5192   done
   5193 IFS=$as_save_IFS
   5194 
   5195 fi
   5196 fi
   5197 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5198 if test -n "$ac_ct_OBJDUMP"; then
   5199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5200 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5201 else
   5202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5203 $as_echo "no" >&6; }
   5204 fi
   5205 
   5206   if test "x$ac_ct_OBJDUMP" = x; then
   5207     OBJDUMP="false"
   5208   else
   5209     case $cross_compiling:$ac_tool_warned in
   5210 yes:)
   5211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5213 ac_tool_warned=yes ;;
   5214 esac
   5215     OBJDUMP=$ac_ct_OBJDUMP
   5216   fi
   5217 else
   5218   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5219 fi
   5220 
   5221   ;;
   5222 esac
   5223 
   5224 test -z "$AS" && AS=as
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 test -z "$OBJDUMP" && OBJDUMP=objdump
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 case `pwd` in
   5245   *\ * | *\	*)
   5246     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5247 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5248 esac
   5249 
   5250 
   5251 
   5252 macro_version='2.4.2'
   5253 macro_revision='1.3337'
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 ltmain="$ac_aux_dir/ltmain.sh"
   5268 
   5269 # Backslashify metacharacters that are still active within
   5270 # double-quoted strings.
   5271 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5272 
   5273 # Same as above, but do not quote variable references.
   5274 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5275 
   5276 # Sed substitution to delay expansion of an escaped shell variable in a
   5277 # double_quote_subst'ed string.
   5278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5279 
   5280 # Sed substitution to delay expansion of an escaped single quote.
   5281 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5282 
   5283 # Sed substitution to avoid accidental globbing in evaled expressions
   5284 no_glob_subst='s/\*/\\\*/g'
   5285 
   5286 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5287 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5288 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5289 
   5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5291 $as_echo_n "checking how to print strings... " >&6; }
   5292 # Test print first, because it will be a builtin if present.
   5293 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5294    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5295   ECHO='print -r --'
   5296 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5297   ECHO='printf %s\n'
   5298 else
   5299   # Use this function as a fallback that always works.
   5300   func_fallback_echo ()
   5301   {
   5302     eval 'cat <<_LTECHO_EOF
   5303 $1
   5304 _LTECHO_EOF'
   5305   }
   5306   ECHO='func_fallback_echo'
   5307 fi
   5308 
   5309 # func_echo_all arg...
   5310 # Invoke $ECHO with all args, space-separated.
   5311 func_echo_all ()
   5312 {
   5313     $ECHO ""
   5314 }
   5315 
   5316 case "$ECHO" in
   5317   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5318 $as_echo "printf" >&6; } ;;
   5319   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5320 $as_echo "print -r" >&6; } ;;
   5321   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5322 $as_echo "cat" >&6; } ;;
   5323 esac
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5339 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5340 if ${ac_cv_path_SED+:} false; then :
   5341   $as_echo_n "(cached) " >&6
   5342 else
   5343             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5344      for ac_i in 1 2 3 4 5 6 7; do
   5345        ac_script="$ac_script$as_nl$ac_script"
   5346      done
   5347      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5348      { ac_script=; unset ac_script;}
   5349      if test -z "$SED"; then
   5350   ac_path_SED_found=false
   5351   # Loop through the user's path and test for each of PROGNAME-LIST
   5352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5353 for as_dir in $PATH
   5354 do
   5355   IFS=$as_save_IFS
   5356   test -z "$as_dir" && as_dir=.
   5357     for ac_prog in sed gsed; do
   5358     for ac_exec_ext in '' $ac_executable_extensions; do
   5359       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5360       as_fn_executable_p "$ac_path_SED" || continue
   5361 # Check for GNU ac_path_SED and select it if it is found.
   5362   # Check for GNU $ac_path_SED
   5363 case `"$ac_path_SED" --version 2>&1` in
   5364 *GNU*)
   5365   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5366 *)
   5367   ac_count=0
   5368   $as_echo_n 0123456789 >"conftest.in"
   5369   while :
   5370   do
   5371     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5372     mv "conftest.tmp" "conftest.in"
   5373     cp "conftest.in" "conftest.nl"
   5374     $as_echo '' >> "conftest.nl"
   5375     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5376     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5377     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5378     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5379       # Best one so far, save it but keep looking for a better one
   5380       ac_cv_path_SED="$ac_path_SED"
   5381       ac_path_SED_max=$ac_count
   5382     fi
   5383     # 10*(2^10) chars as input seems more than enough
   5384     test $ac_count -gt 10 && break
   5385   done
   5386   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5387 esac
   5388 
   5389       $ac_path_SED_found && break 3
   5390     done
   5391   done
   5392   done
   5393 IFS=$as_save_IFS
   5394   if test -z "$ac_cv_path_SED"; then
   5395     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5396   fi
   5397 else
   5398   ac_cv_path_SED=$SED
   5399 fi
   5400 
   5401 fi
   5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5403 $as_echo "$ac_cv_path_SED" >&6; }
   5404  SED="$ac_cv_path_SED"
   5405   rm -f conftest.sed
   5406 
   5407 test -z "$SED" && SED=sed
   5408 Xsed="$SED -e 1s/^X//"
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5421 $as_echo_n "checking for fgrep... " >&6; }
   5422 if ${ac_cv_path_FGREP+:} false; then :
   5423   $as_echo_n "(cached) " >&6
   5424 else
   5425   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5426    then ac_cv_path_FGREP="$GREP -F"
   5427    else
   5428      if test -z "$FGREP"; then
   5429   ac_path_FGREP_found=false
   5430   # Loop through the user's path and test for each of PROGNAME-LIST
   5431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5433 do
   5434   IFS=$as_save_IFS
   5435   test -z "$as_dir" && as_dir=.
   5436     for ac_prog in fgrep; do
   5437     for ac_exec_ext in '' $ac_executable_extensions; do
   5438       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5439       as_fn_executable_p "$ac_path_FGREP" || continue
   5440 # Check for GNU ac_path_FGREP and select it if it is found.
   5441   # Check for GNU $ac_path_FGREP
   5442 case `"$ac_path_FGREP" --version 2>&1` in
   5443 *GNU*)
   5444   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5445 *)
   5446   ac_count=0
   5447   $as_echo_n 0123456789 >"conftest.in"
   5448   while :
   5449   do
   5450     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5451     mv "conftest.tmp" "conftest.in"
   5452     cp "conftest.in" "conftest.nl"
   5453     $as_echo 'FGREP' >> "conftest.nl"
   5454     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5455     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5456     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5457     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5458       # Best one so far, save it but keep looking for a better one
   5459       ac_cv_path_FGREP="$ac_path_FGREP"
   5460       ac_path_FGREP_max=$ac_count
   5461     fi
   5462     # 10*(2^10) chars as input seems more than enough
   5463     test $ac_count -gt 10 && break
   5464   done
   5465   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5466 esac
   5467 
   5468       $ac_path_FGREP_found && break 3
   5469     done
   5470   done
   5471   done
   5472 IFS=$as_save_IFS
   5473   if test -z "$ac_cv_path_FGREP"; then
   5474     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5475   fi
   5476 else
   5477   ac_cv_path_FGREP=$FGREP
   5478 fi
   5479 
   5480    fi
   5481 fi
   5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5483 $as_echo "$ac_cv_path_FGREP" >&6; }
   5484  FGREP="$ac_cv_path_FGREP"
   5485 
   5486 
   5487 test -z "$GREP" && GREP=grep
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 # Check whether --with-gnu-ld was given.
   5508 if test "${with_gnu_ld+set}" = set; then :
   5509   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5510 else
   5511   with_gnu_ld=no
   5512 fi
   5513 
   5514 ac_prog=ld
   5515 if test "$GCC" = yes; then
   5516   # Check if gcc -print-prog-name=ld gives a path.
   5517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5518 $as_echo_n "checking for ld used by $CC... " >&6; }
   5519   case $host in
   5520   *-*-mingw*)
   5521     # gcc leaves a trailing carriage return which upsets mingw
   5522     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5523   *)
   5524     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5525   esac
   5526   case $ac_prog in
   5527     # Accept absolute paths.
   5528     [\\/]* | ?:[\\/]*)
   5529       re_direlt='/[^/][^/]*/\.\./'
   5530       # Canonicalize the pathname of ld
   5531       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5532       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5533 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5534       done
   5535       test -z "$LD" && LD="$ac_prog"
   5536       ;;
   5537   "")
   5538     # If it fails, then pretend we aren't using GCC.
   5539     ac_prog=ld
   5540     ;;
   5541   *)
   5542     # If it is relative, then search for the first ld in PATH.
   5543     with_gnu_ld=unknown
   5544     ;;
   5545   esac
   5546 elif test "$with_gnu_ld" = yes; then
   5547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5548 $as_echo_n "checking for GNU ld... " >&6; }
   5549 else
   5550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5551 $as_echo_n "checking for non-GNU ld... " >&6; }
   5552 fi
   5553 if ${lt_cv_path_LD+:} false; then :
   5554   $as_echo_n "(cached) " >&6
   5555 else
   5556   if test -z "$LD"; then
   5557   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5558   for ac_dir in $PATH; do
   5559     IFS="$lt_save_ifs"
   5560     test -z "$ac_dir" && ac_dir=.
   5561     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5562       lt_cv_path_LD="$ac_dir/$ac_prog"
   5563       # Check to see if the program is GNU ld.  I'd rather use --version,
   5564       # but apparently some variants of GNU ld only accept -v.
   5565       # Break only if it was the GNU/non-GNU ld that we prefer.
   5566       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5567       *GNU* | *'with BFD'*)
   5568 	test "$with_gnu_ld" != no && break
   5569 	;;
   5570       *)
   5571 	test "$with_gnu_ld" != yes && break
   5572 	;;
   5573       esac
   5574     fi
   5575   done
   5576   IFS="$lt_save_ifs"
   5577 else
   5578   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5579 fi
   5580 fi
   5581 
   5582 LD="$lt_cv_path_LD"
   5583 if test -n "$LD"; then
   5584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5585 $as_echo "$LD" >&6; }
   5586 else
   5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5588 $as_echo "no" >&6; }
   5589 fi
   5590 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5592 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5593 if ${lt_cv_prog_gnu_ld+:} false; then :
   5594   $as_echo_n "(cached) " >&6
   5595 else
   5596   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5597 case `$LD -v 2>&1 </dev/null` in
   5598 *GNU* | *'with BFD'*)
   5599   lt_cv_prog_gnu_ld=yes
   5600   ;;
   5601 *)
   5602   lt_cv_prog_gnu_ld=no
   5603   ;;
   5604 esac
   5605 fi
   5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5607 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5608 with_gnu_ld=$lt_cv_prog_gnu_ld
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5619 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5620 if ${lt_cv_path_NM+:} false; then :
   5621   $as_echo_n "(cached) " >&6
   5622 else
   5623   if test -n "$NM"; then
   5624   # Let the user override the test.
   5625   lt_cv_path_NM="$NM"
   5626 else
   5627   lt_nm_to_check="${ac_tool_prefix}nm"
   5628   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5629     lt_nm_to_check="$lt_nm_to_check nm"
   5630   fi
   5631   for lt_tmp_nm in $lt_nm_to_check; do
   5632     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5633     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5634       IFS="$lt_save_ifs"
   5635       test -z "$ac_dir" && ac_dir=.
   5636       tmp_nm="$ac_dir/$lt_tmp_nm"
   5637       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5638 	# Check to see if the nm accepts a BSD-compat flag.
   5639 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5640 	#   nm: unknown option "B" ignored
   5641 	# Tru64's nm complains that /dev/null is an invalid object file
   5642 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5643 	*/dev/null* | *'Invalid file or object type'*)
   5644 	  lt_cv_path_NM="$tmp_nm -B"
   5645 	  break
   5646 	  ;;
   5647 	*)
   5648 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5649 	  */dev/null*)
   5650 	    lt_cv_path_NM="$tmp_nm -p"
   5651 	    break
   5652 	    ;;
   5653 	  *)
   5654 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5655 	    continue # so that we can try to find one that supports BSD flags
   5656 	    ;;
   5657 	  esac
   5658 	  ;;
   5659 	esac
   5660       fi
   5661     done
   5662     IFS="$lt_save_ifs"
   5663   done
   5664   : ${lt_cv_path_NM=no}
   5665 fi
   5666 fi
   5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5668 $as_echo "$lt_cv_path_NM" >&6; }
   5669 if test "$lt_cv_path_NM" != "no"; then
   5670   NM="$lt_cv_path_NM"
   5671 else
   5672   # Didn't find any BSD compatible name lister, look for dumpbin.
   5673   if test -n "$DUMPBIN"; then :
   5674     # Let the user override the test.
   5675   else
   5676     if test -n "$ac_tool_prefix"; then
   5677   for ac_prog in dumpbin "link -dump"
   5678   do
   5679     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5682 $as_echo_n "checking for $ac_word... " >&6; }
   5683 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5684   $as_echo_n "(cached) " >&6
   5685 else
   5686   if test -n "$DUMPBIN"; then
   5687   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5688 else
   5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5690 for as_dir in $PATH
   5691 do
   5692   IFS=$as_save_IFS
   5693   test -z "$as_dir" && as_dir=.
   5694     for ac_exec_ext in '' $ac_executable_extensions; do
   5695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5696     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5698     break 2
   5699   fi
   5700 done
   5701   done
   5702 IFS=$as_save_IFS
   5703 
   5704 fi
   5705 fi
   5706 DUMPBIN=$ac_cv_prog_DUMPBIN
   5707 if test -n "$DUMPBIN"; then
   5708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5709 $as_echo "$DUMPBIN" >&6; }
   5710 else
   5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5712 $as_echo "no" >&6; }
   5713 fi
   5714 
   5715 
   5716     test -n "$DUMPBIN" && break
   5717   done
   5718 fi
   5719 if test -z "$DUMPBIN"; then
   5720   ac_ct_DUMPBIN=$DUMPBIN
   5721   for ac_prog in dumpbin "link -dump"
   5722 do
   5723   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5724 set dummy $ac_prog; ac_word=$2
   5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5726 $as_echo_n "checking for $ac_word... " >&6; }
   5727 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5728   $as_echo_n "(cached) " >&6
   5729 else
   5730   if test -n "$ac_ct_DUMPBIN"; then
   5731   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5732 else
   5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5734 for as_dir in $PATH
   5735 do
   5736   IFS=$as_save_IFS
   5737   test -z "$as_dir" && as_dir=.
   5738     for ac_exec_ext in '' $ac_executable_extensions; do
   5739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5740     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5742     break 2
   5743   fi
   5744 done
   5745   done
   5746 IFS=$as_save_IFS
   5747 
   5748 fi
   5749 fi
   5750 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5751 if test -n "$ac_ct_DUMPBIN"; then
   5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5753 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5754 else
   5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5756 $as_echo "no" >&6; }
   5757 fi
   5758 
   5759 
   5760   test -n "$ac_ct_DUMPBIN" && break
   5761 done
   5762 
   5763   if test "x$ac_ct_DUMPBIN" = x; then
   5764     DUMPBIN=":"
   5765   else
   5766     case $cross_compiling:$ac_tool_warned in
   5767 yes:)
   5768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5770 ac_tool_warned=yes ;;
   5771 esac
   5772     DUMPBIN=$ac_ct_DUMPBIN
   5773   fi
   5774 fi
   5775 
   5776     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5777     *COFF*)
   5778       DUMPBIN="$DUMPBIN -symbols"
   5779       ;;
   5780     *)
   5781       DUMPBIN=:
   5782       ;;
   5783     esac
   5784   fi
   5785 
   5786   if test "$DUMPBIN" != ":"; then
   5787     NM="$DUMPBIN"
   5788   fi
   5789 fi
   5790 test -z "$NM" && NM=nm
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5798 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5799 if ${lt_cv_nm_interface+:} false; then :
   5800   $as_echo_n "(cached) " >&6
   5801 else
   5802   lt_cv_nm_interface="BSD nm"
   5803   echo "int some_variable = 0;" > conftest.$ac_ext
   5804   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5805   (eval "$ac_compile" 2>conftest.err)
   5806   cat conftest.err >&5
   5807   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5808   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5809   cat conftest.err >&5
   5810   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5811   cat conftest.out >&5
   5812   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5813     lt_cv_nm_interface="MS dumpbin"
   5814   fi
   5815   rm -f conftest*
   5816 fi
   5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5818 $as_echo "$lt_cv_nm_interface" >&6; }
   5819 
   5820 # find the maximum length of command line arguments
   5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5822 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5823 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5824   $as_echo_n "(cached) " >&6
   5825 else
   5826     i=0
   5827   teststring="ABCD"
   5828 
   5829   case $build_os in
   5830   msdosdjgpp*)
   5831     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5832     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5833     # during glob expansion).  Even if it were fixed, the result of this
   5834     # check would be larger than it should be.
   5835     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5836     ;;
   5837 
   5838   gnu*)
   5839     # Under GNU Hurd, this test is not required because there is
   5840     # no limit to the length of command line arguments.
   5841     # Libtool will interpret -1 as no limit whatsoever
   5842     lt_cv_sys_max_cmd_len=-1;
   5843     ;;
   5844 
   5845   cygwin* | mingw* | cegcc*)
   5846     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5847     # about 5 minutes as the teststring grows exponentially.
   5848     # Worse, since 9x/ME are not pre-emptively multitasking,
   5849     # you end up with a "frozen" computer, even though with patience
   5850     # the test eventually succeeds (with a max line length of 256k).
   5851     # Instead, let's just punt: use the minimum linelength reported by
   5852     # all of the supported platforms: 8192 (on NT/2K/XP).
   5853     lt_cv_sys_max_cmd_len=8192;
   5854     ;;
   5855 
   5856   mint*)
   5857     # On MiNT this can take a long time and run out of memory.
   5858     lt_cv_sys_max_cmd_len=8192;
   5859     ;;
   5860 
   5861   amigaos*)
   5862     # On AmigaOS with pdksh, this test takes hours, literally.
   5863     # So we just punt and use a minimum line length of 8192.
   5864     lt_cv_sys_max_cmd_len=8192;
   5865     ;;
   5866 
   5867   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5868     # This has been around since 386BSD, at least.  Likely further.
   5869     if test -x /sbin/sysctl; then
   5870       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5871     elif test -x /usr/sbin/sysctl; then
   5872       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5873     else
   5874       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5875     fi
   5876     # And add a safety zone
   5877     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5878     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5879     ;;
   5880 
   5881   interix*)
   5882     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5883     lt_cv_sys_max_cmd_len=196608
   5884     ;;
   5885 
   5886   os2*)
   5887     # The test takes a long time on OS/2.
   5888     lt_cv_sys_max_cmd_len=8192
   5889     ;;
   5890 
   5891   osf*)
   5892     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5893     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5894     # nice to cause kernel panics so lets avoid the loop below.
   5895     # First set a reasonable default.
   5896     lt_cv_sys_max_cmd_len=16384
   5897     #
   5898     if test -x /sbin/sysconfig; then
   5899       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5900         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5901       esac
   5902     fi
   5903     ;;
   5904   sco3.2v5*)
   5905     lt_cv_sys_max_cmd_len=102400
   5906     ;;
   5907   sysv5* | sco5v6* | sysv4.2uw2*)
   5908     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5909     if test -n "$kargmax"; then
   5910       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5911     else
   5912       lt_cv_sys_max_cmd_len=32768
   5913     fi
   5914     ;;
   5915   *)
   5916     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5917     if test -n "$lt_cv_sys_max_cmd_len"; then
   5918       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5919       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5920     else
   5921       # Make teststring a little bigger before we do anything with it.
   5922       # a 1K string should be a reasonable start.
   5923       for i in 1 2 3 4 5 6 7 8 ; do
   5924         teststring=$teststring$teststring
   5925       done
   5926       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5927       # If test is not a shell built-in, we'll probably end up computing a
   5928       # maximum length that is only half of the actual maximum length, but
   5929       # we can't tell.
   5930       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5931 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5932 	      test $i != 17 # 1/2 MB should be enough
   5933       do
   5934         i=`expr $i + 1`
   5935         teststring=$teststring$teststring
   5936       done
   5937       # Only check the string length outside the loop.
   5938       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5939       teststring=
   5940       # Add a significant safety factor because C++ compilers can tack on
   5941       # massive amounts of additional arguments before passing them to the
   5942       # linker.  It appears as though 1/2 is a usable value.
   5943       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5944     fi
   5945     ;;
   5946   esac
   5947 
   5948 fi
   5949 
   5950 if test -n $lt_cv_sys_max_cmd_len ; then
   5951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5952 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5953 else
   5954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5955 $as_echo "none" >&6; }
   5956 fi
   5957 max_cmd_len=$lt_cv_sys_max_cmd_len
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 : ${CP="cp -f"}
   5965 : ${MV="mv -f"}
   5966 : ${RM="rm -f"}
   5967 
   5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5969 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5970 # Try some XSI features
   5971 xsi_shell=no
   5972 ( _lt_dummy="a/b/c"
   5973   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5974       = c,a/b,b/c, \
   5975     && eval 'test $(( 1 + 1 )) -eq 2 \
   5976     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5977   && xsi_shell=yes
   5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5979 $as_echo "$xsi_shell" >&6; }
   5980 
   5981 
   5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5983 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5984 lt_shell_append=no
   5985 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5986     >/dev/null 2>&1 \
   5987   && lt_shell_append=yes
   5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5989 $as_echo "$lt_shell_append" >&6; }
   5990 
   5991 
   5992 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5993   lt_unset=unset
   5994 else
   5995   lt_unset=false
   5996 fi
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 # test EBCDIC or ASCII
   6003 case `echo X|tr X '\101'` in
   6004  A) # ASCII based system
   6005     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6006   lt_SP2NL='tr \040 \012'
   6007   lt_NL2SP='tr \015\012 \040\040'
   6008   ;;
   6009  *) # EBCDIC based system
   6010   lt_SP2NL='tr \100 \n'
   6011   lt_NL2SP='tr \r\n \100\100'
   6012   ;;
   6013 esac
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6024 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   6025 if ${lt_cv_to_host_file_cmd+:} false; then :
   6026   $as_echo_n "(cached) " >&6
   6027 else
   6028   case $host in
   6029   *-*-mingw* )
   6030     case $build in
   6031       *-*-mingw* ) # actually msys
   6032         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6033         ;;
   6034       *-*-cygwin* )
   6035         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6036         ;;
   6037       * ) # otherwise, assume *nix
   6038         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6039         ;;
   6040     esac
   6041     ;;
   6042   *-*-cygwin* )
   6043     case $build in
   6044       *-*-mingw* ) # actually msys
   6045         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6046         ;;
   6047       *-*-cygwin* )
   6048         lt_cv_to_host_file_cmd=func_convert_file_noop
   6049         ;;
   6050       * ) # otherwise, assume *nix
   6051         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6052         ;;
   6053     esac
   6054     ;;
   6055   * ) # unhandled hosts (and "normal" native builds)
   6056     lt_cv_to_host_file_cmd=func_convert_file_noop
   6057     ;;
   6058 esac
   6059 
   6060 fi
   6061 
   6062 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6064 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6071 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   6072 if ${lt_cv_to_tool_file_cmd+:} false; then :
   6073   $as_echo_n "(cached) " >&6
   6074 else
   6075   #assume ordinary cross tools, or native build.
   6076 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6077 case $host in
   6078   *-*-mingw* )
   6079     case $build in
   6080       *-*-mingw* ) # actually msys
   6081         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6082         ;;
   6083     esac
   6084     ;;
   6085 esac
   6086 
   6087 fi
   6088 
   6089 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6091 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6098 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6099 if ${lt_cv_ld_reload_flag+:} false; then :
   6100   $as_echo_n "(cached) " >&6
   6101 else
   6102   lt_cv_ld_reload_flag='-r'
   6103 fi
   6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6105 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6106 reload_flag=$lt_cv_ld_reload_flag
   6107 case $reload_flag in
   6108 "" | " "*) ;;
   6109 *) reload_flag=" $reload_flag" ;;
   6110 esac
   6111 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6112 case $host_os in
   6113   cygwin* | mingw* | pw32* | cegcc*)
   6114     if test "$GCC" != yes; then
   6115       reload_cmds=false
   6116     fi
   6117     ;;
   6118   darwin*)
   6119     if test "$GCC" = yes; then
   6120       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6121     else
   6122       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6123     fi
   6124     ;;
   6125 esac
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 if test -n "$ac_tool_prefix"; then
   6136   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6137 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6139 $as_echo_n "checking for $ac_word... " >&6; }
   6140 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6141   $as_echo_n "(cached) " >&6
   6142 else
   6143   if test -n "$OBJDUMP"; then
   6144   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6145 else
   6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6147 for as_dir in $PATH
   6148 do
   6149   IFS=$as_save_IFS
   6150   test -z "$as_dir" && as_dir=.
   6151     for ac_exec_ext in '' $ac_executable_extensions; do
   6152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6153     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6155     break 2
   6156   fi
   6157 done
   6158   done
   6159 IFS=$as_save_IFS
   6160 
   6161 fi
   6162 fi
   6163 OBJDUMP=$ac_cv_prog_OBJDUMP
   6164 if test -n "$OBJDUMP"; then
   6165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6166 $as_echo "$OBJDUMP" >&6; }
   6167 else
   6168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6169 $as_echo "no" >&6; }
   6170 fi
   6171 
   6172 
   6173 fi
   6174 if test -z "$ac_cv_prog_OBJDUMP"; then
   6175   ac_ct_OBJDUMP=$OBJDUMP
   6176   # Extract the first word of "objdump", so it can be a program name with args.
   6177 set dummy objdump; ac_word=$2
   6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6179 $as_echo_n "checking for $ac_word... " >&6; }
   6180 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6181   $as_echo_n "(cached) " >&6
   6182 else
   6183   if test -n "$ac_ct_OBJDUMP"; then
   6184   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6185 else
   6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6187 for as_dir in $PATH
   6188 do
   6189   IFS=$as_save_IFS
   6190   test -z "$as_dir" && as_dir=.
   6191     for ac_exec_ext in '' $ac_executable_extensions; do
   6192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6193     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6195     break 2
   6196   fi
   6197 done
   6198   done
   6199 IFS=$as_save_IFS
   6200 
   6201 fi
   6202 fi
   6203 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6204 if test -n "$ac_ct_OBJDUMP"; then
   6205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6206 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6207 else
   6208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6209 $as_echo "no" >&6; }
   6210 fi
   6211 
   6212   if test "x$ac_ct_OBJDUMP" = x; then
   6213     OBJDUMP="false"
   6214   else
   6215     case $cross_compiling:$ac_tool_warned in
   6216 yes:)
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6219 ac_tool_warned=yes ;;
   6220 esac
   6221     OBJDUMP=$ac_ct_OBJDUMP
   6222   fi
   6223 else
   6224   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6225 fi
   6226 
   6227 test -z "$OBJDUMP" && OBJDUMP=objdump
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6235 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6236 if ${lt_cv_deplibs_check_method+:} false; then :
   6237   $as_echo_n "(cached) " >&6
   6238 else
   6239   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6240 lt_cv_file_magic_test_file=
   6241 lt_cv_deplibs_check_method='unknown'
   6242 # Need to set the preceding variable on all platforms that support
   6243 # interlibrary dependencies.
   6244 # 'none' -- dependencies not supported.
   6245 # `unknown' -- same as none, but documents that we really don't know.
   6246 # 'pass_all' -- all dependencies passed with no checks.
   6247 # 'test_compile' -- check by making test program.
   6248 # 'file_magic [[regex]]' -- check by looking for files in library path
   6249 # which responds to the $file_magic_cmd with a given extended regex.
   6250 # If you have `file' or equivalent on your system and you're not sure
   6251 # whether `pass_all' will *always* work, you probably want this one.
   6252 
   6253 case $host_os in
   6254 aix[4-9]*)
   6255   lt_cv_deplibs_check_method=pass_all
   6256   ;;
   6257 
   6258 beos*)
   6259   lt_cv_deplibs_check_method=pass_all
   6260   ;;
   6261 
   6262 bsdi[45]*)
   6263   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6264   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6265   lt_cv_file_magic_test_file=/shlib/libc.so
   6266   ;;
   6267 
   6268 cygwin*)
   6269   # func_win32_libid is a shell function defined in ltmain.sh
   6270   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6271   lt_cv_file_magic_cmd='func_win32_libid'
   6272   ;;
   6273 
   6274 mingw* | pw32*)
   6275   # Base MSYS/MinGW do not provide the 'file' command needed by
   6276   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6277   # unless we find 'file', for example because we are cross-compiling.
   6278   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6279   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6280     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6281     lt_cv_file_magic_cmd='func_win32_libid'
   6282   else
   6283     # Keep this pattern in sync with the one in func_win32_libid.
   6284     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6285     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6286   fi
   6287   ;;
   6288 
   6289 cegcc*)
   6290   # use the weaker test based on 'objdump'. See mingw*.
   6291   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6292   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6293   ;;
   6294 
   6295 darwin* | rhapsody*)
   6296   lt_cv_deplibs_check_method=pass_all
   6297   ;;
   6298 
   6299 freebsd* | dragonfly*)
   6300   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6301     case $host_cpu in
   6302     i*86 )
   6303       # Not sure whether the presence of OpenBSD here was a mistake.
   6304       # Let's accept both of them until this is cleared up.
   6305       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6306       lt_cv_file_magic_cmd=/usr/bin/file
   6307       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6308       ;;
   6309     esac
   6310   else
   6311     lt_cv_deplibs_check_method=pass_all
   6312   fi
   6313   ;;
   6314 
   6315 gnu*)
   6316   lt_cv_deplibs_check_method=pass_all
   6317   ;;
   6318 
   6319 haiku*)
   6320   lt_cv_deplibs_check_method=pass_all
   6321   ;;
   6322 
   6323 hpux10.20* | hpux11*)
   6324   lt_cv_file_magic_cmd=/usr/bin/file
   6325   case $host_cpu in
   6326   ia64*)
   6327     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6328     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6329     ;;
   6330   hppa*64*)
   6331     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   6332     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6333     ;;
   6334   *)
   6335     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6336     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6337     ;;
   6338   esac
   6339   ;;
   6340 
   6341 interix[3-9]*)
   6342   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6343   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6344   ;;
   6345 
   6346 irix5* | irix6* | nonstopux*)
   6347   case $LD in
   6348   *-32|*"-32 ") libmagic=32-bit;;
   6349   *-n32|*"-n32 ") libmagic=N32;;
   6350   *-64|*"-64 ") libmagic=64-bit;;
   6351   *) libmagic=never-match;;
   6352   esac
   6353   lt_cv_deplibs_check_method=pass_all
   6354   ;;
   6355 
   6356 # This must be glibc/ELF.
   6357 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6358   lt_cv_deplibs_check_method=pass_all
   6359   ;;
   6360 
   6361 netbsd*)
   6362   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6363     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6364   else
   6365     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6366   fi
   6367   ;;
   6368 
   6369 newos6*)
   6370   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6371   lt_cv_file_magic_cmd=/usr/bin/file
   6372   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6373   ;;
   6374 
   6375 *nto* | *qnx*)
   6376   lt_cv_deplibs_check_method=pass_all
   6377   ;;
   6378 
   6379 openbsd*)
   6380   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6381     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6382   else
   6383     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6384   fi
   6385   ;;
   6386 
   6387 osf3* | osf4* | osf5*)
   6388   lt_cv_deplibs_check_method=pass_all
   6389   ;;
   6390 
   6391 rdos*)
   6392   lt_cv_deplibs_check_method=pass_all
   6393   ;;
   6394 
   6395 solaris*)
   6396   lt_cv_deplibs_check_method=pass_all
   6397   ;;
   6398 
   6399 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6400   lt_cv_deplibs_check_method=pass_all
   6401   ;;
   6402 
   6403 sysv4 | sysv4.3*)
   6404   case $host_vendor in
   6405   motorola)
   6406     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]'
   6407     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6408     ;;
   6409   ncr)
   6410     lt_cv_deplibs_check_method=pass_all
   6411     ;;
   6412   sequent)
   6413     lt_cv_file_magic_cmd='/bin/file'
   6414     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6415     ;;
   6416   sni)
   6417     lt_cv_file_magic_cmd='/bin/file'
   6418     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6419     lt_cv_file_magic_test_file=/lib/libc.so
   6420     ;;
   6421   siemens)
   6422     lt_cv_deplibs_check_method=pass_all
   6423     ;;
   6424   pc)
   6425     lt_cv_deplibs_check_method=pass_all
   6426     ;;
   6427   esac
   6428   ;;
   6429 
   6430 tpf*)
   6431   lt_cv_deplibs_check_method=pass_all
   6432   ;;
   6433 esac
   6434 
   6435 fi
   6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6437 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6438 
   6439 file_magic_glob=
   6440 want_nocaseglob=no
   6441 if test "$build" = "$host"; then
   6442   case $host_os in
   6443   mingw* | pw32*)
   6444     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6445       want_nocaseglob=yes
   6446     else
   6447       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6448     fi
   6449     ;;
   6450   esac
   6451 fi
   6452 
   6453 file_magic_cmd=$lt_cv_file_magic_cmd
   6454 deplibs_check_method=$lt_cv_deplibs_check_method
   6455 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 if test -n "$ac_tool_prefix"; then
   6479   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6480 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6482 $as_echo_n "checking for $ac_word... " >&6; }
   6483 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6484   $as_echo_n "(cached) " >&6
   6485 else
   6486   if test -n "$DLLTOOL"; then
   6487   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6488 else
   6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6490 for as_dir in $PATH
   6491 do
   6492   IFS=$as_save_IFS
   6493   test -z "$as_dir" && as_dir=.
   6494     for ac_exec_ext in '' $ac_executable_extensions; do
   6495   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6496     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6498     break 2
   6499   fi
   6500 done
   6501   done
   6502 IFS=$as_save_IFS
   6503 
   6504 fi
   6505 fi
   6506 DLLTOOL=$ac_cv_prog_DLLTOOL
   6507 if test -n "$DLLTOOL"; then
   6508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6509 $as_echo "$DLLTOOL" >&6; }
   6510 else
   6511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6512 $as_echo "no" >&6; }
   6513 fi
   6514 
   6515 
   6516 fi
   6517 if test -z "$ac_cv_prog_DLLTOOL"; then
   6518   ac_ct_DLLTOOL=$DLLTOOL
   6519   # Extract the first word of "dlltool", so it can be a program name with args.
   6520 set dummy dlltool; ac_word=$2
   6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6522 $as_echo_n "checking for $ac_word... " >&6; }
   6523 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6524   $as_echo_n "(cached) " >&6
   6525 else
   6526   if test -n "$ac_ct_DLLTOOL"; then
   6527   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6528 else
   6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6530 for as_dir in $PATH
   6531 do
   6532   IFS=$as_save_IFS
   6533   test -z "$as_dir" && as_dir=.
   6534     for ac_exec_ext in '' $ac_executable_extensions; do
   6535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6536     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6538     break 2
   6539   fi
   6540 done
   6541   done
   6542 IFS=$as_save_IFS
   6543 
   6544 fi
   6545 fi
   6546 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6547 if test -n "$ac_ct_DLLTOOL"; then
   6548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6549 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6550 else
   6551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6552 $as_echo "no" >&6; }
   6553 fi
   6554 
   6555   if test "x$ac_ct_DLLTOOL" = x; then
   6556     DLLTOOL="false"
   6557   else
   6558     case $cross_compiling:$ac_tool_warned in
   6559 yes:)
   6560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6562 ac_tool_warned=yes ;;
   6563 esac
   6564     DLLTOOL=$ac_ct_DLLTOOL
   6565   fi
   6566 else
   6567   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6568 fi
   6569 
   6570 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6579 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6580 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6584 
   6585 case $host_os in
   6586 cygwin* | mingw* | pw32* | cegcc*)
   6587   # two different shell functions defined in ltmain.sh
   6588   # decide which to use based on capabilities of $DLLTOOL
   6589   case `$DLLTOOL --help 2>&1` in
   6590   *--identify-strict*)
   6591     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6592     ;;
   6593   *)
   6594     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6595     ;;
   6596   esac
   6597   ;;
   6598 *)
   6599   # fallback: assume linklib IS sharedlib
   6600   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6601   ;;
   6602 esac
   6603 
   6604 fi
   6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6606 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6607 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6608 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 if test -n "$ac_tool_prefix"; then
   6617   for ac_prog in ar
   6618   do
   6619     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6622 $as_echo_n "checking for $ac_word... " >&6; }
   6623 if ${ac_cv_prog_AR+:} false; then :
   6624   $as_echo_n "(cached) " >&6
   6625 else
   6626   if test -n "$AR"; then
   6627   ac_cv_prog_AR="$AR" # Let the user override the test.
   6628 else
   6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6630 for as_dir in $PATH
   6631 do
   6632   IFS=$as_save_IFS
   6633   test -z "$as_dir" && as_dir=.
   6634     for ac_exec_ext in '' $ac_executable_extensions; do
   6635   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6636     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6638     break 2
   6639   fi
   6640 done
   6641   done
   6642 IFS=$as_save_IFS
   6643 
   6644 fi
   6645 fi
   6646 AR=$ac_cv_prog_AR
   6647 if test -n "$AR"; then
   6648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6649 $as_echo "$AR" >&6; }
   6650 else
   6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6652 $as_echo "no" >&6; }
   6653 fi
   6654 
   6655 
   6656     test -n "$AR" && break
   6657   done
   6658 fi
   6659 if test -z "$AR"; then
   6660   ac_ct_AR=$AR
   6661   for ac_prog in ar
   6662 do
   6663   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6664 set dummy $ac_prog; ac_word=$2
   6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6666 $as_echo_n "checking for $ac_word... " >&6; }
   6667 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6668   $as_echo_n "(cached) " >&6
   6669 else
   6670   if test -n "$ac_ct_AR"; then
   6671   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6672 else
   6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6674 for as_dir in $PATH
   6675 do
   6676   IFS=$as_save_IFS
   6677   test -z "$as_dir" && as_dir=.
   6678     for ac_exec_ext in '' $ac_executable_extensions; do
   6679   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6680     ac_cv_prog_ac_ct_AR="$ac_prog"
   6681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6682     break 2
   6683   fi
   6684 done
   6685   done
   6686 IFS=$as_save_IFS
   6687 
   6688 fi
   6689 fi
   6690 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6691 if test -n "$ac_ct_AR"; then
   6692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6693 $as_echo "$ac_ct_AR" >&6; }
   6694 else
   6695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6696 $as_echo "no" >&6; }
   6697 fi
   6698 
   6699 
   6700   test -n "$ac_ct_AR" && break
   6701 done
   6702 
   6703   if test "x$ac_ct_AR" = x; then
   6704     AR="false"
   6705   else
   6706     case $cross_compiling:$ac_tool_warned in
   6707 yes:)
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6710 ac_tool_warned=yes ;;
   6711 esac
   6712     AR=$ac_ct_AR
   6713   fi
   6714 fi
   6715 
   6716 : ${AR=ar}
   6717 : ${AR_FLAGS=cru}
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6730 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6731 if ${lt_cv_ar_at_file+:} false; then :
   6732   $as_echo_n "(cached) " >&6
   6733 else
   6734   lt_cv_ar_at_file=no
   6735    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6736 /* end confdefs.h.  */
   6737 
   6738 int
   6739 main ()
   6740 {
   6741 
   6742   ;
   6743   return 0;
   6744 }
   6745 _ACEOF
   6746 if ac_fn_c_try_compile "$LINENO"; then :
   6747   echo conftest.$ac_objext > conftest.lst
   6748       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6749       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6750   (eval $lt_ar_try) 2>&5
   6751   ac_status=$?
   6752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6753   test $ac_status = 0; }
   6754       if test "$ac_status" -eq 0; then
   6755 	# Ensure the archiver fails upon bogus file names.
   6756 	rm -f conftest.$ac_objext libconftest.a
   6757 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6758   (eval $lt_ar_try) 2>&5
   6759   ac_status=$?
   6760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6761   test $ac_status = 0; }
   6762 	if test "$ac_status" -ne 0; then
   6763           lt_cv_ar_at_file=@
   6764         fi
   6765       fi
   6766       rm -f conftest.* libconftest.a
   6767 
   6768 fi
   6769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6770 
   6771 fi
   6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6773 $as_echo "$lt_cv_ar_at_file" >&6; }
   6774 
   6775 if test "x$lt_cv_ar_at_file" = xno; then
   6776   archiver_list_spec=
   6777 else
   6778   archiver_list_spec=$lt_cv_ar_at_file
   6779 fi
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 if test -n "$ac_tool_prefix"; then
   6788   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6789 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6791 $as_echo_n "checking for $ac_word... " >&6; }
   6792 if ${ac_cv_prog_STRIP+:} false; then :
   6793   $as_echo_n "(cached) " >&6
   6794 else
   6795   if test -n "$STRIP"; then
   6796   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6797 else
   6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6799 for as_dir in $PATH
   6800 do
   6801   IFS=$as_save_IFS
   6802   test -z "$as_dir" && as_dir=.
   6803     for ac_exec_ext in '' $ac_executable_extensions; do
   6804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6805     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6807     break 2
   6808   fi
   6809 done
   6810   done
   6811 IFS=$as_save_IFS
   6812 
   6813 fi
   6814 fi
   6815 STRIP=$ac_cv_prog_STRIP
   6816 if test -n "$STRIP"; then
   6817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6818 $as_echo "$STRIP" >&6; }
   6819 else
   6820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6821 $as_echo "no" >&6; }
   6822 fi
   6823 
   6824 
   6825 fi
   6826 if test -z "$ac_cv_prog_STRIP"; then
   6827   ac_ct_STRIP=$STRIP
   6828   # Extract the first word of "strip", so it can be a program name with args.
   6829 set dummy strip; ac_word=$2
   6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6831 $as_echo_n "checking for $ac_word... " >&6; }
   6832 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6833   $as_echo_n "(cached) " >&6
   6834 else
   6835   if test -n "$ac_ct_STRIP"; then
   6836   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6837 else
   6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6839 for as_dir in $PATH
   6840 do
   6841   IFS=$as_save_IFS
   6842   test -z "$as_dir" && as_dir=.
   6843     for ac_exec_ext in '' $ac_executable_extensions; do
   6844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6845     ac_cv_prog_ac_ct_STRIP="strip"
   6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6847     break 2
   6848   fi
   6849 done
   6850   done
   6851 IFS=$as_save_IFS
   6852 
   6853 fi
   6854 fi
   6855 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6856 if test -n "$ac_ct_STRIP"; then
   6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6858 $as_echo "$ac_ct_STRIP" >&6; }
   6859 else
   6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6861 $as_echo "no" >&6; }
   6862 fi
   6863 
   6864   if test "x$ac_ct_STRIP" = x; then
   6865     STRIP=":"
   6866   else
   6867     case $cross_compiling:$ac_tool_warned in
   6868 yes:)
   6869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6871 ac_tool_warned=yes ;;
   6872 esac
   6873     STRIP=$ac_ct_STRIP
   6874   fi
   6875 else
   6876   STRIP="$ac_cv_prog_STRIP"
   6877 fi
   6878 
   6879 test -z "$STRIP" && STRIP=:
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 if test -n "$ac_tool_prefix"; then
   6887   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6888 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6890 $as_echo_n "checking for $ac_word... " >&6; }
   6891 if ${ac_cv_prog_RANLIB+:} false; then :
   6892   $as_echo_n "(cached) " >&6
   6893 else
   6894   if test -n "$RANLIB"; then
   6895   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6896 else
   6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6898 for as_dir in $PATH
   6899 do
   6900   IFS=$as_save_IFS
   6901   test -z "$as_dir" && as_dir=.
   6902     for ac_exec_ext in '' $ac_executable_extensions; do
   6903   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6904     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6906     break 2
   6907   fi
   6908 done
   6909   done
   6910 IFS=$as_save_IFS
   6911 
   6912 fi
   6913 fi
   6914 RANLIB=$ac_cv_prog_RANLIB
   6915 if test -n "$RANLIB"; then
   6916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6917 $as_echo "$RANLIB" >&6; }
   6918 else
   6919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6920 $as_echo "no" >&6; }
   6921 fi
   6922 
   6923 
   6924 fi
   6925 if test -z "$ac_cv_prog_RANLIB"; then
   6926   ac_ct_RANLIB=$RANLIB
   6927   # Extract the first word of "ranlib", so it can be a program name with args.
   6928 set dummy ranlib; ac_word=$2
   6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6930 $as_echo_n "checking for $ac_word... " >&6; }
   6931 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6932   $as_echo_n "(cached) " >&6
   6933 else
   6934   if test -n "$ac_ct_RANLIB"; then
   6935   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6936 else
   6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6938 for as_dir in $PATH
   6939 do
   6940   IFS=$as_save_IFS
   6941   test -z "$as_dir" && as_dir=.
   6942     for ac_exec_ext in '' $ac_executable_extensions; do
   6943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6944     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6946     break 2
   6947   fi
   6948 done
   6949   done
   6950 IFS=$as_save_IFS
   6951 
   6952 fi
   6953 fi
   6954 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6955 if test -n "$ac_ct_RANLIB"; then
   6956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6957 $as_echo "$ac_ct_RANLIB" >&6; }
   6958 else
   6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6960 $as_echo "no" >&6; }
   6961 fi
   6962 
   6963   if test "x$ac_ct_RANLIB" = x; then
   6964     RANLIB=":"
   6965   else
   6966     case $cross_compiling:$ac_tool_warned in
   6967 yes:)
   6968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6970 ac_tool_warned=yes ;;
   6971 esac
   6972     RANLIB=$ac_ct_RANLIB
   6973   fi
   6974 else
   6975   RANLIB="$ac_cv_prog_RANLIB"
   6976 fi
   6977 
   6978 test -z "$RANLIB" && RANLIB=:
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 # Determine commands to create old-style static archives.
   6986 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6987 old_postinstall_cmds='chmod 644 $oldlib'
   6988 old_postuninstall_cmds=
   6989 
   6990 if test -n "$RANLIB"; then
   6991   case $host_os in
   6992   openbsd*)
   6993     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6994     ;;
   6995   *)
   6996     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6997     ;;
   6998   esac
   6999   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7000 fi
   7001 
   7002 case $host_os in
   7003   darwin*)
   7004     lock_old_archive_extraction=yes ;;
   7005   *)
   7006     lock_old_archive_extraction=no ;;
   7007 esac
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 # If no C compiler was specified, use CC.
   7048 LTCC=${LTCC-"$CC"}
   7049 
   7050 # If no C compiler flags were specified, use CFLAGS.
   7051 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7052 
   7053 # Allow CC to be a program name with arguments.
   7054 compiler=$CC
   7055 
   7056 
   7057 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7059 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7060 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7061   $as_echo_n "(cached) " >&6
   7062 else
   7063 
   7064 # These are sane defaults that work on at least a few old systems.
   7065 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7066 
   7067 # Character class describing NM global symbol codes.
   7068 symcode='[BCDEGRST]'
   7069 
   7070 # Regexp to match symbols that can be accessed directly from C.
   7071 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7072 
   7073 # Define system-specific variables.
   7074 case $host_os in
   7075 aix*)
   7076   symcode='[BCDT]'
   7077   ;;
   7078 cygwin* | mingw* | pw32* | cegcc*)
   7079   symcode='[ABCDGISTW]'
   7080   ;;
   7081 hpux*)
   7082   if test "$host_cpu" = ia64; then
   7083     symcode='[ABCDEGRST]'
   7084   fi
   7085   ;;
   7086 irix* | nonstopux*)
   7087   symcode='[BCDEGRST]'
   7088   ;;
   7089 osf*)
   7090   symcode='[BCDEGQRST]'
   7091   ;;
   7092 solaris*)
   7093   symcode='[BDRT]'
   7094   ;;
   7095 sco3.2v5*)
   7096   symcode='[DT]'
   7097   ;;
   7098 sysv4.2uw2*)
   7099   symcode='[DT]'
   7100   ;;
   7101 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7102   symcode='[ABDT]'
   7103   ;;
   7104 sysv4)
   7105   symcode='[DFNSTU]'
   7106   ;;
   7107 esac
   7108 
   7109 # If we're using GNU nm, then use its standard symbol codes.
   7110 case `$NM -V 2>&1` in
   7111 *GNU* | *'with BFD'*)
   7112   symcode='[ABCDGIRSTW]' ;;
   7113 esac
   7114 
   7115 # Transform an extracted symbol line into a proper C declaration.
   7116 # Some systems (esp. on ia64) link data and code symbols differently,
   7117 # so use this general approach.
   7118 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7119 
   7120 # Transform an extracted symbol line into symbol name and symbol address
   7121 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7122 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'"
   7123 
   7124 # Handle CRLF in mingw tool chain
   7125 opt_cr=
   7126 case $build_os in
   7127 mingw*)
   7128   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7129   ;;
   7130 esac
   7131 
   7132 # Try without a prefix underscore, then with it.
   7133 for ac_symprfx in "" "_"; do
   7134 
   7135   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7136   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7137 
   7138   # Write the raw and C identifiers.
   7139   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7140     # Fake it for dumpbin and say T for any non-static function
   7141     # and D for any global variable.
   7142     # Also find C++ and __fastcall symbols from MSVC++,
   7143     # which start with @ or ?.
   7144     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7145 "     {last_section=section; section=\$ 3};"\
   7146 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7147 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7148 "     \$ 0!~/External *\|/{next};"\
   7149 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7150 "     {if(hide[section]) next};"\
   7151 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7152 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7153 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7154 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7155 "     ' prfx=^$ac_symprfx"
   7156   else
   7157     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7158   fi
   7159   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7160 
   7161   # Check to see that the pipe works correctly.
   7162   pipe_works=no
   7163 
   7164   rm -f conftest*
   7165   cat > conftest.$ac_ext <<_LT_EOF
   7166 #ifdef __cplusplus
   7167 extern "C" {
   7168 #endif
   7169 char nm_test_var;
   7170 void nm_test_func(void);
   7171 void nm_test_func(void){}
   7172 #ifdef __cplusplus
   7173 }
   7174 #endif
   7175 int main(){nm_test_var='a';nm_test_func();return(0);}
   7176 _LT_EOF
   7177 
   7178   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7179   (eval $ac_compile) 2>&5
   7180   ac_status=$?
   7181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7182   test $ac_status = 0; }; then
   7183     # Now try to grab the symbols.
   7184     nlist=conftest.nm
   7185     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7186   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7187   ac_status=$?
   7188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7189   test $ac_status = 0; } && test -s "$nlist"; then
   7190       # Try sorting and uniquifying the output.
   7191       if sort "$nlist" | uniq > "$nlist"T; then
   7192 	mv -f "$nlist"T "$nlist"
   7193       else
   7194 	rm -f "$nlist"T
   7195       fi
   7196 
   7197       # Make sure that we snagged all the symbols we need.
   7198       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7199 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7200 	  cat <<_LT_EOF > conftest.$ac_ext
   7201 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7202 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   7203 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   7204    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7205 # define LT_DLSYM_CONST
   7206 #elif defined(__osf__)
   7207 /* This system does not cope well with relocations in const data.  */
   7208 # define LT_DLSYM_CONST
   7209 #else
   7210 # define LT_DLSYM_CONST const
   7211 #endif
   7212 
   7213 #ifdef __cplusplus
   7214 extern "C" {
   7215 #endif
   7216 
   7217 _LT_EOF
   7218 	  # Now generate the symbol file.
   7219 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7220 
   7221 	  cat <<_LT_EOF >> conftest.$ac_ext
   7222 
   7223 /* The mapping between symbol names and symbols.  */
   7224 LT_DLSYM_CONST struct {
   7225   const char *name;
   7226   void       *address;
   7227 }
   7228 lt__PROGRAM__LTX_preloaded_symbols[] =
   7229 {
   7230   { "@PROGRAM@", (void *) 0 },
   7231 _LT_EOF
   7232 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7233 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7234   {0, (void *) 0}
   7235 };
   7236 
   7237 /* This works around a problem in FreeBSD linker */
   7238 #ifdef FREEBSD_WORKAROUND
   7239 static const void *lt_preloaded_setup() {
   7240   return lt__PROGRAM__LTX_preloaded_symbols;
   7241 }
   7242 #endif
   7243 
   7244 #ifdef __cplusplus
   7245 }
   7246 #endif
   7247 _LT_EOF
   7248 	  # Now try linking the two files.
   7249 	  mv conftest.$ac_objext conftstm.$ac_objext
   7250 	  lt_globsym_save_LIBS=$LIBS
   7251 	  lt_globsym_save_CFLAGS=$CFLAGS
   7252 	  LIBS="conftstm.$ac_objext"
   7253 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7254 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7255   (eval $ac_link) 2>&5
   7256   ac_status=$?
   7257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7258   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7259 	    pipe_works=yes
   7260 	  fi
   7261 	  LIBS=$lt_globsym_save_LIBS
   7262 	  CFLAGS=$lt_globsym_save_CFLAGS
   7263 	else
   7264 	  echo "cannot find nm_test_func in $nlist" >&5
   7265 	fi
   7266       else
   7267 	echo "cannot find nm_test_var in $nlist" >&5
   7268       fi
   7269     else
   7270       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7271     fi
   7272   else
   7273     echo "$progname: failed program was:" >&5
   7274     cat conftest.$ac_ext >&5
   7275   fi
   7276   rm -rf conftest* conftst*
   7277 
   7278   # Do not use the global_symbol_pipe unless it works.
   7279   if test "$pipe_works" = yes; then
   7280     break
   7281   else
   7282     lt_cv_sys_global_symbol_pipe=
   7283   fi
   7284 done
   7285 
   7286 fi
   7287 
   7288 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7289   lt_cv_sys_global_symbol_to_cdecl=
   7290 fi
   7291 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7293 $as_echo "failed" >&6; }
   7294 else
   7295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7296 $as_echo "ok" >&6; }
   7297 fi
   7298 
   7299 # Response file support.
   7300 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7301   nm_file_list_spec='@'
   7302 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7303   nm_file_list_spec='@'
   7304 fi
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7333 $as_echo_n "checking for sysroot... " >&6; }
   7334 
   7335 # Check whether --with-sysroot was given.
   7336 if test "${with_sysroot+set}" = set; then :
   7337   withval=$with_sysroot;
   7338 else
   7339   with_sysroot=no
   7340 fi
   7341 
   7342 
   7343 lt_sysroot=
   7344 case ${with_sysroot} in #(
   7345  yes)
   7346    if test "$GCC" = yes; then
   7347      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7348    fi
   7349    ;; #(
   7350  /*)
   7351    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7352    ;; #(
   7353  no|'')
   7354    ;; #(
   7355  *)
   7356    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   7357 $as_echo "${with_sysroot}" >&6; }
   7358    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7359    ;;
   7360 esac
   7361 
   7362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7363 $as_echo "${lt_sysroot:-no}" >&6; }
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 # Check whether --enable-libtool-lock was given.
   7370 if test "${enable_libtool_lock+set}" = set; then :
   7371   enableval=$enable_libtool_lock;
   7372 fi
   7373 
   7374 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7375 
   7376 # Some flags need to be propagated to the compiler or linker for good
   7377 # libtool support.
   7378 case $host in
   7379 ia64-*-hpux*)
   7380   # Find out which ABI we are using.
   7381   echo 'int i;' > conftest.$ac_ext
   7382   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7383   (eval $ac_compile) 2>&5
   7384   ac_status=$?
   7385   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7386   test $ac_status = 0; }; then
   7387     case `/usr/bin/file conftest.$ac_objext` in
   7388       *ELF-32*)
   7389 	HPUX_IA64_MODE="32"
   7390 	;;
   7391       *ELF-64*)
   7392 	HPUX_IA64_MODE="64"
   7393 	;;
   7394     esac
   7395   fi
   7396   rm -rf conftest*
   7397   ;;
   7398 *-*-irix6*)
   7399   # Find out which ABI we are using.
   7400   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7401   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7402   (eval $ac_compile) 2>&5
   7403   ac_status=$?
   7404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7405   test $ac_status = 0; }; then
   7406     if test "$lt_cv_prog_gnu_ld" = yes; then
   7407       case `/usr/bin/file conftest.$ac_objext` in
   7408 	*32-bit*)
   7409 	  LD="${LD-ld} -melf32bsmip"
   7410 	  ;;
   7411 	*N32*)
   7412 	  LD="${LD-ld} -melf32bmipn32"
   7413 	  ;;
   7414 	*64-bit*)
   7415 	  LD="${LD-ld} -melf64bmip"
   7416 	;;
   7417       esac
   7418     else
   7419       case `/usr/bin/file conftest.$ac_objext` in
   7420 	*32-bit*)
   7421 	  LD="${LD-ld} -32"
   7422 	  ;;
   7423 	*N32*)
   7424 	  LD="${LD-ld} -n32"
   7425 	  ;;
   7426 	*64-bit*)
   7427 	  LD="${LD-ld} -64"
   7428 	  ;;
   7429       esac
   7430     fi
   7431   fi
   7432   rm -rf conftest*
   7433   ;;
   7434 
   7435 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7436 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7437   # Find out which ABI we are using.
   7438   echo 'int i;' > conftest.$ac_ext
   7439   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7440   (eval $ac_compile) 2>&5
   7441   ac_status=$?
   7442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7443   test $ac_status = 0; }; then
   7444     case `/usr/bin/file conftest.o` in
   7445       *32-bit*)
   7446 	case $host in
   7447 	  x86_64-*kfreebsd*-gnu)
   7448 	    LD="${LD-ld} -m elf_i386_fbsd"
   7449 	    ;;
   7450 	  x86_64-*linux*)
   7451 	    LD="${LD-ld} -m elf_i386"
   7452 	    ;;
   7453 	  ppc64-*linux*|powerpc64-*linux*)
   7454 	    LD="${LD-ld} -m elf32ppclinux"
   7455 	    ;;
   7456 	  s390x-*linux*)
   7457 	    LD="${LD-ld} -m elf_s390"
   7458 	    ;;
   7459 	  sparc64-*linux*)
   7460 	    LD="${LD-ld} -m elf32_sparc"
   7461 	    ;;
   7462 	esac
   7463 	;;
   7464       *64-bit*)
   7465 	case $host in
   7466 	  x86_64-*kfreebsd*-gnu)
   7467 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7468 	    ;;
   7469 	  x86_64-*linux*)
   7470 	    LD="${LD-ld} -m elf_x86_64"
   7471 	    ;;
   7472 	  ppc*-*linux*|powerpc*-*linux*)
   7473 	    LD="${LD-ld} -m elf64ppc"
   7474 	    ;;
   7475 	  s390*-*linux*|s390*-*tpf*)
   7476 	    LD="${LD-ld} -m elf64_s390"
   7477 	    ;;
   7478 	  sparc*-*linux*)
   7479 	    LD="${LD-ld} -m elf64_sparc"
   7480 	    ;;
   7481 	esac
   7482 	;;
   7483     esac
   7484   fi
   7485   rm -rf conftest*
   7486   ;;
   7487 
   7488 *-*-sco3.2v5*)
   7489   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7490   SAVE_CFLAGS="$CFLAGS"
   7491   CFLAGS="$CFLAGS -belf"
   7492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7493 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7494 if ${lt_cv_cc_needs_belf+:} false; then :
   7495   $as_echo_n "(cached) " >&6
   7496 else
   7497   ac_ext=c
   7498 ac_cpp='$CPP $CPPFLAGS'
   7499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7502 
   7503      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7504 /* end confdefs.h.  */
   7505 
   7506 int
   7507 main ()
   7508 {
   7509 
   7510   ;
   7511   return 0;
   7512 }
   7513 _ACEOF
   7514 if ac_fn_c_try_link "$LINENO"; then :
   7515   lt_cv_cc_needs_belf=yes
   7516 else
   7517   lt_cv_cc_needs_belf=no
   7518 fi
   7519 rm -f core conftest.err conftest.$ac_objext \
   7520     conftest$ac_exeext conftest.$ac_ext
   7521      ac_ext=c
   7522 ac_cpp='$CPP $CPPFLAGS'
   7523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7526 
   7527 fi
   7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7529 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7530   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7531     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7532     CFLAGS="$SAVE_CFLAGS"
   7533   fi
   7534   ;;
   7535 *-*solaris*)
   7536   # Find out which ABI we are using.
   7537   echo 'int i;' > conftest.$ac_ext
   7538   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7539   (eval $ac_compile) 2>&5
   7540   ac_status=$?
   7541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7542   test $ac_status = 0; }; then
   7543     case `/usr/bin/file conftest.o` in
   7544     *64-bit*)
   7545       case $lt_cv_prog_gnu_ld in
   7546       yes*)
   7547         case $host in
   7548         i?86-*-solaris*)
   7549           LD="${LD-ld} -m elf_x86_64"
   7550           ;;
   7551         sparc*-*-solaris*)
   7552           LD="${LD-ld} -m elf64_sparc"
   7553           ;;
   7554         esac
   7555         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7556         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7557           LD="${LD-ld}_sol2"
   7558         fi
   7559         ;;
   7560       *)
   7561 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7562 	  LD="${LD-ld} -64"
   7563 	fi
   7564 	;;
   7565       esac
   7566       ;;
   7567     esac
   7568   fi
   7569   rm -rf conftest*
   7570   ;;
   7571 esac
   7572 
   7573 need_locks="$enable_libtool_lock"
   7574 
   7575 if test -n "$ac_tool_prefix"; then
   7576   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7577 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7579 $as_echo_n "checking for $ac_word... " >&6; }
   7580 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7581   $as_echo_n "(cached) " >&6
   7582 else
   7583   if test -n "$MANIFEST_TOOL"; then
   7584   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7585 else
   7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7587 for as_dir in $PATH
   7588 do
   7589   IFS=$as_save_IFS
   7590   test -z "$as_dir" && as_dir=.
   7591     for ac_exec_ext in '' $ac_executable_extensions; do
   7592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7593     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7595     break 2
   7596   fi
   7597 done
   7598   done
   7599 IFS=$as_save_IFS
   7600 
   7601 fi
   7602 fi
   7603 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7604 if test -n "$MANIFEST_TOOL"; then
   7605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7606 $as_echo "$MANIFEST_TOOL" >&6; }
   7607 else
   7608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7609 $as_echo "no" >&6; }
   7610 fi
   7611 
   7612 
   7613 fi
   7614 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7615   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7616   # Extract the first word of "mt", so it can be a program name with args.
   7617 set dummy mt; ac_word=$2
   7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7619 $as_echo_n "checking for $ac_word... " >&6; }
   7620 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7621   $as_echo_n "(cached) " >&6
   7622 else
   7623   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7624   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7625 else
   7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7627 for as_dir in $PATH
   7628 do
   7629   IFS=$as_save_IFS
   7630   test -z "$as_dir" && as_dir=.
   7631     for ac_exec_ext in '' $ac_executable_extensions; do
   7632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7633     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7635     break 2
   7636   fi
   7637 done
   7638   done
   7639 IFS=$as_save_IFS
   7640 
   7641 fi
   7642 fi
   7643 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7644 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7646 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7647 else
   7648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7649 $as_echo "no" >&6; }
   7650 fi
   7651 
   7652   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7653     MANIFEST_TOOL=":"
   7654   else
   7655     case $cross_compiling:$ac_tool_warned in
   7656 yes:)
   7657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7659 ac_tool_warned=yes ;;
   7660 esac
   7661     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7662   fi
   7663 else
   7664   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7665 fi
   7666 
   7667 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7669 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7670 if ${lt_cv_path_mainfest_tool+:} false; then :
   7671   $as_echo_n "(cached) " >&6
   7672 else
   7673   lt_cv_path_mainfest_tool=no
   7674   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7675   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7676   cat conftest.err >&5
   7677   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7678     lt_cv_path_mainfest_tool=yes
   7679   fi
   7680   rm -f conftest*
   7681 fi
   7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7683 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7684 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7685   MANIFEST_TOOL=:
   7686 fi
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693   case $host_os in
   7694     rhapsody* | darwin*)
   7695     if test -n "$ac_tool_prefix"; then
   7696   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7697 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7699 $as_echo_n "checking for $ac_word... " >&6; }
   7700 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7701   $as_echo_n "(cached) " >&6
   7702 else
   7703   if test -n "$DSYMUTIL"; then
   7704   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7705 else
   7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7707 for as_dir in $PATH
   7708 do
   7709   IFS=$as_save_IFS
   7710   test -z "$as_dir" && as_dir=.
   7711     for ac_exec_ext in '' $ac_executable_extensions; do
   7712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7713     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7715     break 2
   7716   fi
   7717 done
   7718   done
   7719 IFS=$as_save_IFS
   7720 
   7721 fi
   7722 fi
   7723 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7724 if test -n "$DSYMUTIL"; then
   7725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7726 $as_echo "$DSYMUTIL" >&6; }
   7727 else
   7728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7729 $as_echo "no" >&6; }
   7730 fi
   7731 
   7732 
   7733 fi
   7734 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7735   ac_ct_DSYMUTIL=$DSYMUTIL
   7736   # Extract the first word of "dsymutil", so it can be a program name with args.
   7737 set dummy dsymutil; ac_word=$2
   7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7739 $as_echo_n "checking for $ac_word... " >&6; }
   7740 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7741   $as_echo_n "(cached) " >&6
   7742 else
   7743   if test -n "$ac_ct_DSYMUTIL"; then
   7744   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7745 else
   7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7747 for as_dir in $PATH
   7748 do
   7749   IFS=$as_save_IFS
   7750   test -z "$as_dir" && as_dir=.
   7751     for ac_exec_ext in '' $ac_executable_extensions; do
   7752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7753     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7755     break 2
   7756   fi
   7757 done
   7758   done
   7759 IFS=$as_save_IFS
   7760 
   7761 fi
   7762 fi
   7763 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7764 if test -n "$ac_ct_DSYMUTIL"; then
   7765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7766 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7767 else
   7768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7769 $as_echo "no" >&6; }
   7770 fi
   7771 
   7772   if test "x$ac_ct_DSYMUTIL" = x; then
   7773     DSYMUTIL=":"
   7774   else
   7775     case $cross_compiling:$ac_tool_warned in
   7776 yes:)
   7777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7779 ac_tool_warned=yes ;;
   7780 esac
   7781     DSYMUTIL=$ac_ct_DSYMUTIL
   7782   fi
   7783 else
   7784   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7785 fi
   7786 
   7787     if test -n "$ac_tool_prefix"; then
   7788   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7789 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7791 $as_echo_n "checking for $ac_word... " >&6; }
   7792 if ${ac_cv_prog_NMEDIT+:} false; then :
   7793   $as_echo_n "(cached) " >&6
   7794 else
   7795   if test -n "$NMEDIT"; then
   7796   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7797 else
   7798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7799 for as_dir in $PATH
   7800 do
   7801   IFS=$as_save_IFS
   7802   test -z "$as_dir" && as_dir=.
   7803     for ac_exec_ext in '' $ac_executable_extensions; do
   7804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7805     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7807     break 2
   7808   fi
   7809 done
   7810   done
   7811 IFS=$as_save_IFS
   7812 
   7813 fi
   7814 fi
   7815 NMEDIT=$ac_cv_prog_NMEDIT
   7816 if test -n "$NMEDIT"; then
   7817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7818 $as_echo "$NMEDIT" >&6; }
   7819 else
   7820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7821 $as_echo "no" >&6; }
   7822 fi
   7823 
   7824 
   7825 fi
   7826 if test -z "$ac_cv_prog_NMEDIT"; then
   7827   ac_ct_NMEDIT=$NMEDIT
   7828   # Extract the first word of "nmedit", so it can be a program name with args.
   7829 set dummy nmedit; ac_word=$2
   7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7831 $as_echo_n "checking for $ac_word... " >&6; }
   7832 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7833   $as_echo_n "(cached) " >&6
   7834 else
   7835   if test -n "$ac_ct_NMEDIT"; then
   7836   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7837 else
   7838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7839 for as_dir in $PATH
   7840 do
   7841   IFS=$as_save_IFS
   7842   test -z "$as_dir" && as_dir=.
   7843     for ac_exec_ext in '' $ac_executable_extensions; do
   7844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7845     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7847     break 2
   7848   fi
   7849 done
   7850   done
   7851 IFS=$as_save_IFS
   7852 
   7853 fi
   7854 fi
   7855 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7856 if test -n "$ac_ct_NMEDIT"; then
   7857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7858 $as_echo "$ac_ct_NMEDIT" >&6; }
   7859 else
   7860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7861 $as_echo "no" >&6; }
   7862 fi
   7863 
   7864   if test "x$ac_ct_NMEDIT" = x; then
   7865     NMEDIT=":"
   7866   else
   7867     case $cross_compiling:$ac_tool_warned in
   7868 yes:)
   7869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7871 ac_tool_warned=yes ;;
   7872 esac
   7873     NMEDIT=$ac_ct_NMEDIT
   7874   fi
   7875 else
   7876   NMEDIT="$ac_cv_prog_NMEDIT"
   7877 fi
   7878 
   7879     if test -n "$ac_tool_prefix"; then
   7880   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7881 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7883 $as_echo_n "checking for $ac_word... " >&6; }
   7884 if ${ac_cv_prog_LIPO+:} false; then :
   7885   $as_echo_n "(cached) " >&6
   7886 else
   7887   if test -n "$LIPO"; then
   7888   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7889 else
   7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7891 for as_dir in $PATH
   7892 do
   7893   IFS=$as_save_IFS
   7894   test -z "$as_dir" && as_dir=.
   7895     for ac_exec_ext in '' $ac_executable_extensions; do
   7896   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7897     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7898     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7899     break 2
   7900   fi
   7901 done
   7902   done
   7903 IFS=$as_save_IFS
   7904 
   7905 fi
   7906 fi
   7907 LIPO=$ac_cv_prog_LIPO
   7908 if test -n "$LIPO"; then
   7909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7910 $as_echo "$LIPO" >&6; }
   7911 else
   7912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7913 $as_echo "no" >&6; }
   7914 fi
   7915 
   7916 
   7917 fi
   7918 if test -z "$ac_cv_prog_LIPO"; then
   7919   ac_ct_LIPO=$LIPO
   7920   # Extract the first word of "lipo", so it can be a program name with args.
   7921 set dummy lipo; ac_word=$2
   7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7923 $as_echo_n "checking for $ac_word... " >&6; }
   7924 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   if test -n "$ac_ct_LIPO"; then
   7928   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7929 else
   7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7931 for as_dir in $PATH
   7932 do
   7933   IFS=$as_save_IFS
   7934   test -z "$as_dir" && as_dir=.
   7935     for ac_exec_ext in '' $ac_executable_extensions; do
   7936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7937     ac_cv_prog_ac_ct_LIPO="lipo"
   7938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7939     break 2
   7940   fi
   7941 done
   7942   done
   7943 IFS=$as_save_IFS
   7944 
   7945 fi
   7946 fi
   7947 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7948 if test -n "$ac_ct_LIPO"; then
   7949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7950 $as_echo "$ac_ct_LIPO" >&6; }
   7951 else
   7952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7953 $as_echo "no" >&6; }
   7954 fi
   7955 
   7956   if test "x$ac_ct_LIPO" = x; then
   7957     LIPO=":"
   7958   else
   7959     case $cross_compiling:$ac_tool_warned in
   7960 yes:)
   7961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7963 ac_tool_warned=yes ;;
   7964 esac
   7965     LIPO=$ac_ct_LIPO
   7966   fi
   7967 else
   7968   LIPO="$ac_cv_prog_LIPO"
   7969 fi
   7970 
   7971     if test -n "$ac_tool_prefix"; then
   7972   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7973 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7975 $as_echo_n "checking for $ac_word... " >&6; }
   7976 if ${ac_cv_prog_OTOOL+:} false; then :
   7977   $as_echo_n "(cached) " >&6
   7978 else
   7979   if test -n "$OTOOL"; then
   7980   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7981 else
   7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7983 for as_dir in $PATH
   7984 do
   7985   IFS=$as_save_IFS
   7986   test -z "$as_dir" && as_dir=.
   7987     for ac_exec_ext in '' $ac_executable_extensions; do
   7988   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7989     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7991     break 2
   7992   fi
   7993 done
   7994   done
   7995 IFS=$as_save_IFS
   7996 
   7997 fi
   7998 fi
   7999 OTOOL=$ac_cv_prog_OTOOL
   8000 if test -n "$OTOOL"; then
   8001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8002 $as_echo "$OTOOL" >&6; }
   8003 else
   8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8005 $as_echo "no" >&6; }
   8006 fi
   8007 
   8008 
   8009 fi
   8010 if test -z "$ac_cv_prog_OTOOL"; then
   8011   ac_ct_OTOOL=$OTOOL
   8012   # Extract the first word of "otool", so it can be a program name with args.
   8013 set dummy otool; ac_word=$2
   8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8015 $as_echo_n "checking for $ac_word... " >&6; }
   8016 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8017   $as_echo_n "(cached) " >&6
   8018 else
   8019   if test -n "$ac_ct_OTOOL"; then
   8020   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8021 else
   8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8023 for as_dir in $PATH
   8024 do
   8025   IFS=$as_save_IFS
   8026   test -z "$as_dir" && as_dir=.
   8027     for ac_exec_ext in '' $ac_executable_extensions; do
   8028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8029     ac_cv_prog_ac_ct_OTOOL="otool"
   8030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8031     break 2
   8032   fi
   8033 done
   8034   done
   8035 IFS=$as_save_IFS
   8036 
   8037 fi
   8038 fi
   8039 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8040 if test -n "$ac_ct_OTOOL"; then
   8041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8042 $as_echo "$ac_ct_OTOOL" >&6; }
   8043 else
   8044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8045 $as_echo "no" >&6; }
   8046 fi
   8047 
   8048   if test "x$ac_ct_OTOOL" = x; then
   8049     OTOOL=":"
   8050   else
   8051     case $cross_compiling:$ac_tool_warned in
   8052 yes:)
   8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8055 ac_tool_warned=yes ;;
   8056 esac
   8057     OTOOL=$ac_ct_OTOOL
   8058   fi
   8059 else
   8060   OTOOL="$ac_cv_prog_OTOOL"
   8061 fi
   8062 
   8063     if test -n "$ac_tool_prefix"; then
   8064   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8065 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8067 $as_echo_n "checking for $ac_word... " >&6; }
   8068 if ${ac_cv_prog_OTOOL64+:} false; then :
   8069   $as_echo_n "(cached) " >&6
   8070 else
   8071   if test -n "$OTOOL64"; then
   8072   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8073 else
   8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8075 for as_dir in $PATH
   8076 do
   8077   IFS=$as_save_IFS
   8078   test -z "$as_dir" && as_dir=.
   8079     for ac_exec_ext in '' $ac_executable_extensions; do
   8080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8081     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8083     break 2
   8084   fi
   8085 done
   8086   done
   8087 IFS=$as_save_IFS
   8088 
   8089 fi
   8090 fi
   8091 OTOOL64=$ac_cv_prog_OTOOL64
   8092 if test -n "$OTOOL64"; then
   8093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8094 $as_echo "$OTOOL64" >&6; }
   8095 else
   8096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8097 $as_echo "no" >&6; }
   8098 fi
   8099 
   8100 
   8101 fi
   8102 if test -z "$ac_cv_prog_OTOOL64"; then
   8103   ac_ct_OTOOL64=$OTOOL64
   8104   # Extract the first word of "otool64", so it can be a program name with args.
   8105 set dummy otool64; ac_word=$2
   8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8107 $as_echo_n "checking for $ac_word... " >&6; }
   8108 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8109   $as_echo_n "(cached) " >&6
   8110 else
   8111   if test -n "$ac_ct_OTOOL64"; then
   8112   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8113 else
   8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8115 for as_dir in $PATH
   8116 do
   8117   IFS=$as_save_IFS
   8118   test -z "$as_dir" && as_dir=.
   8119     for ac_exec_ext in '' $ac_executable_extensions; do
   8120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8121     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8123     break 2
   8124   fi
   8125 done
   8126   done
   8127 IFS=$as_save_IFS
   8128 
   8129 fi
   8130 fi
   8131 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8132 if test -n "$ac_ct_OTOOL64"; then
   8133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8134 $as_echo "$ac_ct_OTOOL64" >&6; }
   8135 else
   8136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8137 $as_echo "no" >&6; }
   8138 fi
   8139 
   8140   if test "x$ac_ct_OTOOL64" = x; then
   8141     OTOOL64=":"
   8142   else
   8143     case $cross_compiling:$ac_tool_warned in
   8144 yes:)
   8145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8147 ac_tool_warned=yes ;;
   8148 esac
   8149     OTOOL64=$ac_ct_OTOOL64
   8150   fi
   8151 else
   8152   OTOOL64="$ac_cv_prog_OTOOL64"
   8153 fi
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8182 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8183 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8184   $as_echo_n "(cached) " >&6
   8185 else
   8186   lt_cv_apple_cc_single_mod=no
   8187       if test -z "${LT_MULTI_MODULE}"; then
   8188 	# By default we will add the -single_module flag. You can override
   8189 	# by either setting the environment variable LT_MULTI_MODULE
   8190 	# non-empty at configure time, or by adding -multi_module to the
   8191 	# link flags.
   8192 	rm -rf libconftest.dylib*
   8193 	echo "int foo(void){return 1;}" > conftest.c
   8194 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8195 -dynamiclib -Wl,-single_module conftest.c" >&5
   8196 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8197 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8198         _lt_result=$?
   8199 	# If there is a non-empty error log, and "single_module"
   8200 	# appears in it, assume the flag caused a linker warning
   8201         if test -s conftest.err && $GREP single_module conftest.err; then
   8202 	  cat conftest.err >&5
   8203 	# Otherwise, if the output was created with a 0 exit code from
   8204 	# the compiler, it worked.
   8205 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   8206 	  lt_cv_apple_cc_single_mod=yes
   8207 	else
   8208 	  cat conftest.err >&5
   8209 	fi
   8210 	rm -rf libconftest.dylib*
   8211 	rm -f conftest.*
   8212       fi
   8213 fi
   8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8215 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8216 
   8217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8218 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8219 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8220   $as_echo_n "(cached) " >&6
   8221 else
   8222   lt_cv_ld_exported_symbols_list=no
   8223       save_LDFLAGS=$LDFLAGS
   8224       echo "_main" > conftest.sym
   8225       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8227 /* end confdefs.h.  */
   8228 
   8229 int
   8230 main ()
   8231 {
   8232 
   8233   ;
   8234   return 0;
   8235 }
   8236 _ACEOF
   8237 if ac_fn_c_try_link "$LINENO"; then :
   8238   lt_cv_ld_exported_symbols_list=yes
   8239 else
   8240   lt_cv_ld_exported_symbols_list=no
   8241 fi
   8242 rm -f core conftest.err conftest.$ac_objext \
   8243     conftest$ac_exeext conftest.$ac_ext
   8244 	LDFLAGS="$save_LDFLAGS"
   8245 
   8246 fi
   8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8248 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8249 
   8250     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8251 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8252 if ${lt_cv_ld_force_load+:} false; then :
   8253   $as_echo_n "(cached) " >&6
   8254 else
   8255   lt_cv_ld_force_load=no
   8256       cat > conftest.c << _LT_EOF
   8257 int forced_loaded() { return 2;}
   8258 _LT_EOF
   8259       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8260       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8261       echo "$AR cru libconftest.a conftest.o" >&5
   8262       $AR cru libconftest.a conftest.o 2>&5
   8263       echo "$RANLIB libconftest.a" >&5
   8264       $RANLIB libconftest.a 2>&5
   8265       cat > conftest.c << _LT_EOF
   8266 int main() { return 0;}
   8267 _LT_EOF
   8268       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8269       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8270       _lt_result=$?
   8271       if test -s conftest.err && $GREP force_load conftest.err; then
   8272 	cat conftest.err >&5
   8273       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   8274 	lt_cv_ld_force_load=yes
   8275       else
   8276 	cat conftest.err >&5
   8277       fi
   8278         rm -f conftest.err libconftest.a conftest conftest.c
   8279         rm -rf conftest.dSYM
   8280 
   8281 fi
   8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8283 $as_echo "$lt_cv_ld_force_load" >&6; }
   8284     case $host_os in
   8285     rhapsody* | darwin1.[012])
   8286       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8287     darwin1.*)
   8288       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8289     darwin*) # darwin 5.x on
   8290       # if running on 10.5 or later, the deployment target defaults
   8291       # to the OS version, if on x86, and 10.4, the deployment
   8292       # target defaults to 10.4. Don't you love it?
   8293       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8294 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8295 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8296 	10.[012]*)
   8297 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8298 	10.*)
   8299 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8300       esac
   8301     ;;
   8302   esac
   8303     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8304       _lt_dar_single_mod='$single_module'
   8305     fi
   8306     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8307       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8308     else
   8309       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8310     fi
   8311     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8312       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8313     else
   8314       _lt_dsymutil=
   8315     fi
   8316     ;;
   8317   esac
   8318 
   8319 for ac_header in dlfcn.h
   8320 do :
   8321   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8322 "
   8323 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8324   cat >>confdefs.h <<_ACEOF
   8325 #define HAVE_DLFCN_H 1
   8326 _ACEOF
   8327 
   8328 fi
   8329 
   8330 done
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 # Set options
   8337 
   8338 
   8339 
   8340         enable_dlopen=no
   8341 
   8342 
   8343 
   8344             # Check whether --enable-shared was given.
   8345 if test "${enable_shared+set}" = set; then :
   8346   enableval=$enable_shared; p=${PACKAGE-default}
   8347     case $enableval in
   8348     yes) enable_shared=yes ;;
   8349     no) enable_shared=no ;;
   8350     *)
   8351       enable_shared=no
   8352       # Look at the argument we got.  We use all the common list separators.
   8353       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8354       for pkg in $enableval; do
   8355 	IFS="$lt_save_ifs"
   8356 	if test "X$pkg" = "X$p"; then
   8357 	  enable_shared=yes
   8358 	fi
   8359       done
   8360       IFS="$lt_save_ifs"
   8361       ;;
   8362     esac
   8363 else
   8364   enable_shared=yes
   8365 fi
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375   # Check whether --enable-static was given.
   8376 if test "${enable_static+set}" = set; then :
   8377   enableval=$enable_static; p=${PACKAGE-default}
   8378     case $enableval in
   8379     yes) enable_static=yes ;;
   8380     no) enable_static=no ;;
   8381     *)
   8382      enable_static=no
   8383       # Look at the argument we got.  We use all the common list separators.
   8384       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8385       for pkg in $enableval; do
   8386 	IFS="$lt_save_ifs"
   8387 	if test "X$pkg" = "X$p"; then
   8388 	  enable_static=yes
   8389 	fi
   8390       done
   8391       IFS="$lt_save_ifs"
   8392       ;;
   8393     esac
   8394 else
   8395   enable_static=yes
   8396 fi
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 # Check whether --with-pic was given.
   8408 if test "${with_pic+set}" = set; then :
   8409   withval=$with_pic; lt_p=${PACKAGE-default}
   8410     case $withval in
   8411     yes|no) pic_mode=$withval ;;
   8412     *)
   8413       pic_mode=default
   8414       # Look at the argument we got.  We use all the common list separators.
   8415       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8416       for lt_pkg in $withval; do
   8417 	IFS="$lt_save_ifs"
   8418 	if test "X$lt_pkg" = "X$lt_p"; then
   8419 	  pic_mode=yes
   8420 	fi
   8421       done
   8422       IFS="$lt_save_ifs"
   8423       ;;
   8424     esac
   8425 else
   8426   pic_mode=default
   8427 fi
   8428 
   8429 
   8430 test -z "$pic_mode" && pic_mode=default
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438   # Check whether --enable-fast-install was given.
   8439 if test "${enable_fast_install+set}" = set; then :
   8440   enableval=$enable_fast_install; p=${PACKAGE-default}
   8441     case $enableval in
   8442     yes) enable_fast_install=yes ;;
   8443     no) enable_fast_install=no ;;
   8444     *)
   8445       enable_fast_install=no
   8446       # Look at the argument we got.  We use all the common list separators.
   8447       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8448       for pkg in $enableval; do
   8449 	IFS="$lt_save_ifs"
   8450 	if test "X$pkg" = "X$p"; then
   8451 	  enable_fast_install=yes
   8452 	fi
   8453       done
   8454       IFS="$lt_save_ifs"
   8455       ;;
   8456     esac
   8457 else
   8458   enable_fast_install=yes
   8459 fi
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 # This can be used to rebuild libtool when needed
   8472 LIBTOOL_DEPS="$ltmain"
   8473 
   8474 # Always use our own libtool.
   8475 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 test -z "$LN_S" && LN_S="ln -s"
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 if test -n "${ZSH_VERSION+set}" ; then
   8522    setopt NO_GLOB_SUBST
   8523 fi
   8524 
   8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8526 $as_echo_n "checking for objdir... " >&6; }
   8527 if ${lt_cv_objdir+:} false; then :
   8528   $as_echo_n "(cached) " >&6
   8529 else
   8530   rm -f .libs 2>/dev/null
   8531 mkdir .libs 2>/dev/null
   8532 if test -d .libs; then
   8533   lt_cv_objdir=.libs
   8534 else
   8535   # MS-DOS does not allow filenames that begin with a dot.
   8536   lt_cv_objdir=_libs
   8537 fi
   8538 rmdir .libs 2>/dev/null
   8539 fi
   8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8541 $as_echo "$lt_cv_objdir" >&6; }
   8542 objdir=$lt_cv_objdir
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 cat >>confdefs.h <<_ACEOF
   8549 #define LT_OBJDIR "$lt_cv_objdir/"
   8550 _ACEOF
   8551 
   8552 
   8553 
   8554 
   8555 case $host_os in
   8556 aix3*)
   8557   # AIX sometimes has problems with the GCC collect2 program.  For some
   8558   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8559   # vanish in a puff of smoke.
   8560   if test "X${COLLECT_NAMES+set}" != Xset; then
   8561     COLLECT_NAMES=
   8562     export COLLECT_NAMES
   8563   fi
   8564   ;;
   8565 esac
   8566 
   8567 # Global variables:
   8568 ofile=libtool
   8569 can_build_shared=yes
   8570 
   8571 # All known linkers require a `.a' archive for static linking (except MSVC,
   8572 # which needs '.lib').
   8573 libext=a
   8574 
   8575 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8576 
   8577 old_CC="$CC"
   8578 old_CFLAGS="$CFLAGS"
   8579 
   8580 # Set sane defaults for various variables
   8581 test -z "$CC" && CC=cc
   8582 test -z "$LTCC" && LTCC=$CC
   8583 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8584 test -z "$LD" && LD=ld
   8585 test -z "$ac_objext" && ac_objext=o
   8586 
   8587 for cc_temp in $compiler""; do
   8588   case $cc_temp in
   8589     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8590     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8591     \-*) ;;
   8592     *) break;;
   8593   esac
   8594 done
   8595 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8596 
   8597 
   8598 # Only perform the check for file, if the check method requires it
   8599 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8600 case $deplibs_check_method in
   8601 file_magic*)
   8602   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8603     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8604 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8605 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8606   $as_echo_n "(cached) " >&6
   8607 else
   8608   case $MAGIC_CMD in
   8609 [\\/*] |  ?:[\\/]*)
   8610   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8611   ;;
   8612 *)
   8613   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8614   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8615   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8616   for ac_dir in $ac_dummy; do
   8617     IFS="$lt_save_ifs"
   8618     test -z "$ac_dir" && ac_dir=.
   8619     if test -f $ac_dir/${ac_tool_prefix}file; then
   8620       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8621       if test -n "$file_magic_test_file"; then
   8622 	case $deplibs_check_method in
   8623 	"file_magic "*)
   8624 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8625 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8626 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8627 	    $EGREP "$file_magic_regex" > /dev/null; then
   8628 	    :
   8629 	  else
   8630 	    cat <<_LT_EOF 1>&2
   8631 
   8632 *** Warning: the command libtool uses to detect shared libraries,
   8633 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8634 *** The result is that libtool may fail to recognize shared libraries
   8635 *** as such.  This will affect the creation of libtool libraries that
   8636 *** depend on shared libraries, but programs linked with such libtool
   8637 *** libraries will work regardless of this problem.  Nevertheless, you
   8638 *** may want to report the problem to your system manager and/or to
   8639 *** bug-libtool@gnu.org
   8640 
   8641 _LT_EOF
   8642 	  fi ;;
   8643 	esac
   8644       fi
   8645       break
   8646     fi
   8647   done
   8648   IFS="$lt_save_ifs"
   8649   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8650   ;;
   8651 esac
   8652 fi
   8653 
   8654 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8655 if test -n "$MAGIC_CMD"; then
   8656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8657 $as_echo "$MAGIC_CMD" >&6; }
   8658 else
   8659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8660 $as_echo "no" >&6; }
   8661 fi
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8668   if test -n "$ac_tool_prefix"; then
   8669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8670 $as_echo_n "checking for file... " >&6; }
   8671 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8672   $as_echo_n "(cached) " >&6
   8673 else
   8674   case $MAGIC_CMD in
   8675 [\\/*] |  ?:[\\/]*)
   8676   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8677   ;;
   8678 *)
   8679   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8680   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8681   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8682   for ac_dir in $ac_dummy; do
   8683     IFS="$lt_save_ifs"
   8684     test -z "$ac_dir" && ac_dir=.
   8685     if test -f $ac_dir/file; then
   8686       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8687       if test -n "$file_magic_test_file"; then
   8688 	case $deplibs_check_method in
   8689 	"file_magic "*)
   8690 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8691 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8692 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8693 	    $EGREP "$file_magic_regex" > /dev/null; then
   8694 	    :
   8695 	  else
   8696 	    cat <<_LT_EOF 1>&2
   8697 
   8698 *** Warning: the command libtool uses to detect shared libraries,
   8699 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8700 *** The result is that libtool may fail to recognize shared libraries
   8701 *** as such.  This will affect the creation of libtool libraries that
   8702 *** depend on shared libraries, but programs linked with such libtool
   8703 *** libraries will work regardless of this problem.  Nevertheless, you
   8704 *** may want to report the problem to your system manager and/or to
   8705 *** bug-libtool@gnu.org
   8706 
   8707 _LT_EOF
   8708 	  fi ;;
   8709 	esac
   8710       fi
   8711       break
   8712     fi
   8713   done
   8714   IFS="$lt_save_ifs"
   8715   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8716   ;;
   8717 esac
   8718 fi
   8719 
   8720 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8721 if test -n "$MAGIC_CMD"; then
   8722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8723 $as_echo "$MAGIC_CMD" >&6; }
   8724 else
   8725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8726 $as_echo "no" >&6; }
   8727 fi
   8728 
   8729 
   8730   else
   8731     MAGIC_CMD=:
   8732   fi
   8733 fi
   8734 
   8735   fi
   8736   ;;
   8737 esac
   8738 
   8739 # Use C for the default configuration in the libtool script
   8740 
   8741 lt_save_CC="$CC"
   8742 ac_ext=c
   8743 ac_cpp='$CPP $CPPFLAGS'
   8744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8747 
   8748 
   8749 # Source file extension for C test sources.
   8750 ac_ext=c
   8751 
   8752 # Object file extension for compiled C test sources.
   8753 objext=o
   8754 objext=$objext
   8755 
   8756 # Code to be used in simple compile tests
   8757 lt_simple_compile_test_code="int some_variable = 0;"
   8758 
   8759 # Code to be used in simple link tests
   8760 lt_simple_link_test_code='int main(){return(0);}'
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 # If no C compiler was specified, use CC.
   8769 LTCC=${LTCC-"$CC"}
   8770 
   8771 # If no C compiler flags were specified, use CFLAGS.
   8772 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8773 
   8774 # Allow CC to be a program name with arguments.
   8775 compiler=$CC
   8776 
   8777 # Save the default compiler, since it gets overwritten when the other
   8778 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8779 compiler_DEFAULT=$CC
   8780 
   8781 # save warnings/boilerplate of simple test code
   8782 ac_outfile=conftest.$ac_objext
   8783 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8784 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8785 _lt_compiler_boilerplate=`cat conftest.err`
   8786 $RM conftest*
   8787 
   8788 ac_outfile=conftest.$ac_objext
   8789 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8790 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8791 _lt_linker_boilerplate=`cat conftest.err`
   8792 $RM -r conftest*
   8793 
   8794 
   8795 ## CAVEAT EMPTOR:
   8796 ## There is no encapsulation within the following macros, do not change
   8797 ## the running order or otherwise move them around unless you know exactly
   8798 ## what you are doing...
   8799 if test -n "$compiler"; then
   8800 
   8801 lt_prog_compiler_no_builtin_flag=
   8802 
   8803 if test "$GCC" = yes; then
   8804   case $cc_basename in
   8805   nvcc*)
   8806     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8807   *)
   8808     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8809   esac
   8810 
   8811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8812 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8813 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8814   $as_echo_n "(cached) " >&6
   8815 else
   8816   lt_cv_prog_compiler_rtti_exceptions=no
   8817    ac_outfile=conftest.$ac_objext
   8818    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8819    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8820    # Insert the option either (1) after the last *FLAGS variable, or
   8821    # (2) before a word containing "conftest.", or (3) at the end.
   8822    # Note that $ac_compile itself does not contain backslashes and begins
   8823    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8824    # The option is referenced via a variable to avoid confusing sed.
   8825    lt_compile=`echo "$ac_compile" | $SED \
   8826    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8827    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8828    -e 's:$: $lt_compiler_flag:'`
   8829    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8830    (eval "$lt_compile" 2>conftest.err)
   8831    ac_status=$?
   8832    cat conftest.err >&5
   8833    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8834    if (exit $ac_status) && test -s "$ac_outfile"; then
   8835      # The compiler can only warn and ignore the option if not recognized
   8836      # So say no if there are warnings other than the usual output.
   8837      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8838      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8839      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8840        lt_cv_prog_compiler_rtti_exceptions=yes
   8841      fi
   8842    fi
   8843    $RM conftest*
   8844 
   8845 fi
   8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8847 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8848 
   8849 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8850     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8851 else
   8852     :
   8853 fi
   8854 
   8855 fi
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862   lt_prog_compiler_wl=
   8863 lt_prog_compiler_pic=
   8864 lt_prog_compiler_static=
   8865 
   8866 
   8867   if test "$GCC" = yes; then
   8868     lt_prog_compiler_wl='-Wl,'
   8869     lt_prog_compiler_static='-static'
   8870 
   8871     case $host_os in
   8872       aix*)
   8873       # All AIX code is PIC.
   8874       if test "$host_cpu" = ia64; then
   8875 	# AIX 5 now supports IA64 processor
   8876 	lt_prog_compiler_static='-Bstatic'
   8877       fi
   8878       ;;
   8879 
   8880     amigaos*)
   8881       case $host_cpu in
   8882       powerpc)
   8883             # see comment about AmigaOS4 .so support
   8884             lt_prog_compiler_pic='-fPIC'
   8885         ;;
   8886       m68k)
   8887             # FIXME: we need at least 68020 code to build shared libraries, but
   8888             # adding the `-m68020' flag to GCC prevents building anything better,
   8889             # like `-m68040'.
   8890             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8891         ;;
   8892       esac
   8893       ;;
   8894 
   8895     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8896       # PIC is the default for these OSes.
   8897       ;;
   8898 
   8899     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8900       # This hack is so that the source file can tell whether it is being
   8901       # built for inclusion in a dll (and should export symbols for example).
   8902       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8903       # (--disable-auto-import) libraries
   8904       lt_prog_compiler_pic='-DDLL_EXPORT'
   8905       ;;
   8906 
   8907     darwin* | rhapsody*)
   8908       # PIC is the default on this platform
   8909       # Common symbols not allowed in MH_DYLIB files
   8910       lt_prog_compiler_pic='-fno-common'
   8911       ;;
   8912 
   8913     haiku*)
   8914       # PIC is the default for Haiku.
   8915       # The "-static" flag exists, but is broken.
   8916       lt_prog_compiler_static=
   8917       ;;
   8918 
   8919     hpux*)
   8920       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8921       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8922       # sets the default TLS model and affects inlining.
   8923       case $host_cpu in
   8924       hppa*64*)
   8925 	# +Z the default
   8926 	;;
   8927       *)
   8928 	lt_prog_compiler_pic='-fPIC'
   8929 	;;
   8930       esac
   8931       ;;
   8932 
   8933     interix[3-9]*)
   8934       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8935       # Instead, we relocate shared libraries at runtime.
   8936       ;;
   8937 
   8938     msdosdjgpp*)
   8939       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8940       # on systems that don't support them.
   8941       lt_prog_compiler_can_build_shared=no
   8942       enable_shared=no
   8943       ;;
   8944 
   8945     *nto* | *qnx*)
   8946       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8947       # it will coredump.
   8948       lt_prog_compiler_pic='-fPIC -shared'
   8949       ;;
   8950 
   8951     sysv4*MP*)
   8952       if test -d /usr/nec; then
   8953 	lt_prog_compiler_pic=-Kconform_pic
   8954       fi
   8955       ;;
   8956 
   8957     *)
   8958       lt_prog_compiler_pic='-fPIC'
   8959       ;;
   8960     esac
   8961 
   8962     case $cc_basename in
   8963     nvcc*) # Cuda Compiler Driver 2.2
   8964       lt_prog_compiler_wl='-Xlinker '
   8965       if test -n "$lt_prog_compiler_pic"; then
   8966         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8967       fi
   8968       ;;
   8969     esac
   8970   else
   8971     # PORTME Check for flag to pass linker flags through the system compiler.
   8972     case $host_os in
   8973     aix*)
   8974       lt_prog_compiler_wl='-Wl,'
   8975       if test "$host_cpu" = ia64; then
   8976 	# AIX 5 now supports IA64 processor
   8977 	lt_prog_compiler_static='-Bstatic'
   8978       else
   8979 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8980       fi
   8981       ;;
   8982 
   8983     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8984       # This hack is so that the source file can tell whether it is being
   8985       # built for inclusion in a dll (and should export symbols for example).
   8986       lt_prog_compiler_pic='-DDLL_EXPORT'
   8987       ;;
   8988 
   8989     hpux9* | hpux10* | hpux11*)
   8990       lt_prog_compiler_wl='-Wl,'
   8991       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8992       # not for PA HP-UX.
   8993       case $host_cpu in
   8994       hppa*64*|ia64*)
   8995 	# +Z the default
   8996 	;;
   8997       *)
   8998 	lt_prog_compiler_pic='+Z'
   8999 	;;
   9000       esac
   9001       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9002       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9003       ;;
   9004 
   9005     irix5* | irix6* | nonstopux*)
   9006       lt_prog_compiler_wl='-Wl,'
   9007       # PIC (with -KPIC) is the default.
   9008       lt_prog_compiler_static='-non_shared'
   9009       ;;
   9010 
   9011     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9012       case $cc_basename in
   9013       # old Intel for x86_64 which still supported -KPIC.
   9014       ecc*)
   9015 	lt_prog_compiler_wl='-Wl,'
   9016 	lt_prog_compiler_pic='-KPIC'
   9017 	lt_prog_compiler_static='-static'
   9018         ;;
   9019       # icc used to be incompatible with GCC.
   9020       # ICC 10 doesn't accept -KPIC any more.
   9021       icc* | ifort*)
   9022 	lt_prog_compiler_wl='-Wl,'
   9023 	lt_prog_compiler_pic='-fPIC'
   9024 	lt_prog_compiler_static='-static'
   9025         ;;
   9026       # Lahey Fortran 8.1.
   9027       lf95*)
   9028 	lt_prog_compiler_wl='-Wl,'
   9029 	lt_prog_compiler_pic='--shared'
   9030 	lt_prog_compiler_static='--static'
   9031 	;;
   9032       nagfor*)
   9033 	# NAG Fortran compiler
   9034 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9035 	lt_prog_compiler_pic='-PIC'
   9036 	lt_prog_compiler_static='-Bstatic'
   9037 	;;
   9038       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9039         # Portland Group compilers (*not* the Pentium gcc compiler,
   9040 	# which looks to be a dead project)
   9041 	lt_prog_compiler_wl='-Wl,'
   9042 	lt_prog_compiler_pic='-fpic'
   9043 	lt_prog_compiler_static='-Bstatic'
   9044         ;;
   9045       ccc*)
   9046         lt_prog_compiler_wl='-Wl,'
   9047         # All Alpha code is PIC.
   9048         lt_prog_compiler_static='-non_shared'
   9049         ;;
   9050       xl* | bgxl* | bgf* | mpixl*)
   9051 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9052 	lt_prog_compiler_wl='-Wl,'
   9053 	lt_prog_compiler_pic='-qpic'
   9054 	lt_prog_compiler_static='-qstaticlink'
   9055 	;;
   9056       *)
   9057 	case `$CC -V 2>&1 | sed 5q` in
   9058 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9059 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9060 	  lt_prog_compiler_pic='-KPIC'
   9061 	  lt_prog_compiler_static='-Bstatic'
   9062 	  lt_prog_compiler_wl=''
   9063 	  ;;
   9064 	*Sun\ F* | *Sun*Fortran*)
   9065 	  lt_prog_compiler_pic='-KPIC'
   9066 	  lt_prog_compiler_static='-Bstatic'
   9067 	  lt_prog_compiler_wl='-Qoption ld '
   9068 	  ;;
   9069 	*Sun\ C*)
   9070 	  # Sun C 5.9
   9071 	  lt_prog_compiler_pic='-KPIC'
   9072 	  lt_prog_compiler_static='-Bstatic'
   9073 	  lt_prog_compiler_wl='-Wl,'
   9074 	  ;;
   9075         *Intel*\ [CF]*Compiler*)
   9076 	  lt_prog_compiler_wl='-Wl,'
   9077 	  lt_prog_compiler_pic='-fPIC'
   9078 	  lt_prog_compiler_static='-static'
   9079 	  ;;
   9080 	*Portland\ Group*)
   9081 	  lt_prog_compiler_wl='-Wl,'
   9082 	  lt_prog_compiler_pic='-fpic'
   9083 	  lt_prog_compiler_static='-Bstatic'
   9084 	  ;;
   9085 	esac
   9086 	;;
   9087       esac
   9088       ;;
   9089 
   9090     newsos6)
   9091       lt_prog_compiler_pic='-KPIC'
   9092       lt_prog_compiler_static='-Bstatic'
   9093       ;;
   9094 
   9095     *nto* | *qnx*)
   9096       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9097       # it will coredump.
   9098       lt_prog_compiler_pic='-fPIC -shared'
   9099       ;;
   9100 
   9101     osf3* | osf4* | osf5*)
   9102       lt_prog_compiler_wl='-Wl,'
   9103       # All OSF/1 code is PIC.
   9104       lt_prog_compiler_static='-non_shared'
   9105       ;;
   9106 
   9107     rdos*)
   9108       lt_prog_compiler_static='-non_shared'
   9109       ;;
   9110 
   9111     solaris*)
   9112       lt_prog_compiler_pic='-KPIC'
   9113       lt_prog_compiler_static='-Bstatic'
   9114       case $cc_basename in
   9115       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9116 	lt_prog_compiler_wl='-Qoption ld ';;
   9117       *)
   9118 	lt_prog_compiler_wl='-Wl,';;
   9119       esac
   9120       ;;
   9121 
   9122     sunos4*)
   9123       lt_prog_compiler_wl='-Qoption ld '
   9124       lt_prog_compiler_pic='-PIC'
   9125       lt_prog_compiler_static='-Bstatic'
   9126       ;;
   9127 
   9128     sysv4 | sysv4.2uw2* | sysv4.3*)
   9129       lt_prog_compiler_wl='-Wl,'
   9130       lt_prog_compiler_pic='-KPIC'
   9131       lt_prog_compiler_static='-Bstatic'
   9132       ;;
   9133 
   9134     sysv4*MP*)
   9135       if test -d /usr/nec ;then
   9136 	lt_prog_compiler_pic='-Kconform_pic'
   9137 	lt_prog_compiler_static='-Bstatic'
   9138       fi
   9139       ;;
   9140 
   9141     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9142       lt_prog_compiler_wl='-Wl,'
   9143       lt_prog_compiler_pic='-KPIC'
   9144       lt_prog_compiler_static='-Bstatic'
   9145       ;;
   9146 
   9147     unicos*)
   9148       lt_prog_compiler_wl='-Wl,'
   9149       lt_prog_compiler_can_build_shared=no
   9150       ;;
   9151 
   9152     uts4*)
   9153       lt_prog_compiler_pic='-pic'
   9154       lt_prog_compiler_static='-Bstatic'
   9155       ;;
   9156 
   9157     *)
   9158       lt_prog_compiler_can_build_shared=no
   9159       ;;
   9160     esac
   9161   fi
   9162 
   9163 case $host_os in
   9164   # For platforms which do not support PIC, -DPIC is meaningless:
   9165   *djgpp*)
   9166     lt_prog_compiler_pic=
   9167     ;;
   9168   *)
   9169     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9170     ;;
   9171 esac
   9172 
   9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9174 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9175 if ${lt_cv_prog_compiler_pic+:} false; then :
   9176   $as_echo_n "(cached) " >&6
   9177 else
   9178   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9179 fi
   9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9181 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9182 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9183 
   9184 #
   9185 # Check to make sure the PIC flag actually works.
   9186 #
   9187 if test -n "$lt_prog_compiler_pic"; then
   9188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9189 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9190 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9191   $as_echo_n "(cached) " >&6
   9192 else
   9193   lt_cv_prog_compiler_pic_works=no
   9194    ac_outfile=conftest.$ac_objext
   9195    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9196    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9197    # Insert the option either (1) after the last *FLAGS variable, or
   9198    # (2) before a word containing "conftest.", or (3) at the end.
   9199    # Note that $ac_compile itself does not contain backslashes and begins
   9200    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9201    # The option is referenced via a variable to avoid confusing sed.
   9202    lt_compile=`echo "$ac_compile" | $SED \
   9203    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9204    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9205    -e 's:$: $lt_compiler_flag:'`
   9206    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9207    (eval "$lt_compile" 2>conftest.err)
   9208    ac_status=$?
   9209    cat conftest.err >&5
   9210    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9211    if (exit $ac_status) && test -s "$ac_outfile"; then
   9212      # The compiler can only warn and ignore the option if not recognized
   9213      # So say no if there are warnings other than the usual output.
   9214      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9215      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9216      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9217        lt_cv_prog_compiler_pic_works=yes
   9218      fi
   9219    fi
   9220    $RM conftest*
   9221 
   9222 fi
   9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9224 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9225 
   9226 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9227     case $lt_prog_compiler_pic in
   9228      "" | " "*) ;;
   9229      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9230      esac
   9231 else
   9232     lt_prog_compiler_pic=
   9233      lt_prog_compiler_can_build_shared=no
   9234 fi
   9235 
   9236 fi
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 #
   9249 # Check to make sure the static flag actually works.
   9250 #
   9251 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9253 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9254 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9255   $as_echo_n "(cached) " >&6
   9256 else
   9257   lt_cv_prog_compiler_static_works=no
   9258    save_LDFLAGS="$LDFLAGS"
   9259    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9260    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9261    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9262      # The linker can only warn and ignore the option if not recognized
   9263      # So say no if there are warnings
   9264      if test -s conftest.err; then
   9265        # Append any errors to the config.log.
   9266        cat conftest.err 1>&5
   9267        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9268        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9269        if diff conftest.exp conftest.er2 >/dev/null; then
   9270          lt_cv_prog_compiler_static_works=yes
   9271        fi
   9272      else
   9273        lt_cv_prog_compiler_static_works=yes
   9274      fi
   9275    fi
   9276    $RM -r conftest*
   9277    LDFLAGS="$save_LDFLAGS"
   9278 
   9279 fi
   9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9281 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9282 
   9283 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9284     :
   9285 else
   9286     lt_prog_compiler_static=
   9287 fi
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9296 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9297 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9298   $as_echo_n "(cached) " >&6
   9299 else
   9300   lt_cv_prog_compiler_c_o=no
   9301    $RM -r conftest 2>/dev/null
   9302    mkdir conftest
   9303    cd conftest
   9304    mkdir out
   9305    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9306 
   9307    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9308    # Insert the option either (1) after the last *FLAGS variable, or
   9309    # (2) before a word containing "conftest.", or (3) at the end.
   9310    # Note that $ac_compile itself does not contain backslashes and begins
   9311    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9312    lt_compile=`echo "$ac_compile" | $SED \
   9313    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9314    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9315    -e 's:$: $lt_compiler_flag:'`
   9316    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9317    (eval "$lt_compile" 2>out/conftest.err)
   9318    ac_status=$?
   9319    cat out/conftest.err >&5
   9320    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9321    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9322    then
   9323      # The compiler can only warn and ignore the option if not recognized
   9324      # So say no if there are warnings
   9325      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9326      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9327      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9328        lt_cv_prog_compiler_c_o=yes
   9329      fi
   9330    fi
   9331    chmod u+w . 2>&5
   9332    $RM conftest*
   9333    # SGI C++ compiler will create directory out/ii_files/ for
   9334    # template instantiation
   9335    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9336    $RM out/* && rmdir out
   9337    cd ..
   9338    $RM -r conftest
   9339    $RM conftest*
   9340 
   9341 fi
   9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9343 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9351 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9352 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9353   $as_echo_n "(cached) " >&6
   9354 else
   9355   lt_cv_prog_compiler_c_o=no
   9356    $RM -r conftest 2>/dev/null
   9357    mkdir conftest
   9358    cd conftest
   9359    mkdir out
   9360    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9361 
   9362    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9363    # Insert the option either (1) after the last *FLAGS variable, or
   9364    # (2) before a word containing "conftest.", or (3) at the end.
   9365    # Note that $ac_compile itself does not contain backslashes and begins
   9366    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9367    lt_compile=`echo "$ac_compile" | $SED \
   9368    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9369    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9370    -e 's:$: $lt_compiler_flag:'`
   9371    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9372    (eval "$lt_compile" 2>out/conftest.err)
   9373    ac_status=$?
   9374    cat out/conftest.err >&5
   9375    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9376    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9377    then
   9378      # The compiler can only warn and ignore the option if not recognized
   9379      # So say no if there are warnings
   9380      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9381      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9382      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9383        lt_cv_prog_compiler_c_o=yes
   9384      fi
   9385    fi
   9386    chmod u+w . 2>&5
   9387    $RM conftest*
   9388    # SGI C++ compiler will create directory out/ii_files/ for
   9389    # template instantiation
   9390    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9391    $RM out/* && rmdir out
   9392    cd ..
   9393    $RM -r conftest
   9394    $RM conftest*
   9395 
   9396 fi
   9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9398 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9399 
   9400 
   9401 
   9402 
   9403 hard_links="nottested"
   9404 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9405   # do not overwrite the value of need_locks provided by the user
   9406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9407 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9408   hard_links=yes
   9409   $RM conftest*
   9410   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9411   touch conftest.a
   9412   ln conftest.a conftest.b 2>&5 || hard_links=no
   9413   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9415 $as_echo "$hard_links" >&6; }
   9416   if test "$hard_links" = no; then
   9417     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9418 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9419     need_locks=warn
   9420   fi
   9421 else
   9422   need_locks=no
   9423 fi
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9431 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9432 
   9433   runpath_var=
   9434   allow_undefined_flag=
   9435   always_export_symbols=no
   9436   archive_cmds=
   9437   archive_expsym_cmds=
   9438   compiler_needs_object=no
   9439   enable_shared_with_static_runtimes=no
   9440   export_dynamic_flag_spec=
   9441   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9442   hardcode_automatic=no
   9443   hardcode_direct=no
   9444   hardcode_direct_absolute=no
   9445   hardcode_libdir_flag_spec=
   9446   hardcode_libdir_separator=
   9447   hardcode_minus_L=no
   9448   hardcode_shlibpath_var=unsupported
   9449   inherit_rpath=no
   9450   link_all_deplibs=unknown
   9451   module_cmds=
   9452   module_expsym_cmds=
   9453   old_archive_from_new_cmds=
   9454   old_archive_from_expsyms_cmds=
   9455   thread_safe_flag_spec=
   9456   whole_archive_flag_spec=
   9457   # include_expsyms should be a list of space-separated symbols to be *always*
   9458   # included in the symbol list
   9459   include_expsyms=
   9460   # exclude_expsyms can be an extended regexp of symbols to exclude
   9461   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9462   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9463   # as well as any symbol that contains `d'.
   9464   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9465   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9466   # platforms (ab)use it in PIC code, but their linkers get confused if
   9467   # the symbol is explicitly referenced.  Since portable code cannot
   9468   # rely on this symbol name, it's probably fine to never include it in
   9469   # preloaded symbol tables.
   9470   # Exclude shared library initialization/finalization symbols.
   9471   extract_expsyms_cmds=
   9472 
   9473   case $host_os in
   9474   cygwin* | mingw* | pw32* | cegcc*)
   9475     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9476     # When not using gcc, we currently assume that we are using
   9477     # Microsoft Visual C++.
   9478     if test "$GCC" != yes; then
   9479       with_gnu_ld=no
   9480     fi
   9481     ;;
   9482   interix*)
   9483     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9484     with_gnu_ld=yes
   9485     ;;
   9486   openbsd*)
   9487     with_gnu_ld=no
   9488     ;;
   9489   esac
   9490 
   9491   ld_shlibs=yes
   9492 
   9493   # On some targets, GNU ld is compatible enough with the native linker
   9494   # that we're better off using the native interface for both.
   9495   lt_use_gnu_ld_interface=no
   9496   if test "$with_gnu_ld" = yes; then
   9497     case $host_os in
   9498       aix*)
   9499 	# The AIX port of GNU ld has always aspired to compatibility
   9500 	# with the native linker.  However, as the warning in the GNU ld
   9501 	# block says, versions before 2.19.5* couldn't really create working
   9502 	# shared libraries, regardless of the interface used.
   9503 	case `$LD -v 2>&1` in
   9504 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9505 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9506 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9507 	  *)
   9508 	    lt_use_gnu_ld_interface=yes
   9509 	    ;;
   9510 	esac
   9511 	;;
   9512       *)
   9513 	lt_use_gnu_ld_interface=yes
   9514 	;;
   9515     esac
   9516   fi
   9517 
   9518   if test "$lt_use_gnu_ld_interface" = yes; then
   9519     # If archive_cmds runs LD, not CC, wlarc should be empty
   9520     wlarc='${wl}'
   9521 
   9522     # Set some defaults for GNU ld with shared library support. These
   9523     # are reset later if shared libraries are not supported. Putting them
   9524     # here allows them to be overridden if necessary.
   9525     runpath_var=LD_RUN_PATH
   9526     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9527     export_dynamic_flag_spec='${wl}--export-dynamic'
   9528     # ancient GNU ld didn't support --whole-archive et. al.
   9529     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9530       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9531     else
   9532       whole_archive_flag_spec=
   9533     fi
   9534     supports_anon_versioning=no
   9535     case `$LD -v 2>&1` in
   9536       *GNU\ gold*) supports_anon_versioning=yes ;;
   9537       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9538       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9539       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9540       *\ 2.11.*) ;; # other 2.11 versions
   9541       *) supports_anon_versioning=yes ;;
   9542     esac
   9543 
   9544     # See if GNU ld supports shared libraries.
   9545     case $host_os in
   9546     aix[3-9]*)
   9547       # On AIX/PPC, the GNU linker is very broken
   9548       if test "$host_cpu" != ia64; then
   9549 	ld_shlibs=no
   9550 	cat <<_LT_EOF 1>&2
   9551 
   9552 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9553 *** to be unable to reliably create shared libraries on AIX.
   9554 *** Therefore, libtool is disabling shared libraries support.  If you
   9555 *** really care for shared libraries, you may want to install binutils
   9556 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9557 *** You will then need to restart the configuration process.
   9558 
   9559 _LT_EOF
   9560       fi
   9561       ;;
   9562 
   9563     amigaos*)
   9564       case $host_cpu in
   9565       powerpc)
   9566             # see comment about AmigaOS4 .so support
   9567             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9568             archive_expsym_cmds=''
   9569         ;;
   9570       m68k)
   9571             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)'
   9572             hardcode_libdir_flag_spec='-L$libdir'
   9573             hardcode_minus_L=yes
   9574         ;;
   9575       esac
   9576       ;;
   9577 
   9578     beos*)
   9579       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9580 	allow_undefined_flag=unsupported
   9581 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9582 	# support --undefined.  This deserves some investigation.  FIXME
   9583 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9584       else
   9585 	ld_shlibs=no
   9586       fi
   9587       ;;
   9588 
   9589     cygwin* | mingw* | pw32* | cegcc*)
   9590       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9591       # as there is no search path for DLLs.
   9592       hardcode_libdir_flag_spec='-L$libdir'
   9593       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9594       allow_undefined_flag=unsupported
   9595       always_export_symbols=no
   9596       enable_shared_with_static_runtimes=yes
   9597       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   9598       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9599 
   9600       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9601         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9602 	# If the export-symbols file already is a .def file (1st line
   9603 	# is EXPORTS), use it as is; otherwise, prepend...
   9604 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9605 	  cp $export_symbols $output_objdir/$soname.def;
   9606 	else
   9607 	  echo EXPORTS > $output_objdir/$soname.def;
   9608 	  cat $export_symbols >> $output_objdir/$soname.def;
   9609 	fi~
   9610 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9611       else
   9612 	ld_shlibs=no
   9613       fi
   9614       ;;
   9615 
   9616     haiku*)
   9617       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9618       link_all_deplibs=yes
   9619       ;;
   9620 
   9621     interix[3-9]*)
   9622       hardcode_direct=no
   9623       hardcode_shlibpath_var=no
   9624       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9625       export_dynamic_flag_spec='${wl}-E'
   9626       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9627       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9628       # default) and relocated if they conflict, which is a slow very memory
   9629       # consuming and fragmenting process.  To avoid this, we pick a random,
   9630       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9631       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9632       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9633       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'
   9634       ;;
   9635 
   9636     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9637       tmp_diet=no
   9638       if test "$host_os" = linux-dietlibc; then
   9639 	case $cc_basename in
   9640 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9641 	esac
   9642       fi
   9643       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9644 	 && test "$tmp_diet" = no
   9645       then
   9646 	tmp_addflag=' $pic_flag'
   9647 	tmp_sharedflag='-shared'
   9648 	case $cc_basename,$host_cpu in
   9649         pgcc*)				# Portland Group C compiler
   9650 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9651 	  tmp_addflag=' $pic_flag'
   9652 	  ;;
   9653 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9654 					# Portland Group f77 and f90 compilers
   9655 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9656 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9657 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9658 	  tmp_addflag=' -i_dynamic' ;;
   9659 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9660 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9661 	ifc* | ifort*)			# Intel Fortran compiler
   9662 	  tmp_addflag=' -nofor_main' ;;
   9663 	lf95*)				# Lahey Fortran 8.1
   9664 	  whole_archive_flag_spec=
   9665 	  tmp_sharedflag='--shared' ;;
   9666 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9667 	  tmp_sharedflag='-qmkshrobj'
   9668 	  tmp_addflag= ;;
   9669 	nvcc*)	# Cuda Compiler Driver 2.2
   9670 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9671 	  compiler_needs_object=yes
   9672 	  ;;
   9673 	esac
   9674 	case `$CC -V 2>&1 | sed 5q` in
   9675 	*Sun\ C*)			# Sun C 5.9
   9676 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9677 	  compiler_needs_object=yes
   9678 	  tmp_sharedflag='-G' ;;
   9679 	*Sun\ F*)			# Sun Fortran 8.3
   9680 	  tmp_sharedflag='-G' ;;
   9681 	esac
   9682 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9683 
   9684         if test "x$supports_anon_versioning" = xyes; then
   9685           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9686 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9687 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9688 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9689         fi
   9690 
   9691 	case $cc_basename in
   9692 	xlf* | bgf* | bgxlf* | mpixlf*)
   9693 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9694 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9695 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9696 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9697 	  if test "x$supports_anon_versioning" = xyes; then
   9698 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9699 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9700 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9701 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9702 	  fi
   9703 	  ;;
   9704 	esac
   9705       else
   9706         ld_shlibs=no
   9707       fi
   9708       ;;
   9709 
   9710     netbsd*)
   9711       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9712 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9713 	wlarc=
   9714       else
   9715 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9716 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9717       fi
   9718       ;;
   9719 
   9720     solaris*)
   9721       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9722 	ld_shlibs=no
   9723 	cat <<_LT_EOF 1>&2
   9724 
   9725 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9726 *** create shared libraries on Solaris systems.  Therefore, libtool
   9727 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9728 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9729 *** your PATH or compiler configuration so that the native linker is
   9730 *** used, and then restart.
   9731 
   9732 _LT_EOF
   9733       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9734 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9735 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9736       else
   9737 	ld_shlibs=no
   9738       fi
   9739       ;;
   9740 
   9741     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9742       case `$LD -v 2>&1` in
   9743         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9744 	ld_shlibs=no
   9745 	cat <<_LT_EOF 1>&2
   9746 
   9747 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9748 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9749 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9750 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9751 *** your PATH or compiler configuration so that the native linker is
   9752 *** used, and then restart.
   9753 
   9754 _LT_EOF
   9755 	;;
   9756 	*)
   9757 	  # For security reasons, it is highly recommended that you always
   9758 	  # use absolute paths for naming shared libraries, and exclude the
   9759 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9760 	  # requires that you compile everything twice, which is a pain.
   9761 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9762 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9763 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9764 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9765 	  else
   9766 	    ld_shlibs=no
   9767 	  fi
   9768 	;;
   9769       esac
   9770       ;;
   9771 
   9772     sunos4*)
   9773       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9774       wlarc=
   9775       hardcode_direct=yes
   9776       hardcode_shlibpath_var=no
   9777       ;;
   9778 
   9779     *)
   9780       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9781 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9782 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9783       else
   9784 	ld_shlibs=no
   9785       fi
   9786       ;;
   9787     esac
   9788 
   9789     if test "$ld_shlibs" = no; then
   9790       runpath_var=
   9791       hardcode_libdir_flag_spec=
   9792       export_dynamic_flag_spec=
   9793       whole_archive_flag_spec=
   9794     fi
   9795   else
   9796     # PORTME fill in a description of your system's linker (not GNU ld)
   9797     case $host_os in
   9798     aix3*)
   9799       allow_undefined_flag=unsupported
   9800       always_export_symbols=yes
   9801       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'
   9802       # Note: this linker hardcodes the directories in LIBPATH if there
   9803       # are no directories specified by -L.
   9804       hardcode_minus_L=yes
   9805       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9806 	# Neither direct hardcoding nor static linking is supported with a
   9807 	# broken collect2.
   9808 	hardcode_direct=unsupported
   9809       fi
   9810       ;;
   9811 
   9812     aix[4-9]*)
   9813       if test "$host_cpu" = ia64; then
   9814 	# On IA64, the linker does run time linking by default, so we don't
   9815 	# have to do anything special.
   9816 	aix_use_runtimelinking=no
   9817 	exp_sym_flag='-Bexport'
   9818 	no_entry_flag=""
   9819       else
   9820 	# If we're using GNU nm, then we don't want the "-C" option.
   9821 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9822 	# Also, AIX nm treats weak defined symbols like other global
   9823 	# defined symbols, whereas GNU nm marks them as "W".
   9824 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9825 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9826 	else
   9827 	  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'
   9828 	fi
   9829 	aix_use_runtimelinking=no
   9830 
   9831 	# Test if we are trying to use run time linking or normal
   9832 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9833 	# need to do runtime linking.
   9834 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9835 	  for ld_flag in $LDFLAGS; do
   9836 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9837 	    aix_use_runtimelinking=yes
   9838 	    break
   9839 	  fi
   9840 	  done
   9841 	  ;;
   9842 	esac
   9843 
   9844 	exp_sym_flag='-bexport'
   9845 	no_entry_flag='-bnoentry'
   9846       fi
   9847 
   9848       # When large executables or shared objects are built, AIX ld can
   9849       # have problems creating the table of contents.  If linking a library
   9850       # or program results in "error TOC overflow" add -mminimal-toc to
   9851       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9852       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9853 
   9854       archive_cmds=''
   9855       hardcode_direct=yes
   9856       hardcode_direct_absolute=yes
   9857       hardcode_libdir_separator=':'
   9858       link_all_deplibs=yes
   9859       file_list_spec='${wl}-f,'
   9860 
   9861       if test "$GCC" = yes; then
   9862 	case $host_os in aix4.[012]|aix4.[012].*)
   9863 	# We only want to do this on AIX 4.2 and lower, the check
   9864 	# below for broken collect2 doesn't work under 4.3+
   9865 	  collect2name=`${CC} -print-prog-name=collect2`
   9866 	  if test -f "$collect2name" &&
   9867 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9868 	  then
   9869 	  # We have reworked collect2
   9870 	  :
   9871 	  else
   9872 	  # We have old collect2
   9873 	  hardcode_direct=unsupported
   9874 	  # It fails to find uninstalled libraries when the uninstalled
   9875 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9876 	  # to unsupported forces relinking
   9877 	  hardcode_minus_L=yes
   9878 	  hardcode_libdir_flag_spec='-L$libdir'
   9879 	  hardcode_libdir_separator=
   9880 	  fi
   9881 	  ;;
   9882 	esac
   9883 	shared_flag='-shared'
   9884 	if test "$aix_use_runtimelinking" = yes; then
   9885 	  shared_flag="$shared_flag "'${wl}-G'
   9886 	fi
   9887       else
   9888 	# not using gcc
   9889 	if test "$host_cpu" = ia64; then
   9890 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9891 	# chokes on -Wl,-G. The following line is correct:
   9892 	  shared_flag='-G'
   9893 	else
   9894 	  if test "$aix_use_runtimelinking" = yes; then
   9895 	    shared_flag='${wl}-G'
   9896 	  else
   9897 	    shared_flag='${wl}-bM:SRE'
   9898 	  fi
   9899 	fi
   9900       fi
   9901 
   9902       export_dynamic_flag_spec='${wl}-bexpall'
   9903       # It seems that -bexpall does not export symbols beginning with
   9904       # underscore (_), so it is better to generate a list of symbols to export.
   9905       always_export_symbols=yes
   9906       if test "$aix_use_runtimelinking" = yes; then
   9907 	# Warning - without using the other runtime loading flags (-brtl),
   9908 	# -berok will link without error, but may produce a broken library.
   9909 	allow_undefined_flag='-berok'
   9910         # Determine the default libpath from the value encoded in an
   9911         # empty executable.
   9912         if test "${lt_cv_aix_libpath+set}" = set; then
   9913   aix_libpath=$lt_cv_aix_libpath
   9914 else
   9915   if ${lt_cv_aix_libpath_+:} false; then :
   9916   $as_echo_n "(cached) " >&6
   9917 else
   9918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9919 /* end confdefs.h.  */
   9920 
   9921 int
   9922 main ()
   9923 {
   9924 
   9925   ;
   9926   return 0;
   9927 }
   9928 _ACEOF
   9929 if ac_fn_c_try_link "$LINENO"; then :
   9930 
   9931   lt_aix_libpath_sed='
   9932       /Import File Strings/,/^$/ {
   9933 	  /^0/ {
   9934 	      s/^0  *\([^ ]*\) *$/\1/
   9935 	      p
   9936 	  }
   9937       }'
   9938   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9939   # Check for a 64-bit object if we didn't find anything.
   9940   if test -z "$lt_cv_aix_libpath_"; then
   9941     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9942   fi
   9943 fi
   9944 rm -f core conftest.err conftest.$ac_objext \
   9945     conftest$ac_exeext conftest.$ac_ext
   9946   if test -z "$lt_cv_aix_libpath_"; then
   9947     lt_cv_aix_libpath_="/usr/lib:/lib"
   9948   fi
   9949 
   9950 fi
   9951 
   9952   aix_libpath=$lt_cv_aix_libpath_
   9953 fi
   9954 
   9955         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9956         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9957       else
   9958 	if test "$host_cpu" = ia64; then
   9959 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9960 	  allow_undefined_flag="-z nodefs"
   9961 	  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"
   9962 	else
   9963 	 # Determine the default libpath from the value encoded in an
   9964 	 # empty executable.
   9965 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9966   aix_libpath=$lt_cv_aix_libpath
   9967 else
   9968   if ${lt_cv_aix_libpath_+:} false; then :
   9969   $as_echo_n "(cached) " >&6
   9970 else
   9971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9972 /* end confdefs.h.  */
   9973 
   9974 int
   9975 main ()
   9976 {
   9977 
   9978   ;
   9979   return 0;
   9980 }
   9981 _ACEOF
   9982 if ac_fn_c_try_link "$LINENO"; then :
   9983 
   9984   lt_aix_libpath_sed='
   9985       /Import File Strings/,/^$/ {
   9986 	  /^0/ {
   9987 	      s/^0  *\([^ ]*\) *$/\1/
   9988 	      p
   9989 	  }
   9990       }'
   9991   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9992   # Check for a 64-bit object if we didn't find anything.
   9993   if test -z "$lt_cv_aix_libpath_"; then
   9994     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9995   fi
   9996 fi
   9997 rm -f core conftest.err conftest.$ac_objext \
   9998     conftest$ac_exeext conftest.$ac_ext
   9999   if test -z "$lt_cv_aix_libpath_"; then
   10000     lt_cv_aix_libpath_="/usr/lib:/lib"
   10001   fi
   10002 
   10003 fi
   10004 
   10005   aix_libpath=$lt_cv_aix_libpath_
   10006 fi
   10007 
   10008 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10009 	  # Warning - without using the other run time loading flags,
   10010 	  # -berok will link without error, but may produce a broken library.
   10011 	  no_undefined_flag=' ${wl}-bernotok'
   10012 	  allow_undefined_flag=' ${wl}-berok'
   10013 	  if test "$with_gnu_ld" = yes; then
   10014 	    # We only use this code for GNU lds that support --whole-archive.
   10015 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10016 	  else
   10017 	    # Exported symbols can be pulled into shared objects from archives
   10018 	    whole_archive_flag_spec='$convenience'
   10019 	  fi
   10020 	  archive_cmds_need_lc=yes
   10021 	  # This is similar to how AIX traditionally builds its shared libraries.
   10022 	  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'
   10023 	fi
   10024       fi
   10025       ;;
   10026 
   10027     amigaos*)
   10028       case $host_cpu in
   10029       powerpc)
   10030             # see comment about AmigaOS4 .so support
   10031             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10032             archive_expsym_cmds=''
   10033         ;;
   10034       m68k)
   10035             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)'
   10036             hardcode_libdir_flag_spec='-L$libdir'
   10037             hardcode_minus_L=yes
   10038         ;;
   10039       esac
   10040       ;;
   10041 
   10042     bsdi[45]*)
   10043       export_dynamic_flag_spec=-rdynamic
   10044       ;;
   10045 
   10046     cygwin* | mingw* | pw32* | cegcc*)
   10047       # When not using gcc, we currently assume that we are using
   10048       # Microsoft Visual C++.
   10049       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10050       # no search path for DLLs.
   10051       case $cc_basename in
   10052       cl*)
   10053 	# Native MSVC
   10054 	hardcode_libdir_flag_spec=' '
   10055 	allow_undefined_flag=unsupported
   10056 	always_export_symbols=yes
   10057 	file_list_spec='@'
   10058 	# Tell ltmain to make .lib files, not .a files.
   10059 	libext=lib
   10060 	# Tell ltmain to make .dll files, not .so files.
   10061 	shrext_cmds=".dll"
   10062 	# FIXME: Setting linknames here is a bad hack.
   10063 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   10064 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10065 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   10066 	  else
   10067 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   10068 	  fi~
   10069 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10070 	  linknames='
   10071 	# The linker will not automatically build a static lib if we build a DLL.
   10072 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10073 	enable_shared_with_static_runtimes=yes
   10074 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10075 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10076 	# Don't use ranlib
   10077 	old_postinstall_cmds='chmod 644 $oldlib'
   10078 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10079 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   10080 	  case $lt_outputfile in
   10081 	    *.exe|*.EXE) ;;
   10082 	    *)
   10083 	      lt_outputfile="$lt_outputfile.exe"
   10084 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   10085 	      ;;
   10086 	  esac~
   10087 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   10088 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10089 	    $RM "$lt_outputfile.manifest";
   10090 	  fi'
   10091 	;;
   10092       *)
   10093 	# Assume MSVC wrapper
   10094 	hardcode_libdir_flag_spec=' '
   10095 	allow_undefined_flag=unsupported
   10096 	# Tell ltmain to make .lib files, not .a files.
   10097 	libext=lib
   10098 	# Tell ltmain to make .dll files, not .so files.
   10099 	shrext_cmds=".dll"
   10100 	# FIXME: Setting linknames here is a bad hack.
   10101 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10102 	# The linker will automatically build a .lib file if we build a DLL.
   10103 	old_archive_from_new_cmds='true'
   10104 	# FIXME: Should let the user specify the lib program.
   10105 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10106 	enable_shared_with_static_runtimes=yes
   10107 	;;
   10108       esac
   10109       ;;
   10110 
   10111     darwin* | rhapsody*)
   10112 
   10113 
   10114   archive_cmds_need_lc=no
   10115   hardcode_direct=no
   10116   hardcode_automatic=yes
   10117   hardcode_shlibpath_var=unsupported
   10118   if test "$lt_cv_ld_force_load" = "yes"; then
   10119     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   10120 
   10121   else
   10122     whole_archive_flag_spec=''
   10123   fi
   10124   link_all_deplibs=yes
   10125   allow_undefined_flag="$_lt_dar_allow_undefined"
   10126   case $cc_basename in
   10127      ifort*) _lt_dar_can_shared=yes ;;
   10128      *) _lt_dar_can_shared=$GCC ;;
   10129   esac
   10130   if test "$_lt_dar_can_shared" = "yes"; then
   10131     output_verbose_link_cmd=func_echo_all
   10132     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10133     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10134     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}"
   10135     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}"
   10136 
   10137   else
   10138   ld_shlibs=no
   10139   fi
   10140 
   10141       ;;
   10142 
   10143     dgux*)
   10144       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10145       hardcode_libdir_flag_spec='-L$libdir'
   10146       hardcode_shlibpath_var=no
   10147       ;;
   10148 
   10149     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10150     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10151     # does not break anything, and helps significantly (at the cost of a little
   10152     # extra space).
   10153     freebsd2.2*)
   10154       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10155       hardcode_libdir_flag_spec='-R$libdir'
   10156       hardcode_direct=yes
   10157       hardcode_shlibpath_var=no
   10158       ;;
   10159 
   10160     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10161     freebsd2.*)
   10162       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10163       hardcode_direct=yes
   10164       hardcode_minus_L=yes
   10165       hardcode_shlibpath_var=no
   10166       ;;
   10167 
   10168     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10169     freebsd* | dragonfly*)
   10170       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10171       hardcode_libdir_flag_spec='-R$libdir'
   10172       hardcode_direct=yes
   10173       hardcode_shlibpath_var=no
   10174       ;;
   10175 
   10176     hpux9*)
   10177       if test "$GCC" = yes; then
   10178 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   10179       else
   10180 	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'
   10181       fi
   10182       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10183       hardcode_libdir_separator=:
   10184       hardcode_direct=yes
   10185 
   10186       # hardcode_minus_L: Not really in the search PATH,
   10187       # but as the default location of the library.
   10188       hardcode_minus_L=yes
   10189       export_dynamic_flag_spec='${wl}-E'
   10190       ;;
   10191 
   10192     hpux10*)
   10193       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10194 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10195       else
   10196 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10197       fi
   10198       if test "$with_gnu_ld" = no; then
   10199 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10200 	hardcode_libdir_separator=:
   10201 	hardcode_direct=yes
   10202 	hardcode_direct_absolute=yes
   10203 	export_dynamic_flag_spec='${wl}-E'
   10204 	# hardcode_minus_L: Not really in the search PATH,
   10205 	# but as the default location of the library.
   10206 	hardcode_minus_L=yes
   10207       fi
   10208       ;;
   10209 
   10210     hpux11*)
   10211       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10212 	case $host_cpu in
   10213 	hppa*64*)
   10214 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10215 	  ;;
   10216 	ia64*)
   10217 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10218 	  ;;
   10219 	*)
   10220 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10221 	  ;;
   10222 	esac
   10223       else
   10224 	case $host_cpu in
   10225 	hppa*64*)
   10226 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10227 	  ;;
   10228 	ia64*)
   10229 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10230 	  ;;
   10231 	*)
   10232 
   10233 	  # Older versions of the 11.00 compiler do not understand -b yet
   10234 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10235 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10236 $as_echo_n "checking if $CC understands -b... " >&6; }
   10237 if ${lt_cv_prog_compiler__b+:} false; then :
   10238   $as_echo_n "(cached) " >&6
   10239 else
   10240   lt_cv_prog_compiler__b=no
   10241    save_LDFLAGS="$LDFLAGS"
   10242    LDFLAGS="$LDFLAGS -b"
   10243    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10244    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10245      # The linker can only warn and ignore the option if not recognized
   10246      # So say no if there are warnings
   10247      if test -s conftest.err; then
   10248        # Append any errors to the config.log.
   10249        cat conftest.err 1>&5
   10250        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10251        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10252        if diff conftest.exp conftest.er2 >/dev/null; then
   10253          lt_cv_prog_compiler__b=yes
   10254        fi
   10255      else
   10256        lt_cv_prog_compiler__b=yes
   10257      fi
   10258    fi
   10259    $RM -r conftest*
   10260    LDFLAGS="$save_LDFLAGS"
   10261 
   10262 fi
   10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10264 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10265 
   10266 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10267     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10268 else
   10269     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10270 fi
   10271 
   10272 	  ;;
   10273 	esac
   10274       fi
   10275       if test "$with_gnu_ld" = no; then
   10276 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10277 	hardcode_libdir_separator=:
   10278 
   10279 	case $host_cpu in
   10280 	hppa*64*|ia64*)
   10281 	  hardcode_direct=no
   10282 	  hardcode_shlibpath_var=no
   10283 	  ;;
   10284 	*)
   10285 	  hardcode_direct=yes
   10286 	  hardcode_direct_absolute=yes
   10287 	  export_dynamic_flag_spec='${wl}-E'
   10288 
   10289 	  # hardcode_minus_L: Not really in the search PATH,
   10290 	  # but as the default location of the library.
   10291 	  hardcode_minus_L=yes
   10292 	  ;;
   10293 	esac
   10294       fi
   10295       ;;
   10296 
   10297     irix5* | irix6* | nonstopux*)
   10298       if test "$GCC" = yes; then
   10299 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10300 	# Try to use the -exported_symbol ld option, if it does not
   10301 	# work, assume that -exports_file does not work either and
   10302 	# implicitly export all symbols.
   10303 	# This should be the same for all languages, so no per-tag cache variable.
   10304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10305 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10306 if ${lt_cv_irix_exported_symbol+:} false; then :
   10307   $as_echo_n "(cached) " >&6
   10308 else
   10309   save_LDFLAGS="$LDFLAGS"
   10310 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10311 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10312 /* end confdefs.h.  */
   10313 int foo (void) { return 0; }
   10314 _ACEOF
   10315 if ac_fn_c_try_link "$LINENO"; then :
   10316   lt_cv_irix_exported_symbol=yes
   10317 else
   10318   lt_cv_irix_exported_symbol=no
   10319 fi
   10320 rm -f core conftest.err conftest.$ac_objext \
   10321     conftest$ac_exeext conftest.$ac_ext
   10322            LDFLAGS="$save_LDFLAGS"
   10323 fi
   10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10325 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10326 	if test "$lt_cv_irix_exported_symbol" = yes; then
   10327           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   10328 	fi
   10329       else
   10330 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10331 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   10332       fi
   10333       archive_cmds_need_lc='no'
   10334       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10335       hardcode_libdir_separator=:
   10336       inherit_rpath=yes
   10337       link_all_deplibs=yes
   10338       ;;
   10339 
   10340     netbsd*)
   10341       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10342 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10343       else
   10344 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10345       fi
   10346       hardcode_libdir_flag_spec='-R$libdir'
   10347       hardcode_direct=yes
   10348       hardcode_shlibpath_var=no
   10349       ;;
   10350 
   10351     newsos6)
   10352       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10353       hardcode_direct=yes
   10354       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10355       hardcode_libdir_separator=:
   10356       hardcode_shlibpath_var=no
   10357       ;;
   10358 
   10359     *nto* | *qnx*)
   10360       ;;
   10361 
   10362     openbsd*)
   10363       if test -f /usr/libexec/ld.so; then
   10364 	hardcode_direct=yes
   10365 	hardcode_shlibpath_var=no
   10366 	hardcode_direct_absolute=yes
   10367 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10368 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10369 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10370 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10371 	  export_dynamic_flag_spec='${wl}-E'
   10372 	else
   10373 	  case $host_os in
   10374 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10375 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10376 	     hardcode_libdir_flag_spec='-R$libdir'
   10377 	     ;;
   10378 	   *)
   10379 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10380 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10381 	     ;;
   10382 	  esac
   10383 	fi
   10384       else
   10385 	ld_shlibs=no
   10386       fi
   10387       ;;
   10388 
   10389     os2*)
   10390       hardcode_libdir_flag_spec='-L$libdir'
   10391       hardcode_minus_L=yes
   10392       allow_undefined_flag=unsupported
   10393       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'
   10394       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10395       ;;
   10396 
   10397     osf3*)
   10398       if test "$GCC" = yes; then
   10399 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10400 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10401       else
   10402 	allow_undefined_flag=' -expect_unresolved \*'
   10403 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10404       fi
   10405       archive_cmds_need_lc='no'
   10406       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10407       hardcode_libdir_separator=:
   10408       ;;
   10409 
   10410     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10411       if test "$GCC" = yes; then
   10412 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10413 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10414 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10415       else
   10416 	allow_undefined_flag=' -expect_unresolved \*'
   10417 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10418 	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~
   10419 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   10420 
   10421 	# Both c and cxx compiler support -rpath directly
   10422 	hardcode_libdir_flag_spec='-rpath $libdir'
   10423       fi
   10424       archive_cmds_need_lc='no'
   10425       hardcode_libdir_separator=:
   10426       ;;
   10427 
   10428     solaris*)
   10429       no_undefined_flag=' -z defs'
   10430       if test "$GCC" = yes; then
   10431 	wlarc='${wl}'
   10432 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10433 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10434 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10435       else
   10436 	case `$CC -V 2>&1` in
   10437 	*"Compilers 5.0"*)
   10438 	  wlarc=''
   10439 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10440 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10441 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10442 	  ;;
   10443 	*)
   10444 	  wlarc='${wl}'
   10445 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10446 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10447 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10448 	  ;;
   10449 	esac
   10450       fi
   10451       hardcode_libdir_flag_spec='-R$libdir'
   10452       hardcode_shlibpath_var=no
   10453       case $host_os in
   10454       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10455       *)
   10456 	# The compiler driver will combine and reorder linker options,
   10457 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10458 	# but is careful enough not to reorder.
   10459 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10460 	if test "$GCC" = yes; then
   10461 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10462 	else
   10463 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10464 	fi
   10465 	;;
   10466       esac
   10467       link_all_deplibs=yes
   10468       ;;
   10469 
   10470     sunos4*)
   10471       if test "x$host_vendor" = xsequent; then
   10472 	# Use $CC to link under sequent, because it throws in some extra .o
   10473 	# files that make .init and .fini sections work.
   10474 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10475       else
   10476 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10477       fi
   10478       hardcode_libdir_flag_spec='-L$libdir'
   10479       hardcode_direct=yes
   10480       hardcode_minus_L=yes
   10481       hardcode_shlibpath_var=no
   10482       ;;
   10483 
   10484     sysv4)
   10485       case $host_vendor in
   10486 	sni)
   10487 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10488 	  hardcode_direct=yes # is this really true???
   10489 	;;
   10490 	siemens)
   10491 	  ## LD is ld it makes a PLAMLIB
   10492 	  ## CC just makes a GrossModule.
   10493 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10494 	  reload_cmds='$CC -r -o $output$reload_objs'
   10495 	  hardcode_direct=no
   10496         ;;
   10497 	motorola)
   10498 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10499 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10500 	;;
   10501       esac
   10502       runpath_var='LD_RUN_PATH'
   10503       hardcode_shlibpath_var=no
   10504       ;;
   10505 
   10506     sysv4.3*)
   10507       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10508       hardcode_shlibpath_var=no
   10509       export_dynamic_flag_spec='-Bexport'
   10510       ;;
   10511 
   10512     sysv4*MP*)
   10513       if test -d /usr/nec; then
   10514 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10515 	hardcode_shlibpath_var=no
   10516 	runpath_var=LD_RUN_PATH
   10517 	hardcode_runpath_var=yes
   10518 	ld_shlibs=yes
   10519       fi
   10520       ;;
   10521 
   10522     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10523       no_undefined_flag='${wl}-z,text'
   10524       archive_cmds_need_lc=no
   10525       hardcode_shlibpath_var=no
   10526       runpath_var='LD_RUN_PATH'
   10527 
   10528       if test "$GCC" = yes; then
   10529 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10530 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10531       else
   10532 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10533 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10534       fi
   10535       ;;
   10536 
   10537     sysv5* | sco3.2v5* | sco5v6*)
   10538       # Note: We can NOT use -z defs as we might desire, because we do not
   10539       # link with -lc, and that would cause any symbols used from libc to
   10540       # always be unresolved, which means just about no library would
   10541       # ever link correctly.  If we're not using GNU ld we use -z text
   10542       # though, which does catch some bad symbols but isn't as heavy-handed
   10543       # as -z defs.
   10544       no_undefined_flag='${wl}-z,text'
   10545       allow_undefined_flag='${wl}-z,nodefs'
   10546       archive_cmds_need_lc=no
   10547       hardcode_shlibpath_var=no
   10548       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10549       hardcode_libdir_separator=':'
   10550       link_all_deplibs=yes
   10551       export_dynamic_flag_spec='${wl}-Bexport'
   10552       runpath_var='LD_RUN_PATH'
   10553 
   10554       if test "$GCC" = yes; then
   10555 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10556 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10557       else
   10558 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10559 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10560       fi
   10561       ;;
   10562 
   10563     uts4*)
   10564       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10565       hardcode_libdir_flag_spec='-L$libdir'
   10566       hardcode_shlibpath_var=no
   10567       ;;
   10568 
   10569     *)
   10570       ld_shlibs=no
   10571       ;;
   10572     esac
   10573 
   10574     if test x$host_vendor = xsni; then
   10575       case $host in
   10576       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10577 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10578 	;;
   10579       esac
   10580     fi
   10581   fi
   10582 
   10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10584 $as_echo "$ld_shlibs" >&6; }
   10585 test "$ld_shlibs" = no && can_build_shared=no
   10586 
   10587 with_gnu_ld=$with_gnu_ld
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 #
   10604 # Do we need to explicitly link libc?
   10605 #
   10606 case "x$archive_cmds_need_lc" in
   10607 x|xyes)
   10608   # Assume -lc should be added
   10609   archive_cmds_need_lc=yes
   10610 
   10611   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10612     case $archive_cmds in
   10613     *'~'*)
   10614       # FIXME: we may have to deal with multi-command sequences.
   10615       ;;
   10616     '$CC '*)
   10617       # Test whether the compiler implicitly links with -lc since on some
   10618       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10619       # to ld, don't add -lc before -lgcc.
   10620       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10621 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10622 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10623   $as_echo_n "(cached) " >&6
   10624 else
   10625   $RM conftest*
   10626 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10627 
   10628 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10629   (eval $ac_compile) 2>&5
   10630   ac_status=$?
   10631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10632   test $ac_status = 0; } 2>conftest.err; then
   10633 	  soname=conftest
   10634 	  lib=conftest
   10635 	  libobjs=conftest.$ac_objext
   10636 	  deplibs=
   10637 	  wl=$lt_prog_compiler_wl
   10638 	  pic_flag=$lt_prog_compiler_pic
   10639 	  compiler_flags=-v
   10640 	  linker_flags=-v
   10641 	  verstring=
   10642 	  output_objdir=.
   10643 	  libname=conftest
   10644 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10645 	  allow_undefined_flag=
   10646 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10647   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10648   ac_status=$?
   10649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10650   test $ac_status = 0; }
   10651 	  then
   10652 	    lt_cv_archive_cmds_need_lc=no
   10653 	  else
   10654 	    lt_cv_archive_cmds_need_lc=yes
   10655 	  fi
   10656 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10657 	else
   10658 	  cat conftest.err 1>&5
   10659 	fi
   10660 	$RM conftest*
   10661 
   10662 fi
   10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10664 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10665       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10666       ;;
   10667     esac
   10668   fi
   10669   ;;
   10670 esac
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10824 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10825 
   10826 if test "$GCC" = yes; then
   10827   case $host_os in
   10828     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10829     *) lt_awk_arg="/^libraries:/" ;;
   10830   esac
   10831   case $host_os in
   10832     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10833     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10834   esac
   10835   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10836   case $lt_search_path_spec in
   10837   *\;*)
   10838     # if the path contains ";" then we assume it to be the separator
   10839     # otherwise default to the standard path separator (i.e. ":") - it is
   10840     # assumed that no part of a normal pathname contains ";" but that should
   10841     # okay in the real world where ";" in dirpaths is itself problematic.
   10842     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10843     ;;
   10844   *)
   10845     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10846     ;;
   10847   esac
   10848   # Ok, now we have the path, separated by spaces, we can step through it
   10849   # and add multilib dir if necessary.
   10850   lt_tmp_lt_search_path_spec=
   10851   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10852   for lt_sys_path in $lt_search_path_spec; do
   10853     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10854       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10855     else
   10856       test -d "$lt_sys_path" && \
   10857 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10858     fi
   10859   done
   10860   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10861 BEGIN {RS=" "; FS="/|\n";} {
   10862   lt_foo="";
   10863   lt_count=0;
   10864   for (lt_i = NF; lt_i > 0; lt_i--) {
   10865     if ($lt_i != "" && $lt_i != ".") {
   10866       if ($lt_i == "..") {
   10867         lt_count++;
   10868       } else {
   10869         if (lt_count == 0) {
   10870           lt_foo="/" $lt_i lt_foo;
   10871         } else {
   10872           lt_count--;
   10873         }
   10874       }
   10875     }
   10876   }
   10877   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10878   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10879 }'`
   10880   # AWK program above erroneously prepends '/' to C:/dos/paths
   10881   # for these hosts.
   10882   case $host_os in
   10883     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10884       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10885   esac
   10886   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10887 else
   10888   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10889 fi
   10890 library_names_spec=
   10891 libname_spec='lib$name'
   10892 soname_spec=
   10893 shrext_cmds=".so"
   10894 postinstall_cmds=
   10895 postuninstall_cmds=
   10896 finish_cmds=
   10897 finish_eval=
   10898 shlibpath_var=
   10899 shlibpath_overrides_runpath=unknown
   10900 version_type=none
   10901 dynamic_linker="$host_os ld.so"
   10902 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10903 need_lib_prefix=unknown
   10904 hardcode_into_libs=no
   10905 
   10906 # when you set need_version to no, make sure it does not cause -set_version
   10907 # flags to be left without arguments
   10908 need_version=unknown
   10909 
   10910 case $host_os in
   10911 aix3*)
   10912   version_type=linux # correct to gnu/linux during the next big refactor
   10913   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10914   shlibpath_var=LIBPATH
   10915 
   10916   # AIX 3 has no versioning support, so we append a major version to the name.
   10917   soname_spec='${libname}${release}${shared_ext}$major'
   10918   ;;
   10919 
   10920 aix[4-9]*)
   10921   version_type=linux # correct to gnu/linux during the next big refactor
   10922   need_lib_prefix=no
   10923   need_version=no
   10924   hardcode_into_libs=yes
   10925   if test "$host_cpu" = ia64; then
   10926     # AIX 5 supports IA64
   10927     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10928     shlibpath_var=LD_LIBRARY_PATH
   10929   else
   10930     # With GCC up to 2.95.x, collect2 would create an import file
   10931     # for dependence libraries.  The import file would start with
   10932     # the line `#! .'.  This would cause the generated library to
   10933     # depend on `.', always an invalid library.  This was fixed in
   10934     # development snapshots of GCC prior to 3.0.
   10935     case $host_os in
   10936       aix4 | aix4.[01] | aix4.[01].*)
   10937       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10938 	   echo ' yes '
   10939 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10940 	:
   10941       else
   10942 	can_build_shared=no
   10943       fi
   10944       ;;
   10945     esac
   10946     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10947     # soname into executable. Probably we can add versioning support to
   10948     # collect2, so additional links can be useful in future.
   10949     if test "$aix_use_runtimelinking" = yes; then
   10950       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10951       # instead of lib<name>.a to let people know that these are not
   10952       # typical AIX shared libraries.
   10953       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10954     else
   10955       # We preserve .a as extension for shared libraries through AIX4.2
   10956       # and later when we are not doing run time linking.
   10957       library_names_spec='${libname}${release}.a $libname.a'
   10958       soname_spec='${libname}${release}${shared_ext}$major'
   10959     fi
   10960     shlibpath_var=LIBPATH
   10961   fi
   10962   ;;
   10963 
   10964 amigaos*)
   10965   case $host_cpu in
   10966   powerpc)
   10967     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10968     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10969     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10970     ;;
   10971   m68k)
   10972     library_names_spec='$libname.ixlibrary $libname.a'
   10973     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10974     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10975     ;;
   10976   esac
   10977   ;;
   10978 
   10979 beos*)
   10980   library_names_spec='${libname}${shared_ext}'
   10981   dynamic_linker="$host_os ld.so"
   10982   shlibpath_var=LIBRARY_PATH
   10983   ;;
   10984 
   10985 bsdi[45]*)
   10986   version_type=linux # correct to gnu/linux during the next big refactor
   10987   need_version=no
   10988   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10989   soname_spec='${libname}${release}${shared_ext}$major'
   10990   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10991   shlibpath_var=LD_LIBRARY_PATH
   10992   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10993   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10994   # the default ld.so.conf also contains /usr/contrib/lib and
   10995   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10996   # libtool to hard-code these into programs
   10997   ;;
   10998 
   10999 cygwin* | mingw* | pw32* | cegcc*)
   11000   version_type=windows
   11001   shrext_cmds=".dll"
   11002   need_version=no
   11003   need_lib_prefix=no
   11004 
   11005   case $GCC,$cc_basename in
   11006   yes,*)
   11007     # gcc
   11008     library_names_spec='$libname.dll.a'
   11009     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11010     postinstall_cmds='base_file=`basename \${file}`~
   11011       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11012       dldir=$destdir/`dirname \$dlpath`~
   11013       test -d \$dldir || mkdir -p \$dldir~
   11014       $install_prog $dir/$dlname \$dldir/$dlname~
   11015       chmod a+x \$dldir/$dlname~
   11016       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11017         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11018       fi'
   11019     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11020       dlpath=$dir/\$dldll~
   11021        $RM \$dlpath'
   11022     shlibpath_overrides_runpath=yes
   11023 
   11024     case $host_os in
   11025     cygwin*)
   11026       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11027       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11028 
   11029       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11030       ;;
   11031     mingw* | cegcc*)
   11032       # MinGW DLLs use traditional 'lib' prefix
   11033       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11034       ;;
   11035     pw32*)
   11036       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11037       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11038       ;;
   11039     esac
   11040     dynamic_linker='Win32 ld.exe'
   11041     ;;
   11042 
   11043   *,cl*)
   11044     # Native MSVC
   11045     libname_spec='$name'
   11046     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11047     library_names_spec='${libname}.dll.lib'
   11048 
   11049     case $build_os in
   11050     mingw*)
   11051       sys_lib_search_path_spec=
   11052       lt_save_ifs=$IFS
   11053       IFS=';'
   11054       for lt_path in $LIB
   11055       do
   11056         IFS=$lt_save_ifs
   11057         # Let DOS variable expansion print the short 8.3 style file name.
   11058         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11059         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11060       done
   11061       IFS=$lt_save_ifs
   11062       # Convert to MSYS style.
   11063       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11064       ;;
   11065     cygwin*)
   11066       # Convert to unix form, then to dos form, then back to unix form
   11067       # but this time dos style (no spaces!) so that the unix form looks
   11068       # like /cygdrive/c/PROGRA~1:/cygdr...
   11069       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11070       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11071       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11072       ;;
   11073     *)
   11074       sys_lib_search_path_spec="$LIB"
   11075       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11076         # It is most probably a Windows format PATH.
   11077         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11078       else
   11079         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11080       fi
   11081       # FIXME: find the short name or the path components, as spaces are
   11082       # common. (e.g. "Program Files" -> "PROGRA~1")
   11083       ;;
   11084     esac
   11085 
   11086     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11087     postinstall_cmds='base_file=`basename \${file}`~
   11088       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11089       dldir=$destdir/`dirname \$dlpath`~
   11090       test -d \$dldir || mkdir -p \$dldir~
   11091       $install_prog $dir/$dlname \$dldir/$dlname'
   11092     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11093       dlpath=$dir/\$dldll~
   11094        $RM \$dlpath'
   11095     shlibpath_overrides_runpath=yes
   11096     dynamic_linker='Win32 link.exe'
   11097     ;;
   11098 
   11099   *)
   11100     # Assume MSVC wrapper
   11101     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11102     dynamic_linker='Win32 ld.exe'
   11103     ;;
   11104   esac
   11105   # FIXME: first we should search . and the directory the executable is in
   11106   shlibpath_var=PATH
   11107   ;;
   11108 
   11109 darwin* | rhapsody*)
   11110   dynamic_linker="$host_os dyld"
   11111   version_type=darwin
   11112   need_lib_prefix=no
   11113   need_version=no
   11114   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11115   soname_spec='${libname}${release}${major}$shared_ext'
   11116   shlibpath_overrides_runpath=yes
   11117   shlibpath_var=DYLD_LIBRARY_PATH
   11118   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11119 
   11120   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11121   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11122   ;;
   11123 
   11124 dgux*)
   11125   version_type=linux # correct to gnu/linux during the next big refactor
   11126   need_lib_prefix=no
   11127   need_version=no
   11128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11129   soname_spec='${libname}${release}${shared_ext}$major'
   11130   shlibpath_var=LD_LIBRARY_PATH
   11131   ;;
   11132 
   11133 freebsd* | dragonfly*)
   11134   # DragonFly does not have aout.  When/if they implement a new
   11135   # versioning mechanism, adjust this.
   11136   if test -x /usr/bin/objformat; then
   11137     objformat=`/usr/bin/objformat`
   11138   else
   11139     case $host_os in
   11140     freebsd[23].*) objformat=aout ;;
   11141     *) objformat=elf ;;
   11142     esac
   11143   fi
   11144   version_type=freebsd-$objformat
   11145   case $version_type in
   11146     freebsd-elf*)
   11147       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11148       need_version=no
   11149       need_lib_prefix=no
   11150       ;;
   11151     freebsd-*)
   11152       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11153       need_version=yes
   11154       ;;
   11155   esac
   11156   shlibpath_var=LD_LIBRARY_PATH
   11157   case $host_os in
   11158   freebsd2.*)
   11159     shlibpath_overrides_runpath=yes
   11160     ;;
   11161   freebsd3.[01]* | freebsdelf3.[01]*)
   11162     shlibpath_overrides_runpath=yes
   11163     hardcode_into_libs=yes
   11164     ;;
   11165   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11166   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11167     shlibpath_overrides_runpath=no
   11168     hardcode_into_libs=yes
   11169     ;;
   11170   *) # from 4.6 on, and DragonFly
   11171     shlibpath_overrides_runpath=yes
   11172     hardcode_into_libs=yes
   11173     ;;
   11174   esac
   11175   ;;
   11176 
   11177 gnu*)
   11178   version_type=linux # correct to gnu/linux during the next big refactor
   11179   need_lib_prefix=no
   11180   need_version=no
   11181   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11182   soname_spec='${libname}${release}${shared_ext}$major'
   11183   shlibpath_var=LD_LIBRARY_PATH
   11184   shlibpath_overrides_runpath=no
   11185   hardcode_into_libs=yes
   11186   ;;
   11187 
   11188 haiku*)
   11189   version_type=linux # correct to gnu/linux during the next big refactor
   11190   need_lib_prefix=no
   11191   need_version=no
   11192   dynamic_linker="$host_os runtime_loader"
   11193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11194   soname_spec='${libname}${release}${shared_ext}$major'
   11195   shlibpath_var=LIBRARY_PATH
   11196   shlibpath_overrides_runpath=yes
   11197   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11198   hardcode_into_libs=yes
   11199   ;;
   11200 
   11201 hpux9* | hpux10* | hpux11*)
   11202   # Give a soname corresponding to the major version so that dld.sl refuses to
   11203   # link against other versions.
   11204   version_type=sunos
   11205   need_lib_prefix=no
   11206   need_version=no
   11207   case $host_cpu in
   11208   ia64*)
   11209     shrext_cmds='.so'
   11210     hardcode_into_libs=yes
   11211     dynamic_linker="$host_os dld.so"
   11212     shlibpath_var=LD_LIBRARY_PATH
   11213     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11214     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11215     soname_spec='${libname}${release}${shared_ext}$major'
   11216     if test "X$HPUX_IA64_MODE" = X32; then
   11217       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11218     else
   11219       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11220     fi
   11221     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11222     ;;
   11223   hppa*64*)
   11224     shrext_cmds='.sl'
   11225     hardcode_into_libs=yes
   11226     dynamic_linker="$host_os dld.sl"
   11227     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11228     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11229     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11230     soname_spec='${libname}${release}${shared_ext}$major'
   11231     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11232     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11233     ;;
   11234   *)
   11235     shrext_cmds='.sl'
   11236     dynamic_linker="$host_os dld.sl"
   11237     shlibpath_var=SHLIB_PATH
   11238     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11239     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11240     soname_spec='${libname}${release}${shared_ext}$major'
   11241     ;;
   11242   esac
   11243   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11244   postinstall_cmds='chmod 555 $lib'
   11245   # or fails outright, so override atomically:
   11246   install_override_mode=555
   11247   ;;
   11248 
   11249 interix[3-9]*)
   11250   version_type=linux # correct to gnu/linux during the next big refactor
   11251   need_lib_prefix=no
   11252   need_version=no
   11253   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11254   soname_spec='${libname}${release}${shared_ext}$major'
   11255   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11256   shlibpath_var=LD_LIBRARY_PATH
   11257   shlibpath_overrides_runpath=no
   11258   hardcode_into_libs=yes
   11259   ;;
   11260 
   11261 irix5* | irix6* | nonstopux*)
   11262   case $host_os in
   11263     nonstopux*) version_type=nonstopux ;;
   11264     *)
   11265 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11266 		version_type=linux # correct to gnu/linux during the next big refactor
   11267 	else
   11268 		version_type=irix
   11269 	fi ;;
   11270   esac
   11271   need_lib_prefix=no
   11272   need_version=no
   11273   soname_spec='${libname}${release}${shared_ext}$major'
   11274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11275   case $host_os in
   11276   irix5* | nonstopux*)
   11277     libsuff= shlibsuff=
   11278     ;;
   11279   *)
   11280     case $LD in # libtool.m4 will add one of these switches to LD
   11281     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11282       libsuff= shlibsuff= libmagic=32-bit;;
   11283     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11284       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11285     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11286       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11287     *) libsuff= shlibsuff= libmagic=never-match;;
   11288     esac
   11289     ;;
   11290   esac
   11291   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11292   shlibpath_overrides_runpath=no
   11293   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11294   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11295   hardcode_into_libs=yes
   11296   ;;
   11297 
   11298 # No shared lib support for Linux oldld, aout, or coff.
   11299 linux*oldld* | linux*aout* | linux*coff*)
   11300   dynamic_linker=no
   11301   ;;
   11302 
   11303 # This must be glibc/ELF.
   11304 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11305   version_type=linux # correct to gnu/linux during the next big refactor
   11306   need_lib_prefix=no
   11307   need_version=no
   11308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11309   soname_spec='${libname}${release}${shared_ext}$major'
   11310   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11311   shlibpath_var=LD_LIBRARY_PATH
   11312   shlibpath_overrides_runpath=no
   11313 
   11314   # Some binutils ld are patched to set DT_RUNPATH
   11315   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11316   $as_echo_n "(cached) " >&6
   11317 else
   11318   lt_cv_shlibpath_overrides_runpath=no
   11319     save_LDFLAGS=$LDFLAGS
   11320     save_libdir=$libdir
   11321     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11322 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11323     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11324 /* end confdefs.h.  */
   11325 
   11326 int
   11327 main ()
   11328 {
   11329 
   11330   ;
   11331   return 0;
   11332 }
   11333 _ACEOF
   11334 if ac_fn_c_try_link "$LINENO"; then :
   11335   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11336   lt_cv_shlibpath_overrides_runpath=yes
   11337 fi
   11338 fi
   11339 rm -f core conftest.err conftest.$ac_objext \
   11340     conftest$ac_exeext conftest.$ac_ext
   11341     LDFLAGS=$save_LDFLAGS
   11342     libdir=$save_libdir
   11343 
   11344 fi
   11345 
   11346   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11347 
   11348   # This implies no fast_install, which is unacceptable.
   11349   # Some rework will be needed to allow for fast_install
   11350   # before this can be enabled.
   11351   hardcode_into_libs=yes
   11352 
   11353   # Add ABI-specific directories to the system library path.
   11354   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   11355 
   11356   # Append ld.so.conf contents to the search path
   11357   if test -f /etc/ld.so.conf; then
   11358     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   11359     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   11360 
   11361   fi
   11362 
   11363   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11364   # powerpc, because MkLinux only supported shared libraries with the
   11365   # GNU dynamic linker.  Since this was broken with cross compilers,
   11366   # most powerpc-linux boxes support dynamic linking these days and
   11367   # people can always --disable-shared, the test was removed, and we
   11368   # assume the GNU/Linux dynamic linker is in use.
   11369   dynamic_linker='GNU/Linux ld.so'
   11370   ;;
   11371 
   11372 netbsd*)
   11373   version_type=sunos
   11374   need_lib_prefix=no
   11375   need_version=no
   11376   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11377     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11378     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11379     dynamic_linker='NetBSD (a.out) ld.so'
   11380   else
   11381     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11382     soname_spec='${libname}${release}${shared_ext}$major'
   11383     dynamic_linker='NetBSD ld.elf_so'
   11384   fi
   11385   shlibpath_var=LD_LIBRARY_PATH
   11386   shlibpath_overrides_runpath=yes
   11387   hardcode_into_libs=yes
   11388   ;;
   11389 
   11390 newsos6)
   11391   version_type=linux # correct to gnu/linux during the next big refactor
   11392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11393   shlibpath_var=LD_LIBRARY_PATH
   11394   shlibpath_overrides_runpath=yes
   11395   ;;
   11396 
   11397 *nto* | *qnx*)
   11398   version_type=qnx
   11399   need_lib_prefix=no
   11400   need_version=no
   11401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11402   soname_spec='${libname}${release}${shared_ext}$major'
   11403   shlibpath_var=LD_LIBRARY_PATH
   11404   shlibpath_overrides_runpath=no
   11405   hardcode_into_libs=yes
   11406   dynamic_linker='ldqnx.so'
   11407   ;;
   11408 
   11409 openbsd*)
   11410   version_type=sunos
   11411   sys_lib_dlsearch_path_spec="/usr/lib"
   11412   need_lib_prefix=no
   11413   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11414   case $host_os in
   11415     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11416     *)				need_version=no  ;;
   11417   esac
   11418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11419   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11420   shlibpath_var=LD_LIBRARY_PATH
   11421   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11422     case $host_os in
   11423       openbsd2.[89] | openbsd2.[89].*)
   11424 	shlibpath_overrides_runpath=no
   11425 	;;
   11426       *)
   11427 	shlibpath_overrides_runpath=yes
   11428 	;;
   11429       esac
   11430   else
   11431     shlibpath_overrides_runpath=yes
   11432   fi
   11433   ;;
   11434 
   11435 os2*)
   11436   libname_spec='$name'
   11437   shrext_cmds=".dll"
   11438   need_lib_prefix=no
   11439   library_names_spec='$libname${shared_ext} $libname.a'
   11440   dynamic_linker='OS/2 ld.exe'
   11441   shlibpath_var=LIBPATH
   11442   ;;
   11443 
   11444 osf3* | osf4* | osf5*)
   11445   version_type=osf
   11446   need_lib_prefix=no
   11447   need_version=no
   11448   soname_spec='${libname}${release}${shared_ext}$major'
   11449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11450   shlibpath_var=LD_LIBRARY_PATH
   11451   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11452   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11453   ;;
   11454 
   11455 rdos*)
   11456   dynamic_linker=no
   11457   ;;
   11458 
   11459 solaris*)
   11460   version_type=linux # correct to gnu/linux during the next big refactor
   11461   need_lib_prefix=no
   11462   need_version=no
   11463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11464   soname_spec='${libname}${release}${shared_ext}$major'
   11465   shlibpath_var=LD_LIBRARY_PATH
   11466   shlibpath_overrides_runpath=yes
   11467   hardcode_into_libs=yes
   11468   # ldd complains unless libraries are executable
   11469   postinstall_cmds='chmod +x $lib'
   11470   ;;
   11471 
   11472 sunos4*)
   11473   version_type=sunos
   11474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11475   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11476   shlibpath_var=LD_LIBRARY_PATH
   11477   shlibpath_overrides_runpath=yes
   11478   if test "$with_gnu_ld" = yes; then
   11479     need_lib_prefix=no
   11480   fi
   11481   need_version=yes
   11482   ;;
   11483 
   11484 sysv4 | sysv4.3*)
   11485   version_type=linux # correct to gnu/linux during the next big refactor
   11486   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11487   soname_spec='${libname}${release}${shared_ext}$major'
   11488   shlibpath_var=LD_LIBRARY_PATH
   11489   case $host_vendor in
   11490     sni)
   11491       shlibpath_overrides_runpath=no
   11492       need_lib_prefix=no
   11493       runpath_var=LD_RUN_PATH
   11494       ;;
   11495     siemens)
   11496       need_lib_prefix=no
   11497       ;;
   11498     motorola)
   11499       need_lib_prefix=no
   11500       need_version=no
   11501       shlibpath_overrides_runpath=no
   11502       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11503       ;;
   11504   esac
   11505   ;;
   11506 
   11507 sysv4*MP*)
   11508   if test -d /usr/nec ;then
   11509     version_type=linux # correct to gnu/linux during the next big refactor
   11510     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11511     soname_spec='$libname${shared_ext}.$major'
   11512     shlibpath_var=LD_LIBRARY_PATH
   11513   fi
   11514   ;;
   11515 
   11516 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11517   version_type=freebsd-elf
   11518   need_lib_prefix=no
   11519   need_version=no
   11520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11521   soname_spec='${libname}${release}${shared_ext}$major'
   11522   shlibpath_var=LD_LIBRARY_PATH
   11523   shlibpath_overrides_runpath=yes
   11524   hardcode_into_libs=yes
   11525   if test "$with_gnu_ld" = yes; then
   11526     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11527   else
   11528     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11529     case $host_os in
   11530       sco3.2v5*)
   11531         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11532 	;;
   11533     esac
   11534   fi
   11535   sys_lib_dlsearch_path_spec='/usr/lib'
   11536   ;;
   11537 
   11538 tpf*)
   11539   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11540   version_type=linux # correct to gnu/linux during the next big refactor
   11541   need_lib_prefix=no
   11542   need_version=no
   11543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11544   shlibpath_var=LD_LIBRARY_PATH
   11545   shlibpath_overrides_runpath=no
   11546   hardcode_into_libs=yes
   11547   ;;
   11548 
   11549 uts4*)
   11550   version_type=linux # correct to gnu/linux during the next big refactor
   11551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11552   soname_spec='${libname}${release}${shared_ext}$major'
   11553   shlibpath_var=LD_LIBRARY_PATH
   11554   ;;
   11555 
   11556 *)
   11557   dynamic_linker=no
   11558   ;;
   11559 esac
   11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11561 $as_echo "$dynamic_linker" >&6; }
   11562 test "$dynamic_linker" = no && can_build_shared=no
   11563 
   11564 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11565 if test "$GCC" = yes; then
   11566   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11567 fi
   11568 
   11569 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11570   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11571 fi
   11572 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11573   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11574 fi
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11668 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11669 hardcode_action=
   11670 if test -n "$hardcode_libdir_flag_spec" ||
   11671    test -n "$runpath_var" ||
   11672    test "X$hardcode_automatic" = "Xyes" ; then
   11673 
   11674   # We can hardcode non-existent directories.
   11675   if test "$hardcode_direct" != no &&
   11676      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11677      # have to relink, otherwise we might link with an installed library
   11678      # when we should be linking with a yet-to-be-installed one
   11679      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11680      test "$hardcode_minus_L" != no; then
   11681     # Linking always hardcodes the temporary library directory.
   11682     hardcode_action=relink
   11683   else
   11684     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11685     hardcode_action=immediate
   11686   fi
   11687 else
   11688   # We cannot hardcode anything, or else we can only hardcode existing
   11689   # directories.
   11690   hardcode_action=unsupported
   11691 fi
   11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11693 $as_echo "$hardcode_action" >&6; }
   11694 
   11695 if test "$hardcode_action" = relink ||
   11696    test "$inherit_rpath" = yes; then
   11697   # Fast installation is not supported
   11698   enable_fast_install=no
   11699 elif test "$shlibpath_overrides_runpath" = yes ||
   11700      test "$enable_shared" = no; then
   11701   # Fast installation is not necessary
   11702   enable_fast_install=needless
   11703 fi
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710   if test "x$enable_dlopen" != xyes; then
   11711   enable_dlopen=unknown
   11712   enable_dlopen_self=unknown
   11713   enable_dlopen_self_static=unknown
   11714 else
   11715   lt_cv_dlopen=no
   11716   lt_cv_dlopen_libs=
   11717 
   11718   case $host_os in
   11719   beos*)
   11720     lt_cv_dlopen="load_add_on"
   11721     lt_cv_dlopen_libs=
   11722     lt_cv_dlopen_self=yes
   11723     ;;
   11724 
   11725   mingw* | pw32* | cegcc*)
   11726     lt_cv_dlopen="LoadLibrary"
   11727     lt_cv_dlopen_libs=
   11728     ;;
   11729 
   11730   cygwin*)
   11731     lt_cv_dlopen="dlopen"
   11732     lt_cv_dlopen_libs=
   11733     ;;
   11734 
   11735   darwin*)
   11736   # if libdl is installed we need to link against it
   11737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11738 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11739 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11740   $as_echo_n "(cached) " >&6
   11741 else
   11742   ac_check_lib_save_LIBS=$LIBS
   11743 LIBS="-ldl  $LIBS"
   11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11745 /* end confdefs.h.  */
   11746 
   11747 /* Override any GCC internal prototype to avoid an error.
   11748    Use char because int might match the return type of a GCC
   11749    builtin and then its argument prototype would still apply.  */
   11750 #ifdef __cplusplus
   11751 extern "C"
   11752 #endif
   11753 char dlopen ();
   11754 int
   11755 main ()
   11756 {
   11757 return dlopen ();
   11758   ;
   11759   return 0;
   11760 }
   11761 _ACEOF
   11762 if ac_fn_c_try_link "$LINENO"; then :
   11763   ac_cv_lib_dl_dlopen=yes
   11764 else
   11765   ac_cv_lib_dl_dlopen=no
   11766 fi
   11767 rm -f core conftest.err conftest.$ac_objext \
   11768     conftest$ac_exeext conftest.$ac_ext
   11769 LIBS=$ac_check_lib_save_LIBS
   11770 fi
   11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11772 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11773 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11774   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11775 else
   11776 
   11777     lt_cv_dlopen="dyld"
   11778     lt_cv_dlopen_libs=
   11779     lt_cv_dlopen_self=yes
   11780 
   11781 fi
   11782 
   11783     ;;
   11784 
   11785   *)
   11786     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11787 if test "x$ac_cv_func_shl_load" = xyes; then :
   11788   lt_cv_dlopen="shl_load"
   11789 else
   11790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11791 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11792 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11793   $as_echo_n "(cached) " >&6
   11794 else
   11795   ac_check_lib_save_LIBS=$LIBS
   11796 LIBS="-ldld  $LIBS"
   11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11798 /* end confdefs.h.  */
   11799 
   11800 /* Override any GCC internal prototype to avoid an error.
   11801    Use char because int might match the return type of a GCC
   11802    builtin and then its argument prototype would still apply.  */
   11803 #ifdef __cplusplus
   11804 extern "C"
   11805 #endif
   11806 char shl_load ();
   11807 int
   11808 main ()
   11809 {
   11810 return shl_load ();
   11811   ;
   11812   return 0;
   11813 }
   11814 _ACEOF
   11815 if ac_fn_c_try_link "$LINENO"; then :
   11816   ac_cv_lib_dld_shl_load=yes
   11817 else
   11818   ac_cv_lib_dld_shl_load=no
   11819 fi
   11820 rm -f core conftest.err conftest.$ac_objext \
   11821     conftest$ac_exeext conftest.$ac_ext
   11822 LIBS=$ac_check_lib_save_LIBS
   11823 fi
   11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11825 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11826 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11827   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11828 else
   11829   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11830 if test "x$ac_cv_func_dlopen" = xyes; then :
   11831   lt_cv_dlopen="dlopen"
   11832 else
   11833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11834 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11835 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11836   $as_echo_n "(cached) " >&6
   11837 else
   11838   ac_check_lib_save_LIBS=$LIBS
   11839 LIBS="-ldl  $LIBS"
   11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11841 /* end confdefs.h.  */
   11842 
   11843 /* Override any GCC internal prototype to avoid an error.
   11844    Use char because int might match the return type of a GCC
   11845    builtin and then its argument prototype would still apply.  */
   11846 #ifdef __cplusplus
   11847 extern "C"
   11848 #endif
   11849 char dlopen ();
   11850 int
   11851 main ()
   11852 {
   11853 return dlopen ();
   11854   ;
   11855   return 0;
   11856 }
   11857 _ACEOF
   11858 if ac_fn_c_try_link "$LINENO"; then :
   11859   ac_cv_lib_dl_dlopen=yes
   11860 else
   11861   ac_cv_lib_dl_dlopen=no
   11862 fi
   11863 rm -f core conftest.err conftest.$ac_objext \
   11864     conftest$ac_exeext conftest.$ac_ext
   11865 LIBS=$ac_check_lib_save_LIBS
   11866 fi
   11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11868 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11869 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11870   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11871 else
   11872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11873 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11874 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11875   $as_echo_n "(cached) " >&6
   11876 else
   11877   ac_check_lib_save_LIBS=$LIBS
   11878 LIBS="-lsvld  $LIBS"
   11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11880 /* end confdefs.h.  */
   11881 
   11882 /* Override any GCC internal prototype to avoid an error.
   11883    Use char because int might match the return type of a GCC
   11884    builtin and then its argument prototype would still apply.  */
   11885 #ifdef __cplusplus
   11886 extern "C"
   11887 #endif
   11888 char dlopen ();
   11889 int
   11890 main ()
   11891 {
   11892 return dlopen ();
   11893   ;
   11894   return 0;
   11895 }
   11896 _ACEOF
   11897 if ac_fn_c_try_link "$LINENO"; then :
   11898   ac_cv_lib_svld_dlopen=yes
   11899 else
   11900   ac_cv_lib_svld_dlopen=no
   11901 fi
   11902 rm -f core conftest.err conftest.$ac_objext \
   11903     conftest$ac_exeext conftest.$ac_ext
   11904 LIBS=$ac_check_lib_save_LIBS
   11905 fi
   11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11907 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11908 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11909   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11910 else
   11911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11912 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11913 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11914   $as_echo_n "(cached) " >&6
   11915 else
   11916   ac_check_lib_save_LIBS=$LIBS
   11917 LIBS="-ldld  $LIBS"
   11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11919 /* end confdefs.h.  */
   11920 
   11921 /* Override any GCC internal prototype to avoid an error.
   11922    Use char because int might match the return type of a GCC
   11923    builtin and then its argument prototype would still apply.  */
   11924 #ifdef __cplusplus
   11925 extern "C"
   11926 #endif
   11927 char dld_link ();
   11928 int
   11929 main ()
   11930 {
   11931 return dld_link ();
   11932   ;
   11933   return 0;
   11934 }
   11935 _ACEOF
   11936 if ac_fn_c_try_link "$LINENO"; then :
   11937   ac_cv_lib_dld_dld_link=yes
   11938 else
   11939   ac_cv_lib_dld_dld_link=no
   11940 fi
   11941 rm -f core conftest.err conftest.$ac_objext \
   11942     conftest$ac_exeext conftest.$ac_ext
   11943 LIBS=$ac_check_lib_save_LIBS
   11944 fi
   11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11946 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11947 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11948   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11949 fi
   11950 
   11951 
   11952 fi
   11953 
   11954 
   11955 fi
   11956 
   11957 
   11958 fi
   11959 
   11960 
   11961 fi
   11962 
   11963 
   11964 fi
   11965 
   11966     ;;
   11967   esac
   11968 
   11969   if test "x$lt_cv_dlopen" != xno; then
   11970     enable_dlopen=yes
   11971   else
   11972     enable_dlopen=no
   11973   fi
   11974 
   11975   case $lt_cv_dlopen in
   11976   dlopen)
   11977     save_CPPFLAGS="$CPPFLAGS"
   11978     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11979 
   11980     save_LDFLAGS="$LDFLAGS"
   11981     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11982 
   11983     save_LIBS="$LIBS"
   11984     LIBS="$lt_cv_dlopen_libs $LIBS"
   11985 
   11986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11987 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11988 if ${lt_cv_dlopen_self+:} false; then :
   11989   $as_echo_n "(cached) " >&6
   11990 else
   11991   	  if test "$cross_compiling" = yes; then :
   11992   lt_cv_dlopen_self=cross
   11993 else
   11994   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11995   lt_status=$lt_dlunknown
   11996   cat > conftest.$ac_ext <<_LT_EOF
   11997 #line $LINENO "configure"
   11998 #include "confdefs.h"
   11999 
   12000 #if HAVE_DLFCN_H
   12001 #include <dlfcn.h>
   12002 #endif
   12003 
   12004 #include <stdio.h>
   12005 
   12006 #ifdef RTLD_GLOBAL
   12007 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12008 #else
   12009 #  ifdef DL_GLOBAL
   12010 #    define LT_DLGLOBAL		DL_GLOBAL
   12011 #  else
   12012 #    define LT_DLGLOBAL		0
   12013 #  endif
   12014 #endif
   12015 
   12016 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12017    find out it does not work in some platform. */
   12018 #ifndef LT_DLLAZY_OR_NOW
   12019 #  ifdef RTLD_LAZY
   12020 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12021 #  else
   12022 #    ifdef DL_LAZY
   12023 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12024 #    else
   12025 #      ifdef RTLD_NOW
   12026 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12027 #      else
   12028 #        ifdef DL_NOW
   12029 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12030 #        else
   12031 #          define LT_DLLAZY_OR_NOW	0
   12032 #        endif
   12033 #      endif
   12034 #    endif
   12035 #  endif
   12036 #endif
   12037 
   12038 /* When -fvisbility=hidden is used, assume the code has been annotated
   12039    correspondingly for the symbols needed.  */
   12040 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12041 int fnord () __attribute__((visibility("default")));
   12042 #endif
   12043 
   12044 int fnord () { return 42; }
   12045 int main ()
   12046 {
   12047   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12048   int status = $lt_dlunknown;
   12049 
   12050   if (self)
   12051     {
   12052       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12053       else
   12054         {
   12055 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12056           else puts (dlerror ());
   12057 	}
   12058       /* dlclose (self); */
   12059     }
   12060   else
   12061     puts (dlerror ());
   12062 
   12063   return status;
   12064 }
   12065 _LT_EOF
   12066   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12067   (eval $ac_link) 2>&5
   12068   ac_status=$?
   12069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12070   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12071     (./conftest; exit; ) >&5 2>/dev/null
   12072     lt_status=$?
   12073     case x$lt_status in
   12074       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12075       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12076       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12077     esac
   12078   else :
   12079     # compilation failed
   12080     lt_cv_dlopen_self=no
   12081   fi
   12082 fi
   12083 rm -fr conftest*
   12084 
   12085 
   12086 fi
   12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12088 $as_echo "$lt_cv_dlopen_self" >&6; }
   12089 
   12090     if test "x$lt_cv_dlopen_self" = xyes; then
   12091       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12092       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12093 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12094 if ${lt_cv_dlopen_self_static+:} false; then :
   12095   $as_echo_n "(cached) " >&6
   12096 else
   12097   	  if test "$cross_compiling" = yes; then :
   12098   lt_cv_dlopen_self_static=cross
   12099 else
   12100   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12101   lt_status=$lt_dlunknown
   12102   cat > conftest.$ac_ext <<_LT_EOF
   12103 #line $LINENO "configure"
   12104 #include "confdefs.h"
   12105 
   12106 #if HAVE_DLFCN_H
   12107 #include <dlfcn.h>
   12108 #endif
   12109 
   12110 #include <stdio.h>
   12111 
   12112 #ifdef RTLD_GLOBAL
   12113 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12114 #else
   12115 #  ifdef DL_GLOBAL
   12116 #    define LT_DLGLOBAL		DL_GLOBAL
   12117 #  else
   12118 #    define LT_DLGLOBAL		0
   12119 #  endif
   12120 #endif
   12121 
   12122 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12123    find out it does not work in some platform. */
   12124 #ifndef LT_DLLAZY_OR_NOW
   12125 #  ifdef RTLD_LAZY
   12126 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12127 #  else
   12128 #    ifdef DL_LAZY
   12129 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12130 #    else
   12131 #      ifdef RTLD_NOW
   12132 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12133 #      else
   12134 #        ifdef DL_NOW
   12135 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12136 #        else
   12137 #          define LT_DLLAZY_OR_NOW	0
   12138 #        endif
   12139 #      endif
   12140 #    endif
   12141 #  endif
   12142 #endif
   12143 
   12144 /* When -fvisbility=hidden is used, assume the code has been annotated
   12145    correspondingly for the symbols needed.  */
   12146 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12147 int fnord () __attribute__((visibility("default")));
   12148 #endif
   12149 
   12150 int fnord () { return 42; }
   12151 int main ()
   12152 {
   12153   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12154   int status = $lt_dlunknown;
   12155 
   12156   if (self)
   12157     {
   12158       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12159       else
   12160         {
   12161 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12162           else puts (dlerror ());
   12163 	}
   12164       /* dlclose (self); */
   12165     }
   12166   else
   12167     puts (dlerror ());
   12168 
   12169   return status;
   12170 }
   12171 _LT_EOF
   12172   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12173   (eval $ac_link) 2>&5
   12174   ac_status=$?
   12175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12176   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12177     (./conftest; exit; ) >&5 2>/dev/null
   12178     lt_status=$?
   12179     case x$lt_status in
   12180       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12181       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12182       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12183     esac
   12184   else :
   12185     # compilation failed
   12186     lt_cv_dlopen_self_static=no
   12187   fi
   12188 fi
   12189 rm -fr conftest*
   12190 
   12191 
   12192 fi
   12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12194 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12195     fi
   12196 
   12197     CPPFLAGS="$save_CPPFLAGS"
   12198     LDFLAGS="$save_LDFLAGS"
   12199     LIBS="$save_LIBS"
   12200     ;;
   12201   esac
   12202 
   12203   case $lt_cv_dlopen_self in
   12204   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12205   *) enable_dlopen_self=unknown ;;
   12206   esac
   12207 
   12208   case $lt_cv_dlopen_self_static in
   12209   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12210   *) enable_dlopen_self_static=unknown ;;
   12211   esac
   12212 fi
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 striplib=
   12231 old_striplib=
   12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12233 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12234 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12235   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12236   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12238 $as_echo "yes" >&6; }
   12239 else
   12240 # FIXME - insert some real tests, host_os isn't really good enough
   12241   case $host_os in
   12242   darwin*)
   12243     if test -n "$STRIP" ; then
   12244       striplib="$STRIP -x"
   12245       old_striplib="$STRIP -S"
   12246       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12247 $as_echo "yes" >&6; }
   12248     else
   12249       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12250 $as_echo "no" >&6; }
   12251     fi
   12252     ;;
   12253   *)
   12254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12255 $as_echo "no" >&6; }
   12256     ;;
   12257   esac
   12258 fi
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271   # Report which library types will actually be built
   12272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12273 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12275 $as_echo "$can_build_shared" >&6; }
   12276 
   12277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12278 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12279   test "$can_build_shared" = "no" && enable_shared=no
   12280 
   12281   # On AIX, shared libraries and static libraries use the same namespace, and
   12282   # are all built from PIC.
   12283   case $host_os in
   12284   aix3*)
   12285     test "$enable_shared" = yes && enable_static=no
   12286     if test -n "$RANLIB"; then
   12287       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12288       postinstall_cmds='$RANLIB $lib'
   12289     fi
   12290     ;;
   12291 
   12292   aix[4-9]*)
   12293     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12294       test "$enable_shared" = yes && enable_static=no
   12295     fi
   12296     ;;
   12297   esac
   12298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12299 $as_echo "$enable_shared" >&6; }
   12300 
   12301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12302 $as_echo_n "checking whether to build static libraries... " >&6; }
   12303   # Make sure either enable_shared or enable_static is yes.
   12304   test "$enable_shared" = yes || enable_static=yes
   12305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12306 $as_echo "$enable_static" >&6; }
   12307 
   12308 
   12309 
   12310 
   12311 fi
   12312 ac_ext=c
   12313 ac_cpp='$CPP $CPPFLAGS'
   12314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12317 
   12318 CC="$lt_save_CC"
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334         ac_config_commands="$ac_config_commands libtool"
   12335 
   12336 
   12337 
   12338 
   12339 # Only expand once:
   12340 
   12341 
   12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   12343 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   12344 set x ${MAKE-make}
   12345 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   12346 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   12347   $as_echo_n "(cached) " >&6
   12348 else
   12349   cat >conftest.make <<\_ACEOF
   12350 SHELL = /bin/sh
   12351 all:
   12352 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   12353 _ACEOF
   12354 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   12355 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   12356   *@@@%%%=?*=@@@%%%*)
   12357     eval ac_cv_prog_make_${ac_make}_set=yes;;
   12358   *)
   12359     eval ac_cv_prog_make_${ac_make}_set=no;;
   12360 esac
   12361 rm -f conftest.make
   12362 fi
   12363 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   12364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12365 $as_echo "yes" >&6; }
   12366   SET_MAKE=
   12367 else
   12368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12369 $as_echo "no" >&6; }
   12370   SET_MAKE="MAKE=${MAKE-make}"
   12371 fi
   12372 
   12373 
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12381 	if test -n "$ac_tool_prefix"; then
   12382   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12383 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12385 $as_echo_n "checking for $ac_word... " >&6; }
   12386 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12387   $as_echo_n "(cached) " >&6
   12388 else
   12389   case $PKG_CONFIG in
   12390   [\\/]* | ?:[\\/]*)
   12391   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12392   ;;
   12393   *)
   12394   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12395 for as_dir in $PATH
   12396 do
   12397   IFS=$as_save_IFS
   12398   test -z "$as_dir" && as_dir=.
   12399     for ac_exec_ext in '' $ac_executable_extensions; do
   12400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12401     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12403     break 2
   12404   fi
   12405 done
   12406   done
   12407 IFS=$as_save_IFS
   12408 
   12409   ;;
   12410 esac
   12411 fi
   12412 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12413 if test -n "$PKG_CONFIG"; then
   12414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12415 $as_echo "$PKG_CONFIG" >&6; }
   12416 else
   12417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12418 $as_echo "no" >&6; }
   12419 fi
   12420 
   12421 
   12422 fi
   12423 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12424   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12425   # Extract the first word of "pkg-config", so it can be a program name with args.
   12426 set dummy pkg-config; ac_word=$2
   12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12428 $as_echo_n "checking for $ac_word... " >&6; }
   12429 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12430   $as_echo_n "(cached) " >&6
   12431 else
   12432   case $ac_pt_PKG_CONFIG in
   12433   [\\/]* | ?:[\\/]*)
   12434   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12435   ;;
   12436   *)
   12437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12438 for as_dir in $PATH
   12439 do
   12440   IFS=$as_save_IFS
   12441   test -z "$as_dir" && as_dir=.
   12442     for ac_exec_ext in '' $ac_executable_extensions; do
   12443   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12444     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12446     break 2
   12447   fi
   12448 done
   12449   done
   12450 IFS=$as_save_IFS
   12451 
   12452   ;;
   12453 esac
   12454 fi
   12455 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12456 if test -n "$ac_pt_PKG_CONFIG"; then
   12457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12458 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12459 else
   12460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12461 $as_echo "no" >&6; }
   12462 fi
   12463 
   12464   if test "x$ac_pt_PKG_CONFIG" = x; then
   12465     PKG_CONFIG=""
   12466   else
   12467     case $cross_compiling:$ac_tool_warned in
   12468 yes:)
   12469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12471 ac_tool_warned=yes ;;
   12472 esac
   12473     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12474   fi
   12475 else
   12476   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12477 fi
   12478 
   12479 fi
   12480 if test -n "$PKG_CONFIG"; then
   12481 	_pkg_min_version=0.9.0
   12482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12483 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12484 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12486 $as_echo "yes" >&6; }
   12487 	else
   12488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12489 $as_echo "no" >&6; }
   12490 		PKG_CONFIG=""
   12491 	fi
   12492 fi
   12493 
   12494 
   12495 
   12496 # Check whether --with-pkgconfigdir was given.
   12497 if test "${with_pkgconfigdir+set}" = set; then :
   12498   withval=$with_pkgconfigdir;
   12499 else
   12500   with_pkgconfigdir='${libdir}/pkgconfig'
   12501 fi
   12502 
   12503 pkgconfigdir=$with_pkgconfigdir
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 GIT=${GIT-"${am_missing_run}git"}
   12511 
   12512 
   12513 GPERF=${GPERF-"${am_missing_run}gperf"}
   12514 
   12515 
   12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RM macro" >&5
   12517 $as_echo_n "checking for RM macro... " >&6; }
   12518 _predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`
   12519 if test "x$_predefined_rm" = "x"; then
   12520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no predefined RM" >&5
   12521 $as_echo "no predefined RM" >&6; }
   12522 	# Extract the first word of "rm", so it can be a program name with args.
   12523 set dummy rm; ac_word=$2
   12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12525 $as_echo_n "checking for $ac_word... " >&6; }
   12526 if ${ac_cv_prog_RM+:} false; then :
   12527   $as_echo_n "(cached) " >&6
   12528 else
   12529   if test -n "$RM"; then
   12530   ac_cv_prog_RM="$RM" # Let the user override the test.
   12531 else
   12532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12533 for as_dir in $PATH
   12534 do
   12535   IFS=$as_save_IFS
   12536   test -z "$as_dir" && as_dir=.
   12537     for ac_exec_ext in '' $ac_executable_extensions; do
   12538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12539     ac_cv_prog_RM="rm -f"
   12540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12541     break 2
   12542   fi
   12543 done
   12544   done
   12545 IFS=$as_save_IFS
   12546 
   12547 fi
   12548 fi
   12549 RM=$ac_cv_prog_RM
   12550 if test -n "$RM"; then
   12551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   12552 $as_echo "$RM" >&6; }
   12553 else
   12554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12555 $as_echo "no" >&6; }
   12556 fi
   12557 
   12558 
   12559 else
   12560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_predefined_rm" >&5
   12561 $as_echo "$_predefined_rm" >&6; }
   12562 fi
   12563 
   12564 
   12565 case "$host" in
   12566   *-*-mingw*)
   12567     os_win32=yes
   12568     ;;
   12569   *)
   12570     os_win32=no
   12571 esac
   12572  if test "$os_win32" = "yes"; then
   12573   OS_WIN32_TRUE=
   12574   OS_WIN32_FALSE='#'
   12575 else
   12576   OS_WIN32_TRUE='#'
   12577   OS_WIN32_FALSE=
   12578 fi
   12579 
   12580 
   12581 if test "$os_win32" = "yes"; then
   12582   # Extract the first word of "lib.exe", so it can be a program name with args.
   12583 set dummy lib.exe; ac_word=$2
   12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12585 $as_echo_n "checking for $ac_word... " >&6; }
   12586 if ${ac_cv_prog_ms_librarian+:} false; then :
   12587   $as_echo_n "(cached) " >&6
   12588 else
   12589   if test -n "$ms_librarian"; then
   12590   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
   12591 else
   12592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12593 for as_dir in $PATH
   12594 do
   12595   IFS=$as_save_IFS
   12596   test -z "$as_dir" && as_dir=.
   12597     for ac_exec_ext in '' $ac_executable_extensions; do
   12598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12599     ac_cv_prog_ms_librarian="yes"
   12600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12601     break 2
   12602   fi
   12603 done
   12604   done
   12605 IFS=$as_save_IFS
   12606 
   12607   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
   12608 fi
   12609 fi
   12610 ms_librarian=$ac_cv_prog_ms_librarian
   12611 if test -n "$ms_librarian"; then
   12612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
   12613 $as_echo "$ms_librarian" >&6; }
   12614 else
   12615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12616 $as_echo "no" >&6; }
   12617 fi
   12618 
   12619 
   12620 fi
   12621  if test x$ms_librarian = xyes; then
   12622   MS_LIB_AVAILABLE_TRUE=
   12623   MS_LIB_AVAILABLE_FALSE='#'
   12624 else
   12625   MS_LIB_AVAILABLE_TRUE='#'
   12626   MS_LIB_AVAILABLE_FALSE=
   12627 fi
   12628 
   12629 
   12630 WARN_CFLAGS=""
   12631 if test "x$GCC" = "xyes"; then
   12632 	WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
   12633 	-Wmissing-prototypes -Wmissing-declarations \
   12634 	-Wnested-externs -fno-strict-aliasing"
   12635 
   12636 cat >>confdefs.h <<_ACEOF
   12637 #define HAVE_WARNING_CPP_DIRECTIVE 1
   12638 _ACEOF
   12639 
   12640 fi
   12641 
   12642 
   12643 
   12644 
   12645 # Put a plausible default for CC_FOR_BUILD in Makefile.
   12646 if test -z "$CC_FOR_BUILD"; then
   12647   if test "x$cross_compiling" = "xno"; then
   12648     CC_FOR_BUILD='$(CC)'
   12649   else
   12650     CC_FOR_BUILD=gcc
   12651   fi
   12652 fi
   12653 
   12654 # Also set EXEEXT_FOR_BUILD.
   12655 if test "x$cross_compiling" = "xno"; then
   12656   EXEEXT_FOR_BUILD='$(EXEEXT)'
   12657 else
   12658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   12659 $as_echo_n "checking for build system executable suffix... " >&6; }
   12660 if ${bfd_cv_build_exeext+:} false; then :
   12661   $as_echo_n "(cached) " >&6
   12662 else
   12663   rm -f conftest*
   12664      echo 'int main () { return 0; }' > conftest.c
   12665      bfd_cv_build_exeext=
   12666      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   12667      for file in conftest.*; do
   12668        case $file in
   12669        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   12670        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   12671        esac
   12672      done
   12673      rm -f conftest*
   12674      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   12675 fi
   12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   12677 $as_echo "$bfd_cv_build_exeext" >&6; }
   12678   EXEEXT_FOR_BUILD=""
   12679   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   12680 fi
   12681 
   12682 
   12683  if test $cross_compiling = yes; then
   12684   CROSS_COMPILING_TRUE=
   12685   CROSS_COMPILING_FALSE='#'
   12686 else
   12687   CROSS_COMPILING_TRUE='#'
   12688   CROSS_COMPILING_FALSE=
   12689 fi
   12690 
   12691  if test "$enable_shared" = "yes"; then
   12692   ENABLE_SHARED_TRUE=
   12693   ENABLE_SHARED_FALSE='#'
   12694 else
   12695   ENABLE_SHARED_TRUE='#'
   12696   ENABLE_SHARED_FALSE=
   12697 fi
   12698 
   12699 
   12700 
   12701 
   12702 # Check whether --with-arch was given.
   12703 if test "${with_arch+set}" = set; then :
   12704   withval=$with_arch; arch="$withval"
   12705 else
   12706   arch=auto
   12707 fi
   12708 
   12709 
   12710 if test "x$arch" != xauto; then
   12711 
   12712 cat >>confdefs.h <<_ACEOF
   12713 #define FC_ARCHITECTURE "$arch"
   12714 _ACEOF
   12715 
   12716 fi
   12717 
   12718 
   12719 
   12720 # Checks for header files.
   12721 ac_header_dirent=no
   12722 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   12723   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   12725 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   12726 if eval \${$as_ac_Header+:} false; then :
   12727   $as_echo_n "(cached) " >&6
   12728 else
   12729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12730 /* end confdefs.h.  */
   12731 #include <sys/types.h>
   12732 #include <$ac_hdr>
   12733 
   12734 int
   12735 main ()
   12736 {
   12737 if ((DIR *) 0)
   12738 return 0;
   12739   ;
   12740   return 0;
   12741 }
   12742 _ACEOF
   12743 if ac_fn_c_try_compile "$LINENO"; then :
   12744   eval "$as_ac_Header=yes"
   12745 else
   12746   eval "$as_ac_Header=no"
   12747 fi
   12748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12749 fi
   12750 eval ac_res=\$$as_ac_Header
   12751 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12752 $as_echo "$ac_res" >&6; }
   12753 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12754   cat >>confdefs.h <<_ACEOF
   12755 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   12756 _ACEOF
   12757 
   12758 ac_header_dirent=$ac_hdr; break
   12759 fi
   12760 
   12761 done
   12762 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   12763 if test $ac_header_dirent = dirent.h; then
   12764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   12765 $as_echo_n "checking for library containing opendir... " >&6; }
   12766 if ${ac_cv_search_opendir+:} false; then :
   12767   $as_echo_n "(cached) " >&6
   12768 else
   12769   ac_func_search_save_LIBS=$LIBS
   12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12771 /* end confdefs.h.  */
   12772 
   12773 /* Override any GCC internal prototype to avoid an error.
   12774    Use char because int might match the return type of a GCC
   12775    builtin and then its argument prototype would still apply.  */
   12776 #ifdef __cplusplus
   12777 extern "C"
   12778 #endif
   12779 char opendir ();
   12780 int
   12781 main ()
   12782 {
   12783 return opendir ();
   12784   ;
   12785   return 0;
   12786 }
   12787 _ACEOF
   12788 for ac_lib in '' dir; do
   12789   if test -z "$ac_lib"; then
   12790     ac_res="none required"
   12791   else
   12792     ac_res=-l$ac_lib
   12793     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12794   fi
   12795   if ac_fn_c_try_link "$LINENO"; then :
   12796   ac_cv_search_opendir=$ac_res
   12797 fi
   12798 rm -f core conftest.err conftest.$ac_objext \
   12799     conftest$ac_exeext
   12800   if ${ac_cv_search_opendir+:} false; then :
   12801   break
   12802 fi
   12803 done
   12804 if ${ac_cv_search_opendir+:} false; then :
   12805 
   12806 else
   12807   ac_cv_search_opendir=no
   12808 fi
   12809 rm conftest.$ac_ext
   12810 LIBS=$ac_func_search_save_LIBS
   12811 fi
   12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   12813 $as_echo "$ac_cv_search_opendir" >&6; }
   12814 ac_res=$ac_cv_search_opendir
   12815 if test "$ac_res" != no; then :
   12816   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12817 
   12818 fi
   12819 
   12820 else
   12821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   12822 $as_echo_n "checking for library containing opendir... " >&6; }
   12823 if ${ac_cv_search_opendir+:} false; then :
   12824   $as_echo_n "(cached) " >&6
   12825 else
   12826   ac_func_search_save_LIBS=$LIBS
   12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12828 /* end confdefs.h.  */
   12829 
   12830 /* Override any GCC internal prototype to avoid an error.
   12831    Use char because int might match the return type of a GCC
   12832    builtin and then its argument prototype would still apply.  */
   12833 #ifdef __cplusplus
   12834 extern "C"
   12835 #endif
   12836 char opendir ();
   12837 int
   12838 main ()
   12839 {
   12840 return opendir ();
   12841   ;
   12842   return 0;
   12843 }
   12844 _ACEOF
   12845 for ac_lib in '' x; do
   12846   if test -z "$ac_lib"; then
   12847     ac_res="none required"
   12848   else
   12849     ac_res=-l$ac_lib
   12850     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12851   fi
   12852   if ac_fn_c_try_link "$LINENO"; then :
   12853   ac_cv_search_opendir=$ac_res
   12854 fi
   12855 rm -f core conftest.err conftest.$ac_objext \
   12856     conftest$ac_exeext
   12857   if ${ac_cv_search_opendir+:} false; then :
   12858   break
   12859 fi
   12860 done
   12861 if ${ac_cv_search_opendir+:} false; then :
   12862 
   12863 else
   12864   ac_cv_search_opendir=no
   12865 fi
   12866 rm conftest.$ac_ext
   12867 LIBS=$ac_func_search_save_LIBS
   12868 fi
   12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   12870 $as_echo "$ac_cv_search_opendir" >&6; }
   12871 ac_res=$ac_cv_search_opendir
   12872 if test "$ac_res" != no; then :
   12873   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12874 
   12875 fi
   12876 
   12877 fi
   12878 
   12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   12880 $as_echo_n "checking for ANSI C header files... " >&6; }
   12881 if ${ac_cv_header_stdc+:} false; then :
   12882   $as_echo_n "(cached) " >&6
   12883 else
   12884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12885 /* end confdefs.h.  */
   12886 #include <stdlib.h>
   12887 #include <stdarg.h>
   12888 #include <string.h>
   12889 #include <float.h>
   12890 
   12891 int
   12892 main ()
   12893 {
   12894 
   12895   ;
   12896   return 0;
   12897 }
   12898 _ACEOF
   12899 if ac_fn_c_try_compile "$LINENO"; then :
   12900   ac_cv_header_stdc=yes
   12901 else
   12902   ac_cv_header_stdc=no
   12903 fi
   12904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12905 
   12906 if test $ac_cv_header_stdc = yes; then
   12907   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   12908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12909 /* end confdefs.h.  */
   12910 #include <string.h>
   12911 
   12912 _ACEOF
   12913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12914   $EGREP "memchr" >/dev/null 2>&1; then :
   12915 
   12916 else
   12917   ac_cv_header_stdc=no
   12918 fi
   12919 rm -f conftest*
   12920 
   12921 fi
   12922 
   12923 if test $ac_cv_header_stdc = yes; then
   12924   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12926 /* end confdefs.h.  */
   12927 #include <stdlib.h>
   12928 
   12929 _ACEOF
   12930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12931   $EGREP "free" >/dev/null 2>&1; then :
   12932 
   12933 else
   12934   ac_cv_header_stdc=no
   12935 fi
   12936 rm -f conftest*
   12937 
   12938 fi
   12939 
   12940 if test $ac_cv_header_stdc = yes; then
   12941   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12942   if test "$cross_compiling" = yes; then :
   12943   :
   12944 else
   12945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12946 /* end confdefs.h.  */
   12947 #include <ctype.h>
   12948 #include <stdlib.h>
   12949 #if ((' ' & 0x0FF) == 0x020)
   12950 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12951 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12952 #else
   12953 # define ISLOWER(c) \
   12954 		   (('a' <= (c) && (c) <= 'i') \
   12955 		     || ('j' <= (c) && (c) <= 'r') \
   12956 		     || ('s' <= (c) && (c) <= 'z'))
   12957 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12958 #endif
   12959 
   12960 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12961 int
   12962 main ()
   12963 {
   12964   int i;
   12965   for (i = 0; i < 256; i++)
   12966     if (XOR (islower (i), ISLOWER (i))
   12967 	|| toupper (i) != TOUPPER (i))
   12968       return 2;
   12969   return 0;
   12970 }
   12971 _ACEOF
   12972 if ac_fn_c_try_run "$LINENO"; then :
   12973 
   12974 else
   12975   ac_cv_header_stdc=no
   12976 fi
   12977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12978   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12979 fi
   12980 
   12981 fi
   12982 fi
   12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   12984 $as_echo "$ac_cv_header_stdc" >&6; }
   12985 if test $ac_cv_header_stdc = yes; then
   12986 
   12987 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   12988 
   12989 fi
   12990 
   12991 for ac_header in fcntl.h regex.h stdlib.h string.h unistd.h sys/vfs.h sys/statfs.h sys/param.h sys/mount.h
   12992 do :
   12993   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12994 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   12995 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12996   cat >>confdefs.h <<_ACEOF
   12997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12998 _ACEOF
   12999 
   13000 fi
   13001 
   13002 done
   13003 
   13004 # ------ AX CREATE STDINT H -------------------------------------
   13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
   13006 $as_echo_n "checking for stdint types... " >&6; }
   13007 ac_stdint_h=`echo src/fcstdint.h`
   13008 # try to shortcircuit - if the default include path of the compiler
   13009 # can find a "stdint.h" header then we assume that all compilers can.
   13010 if ${ac_cv_header_stdint_t+:} false; then :
   13011   $as_echo_n "(cached) " >&6
   13012 else
   13013 
   13014 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
   13015 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
   13016 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
   13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13018 /* end confdefs.h.  */
   13019 #include <stdint.h>
   13020 int
   13021 main ()
   13022 {
   13023 int_least32_t v = 0;
   13024   ;
   13025   return 0;
   13026 }
   13027 _ACEOF
   13028 if ac_fn_c_try_compile "$LINENO"; then :
   13029   ac_cv_stdint_result="(assuming C99 compatible system)"
   13030  ac_cv_header_stdint_t="stdint.h";
   13031 else
   13032   ac_cv_header_stdint_t=""
   13033 fi
   13034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13035 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
   13036 CFLAGS="-std=c99"
   13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13038 /* end confdefs.h.  */
   13039 #include <stdint.h>
   13040 int
   13041 main ()
   13042 {
   13043 int_least32_t v = 0;
   13044   ;
   13045   return 0;
   13046 }
   13047 _ACEOF
   13048 if ac_fn_c_try_compile "$LINENO"; then :
   13049   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
   13050 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
   13051 fi
   13052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13053 fi
   13054 CXXFLAGS="$old_CXXFLAGS"
   13055 CPPFLAGS="$old_CPPFLAGS"
   13056 CFLAGS="$old_CFLAGS"
   13057 fi
   13058 
   13059 
   13060 v="... $ac_cv_header_stdint_h"
   13061 if test "$ac_stdint_h" = "stdint.h" ; then
   13062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
   13063 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
   13064 elif test "$ac_stdint_h" = "inttypes.h" ; then
   13065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
   13066 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
   13067 elif test "_$ac_cv_header_stdint_t" = "_" ; then
   13068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
   13069 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
   13070 else
   13071  ac_cv_header_stdint="$ac_cv_header_stdint_t"
   13072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
   13073 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
   13074 fi
   13075 
   13076 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
   13077 
   13078 
   13079 inttype_headers=`echo  | sed -e 's/,/ /g'`
   13080 
   13081 ac_cv_stdint_result="(no helpful system typedefs seen)"
   13082 
   13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   13084 $as_echo_n "checking for stdint uintptr_t... " >&6; }
   13085 if ${ac_cv_header_stdint_x+:} false; then :
   13086   $as_echo_n "(cached) " >&6
   13087 else
   13088 
   13089  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
   13090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   13091 $as_echo "(..)" >&6; }
   13092   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
   13093   do
   13094    unset ac_cv_type_uintptr_t
   13095    unset ac_cv_type_uint64_t
   13096    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
   13097 "
   13098 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   13099   ac_cv_header_stdint_x=$i
   13100 else
   13101   continue
   13102 fi
   13103 
   13104    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   13105 "
   13106 if test "x$ac_cv_type_uint64_t" = xyes; then :
   13107   and64="/uint64_t"
   13108 else
   13109   and64=""
   13110 fi
   13111 
   13112    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
   13113  break
   13114   done
   13115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   13116 $as_echo_n "checking for stdint uintptr_t... " >&6; }
   13117 
   13118 fi
   13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
   13120 $as_echo "$ac_cv_header_stdint_x" >&6; }
   13121 
   13122 
   13123 if test "_$ac_cv_header_stdint_x" = "_" ; then
   13124 
   13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   13126 $as_echo_n "checking for stdint uint32_t... " >&6; }
   13127 if ${ac_cv_header_stdint_o+:} false; then :
   13128   $as_echo_n "(cached) " >&6
   13129 else
   13130 
   13131  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
   13132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   13133 $as_echo "(..)" >&6; }
   13134   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
   13135   do
   13136    unset ac_cv_type_uint32_t
   13137    unset ac_cv_type_uint64_t
   13138    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
   13139 "
   13140 if test "x$ac_cv_type_uint32_t" = xyes; then :
   13141   ac_cv_header_stdint_o=$i
   13142 else
   13143   continue
   13144 fi
   13145 
   13146    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   13147 "
   13148 if test "x$ac_cv_type_uint64_t" = xyes; then :
   13149   and64="/uint64_t"
   13150 else
   13151   and64=""
   13152 fi
   13153 
   13154    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
   13155  break
   13156    break;
   13157   done
   13158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   13159 $as_echo_n "checking for stdint uint32_t... " >&6; }
   13160 
   13161 fi
   13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
   13163 $as_echo "$ac_cv_header_stdint_o" >&6; }
   13164 
   13165 fi
   13166 
   13167 if test "_$ac_cv_header_stdint_x" = "_" ; then
   13168 if test "_$ac_cv_header_stdint_o" = "_" ; then
   13169 
   13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   13171 $as_echo_n "checking for stdint u_int32_t... " >&6; }
   13172 if ${ac_cv_header_stdint_u+:} false; then :
   13173   $as_echo_n "(cached) " >&6
   13174 else
   13175 
   13176  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
   13177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   13178 $as_echo "(..)" >&6; }
   13179   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
   13180    unset ac_cv_type_u_int32_t
   13181    unset ac_cv_type_u_int64_t
   13182    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
   13183 "
   13184 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   13185   ac_cv_header_stdint_u=$i
   13186 else
   13187   continue
   13188 fi
   13189 
   13190    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
   13191 "
   13192 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   13193   and64="/u_int64_t"
   13194 else
   13195   and64=""
   13196 fi
   13197 
   13198    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
   13199  break
   13200    break;
   13201   done
   13202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   13203 $as_echo_n "checking for stdint u_int32_t... " >&6; }
   13204 
   13205 fi
   13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
   13207 $as_echo "$ac_cv_header_stdint_u" >&6; }
   13208 
   13209 fi fi
   13210 
   13211 if test "_$ac_cv_header_stdint_x" = "_" ; then
   13212    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
   13213 $as_echo_n "checking for stdint datatype model... " >&6; }
   13214    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   13215 $as_echo "(..)" >&6; }
   13216 
   13217    # The cast to long int works around a bug in the HP C Compiler
   13218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13220 # This bug is HP SR number 8606223364.
   13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   13222 $as_echo_n "checking size of char... " >&6; }
   13223 if ${ac_cv_sizeof_char+:} false; then :
   13224   $as_echo_n "(cached) " >&6
   13225 else
   13226   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
   13227 
   13228 else
   13229   if test "$ac_cv_type_char" = yes; then
   13230      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13232 as_fn_error 77 "cannot compute sizeof (char)
   13233 See \`config.log' for more details" "$LINENO" 5; }
   13234    else
   13235      ac_cv_sizeof_char=0
   13236    fi
   13237 fi
   13238 
   13239 fi
   13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   13241 $as_echo "$ac_cv_sizeof_char" >&6; }
   13242 
   13243 
   13244 
   13245 cat >>confdefs.h <<_ACEOF
   13246 #define SIZEOF_CHAR $ac_cv_sizeof_char
   13247 _ACEOF
   13248 
   13249 
   13250    # The cast to long int works around a bug in the HP C Compiler
   13251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13253 # This bug is HP SR number 8606223364.
   13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   13255 $as_echo_n "checking size of short... " >&6; }
   13256 if ${ac_cv_sizeof_short+:} false; then :
   13257   $as_echo_n "(cached) " >&6
   13258 else
   13259   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   13260 
   13261 else
   13262   if test "$ac_cv_type_short" = yes; then
   13263      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13265 as_fn_error 77 "cannot compute sizeof (short)
   13266 See \`config.log' for more details" "$LINENO" 5; }
   13267    else
   13268      ac_cv_sizeof_short=0
   13269    fi
   13270 fi
   13271 
   13272 fi
   13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   13274 $as_echo "$ac_cv_sizeof_short" >&6; }
   13275 
   13276 
   13277 
   13278 cat >>confdefs.h <<_ACEOF
   13279 #define SIZEOF_SHORT $ac_cv_sizeof_short
   13280 _ACEOF
   13281 
   13282 
   13283    # The cast to long int works around a bug in the HP C Compiler
   13284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13286 # This bug is HP SR number 8606223364.
   13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   13288 $as_echo_n "checking size of int... " >&6; }
   13289 if ${ac_cv_sizeof_int+:} false; then :
   13290   $as_echo_n "(cached) " >&6
   13291 else
   13292   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   13293 
   13294 else
   13295   if test "$ac_cv_type_int" = yes; then
   13296      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13298 as_fn_error 77 "cannot compute sizeof (int)
   13299 See \`config.log' for more details" "$LINENO" 5; }
   13300    else
   13301      ac_cv_sizeof_int=0
   13302    fi
   13303 fi
   13304 
   13305 fi
   13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   13307 $as_echo "$ac_cv_sizeof_int" >&6; }
   13308 
   13309 
   13310 
   13311 cat >>confdefs.h <<_ACEOF
   13312 #define SIZEOF_INT $ac_cv_sizeof_int
   13313 _ACEOF
   13314 
   13315 
   13316    # The cast to long int works around a bug in the HP C Compiler
   13317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13319 # This bug is HP SR number 8606223364.
   13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   13321 $as_echo_n "checking size of long... " >&6; }
   13322 if ${ac_cv_sizeof_long+:} false; then :
   13323   $as_echo_n "(cached) " >&6
   13324 else
   13325   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   13326 
   13327 else
   13328   if test "$ac_cv_type_long" = yes; then
   13329      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13331 as_fn_error 77 "cannot compute sizeof (long)
   13332 See \`config.log' for more details" "$LINENO" 5; }
   13333    else
   13334      ac_cv_sizeof_long=0
   13335    fi
   13336 fi
   13337 
   13338 fi
   13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   13340 $as_echo "$ac_cv_sizeof_long" >&6; }
   13341 
   13342 
   13343 
   13344 cat >>confdefs.h <<_ACEOF
   13345 #define SIZEOF_LONG $ac_cv_sizeof_long
   13346 _ACEOF
   13347 
   13348 
   13349    # The cast to long int works around a bug in the HP C Compiler
   13350 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13351 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13352 # This bug is HP SR number 8606223364.
   13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
   13354 $as_echo_n "checking size of void*... " >&6; }
   13355 if ${ac_cv_sizeof_voidp+:} false; then :
   13356   $as_echo_n "(cached) " >&6
   13357 else
   13358   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
   13359 
   13360 else
   13361   if test "$ac_cv_type_voidp" = yes; then
   13362      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13364 as_fn_error 77 "cannot compute sizeof (void*)
   13365 See \`config.log' for more details" "$LINENO" 5; }
   13366    else
   13367      ac_cv_sizeof_voidp=0
   13368    fi
   13369 fi
   13370 
   13371 fi
   13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
   13373 $as_echo "$ac_cv_sizeof_voidp" >&6; }
   13374 
   13375 
   13376 
   13377 cat >>confdefs.h <<_ACEOF
   13378 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
   13379 _ACEOF
   13380 
   13381 
   13382    ac_cv_char_data_model=""
   13383    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
   13384    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
   13385    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
   13386    ac_cv_long_data_model=""
   13387    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
   13388    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
   13389    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
   13390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
   13391 $as_echo_n "checking data model... " >&6; }
   13392    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
   13393     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
   13394     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
   13395     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
   13396     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
   13397     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
   13398     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
   13399     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
   13400     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
   13401     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
   13402     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
   13403     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
   13404     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
   13405     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
   13406     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
   13407     222/*|333/*|444/*|666/*|888/*) :
   13408                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
   13409      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
   13410    esac
   13411    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
   13412 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
   13413 
   13414 fi
   13415 
   13416 if test "_$ac_cv_header_stdint_x" != "_" ; then
   13417    ac_cv_header_stdint="$ac_cv_header_stdint_x"
   13418 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
   13419    ac_cv_header_stdint="$ac_cv_header_stdint_o"
   13420 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
   13421    ac_cv_header_stdint="$ac_cv_header_stdint_u"
   13422 else
   13423    ac_cv_header_stdint="stddef.h"
   13424 fi
   13425 
   13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
   13427 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
   13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
   13429 $as_echo "($ac_cv_header_stdint)" >&6; }
   13430 unset ac_cv_type_int_least32_t
   13431 unset ac_cv_type_int_fast32_t
   13432 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
   13433 "
   13434 if test "x$ac_cv_type_int_least32_t" = xyes; then :
   13435 
   13436 fi
   13437 
   13438 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
   13439 "
   13440 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
   13441 
   13442 fi
   13443 
   13444 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
   13445 "
   13446 if test "x$ac_cv_type_intmax_t" = xyes; then :
   13447 
   13448 fi
   13449 
   13450 
   13451 fi # shortcircut to system "stdint.h"
   13452 # ------------------ PREPARE VARIABLES ------------------------------
   13453 if test "$GCC" = "yes" ; then
   13454 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
   13455 else
   13456 ac_cv_stdint_message="using $CC"
   13457 fi
   13458 
   13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
   13460 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
   13461 
   13462 # ----------------- DONE inttypes.h checks START header -------------
   13463 ac_config_commands="$ac_config_commands $ac_stdint_h"
   13464 
   13465 
   13466 
   13467 # Checks for typedefs, structures, and compiler characteristics.
   13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   13469 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   13470 if ${ac_cv_c_const+:} false; then :
   13471   $as_echo_n "(cached) " >&6
   13472 else
   13473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13474 /* end confdefs.h.  */
   13475 
   13476 int
   13477 main ()
   13478 {
   13479 
   13480 #ifndef __cplusplus
   13481   /* Ultrix mips cc rejects this sort of thing.  */
   13482   typedef int charset[2];
   13483   const charset cs = { 0, 0 };
   13484   /* SunOS 4.1.1 cc rejects this.  */
   13485   char const *const *pcpcc;
   13486   char **ppc;
   13487   /* NEC SVR4.0.2 mips cc rejects this.  */
   13488   struct point {int x, y;};
   13489   static struct point const zero = {0,0};
   13490   /* AIX XL C 1.02.0.0 rejects this.
   13491      It does not let you subtract one const X* pointer from another in
   13492      an arm of an if-expression whose if-part is not a constant
   13493      expression */
   13494   const char *g = "string";
   13495   pcpcc = &g + (g ? g-g : 0);
   13496   /* HPUX 7.0 cc rejects these. */
   13497   ++pcpcc;
   13498   ppc = (char**) pcpcc;
   13499   pcpcc = (char const *const *) ppc;
   13500   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   13501     char tx;
   13502     char *t = &tx;
   13503     char const *s = 0 ? (char *) 0 : (char const *) 0;
   13504 
   13505     *t++ = 0;
   13506     if (s) return 0;
   13507   }
   13508   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   13509     int x[] = {25, 17};
   13510     const int *foo = &x[0];
   13511     ++foo;
   13512   }
   13513   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   13514     typedef const int *iptr;
   13515     iptr p = 0;
   13516     ++p;
   13517   }
   13518   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   13519        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   13520     struct s { int j; const int *ap[3]; } bx;
   13521     struct s *b = &bx; b->j = 5;
   13522   }
   13523   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   13524     const int foo = 10;
   13525     if (!foo) return 0;
   13526   }
   13527   return !cs[0] && !zero.x;
   13528 #endif
   13529 
   13530   ;
   13531   return 0;
   13532 }
   13533 _ACEOF
   13534 if ac_fn_c_try_compile "$LINENO"; then :
   13535   ac_cv_c_const=yes
   13536 else
   13537   ac_cv_c_const=no
   13538 fi
   13539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13540 fi
   13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   13542 $as_echo "$ac_cv_c_const" >&6; }
   13543 if test $ac_cv_c_const = no; then
   13544 
   13545 $as_echo "#define const /**/" >>confdefs.h
   13546 
   13547 fi
   13548 
   13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   13550 $as_echo_n "checking for inline... " >&6; }
   13551 if ${ac_cv_c_inline+:} false; then :
   13552   $as_echo_n "(cached) " >&6
   13553 else
   13554   ac_cv_c_inline=no
   13555 for ac_kw in inline __inline__ __inline; do
   13556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13557 /* end confdefs.h.  */
   13558 #ifndef __cplusplus
   13559 typedef int foo_t;
   13560 static $ac_kw foo_t static_foo () {return 0; }
   13561 $ac_kw foo_t foo () {return 0; }
   13562 #endif
   13563 
   13564 _ACEOF
   13565 if ac_fn_c_try_compile "$LINENO"; then :
   13566   ac_cv_c_inline=$ac_kw
   13567 fi
   13568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13569   test "$ac_cv_c_inline" != no && break
   13570 done
   13571 
   13572 fi
   13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   13574 $as_echo "$ac_cv_c_inline" >&6; }
   13575 
   13576 case $ac_cv_c_inline in
   13577   inline | yes) ;;
   13578   *)
   13579     case $ac_cv_c_inline in
   13580       no) ac_val=;;
   13581       *) ac_val=$ac_cv_c_inline;;
   13582     esac
   13583     cat >>confdefs.h <<_ACEOF
   13584 #ifndef __cplusplus
   13585 #define inline $ac_val
   13586 #endif
   13587 _ACEOF
   13588     ;;
   13589 esac
   13590 
   13591 
   13592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
   13593 $as_echo_n "checking for flexible array members... " >&6; }
   13594 if ${ac_cv_c_flexmember+:} false; then :
   13595   $as_echo_n "(cached) " >&6
   13596 else
   13597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13598 /* end confdefs.h.  */
   13599 #include <stdlib.h>
   13600 	    #include <stdio.h>
   13601 	    #include <stddef.h>
   13602 	    struct s { int n; double d[]; };
   13603 int
   13604 main ()
   13605 {
   13606 int m = getchar ();
   13607 	    struct s *p = malloc (offsetof (struct s, d)
   13608 				  + m * sizeof (double));
   13609 	    p->d[0] = 0.0;
   13610 	    return p->d != (double *) NULL;
   13611   ;
   13612   return 0;
   13613 }
   13614 _ACEOF
   13615 if ac_fn_c_try_compile "$LINENO"; then :
   13616   ac_cv_c_flexmember=yes
   13617 else
   13618   ac_cv_c_flexmember=no
   13619 fi
   13620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13621 fi
   13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
   13623 $as_echo "$ac_cv_c_flexmember" >&6; }
   13624   if test $ac_cv_c_flexmember = yes; then
   13625 
   13626 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
   13627 
   13628   else
   13629     $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
   13630 
   13631   fi
   13632 
   13633 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   13634 if test "x$ac_cv_type_pid_t" = xyes; then :
   13635 
   13636 else
   13637 
   13638 cat >>confdefs.h <<_ACEOF
   13639 #define pid_t int
   13640 _ACEOF
   13641 
   13642 fi
   13643 
   13644 
   13645 # Checks for library functions.
   13646 for ac_func in vprintf
   13647 do :
   13648   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
   13649 if test "x$ac_cv_func_vprintf" = xyes; then :
   13650   cat >>confdefs.h <<_ACEOF
   13651 #define HAVE_VPRINTF 1
   13652 _ACEOF
   13653 
   13654 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   13655 if test "x$ac_cv_func__doprnt" = xyes; then :
   13656 
   13657 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
   13658 
   13659 fi
   13660 
   13661 fi
   13662 done
   13663 
   13664 
   13665 
   13666 
   13667 
   13668   for ac_header in $ac_header_list
   13669 do :
   13670   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13671 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   13672 "
   13673 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13674   cat >>confdefs.h <<_ACEOF
   13675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13676 _ACEOF
   13677 
   13678 fi
   13679 
   13680 done
   13681 
   13682 
   13683 
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 for ac_func in getpagesize
   13690 do :
   13691   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   13692 if test "x$ac_cv_func_getpagesize" = xyes; then :
   13693   cat >>confdefs.h <<_ACEOF
   13694 #define HAVE_GETPAGESIZE 1
   13695 _ACEOF
   13696 
   13697 fi
   13698 done
   13699 
   13700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   13701 $as_echo_n "checking for working mmap... " >&6; }
   13702 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   13703   $as_echo_n "(cached) " >&6
   13704 else
   13705   if test "$cross_compiling" = yes; then :
   13706   ac_cv_func_mmap_fixed_mapped=no
   13707 else
   13708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13709 /* end confdefs.h.  */
   13710 $ac_includes_default
   13711 /* malloc might have been renamed as rpl_malloc. */
   13712 #undef malloc
   13713 
   13714 /* Thanks to Mike Haertel and Jim Avera for this test.
   13715    Here is a matrix of mmap possibilities:
   13716 	mmap private not fixed
   13717 	mmap private fixed at somewhere currently unmapped
   13718 	mmap private fixed at somewhere already mapped
   13719 	mmap shared not fixed
   13720 	mmap shared fixed at somewhere currently unmapped
   13721 	mmap shared fixed at somewhere already mapped
   13722    For private mappings, we should verify that changes cannot be read()
   13723    back from the file, nor mmap's back from the file at a different
   13724    address.  (There have been systems where private was not correctly
   13725    implemented like the infamous i386 svr4.0, and systems where the
   13726    VM page cache was not coherent with the file system buffer cache
   13727    like early versions of FreeBSD and possibly contemporary NetBSD.)
   13728    For shared mappings, we should conversely verify that changes get
   13729    propagated back to all the places they're supposed to be.
   13730 
   13731    Grep wants private fixed already mapped.
   13732    The main things grep needs to know about mmap are:
   13733    * does it exist and is it safe to write into the mmap'd area
   13734    * how to use it (BSD variants)  */
   13735 
   13736 #include <fcntl.h>
   13737 #include <sys/mman.h>
   13738 
   13739 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   13740 char *malloc ();
   13741 #endif
   13742 
   13743 /* This mess was copied from the GNU getpagesize.h.  */
   13744 #ifndef HAVE_GETPAGESIZE
   13745 # ifdef _SC_PAGESIZE
   13746 #  define getpagesize() sysconf(_SC_PAGESIZE)
   13747 # else /* no _SC_PAGESIZE */
   13748 #  ifdef HAVE_SYS_PARAM_H
   13749 #   include <sys/param.h>
   13750 #   ifdef EXEC_PAGESIZE
   13751 #    define getpagesize() EXEC_PAGESIZE
   13752 #   else /* no EXEC_PAGESIZE */
   13753 #    ifdef NBPG
   13754 #     define getpagesize() NBPG * CLSIZE
   13755 #     ifndef CLSIZE
   13756 #      define CLSIZE 1
   13757 #     endif /* no CLSIZE */
   13758 #    else /* no NBPG */
   13759 #     ifdef NBPC
   13760 #      define getpagesize() NBPC
   13761 #     else /* no NBPC */
   13762 #      ifdef PAGESIZE
   13763 #       define getpagesize() PAGESIZE
   13764 #      endif /* PAGESIZE */
   13765 #     endif /* no NBPC */
   13766 #    endif /* no NBPG */
   13767 #   endif /* no EXEC_PAGESIZE */
   13768 #  else /* no HAVE_SYS_PARAM_H */
   13769 #   define getpagesize() 8192	/* punt totally */
   13770 #  endif /* no HAVE_SYS_PARAM_H */
   13771 # endif /* no _SC_PAGESIZE */
   13772 
   13773 #endif /* no HAVE_GETPAGESIZE */
   13774 
   13775 int
   13776 main ()
   13777 {
   13778   char *data, *data2, *data3;
   13779   const char *cdata2;
   13780   int i, pagesize;
   13781   int fd, fd2;
   13782 
   13783   pagesize = getpagesize ();
   13784 
   13785   /* First, make a file with some known garbage in it. */
   13786   data = (char *) malloc (pagesize);
   13787   if (!data)
   13788     return 1;
   13789   for (i = 0; i < pagesize; ++i)
   13790     *(data + i) = rand ();
   13791   umask (0);
   13792   fd = creat ("conftest.mmap", 0600);
   13793   if (fd < 0)
   13794     return 2;
   13795   if (write (fd, data, pagesize) != pagesize)
   13796     return 3;
   13797   close (fd);
   13798 
   13799   /* Next, check that the tail of a page is zero-filled.  File must have
   13800      non-zero length, otherwise we risk SIGBUS for entire page.  */
   13801   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   13802   if (fd2 < 0)
   13803     return 4;
   13804   cdata2 = "";
   13805   if (write (fd2, cdata2, 1) != 1)
   13806     return 5;
   13807   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   13808   if (data2 == MAP_FAILED)
   13809     return 6;
   13810   for (i = 0; i < pagesize; ++i)
   13811     if (*(data2 + i))
   13812       return 7;
   13813   close (fd2);
   13814   if (munmap (data2, pagesize))
   13815     return 8;
   13816 
   13817   /* Next, try to mmap the file at a fixed address which already has
   13818      something else allocated at it.  If we can, also make sure that
   13819      we see the same garbage.  */
   13820   fd = open ("conftest.mmap", O_RDWR);
   13821   if (fd < 0)
   13822     return 9;
   13823   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   13824 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   13825     return 10;
   13826   for (i = 0; i < pagesize; ++i)
   13827     if (*(data + i) != *(data2 + i))
   13828       return 11;
   13829 
   13830   /* Finally, make sure that changes to the mapped area do not
   13831      percolate back to the file as seen by read().  (This is a bug on
   13832      some variants of i386 svr4.0.)  */
   13833   for (i = 0; i < pagesize; ++i)
   13834     *(data2 + i) = *(data2 + i) + 1;
   13835   data3 = (char *) malloc (pagesize);
   13836   if (!data3)
   13837     return 12;
   13838   if (read (fd, data3, pagesize) != pagesize)
   13839     return 13;
   13840   for (i = 0; i < pagesize; ++i)
   13841     if (*(data + i) != *(data3 + i))
   13842       return 14;
   13843   close (fd);
   13844   return 0;
   13845 }
   13846 _ACEOF
   13847 if ac_fn_c_try_run "$LINENO"; then :
   13848   ac_cv_func_mmap_fixed_mapped=yes
   13849 else
   13850   ac_cv_func_mmap_fixed_mapped=no
   13851 fi
   13852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13853   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13854 fi
   13855 
   13856 fi
   13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   13858 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   13859 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   13860 
   13861 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   13862 
   13863 fi
   13864 rm -f conftest.mmap conftest.txt
   13865 
   13866 for ac_func in link mkstemp mkostemp _mktemp_s getopt getopt_long getprogname getexecname rand random lrand48 random_r rand_r regcomp regerror regexec regfree fstatvfs fstatfs lstat
   13867 do :
   13868   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13870 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13871   cat >>confdefs.h <<_ACEOF
   13872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13873 _ACEOF
   13874 
   13875 fi
   13876 done
   13877 
   13878 
   13879 fc_saved_CFLAGS="$CFLAGS"
   13880 CFLAGS="$CFLAGS $WARN_CFLAGS -Werror"
   13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5
   13882 $as_echo_n "checking for posix_fadvise... " >&6; }
   13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13884 /* end confdefs.h.  */
   13885 
   13886 	#include <fcntl.h>
   13887 	int main(void) {
   13888 	    return posix_fadvise(0, 0, 0, 0);
   13889 	}
   13890 
   13891 _ACEOF
   13892 if ac_fn_c_try_link "$LINENO"; then :
   13893 
   13894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13895 $as_echo "yes" >&6; }
   13896 
   13897 $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
   13898 
   13899 
   13900 else
   13901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13902 $as_echo "no" >&6; }
   13903 fi
   13904 rm -f core conftest.err conftest.$ac_objext \
   13905     conftest$ac_exeext conftest.$ac_ext
   13906 CFLAGS="$fc_saved_CFLAGS"
   13907 
   13908 #
   13909 if test "x$ac_cv_func_fstatvfs" = "xyes"; then
   13910 	ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "#include <sys/statvfs.h>
   13911 "
   13912 if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes; then :
   13913 
   13914 cat >>confdefs.h <<_ACEOF
   13915 #define HAVE_STRUCT_STATVFS_F_BASETYPE 1
   13916 _ACEOF
   13917 
   13918 
   13919 fi
   13920 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "#include <sys/statvfs.h>
   13921 "
   13922 if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes; then :
   13923 
   13924 cat >>confdefs.h <<_ACEOF
   13925 #define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1
   13926 _ACEOF
   13927 
   13928 
   13929 fi
   13930 
   13931 fi
   13932 if test "x$ac_cv_func_fstatfs" = "xyes"; then
   13933 	ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "
   13934 #ifdef HAVE_SYS_VFS_H
   13935 #include <sys/vfs.h>
   13936 #endif
   13937 #ifdef HAVE_SYS_STATFS_H
   13938 #include <sys/statfs.h>
   13939 #endif
   13940 #ifdef HAVE_SYS_PARAM_H
   13941 #include <sys/param.h>
   13942 #endif
   13943 #ifdef HAVE_SYS_MOUNT_H
   13944 #include <sys/mount.h>
   13945 #endif
   13946 "
   13947 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then :
   13948 
   13949 cat >>confdefs.h <<_ACEOF
   13950 #define HAVE_STRUCT_STATFS_F_FLAGS 1
   13951 _ACEOF
   13952 
   13953 
   13954 fi
   13955 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "
   13956 #ifdef HAVE_SYS_VFS_H
   13957 #include <sys/vfs.h>
   13958 #endif
   13959 #ifdef HAVE_SYS_STATFS_H
   13960 #include <sys/statfs.h>
   13961 #endif
   13962 #ifdef HAVE_SYS_PARAM_H
   13963 #include <sys/param.h>
   13964 #endif
   13965 #ifdef HAVE_SYS_MOUNT_H
   13966 #include <sys/mount.h>
   13967 #endif
   13968 "
   13969 if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then :
   13970 
   13971 cat >>confdefs.h <<_ACEOF
   13972 #define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
   13973 _ACEOF
   13974 
   13975 
   13976 fi
   13977 
   13978 fi
   13979 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
   13980 "
   13981 if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
   13982 
   13983 cat >>confdefs.h <<_ACEOF
   13984 #define HAVE_STRUCT_DIRENT_D_TYPE 1
   13985 _ACEOF
   13986 
   13987 
   13988 fi
   13989 
   13990 #
   13991 # regex
   13992 #
   13993 if test "x$ac_cv_func_regcomp" = "xyes" -a "x$ac_cv_func_regerror" = "xyes" -a "x$ac_cv_func_regexec" = "xyes" -a "x$ac_cv_func_regfree"; then
   13994 
   13995 $as_echo "#define USE_REGEX /**/" >>confdefs.h
   13996 
   13997 fi
   13998 
   13999 #
   14000 # Checks for iconv
   14001 #
   14002 # Check whether --enable-iconv was given.
   14003 if test "${enable_iconv+set}" = set; then :
   14004   enableval=$enable_iconv;
   14005 else
   14006   enable_iconv=no
   14007 fi
   14008 
   14009 
   14010 # Check whether --with-libiconv was given.
   14011 if test "${with_libiconv+set}" = set; then :
   14012   withval=$with_libiconv; if test "x$withval" = "xyes"; then
   14013 		libiconv_prefix=$prefix
   14014 	 else
   14015 		libiconv_prefix=$withval
   14016 	 fi
   14017 else
   14018   libiconv_prefix=auto
   14019 fi
   14020 
   14021 
   14022 # Check whether --with-libiconv-includes was given.
   14023 if test "${with_libiconv_includes+set}" = set; then :
   14024   withval=$with_libiconv_includes; libiconv_includes=$withval
   14025 else
   14026   libiconv_includes=auto
   14027 fi
   14028 
   14029 
   14030 # Check whether --with-libiconv-lib was given.
   14031 if test "${with_libiconv_lib+set}" = set; then :
   14032   withval=$with_libiconv_lib; libiconv_lib=$withval
   14033 else
   14034   libiconv_lib=auto
   14035 fi
   14036 
   14037 
   14038 # if no libiconv,libiconv-includes,libiconv-lib are specified,
   14039 # libc's iconv has a priority.
   14040 if test "$libiconv_includes" != "auto" -a -r ${libiconv_includes}/iconv.h; then
   14041 	libiconv_cflags="-I${libiconv_includes}"
   14042 elif test "$libiconv_prefix" != "auto" -a -r ${libiconv_prefix}/include/iconv.h; then
   14043 	libiconv_cflags="-I${libiconv_prefix}/include"
   14044 else
   14045 	libiconv_cflags=""
   14046 fi
   14047 libiconv_libs=""
   14048 if test "x$libiconv_cflags" != "x"; then
   14049 	if test "$libiconv_lib" != "auto" -a -d ${libiconv_lib}; then
   14050 		libiconv_libs="-L${libiconv_lib} -liconv"
   14051 	elif test "$libiconv_prefix" != "auto" -a -d ${libiconv_prefix}/lib; then
   14052 		libiconv_libs="-L${libiconv_prefix}/lib -liconv"
   14053 	else
   14054 		libiconv_libs="-liconv"
   14055 	fi
   14056 fi
   14057 
   14058 use_iconv=0
   14059 if test "x$enable_iconv" != "xno"; then
   14060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a usable iconv" >&5
   14061 $as_echo_n "checking for a usable iconv... " >&6; }
   14062 	if test "x$libiconv_cflags" != "x" -o "x$libiconv_libs" != "x"; then
   14063 		iconvsaved_CFLAGS="$CFLAGS"
   14064 		iconvsaved_LIBS="$LIBS"
   14065 		CFLAGS="$CFLAGS $libiconv_cflags"
   14066 		LIBS="$LIBS $libiconv_libs"
   14067 
   14068 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14069 /* end confdefs.h.  */
   14070 #include <iconv.h>
   14071 int
   14072 main ()
   14073 {
   14074 iconv_open ("from", "to");
   14075   ;
   14076   return 0;
   14077 }
   14078 _ACEOF
   14079 if ac_fn_c_try_link "$LINENO"; then :
   14080   iconv_type="libiconv"
   14081 			 use_iconv=1
   14082 else
   14083   use_iconv=0
   14084 fi
   14085 rm -f core conftest.err conftest.$ac_objext \
   14086     conftest$ac_exeext conftest.$ac_ext
   14087 
   14088 		CFLAGS="$iconvsaved_CFLAGS"
   14089 		LIBS="$iconvsaved_LIBS"
   14090 		ICONV_CFLAGS="$libiconv_cflags"
   14091 		ICONV_LIBS="$libiconv_libs"
   14092 	fi
   14093 	if test "x$use_iconv" = "x0"; then
   14094 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14095 /* end confdefs.h.  */
   14096 #include <iconv.h>
   14097 int
   14098 main ()
   14099 {
   14100 iconv_open ("from", "to");
   14101   ;
   14102   return 0;
   14103 }
   14104 _ACEOF
   14105 if ac_fn_c_try_link "$LINENO"; then :
   14106   iconv_type="libc"
   14107 			 use_iconv=1
   14108 else
   14109   iconv_type="not found"
   14110 			 use_iconv=0
   14111 fi
   14112 rm -f core conftest.err conftest.$ac_objext \
   14113     conftest$ac_exeext conftest.$ac_ext
   14114 	fi
   14115 
   14116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_type" >&5
   14117 $as_echo "$iconv_type" >&6; }
   14118 
   14119 
   14120 fi
   14121 
   14122 cat >>confdefs.h <<_ACEOF
   14123 #define USE_ICONV $use_iconv
   14124 _ACEOF
   14125 
   14126 #
   14127 # Checks for FreeType
   14128 #
   14129 
   14130 pkg_failed=no
   14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   14132 $as_echo_n "checking for FREETYPE... " >&6; }
   14133 
   14134 if test -n "$FREETYPE_CFLAGS"; then
   14135     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   14136  elif test -n "$PKG_CONFIG"; then
   14137     if test -n "$PKG_CONFIG" && \
   14138     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   14139   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   14140   ac_status=$?
   14141   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14142   test $ac_status = 0; }; then
   14143   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   14144 		      test "x$?" != "x0" && pkg_failed=yes
   14145 else
   14146   pkg_failed=yes
   14147 fi
   14148  else
   14149     pkg_failed=untried
   14150 fi
   14151 if test -n "$FREETYPE_LIBS"; then
   14152     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   14153  elif test -n "$PKG_CONFIG"; then
   14154     if test -n "$PKG_CONFIG" && \
   14155     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   14156   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   14157   ac_status=$?
   14158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14159   test $ac_status = 0; }; then
   14160   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   14161 		      test "x$?" != "x0" && pkg_failed=yes
   14162 else
   14163   pkg_failed=yes
   14164 fi
   14165  else
   14166     pkg_failed=untried
   14167 fi
   14168 
   14169 
   14170 
   14171 if test $pkg_failed = yes; then
   14172    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14173 $as_echo "no" >&6; }
   14174 
   14175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14176         _pkg_short_errors_supported=yes
   14177 else
   14178         _pkg_short_errors_supported=no
   14179 fi
   14180         if test $_pkg_short_errors_supported = yes; then
   14181 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
   14182         else
   14183 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
   14184         fi
   14185 	# Put the nasty error message in config.log where it belongs
   14186 	echo "$FREETYPE_PKG_ERRORS" >&5
   14187 
   14188 	as_fn_error $? "Package requirements (freetype2) were not met:
   14189 
   14190 $FREETYPE_PKG_ERRORS
   14191 
   14192 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14193 installed software in a non-standard prefix.
   14194 
   14195 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   14196 and FREETYPE_LIBS to avoid the need to call pkg-config.
   14197 See the pkg-config man page for more details." "$LINENO" 5
   14198 elif test $pkg_failed = untried; then
   14199      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14200 $as_echo "no" >&6; }
   14201 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14203 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   14204 is in your PATH or set the PKG_CONFIG environment variable to the full
   14205 path to pkg-config.
   14206 
   14207 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   14208 and FREETYPE_LIBS to avoid the need to call pkg-config.
   14209 See the pkg-config man page for more details.
   14210 
   14211 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14212 See \`config.log' for more details" "$LINENO" 5; }
   14213 else
   14214 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   14215 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   14216         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14217 $as_echo "yes" >&6; }
   14218 
   14219 fi
   14220 
   14221 
   14222 
   14223 
   14224 fontconfig_save_libs="$LIBS"
   14225 fontconfig_save_cflags="$CFLAGS"
   14226 LIBS="$LIBS $FREETYPE_LIBS"
   14227 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
   14228 for ac_func in FT_Get_Next_Char FT_Get_BDF_Property FT_Get_PS_Font_Info FT_Has_PS_Glyph_Names FT_Get_X11_Font_Format FT_Select_Size
   14229 do :
   14230   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   14232 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   14233   cat >>confdefs.h <<_ACEOF
   14234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14235 _ACEOF
   14236 
   14237 fi
   14238 done
   14239 
   14240 ac_fn_c_check_member "$LINENO" "FT_Bitmap_Size" "y_ppem" "ac_cv_member_FT_Bitmap_Size_y_ppem" "#include <ft2build.h>
   14241 #include FT_FREETYPE_H
   14242 "
   14243 if test "x$ac_cv_member_FT_Bitmap_Size_y_ppem" = xyes; then :
   14244   HAVE_FT_BITMAP_SIZE_Y_PPEM=1
   14245 else
   14246   HAVE_FT_BITMAP_SIZE_Y_PPEM=0
   14247 fi
   14248 
   14249 
   14250 cat >>confdefs.h <<_ACEOF
   14251 #define HAVE_FT_BITMAP_SIZE_Y_PPEM $HAVE_FT_BITMAP_SIZE_Y_PPEM
   14252 _ACEOF
   14253 
   14254 CFLAGS="$fontconfig_save_cflags"
   14255 LIBS="$fontconfig_save_libs"
   14256 
   14257 #
   14258 # Check expat configuration
   14259 #
   14260 
   14261 # Check whether --with-expat was given.
   14262 if test "${with_expat+set}" = set; then :
   14263   withval=$with_expat; expat_prefix=$withval
   14264 else
   14265   expat_prefix=auto
   14266 fi
   14267 
   14268 
   14269 # Check whether --with-expat-includes was given.
   14270 if test "${with_expat_includes+set}" = set; then :
   14271   withval=$with_expat_includes; expat_includes=$withval
   14272 else
   14273   expat_includes=auto
   14274 fi
   14275 
   14276 
   14277 # Check whether --with-expat-lib was given.
   14278 if test "${with_expat_lib+set}" = set; then :
   14279   withval=$with_expat_lib; expat_lib=$withval
   14280 else
   14281   expat_lib=auto
   14282 fi
   14283 
   14284 
   14285 if test "$enable_libxml2" != "yes"; then
   14286 	use_pkgconfig_for_expat=yes
   14287 	if test "$expat_prefix" = "auto" -a "$expat_includes" = "auto" -a "$expat_lib" = "auto"; then
   14288 
   14289 pkg_failed=no
   14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXPAT" >&5
   14291 $as_echo_n "checking for EXPAT... " >&6; }
   14292 
   14293 if test -n "$EXPAT_CFLAGS"; then
   14294     pkg_cv_EXPAT_CFLAGS="$EXPAT_CFLAGS"
   14295  elif test -n "$PKG_CONFIG"; then
   14296     if test -n "$PKG_CONFIG" && \
   14297     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
   14298   ($PKG_CONFIG --exists --print-errors "expat") 2>&5
   14299   ac_status=$?
   14300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14301   test $ac_status = 0; }; then
   14302   pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat" 2>/dev/null`
   14303 		      test "x$?" != "x0" && pkg_failed=yes
   14304 else
   14305   pkg_failed=yes
   14306 fi
   14307  else
   14308     pkg_failed=untried
   14309 fi
   14310 if test -n "$EXPAT_LIBS"; then
   14311     pkg_cv_EXPAT_LIBS="$EXPAT_LIBS"
   14312  elif test -n "$PKG_CONFIG"; then
   14313     if test -n "$PKG_CONFIG" && \
   14314     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
   14315   ($PKG_CONFIG --exists --print-errors "expat") 2>&5
   14316   ac_status=$?
   14317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14318   test $ac_status = 0; }; then
   14319   pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat" 2>/dev/null`
   14320 		      test "x$?" != "x0" && pkg_failed=yes
   14321 else
   14322   pkg_failed=yes
   14323 fi
   14324  else
   14325     pkg_failed=untried
   14326 fi
   14327 
   14328 
   14329 
   14330 if test $pkg_failed = yes; then
   14331    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14332 $as_echo "no" >&6; }
   14333 
   14334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14335         _pkg_short_errors_supported=yes
   14336 else
   14337         _pkg_short_errors_supported=no
   14338 fi
   14339         if test $_pkg_short_errors_supported = yes; then
   14340 	        EXPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "expat" 2>&1`
   14341         else
   14342 	        EXPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "expat" 2>&1`
   14343         fi
   14344 	# Put the nasty error message in config.log where it belongs
   14345 	echo "$EXPAT_PKG_ERRORS" >&5
   14346 
   14347 	use_pkgconfig_for_expat=no
   14348 elif test $pkg_failed = untried; then
   14349      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14350 $as_echo "no" >&6; }
   14351 	use_pkgconfig_for_expat=no
   14352 else
   14353 	EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS
   14354 	EXPAT_LIBS=$pkg_cv_EXPAT_LIBS
   14355         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14356 $as_echo "yes" >&6; }
   14357 
   14358 fi
   14359 	else
   14360 		use_pkgconfig_for_expat=no
   14361 	fi
   14362 	if test "x$use_pkgconfig_for_expat" = "xno"; then
   14363 		if test "$expat_includes" != "auto" -a -r ${expat_includes}/expat.h; then
   14364 			EXPAT_CFLAGS="-I${expat_includes}"
   14365 		elif test "$expat_prefix" != "auto" -a -r ${expat_prefix}/include/expat.h; then
   14366 			EXPAT_CFLAGS="-I${expat_prefix}/include"
   14367 		else
   14368 			EXPAT_CFLAGS=""
   14369 		fi
   14370 		if test "$expat_lib" != "auto"; then
   14371 			EXPAT_LIBS="-L${expat_lib} -lexpat"
   14372 		elif test "$expat_prefix" != "auto"; then
   14373 			EXPAT_LIBS="-L${expat_prefix}/lib -lexpat"
   14374 		else
   14375 			EXPAT_LIBS="-lexpat"
   14376 		fi
   14377 	fi
   14378 
   14379 	expatsaved_CPPFLAGS="$CPPFLAGS"
   14380 	expatsaved_LIBS="$LIBS"
   14381 	CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS"
   14382 	LIBS="$LIBS $EXPAT_LIBS"
   14383 
   14384 	ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
   14385 if test "x$ac_cv_header_expat_h" = xyes; then :
   14386 
   14387 fi
   14388 
   14389 
   14390 	if test "$ac_cv_header_expat_h" = "no"; then
   14391 		ac_fn_c_check_header_mongrel "$LINENO" "xmlparse.h" "ac_cv_header_xmlparse_h" "$ac_includes_default"
   14392 if test "x$ac_cv_header_xmlparse_h" = xyes; then :
   14393 
   14394 fi
   14395 
   14396 
   14397 		if test "$ac_cv_header_xmlparse_h" = "yes"; then
   14398 			HAVE_XMLPARSE_H=1
   14399 
   14400 
   14401 cat >>confdefs.h <<_ACEOF
   14402 #define HAVE_XMLPARSE_H $HAVE_XMLPARSE_H
   14403 _ACEOF
   14404 
   14405 		else
   14406 			as_fn_error $? "
   14407 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
   14408 		fi
   14409 	fi
   14410 	for ac_func in XML_SetDoctypeDeclHandler
   14411 do :
   14412   ac_fn_c_check_func "$LINENO" "XML_SetDoctypeDeclHandler" "ac_cv_func_XML_SetDoctypeDeclHandler"
   14413 if test "x$ac_cv_func_XML_SetDoctypeDeclHandler" = xyes; then :
   14414   cat >>confdefs.h <<_ACEOF
   14415 #define HAVE_XML_SETDOCTYPEDECLHANDLER 1
   14416 _ACEOF
   14417 
   14418 fi
   14419 done
   14420 
   14421 	if test "$ac_cv_func_XML_SetDoctypeDeclHandler" = "no"; then
   14422 		as_fn_error $? "
   14423 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
   14424 	fi
   14425 	CPPFLAGS="$expatsaved_CPPFLAGS"
   14426 	LIBS="$expatsaved_LIBS"
   14427 
   14428 
   14429 
   14430 fi
   14431 
   14432 #
   14433 # Check libxml2 configuration
   14434 #
   14435 # Check whether --enable-libxml2 was given.
   14436 if test "${enable_libxml2+set}" = set; then :
   14437   enableval=$enable_libxml2;
   14438 fi
   14439 
   14440 
   14441 if test "$enable_libxml2" = "yes"; then
   14442 
   14443 pkg_failed=no
   14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
   14445 $as_echo_n "checking for LIBXML2... " >&6; }
   14446 
   14447 if test -n "$LIBXML2_CFLAGS"; then
   14448     pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
   14449  elif test -n "$PKG_CONFIG"; then
   14450     if test -n "$PKG_CONFIG" && \
   14451     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
   14452   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
   14453   ac_status=$?
   14454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14455   test $ac_status = 0; }; then
   14456   pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null`
   14457 		      test "x$?" != "x0" && pkg_failed=yes
   14458 else
   14459   pkg_failed=yes
   14460 fi
   14461  else
   14462     pkg_failed=untried
   14463 fi
   14464 if test -n "$LIBXML2_LIBS"; then
   14465     pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
   14466  elif test -n "$PKG_CONFIG"; then
   14467     if test -n "$PKG_CONFIG" && \
   14468     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
   14469   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
   14470   ac_status=$?
   14471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14472   test $ac_status = 0; }; then
   14473   pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null`
   14474 		      test "x$?" != "x0" && pkg_failed=yes
   14475 else
   14476   pkg_failed=yes
   14477 fi
   14478  else
   14479     pkg_failed=untried
   14480 fi
   14481 
   14482 
   14483 
   14484 if test $pkg_failed = yes; then
   14485    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14486 $as_echo "no" >&6; }
   14487 
   14488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14489         _pkg_short_errors_supported=yes
   14490 else
   14491         _pkg_short_errors_supported=no
   14492 fi
   14493         if test $_pkg_short_errors_supported = yes; then
   14494 	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
   14495         else
   14496 	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
   14497         fi
   14498 	# Put the nasty error message in config.log where it belongs
   14499 	echo "$LIBXML2_PKG_ERRORS" >&5
   14500 
   14501 	as_fn_error $? "Package requirements (libxml-2.0 >= 2.6) were not met:
   14502 
   14503 $LIBXML2_PKG_ERRORS
   14504 
   14505 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14506 installed software in a non-standard prefix.
   14507 
   14508 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   14509 and LIBXML2_LIBS to avoid the need to call pkg-config.
   14510 See the pkg-config man page for more details." "$LINENO" 5
   14511 elif test $pkg_failed = untried; then
   14512      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14513 $as_echo "no" >&6; }
   14514 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14516 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   14517 is in your PATH or set the PKG_CONFIG environment variable to the full
   14518 path to pkg-config.
   14519 
   14520 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   14521 and LIBXML2_LIBS to avoid the need to call pkg-config.
   14522 See the pkg-config man page for more details.
   14523 
   14524 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14525 See \`config.log' for more details" "$LINENO" 5; }
   14526 else
   14527 	LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
   14528 	LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
   14529         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14530 $as_echo "yes" >&6; }
   14531 
   14532 fi
   14533 
   14534 cat >>confdefs.h <<_ACEOF
   14535 #define ENABLE_LIBXML2 1
   14536 _ACEOF
   14537 
   14538 
   14539 
   14540 
   14541 
   14542     fc_saved_CFLAGS="$CFLAGS"
   14543     CFLAGS="$CFLAGS $LIBXML2_CFLAGS"
   14544     { $as_echo "$as_me:${as_lineno-$LINENO}: checking SAX1 support in libxml2" >&5
   14545 $as_echo_n "checking SAX1 support in libxml2... " >&6; }
   14546     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14547 /* end confdefs.h.  */
   14548 
   14549 	#include <libxml/xmlversion.h>
   14550 	#if !defined(LIBXML_SAX1_ENABLED)
   14551 	#  include "error: No SAX1 support in libxml2"
   14552 	#endif
   14553 
   14554 _ACEOF
   14555 if ac_fn_c_try_compile "$LINENO"; then :
   14556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
   14557 $as_echo "found" >&6; }
   14558 else
   14559   as_fn_error $? "
   14560 *** SAX1 support in libxml2 is required. enable it or use expat instead." "$LINENO" 5
   14561 fi
   14562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14563     CFLAGS="$fc_saved_CFLAGS"
   14564 fi
   14565 
   14566 #
   14567 # Set default font directory
   14568 #
   14569 
   14570 
   14571 # Check whether --with-default-fonts was given.
   14572 if test "${with_default_fonts+set}" = set; then :
   14573   withval=$with_default_fonts; default_fonts="$withval"
   14574 else
   14575   default_fonts=yes
   14576 fi
   14577 
   14578 
   14579 case "$default_fonts" in
   14580 yes)
   14581 	if test "$os_win32" = "yes"; then
   14582 		FC_DEFAULT_FONTS="WINDOWSFONTDIR"
   14583 
   14584 cat >>confdefs.h <<_ACEOF
   14585 #define FC_DEFAULT_FONTS "WINDOWSFONTDIR"
   14586 _ACEOF
   14587 
   14588 	else
   14589 		FC_DEFAULT_FONTS="/usr/share/fonts"
   14590 
   14591 cat >>confdefs.h <<_ACEOF
   14592 #define FC_DEFAULT_FONTS "/usr/share/fonts"
   14593 _ACEOF
   14594 
   14595 	fi
   14596 	;;
   14597 *)
   14598 	FC_DEFAULT_FONTS="$default_fonts"
   14599 
   14600 cat >>confdefs.h <<_ACEOF
   14601 #define FC_DEFAULT_FONTS "$default_fonts"
   14602 _ACEOF
   14603 
   14604 	;;
   14605 esac
   14606 
   14607 
   14608 
   14609 #
   14610 # Add more fonts if available.  By default, add only the directories
   14611 # with outline fonts; those with bitmaps can be added as desired in
   14612 # local.conf or ~/.fonts.conf
   14613 #
   14614 
   14615 # Check whether --with-add-fonts was given.
   14616 if test "${with_add_fonts+set}" = set; then :
   14617   withval=$with_add_fonts; add_fonts="$withval"
   14618 else
   14619   add_fonts=yes
   14620 fi
   14621 
   14622 
   14623 case "$add_fonts" in
   14624 yes)
   14625 	FC_ADD_FONTS=""
   14626 	for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
   14627 		case x"$FC_ADD_FONTS" in
   14628 		x)
   14629 			sub="$dir/fonts"
   14630 			if test -d "$sub"; then
   14631 				case x$FC_ADD_FONTS in
   14632 				x)
   14633 					FC_ADD_FONTS="$sub"
   14634 					;;
   14635 				*)
   14636 					FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
   14637 					;;
   14638 				esac
   14639 			fi
   14640 			;;
   14641 		esac
   14642 	done
   14643 
   14644 cat >>confdefs.h <<_ACEOF
   14645 #define FC_ADD_FONTS "$add_fonts"
   14646 _ACEOF
   14647 
   14648 	;;
   14649 no)
   14650 	FC_ADD_FONTS=""
   14651 	;;
   14652 *)
   14653 	FC_ADD_FONTS="$add_fonts"
   14654 
   14655 cat >>confdefs.h <<_ACEOF
   14656 #define FC_ADD_FONTS "$add_fonts"
   14657 _ACEOF
   14658 
   14659 	;;
   14660 esac
   14661 
   14662 
   14663 
   14664 FC_FONTPATH=""
   14665 
   14666 case "$FC_ADD_FONTS" in
   14667 "")
   14668 	;;
   14669 *)
   14670 	FC_FONTPATH=`echo $FC_ADD_FONTS |
   14671 			sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'`
   14672 	;;
   14673 esac
   14674 
   14675 
   14676 
   14677 #
   14678 # Set default cache directory path
   14679 #
   14680 
   14681 # Check whether --with-cache-dir was given.
   14682 if test "${with_cache_dir+set}" = set; then :
   14683   withval=$with_cache_dir; fc_cachedir="$withval"
   14684 else
   14685   fc_cachedir=yes
   14686 fi
   14687 
   14688 
   14689 case $fc_cachedir in
   14690 no|yes)
   14691 	if test "$os_win32" = "yes"; then
   14692 		fc_cachedir="WINDOWSTEMPDIR_FONTCONFIG_CACHE"
   14693 	else
   14694 		fc_cachedir='${localstatedir}/cache/${PACKAGE}'
   14695 	fi
   14696 	;;
   14697 *)
   14698 	;;
   14699 esac
   14700 
   14701 FC_CACHEDIR=${fc_cachedir}
   14702 
   14703 
   14704 FC_FONTDATE=`LC_ALL=C date`
   14705 
   14706 
   14707 
   14708 #
   14709 # Set configuration paths
   14710 #
   14711 
   14712 
   14713 # Check whether --with-templatedir was given.
   14714 if test "${with_templatedir+set}" = set; then :
   14715   withval=$with_templatedir; templatedir="$withval"
   14716 else
   14717   templatedir=yes
   14718 fi
   14719 
   14720 
   14721 # Check whether --with-baseconfigdir was given.
   14722 if test "${with_baseconfigdir+set}" = set; then :
   14723   withval=$with_baseconfigdir; baseconfigdir="$withval"
   14724 else
   14725   baseconfigdir=yes
   14726 fi
   14727 
   14728 
   14729 # Check whether --with-configdir was given.
   14730 if test "${with_configdir+set}" = set; then :
   14731   withval=$with_configdir; configdir="$withval"
   14732 else
   14733   configdir=yes
   14734 fi
   14735 
   14736 
   14737 # Check whether --with-xmldir was given.
   14738 if test "${with_xmldir+set}" = set; then :
   14739   withval=$with_xmldir; xmldir="$withval"
   14740 else
   14741   xmldir=yes
   14742 fi
   14743 
   14744 
   14745 case "$templatedir" in
   14746 no|yes)
   14747 	templatedir='${datadir}'/fontconfig/conf.avail
   14748 	;;
   14749 *)
   14750 	;;
   14751 esac
   14752 case "$baseconfigdir" in
   14753 no|yes)
   14754 	baseconfigdir='${sysconfdir}'/fonts
   14755 	;;
   14756 *)
   14757 	;;
   14758 esac
   14759 case "$configdir" in
   14760 no|yes)
   14761 	configdir='${baseconfigdir}'/conf.d
   14762 	;;
   14763 *)
   14764 	;;
   14765 esac
   14766 case "$xmldir" in
   14767 no|yes)
   14768 	xmldir='${datadir}'/xml/fontconfig
   14769 	;;
   14770 *)
   14771 	;;
   14772 esac
   14773 
   14774 TEMPLATEDIR=${templatedir}
   14775 BASECONFIGDIR=${baseconfigdir}
   14776 CONFIGDIR=${configdir}
   14777 XMLDIR=${xmldir}
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 #
   14790 # Thread-safety primitives
   14791 #
   14792 
   14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
   14794 $as_echo_n "checking for Intel atomic primitives... " >&6; }
   14795 if ${fc_cv_have_intel_atomic_primitives+:} false; then :
   14796   $as_echo_n "(cached) " >&6
   14797 else
   14798 
   14799 	fc_cv_have_intel_atomic_primitives=false
   14800 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14801 /* end confdefs.h.  */
   14802 
   14803 		void memory_barrier (void) { __sync_synchronize (); }
   14804 		int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
   14805 		int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
   14806 		void mutex_unlock (int *m) { __sync_lock_release (m); }
   14807 
   14808 int
   14809 main ()
   14810 {
   14811 
   14812   ;
   14813   return 0;
   14814 }
   14815 _ACEOF
   14816 if ac_fn_c_try_link "$LINENO"; then :
   14817   fc_cv_have_intel_atomic_primitives=true
   14818 
   14819 fi
   14820 rm -f core conftest.err conftest.$ac_objext \
   14821     conftest$ac_exeext conftest.$ac_ext
   14822 
   14823 fi
   14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_intel_atomic_primitives" >&5
   14825 $as_echo "$fc_cv_have_intel_atomic_primitives" >&6; }
   14826 if $fc_cv_have_intel_atomic_primitives; then
   14827 
   14828 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
   14829 
   14830 fi
   14831 
   14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
   14833 $as_echo_n "checking for Solaris atomic operations... " >&6; }
   14834 if ${fc_cv_have_solaris_atomic_ops+:} false; then :
   14835   $as_echo_n "(cached) " >&6
   14836 else
   14837 
   14838 	fc_cv_have_solaris_atomic_ops=false
   14839 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14840 /* end confdefs.h.  */
   14841 
   14842 		#include <atomic.h>
   14843 		/* This requires Solaris Studio 12.2 or newer: */
   14844 		#include <mbarrier.h>
   14845 		void memory_barrier (void) { __machine_rw_barrier (); }
   14846 		int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
   14847 		void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
   14848 
   14849 int
   14850 main ()
   14851 {
   14852 
   14853   ;
   14854   return 0;
   14855 }
   14856 _ACEOF
   14857 if ac_fn_c_try_link "$LINENO"; then :
   14858   fc_cv_have_solaris_atomic_ops=true
   14859 
   14860 fi
   14861 rm -f core conftest.err conftest.$ac_objext \
   14862     conftest$ac_exeext conftest.$ac_ext
   14863 
   14864 fi
   14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_solaris_atomic_ops" >&5
   14866 $as_echo "$fc_cv_have_solaris_atomic_ops" >&6; }
   14867 if $fc_cv_have_solaris_atomic_ops; then
   14868 
   14869 $as_echo "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
   14870 
   14871 fi
   14872 
   14873 if test "$os_win32" = no && ! $have_pthread; then
   14874 	for ac_header in sched.h
   14875 do :
   14876   ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
   14877 if test "x$ac_cv_header_sched_h" = xyes; then :
   14878   cat >>confdefs.h <<_ACEOF
   14879 #define HAVE_SCHED_H 1
   14880 _ACEOF
   14881 
   14882 fi
   14883 
   14884 done
   14885 
   14886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
   14887 $as_echo_n "checking for library containing sched_yield... " >&6; }
   14888 if ${ac_cv_search_sched_yield+:} false; then :
   14889   $as_echo_n "(cached) " >&6
   14890 else
   14891   ac_func_search_save_LIBS=$LIBS
   14892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14893 /* end confdefs.h.  */
   14894 
   14895 /* Override any GCC internal prototype to avoid an error.
   14896    Use char because int might match the return type of a GCC
   14897    builtin and then its argument prototype would still apply.  */
   14898 #ifdef __cplusplus
   14899 extern "C"
   14900 #endif
   14901 char sched_yield ();
   14902 int
   14903 main ()
   14904 {
   14905 return sched_yield ();
   14906   ;
   14907   return 0;
   14908 }
   14909 _ACEOF
   14910 for ac_lib in '' rt; do
   14911   if test -z "$ac_lib"; then
   14912     ac_res="none required"
   14913   else
   14914     ac_res=-l$ac_lib
   14915     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14916   fi
   14917   if ac_fn_c_try_link "$LINENO"; then :
   14918   ac_cv_search_sched_yield=$ac_res
   14919 fi
   14920 rm -f core conftest.err conftest.$ac_objext \
   14921     conftest$ac_exeext
   14922   if ${ac_cv_search_sched_yield+:} false; then :
   14923   break
   14924 fi
   14925 done
   14926 if ${ac_cv_search_sched_yield+:} false; then :
   14927 
   14928 else
   14929   ac_cv_search_sched_yield=no
   14930 fi
   14931 rm conftest.$ac_ext
   14932 LIBS=$ac_func_search_save_LIBS
   14933 fi
   14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
   14935 $as_echo "$ac_cv_search_sched_yield" >&6; }
   14936 ac_res=$ac_cv_search_sched_yield
   14937 if test "$ac_res" != no; then :
   14938   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14939 
   14940 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
   14941 
   14942 fi
   14943 
   14944 fi
   14945 
   14946 have_pthread=false
   14947 if test "$os_win32" = no; then
   14948 
   14949 
   14950 ac_ext=c
   14951 ac_cpp='$CPP $CPPFLAGS'
   14952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14955 
   14956 ax_pthread_ok=no
   14957 
   14958 # We used to check for pthread.h first, but this fails if pthread.h
   14959 # requires special compiler flags (e.g. on True64 or Sequent).
   14960 # It gets checked for in the link test anyway.
   14961 
   14962 # First of all, check if the user has set any of the PTHREAD_LIBS,
   14963 # etcetera environment variables, and if threads linking works using
   14964 # them:
   14965 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   14966         save_CFLAGS="$CFLAGS"
   14967         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   14968         save_LIBS="$LIBS"
   14969         LIBS="$PTHREAD_LIBS $LIBS"
   14970         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
   14971 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
   14972         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14973 /* end confdefs.h.  */
   14974 
   14975 /* Override any GCC internal prototype to avoid an error.
   14976    Use char because int might match the return type of a GCC
   14977    builtin and then its argument prototype would still apply.  */
   14978 #ifdef __cplusplus
   14979 extern "C"
   14980 #endif
   14981 char pthread_join ();
   14982 int
   14983 main ()
   14984 {
   14985 return pthread_join ();
   14986   ;
   14987   return 0;
   14988 }
   14989 _ACEOF
   14990 if ac_fn_c_try_link "$LINENO"; then :
   14991   ax_pthread_ok=yes
   14992 fi
   14993 rm -f core conftest.err conftest.$ac_objext \
   14994     conftest$ac_exeext conftest.$ac_ext
   14995         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   14996 $as_echo "$ax_pthread_ok" >&6; }
   14997         if test x"$ax_pthread_ok" = xno; then
   14998                 PTHREAD_LIBS=""
   14999                 PTHREAD_CFLAGS=""
   15000         fi
   15001         LIBS="$save_LIBS"
   15002         CFLAGS="$save_CFLAGS"
   15003 fi
   15004 
   15005 # We must check for the threads library under a number of different
   15006 # names; the ordering is very important because some systems
   15007 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   15008 # libraries is broken (non-POSIX).
   15009 
   15010 # Create a list of thread flags to try.  Items starting with a "-" are
   15011 # C compiler flags, and other items are library names, except for "none"
   15012 # which indicates that we try without any flags at all, and "pthread-config"
   15013 # which is a program returning the flags for the Pth emulation library.
   15014 
   15015 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   15016 
   15017 # The ordering *is* (sometimes) important.  Some notes on the
   15018 # individual items follow:
   15019 
   15020 # pthreads: AIX (must check this before -lpthread)
   15021 # none: in case threads are in libc; should be tried before -Kthread and
   15022 #       other compiler flags to prevent continual compiler warnings
   15023 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   15024 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   15025 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   15026 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
   15027 # -pthreads: Solaris/gcc
   15028 # -mthreads: Mingw32/gcc, Lynx/gcc
   15029 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   15030 #      doesn't hurt to check since this sometimes defines pthreads too;
   15031 #      also defines -D_REENTRANT)
   15032 #      ... -mt is also the pthreads flag for HP/aCC
   15033 # pthread: Linux, etcetera
   15034 # --thread-safe: KAI C++
   15035 # pthread-config: use pthread-config program (for GNU Pth library)
   15036 
   15037 case ${host_os} in
   15038         solaris*)
   15039 
   15040         # On Solaris (at least, for some versions), libc contains stubbed
   15041         # (non-functional) versions of the pthreads routines, so link-based
   15042         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
   15043         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
   15044         # a function called by this macro, so we could check for that, but
   15045         # who knows whether they'll stub that too in a future libc.)  So,
   15046         # we'll just look for -pthreads and -lpthread first:
   15047 
   15048         ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
   15049         ;;
   15050 
   15051         darwin*)
   15052         ax_pthread_flags="-pthread $ax_pthread_flags"
   15053         ;;
   15054 esac
   15055 
   15056 if test x"$ax_pthread_ok" = xno; then
   15057 for flag in $ax_pthread_flags; do
   15058 
   15059         case $flag in
   15060                 none)
   15061                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   15062 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   15063                 ;;
   15064 
   15065                 -*)
   15066                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
   15067 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
   15068                 PTHREAD_CFLAGS="$flag"
   15069                 ;;
   15070 
   15071                 pthread-config)
   15072                 # Extract the first word of "pthread-config", so it can be a program name with args.
   15073 set dummy pthread-config; ac_word=$2
   15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15075 $as_echo_n "checking for $ac_word... " >&6; }
   15076 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   15077   $as_echo_n "(cached) " >&6
   15078 else
   15079   if test -n "$ax_pthread_config"; then
   15080   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   15081 else
   15082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15083 for as_dir in $PATH
   15084 do
   15085   IFS=$as_save_IFS
   15086   test -z "$as_dir" && as_dir=.
   15087     for ac_exec_ext in '' $ac_executable_extensions; do
   15088   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15089     ac_cv_prog_ax_pthread_config="yes"
   15090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15091     break 2
   15092   fi
   15093 done
   15094   done
   15095 IFS=$as_save_IFS
   15096 
   15097   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   15098 fi
   15099 fi
   15100 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   15101 if test -n "$ax_pthread_config"; then
   15102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   15103 $as_echo "$ax_pthread_config" >&6; }
   15104 else
   15105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15106 $as_echo "no" >&6; }
   15107 fi
   15108 
   15109 
   15110                 if test x"$ax_pthread_config" = xno; then continue; fi
   15111                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   15112                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   15113                 ;;
   15114 
   15115                 *)
   15116                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
   15117 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
   15118                 PTHREAD_LIBS="-l$flag"
   15119                 ;;
   15120         esac
   15121 
   15122         save_LIBS="$LIBS"
   15123         save_CFLAGS="$CFLAGS"
   15124         LIBS="$PTHREAD_LIBS $LIBS"
   15125         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15126 
   15127         # Check for various functions.  We must include pthread.h,
   15128         # since some functions may be macros.  (On the Sequent, we
   15129         # need a special flag -Kthread to make this header compile.)
   15130         # We check for pthread_join because it is in -lpthread on IRIX
   15131         # while pthread_create is in libc.  We check for pthread_attr_init
   15132         # due to DEC craziness with -lpthreads.  We check for
   15133         # pthread_cleanup_push because it is one of the few pthread
   15134         # functions on Solaris that doesn't have a non-functional libc stub.
   15135         # We try pthread_create on general principles.
   15136         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15137 /* end confdefs.h.  */
   15138 #include <pthread.h>
   15139                         static void routine(void *a) { a = 0; }
   15140                         static void *start_routine(void *a) { return a; }
   15141 int
   15142 main ()
   15143 {
   15144 pthread_t th; pthread_attr_t attr;
   15145                         pthread_create(&th, 0, start_routine, 0);
   15146                         pthread_join(th, 0);
   15147                         pthread_attr_init(&attr);
   15148                         pthread_cleanup_push(routine, 0);
   15149                         pthread_cleanup_pop(0) /* ; */
   15150   ;
   15151   return 0;
   15152 }
   15153 _ACEOF
   15154 if ac_fn_c_try_link "$LINENO"; then :
   15155   ax_pthread_ok=yes
   15156 fi
   15157 rm -f core conftest.err conftest.$ac_objext \
   15158     conftest$ac_exeext conftest.$ac_ext
   15159 
   15160         LIBS="$save_LIBS"
   15161         CFLAGS="$save_CFLAGS"
   15162 
   15163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   15164 $as_echo "$ax_pthread_ok" >&6; }
   15165         if test "x$ax_pthread_ok" = xyes; then
   15166                 break;
   15167         fi
   15168 
   15169         PTHREAD_LIBS=""
   15170         PTHREAD_CFLAGS=""
   15171 done
   15172 fi
   15173 
   15174 # Various other checks:
   15175 if test "x$ax_pthread_ok" = xyes; then
   15176         save_LIBS="$LIBS"
   15177         LIBS="$PTHREAD_LIBS $LIBS"
   15178         save_CFLAGS="$CFLAGS"
   15179         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15180 
   15181         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   15182         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   15183 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   15184         attr_name=unknown
   15185         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   15186             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15187 /* end confdefs.h.  */
   15188 #include <pthread.h>
   15189 int
   15190 main ()
   15191 {
   15192 int attr = $attr; return attr /* ; */
   15193   ;
   15194   return 0;
   15195 }
   15196 _ACEOF
   15197 if ac_fn_c_try_link "$LINENO"; then :
   15198   attr_name=$attr; break
   15199 fi
   15200 rm -f core conftest.err conftest.$ac_objext \
   15201     conftest$ac_exeext conftest.$ac_ext
   15202         done
   15203         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
   15204 $as_echo "$attr_name" >&6; }
   15205         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
   15206 
   15207 cat >>confdefs.h <<_ACEOF
   15208 #define PTHREAD_CREATE_JOINABLE $attr_name
   15209 _ACEOF
   15210 
   15211         fi
   15212 
   15213         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
   15214 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
   15215         flag=no
   15216         case ${host_os} in
   15217             aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
   15218             osf* | hpux*) flag="-D_REENTRANT";;
   15219             solaris*)
   15220             if test "$GCC" = "yes"; then
   15221                 flag="-D_REENTRANT"
   15222             else
   15223                 flag="-mt -D_REENTRANT"
   15224             fi
   15225             ;;
   15226         esac
   15227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
   15228 $as_echo "${flag}" >&6; }
   15229         if test "x$flag" != xno; then
   15230             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
   15231         fi
   15232 
   15233         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   15234 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   15235 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   15236   $as_echo_n "(cached) " >&6
   15237 else
   15238 
   15239                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15240 /* end confdefs.h.  */
   15241 
   15242                     #include <pthread.h>
   15243 int
   15244 main ()
   15245 {
   15246 int i = PTHREAD_PRIO_INHERIT;
   15247   ;
   15248   return 0;
   15249 }
   15250 _ACEOF
   15251 if ac_fn_c_try_link "$LINENO"; then :
   15252   ax_cv_PTHREAD_PRIO_INHERIT=yes
   15253 else
   15254   ax_cv_PTHREAD_PRIO_INHERIT=no
   15255 fi
   15256 rm -f core conftest.err conftest.$ac_objext \
   15257     conftest$ac_exeext conftest.$ac_ext
   15258 
   15259 fi
   15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   15261 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   15262         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
   15263 
   15264 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   15265 
   15266 fi
   15267 
   15268         LIBS="$save_LIBS"
   15269         CFLAGS="$save_CFLAGS"
   15270 
   15271         # More AIX lossage: must compile with xlc_r or cc_r
   15272         if test x"$GCC" != xyes; then
   15273           for ac_prog in xlc_r cc_r
   15274 do
   15275   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15276 set dummy $ac_prog; ac_word=$2
   15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15278 $as_echo_n "checking for $ac_word... " >&6; }
   15279 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   15280   $as_echo_n "(cached) " >&6
   15281 else
   15282   if test -n "$PTHREAD_CC"; then
   15283   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   15284 else
   15285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15286 for as_dir in $PATH
   15287 do
   15288   IFS=$as_save_IFS
   15289   test -z "$as_dir" && as_dir=.
   15290     for ac_exec_ext in '' $ac_executable_extensions; do
   15291   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15292     ac_cv_prog_PTHREAD_CC="$ac_prog"
   15293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15294     break 2
   15295   fi
   15296 done
   15297   done
   15298 IFS=$as_save_IFS
   15299 
   15300 fi
   15301 fi
   15302 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   15303 if test -n "$PTHREAD_CC"; then
   15304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   15305 $as_echo "$PTHREAD_CC" >&6; }
   15306 else
   15307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15308 $as_echo "no" >&6; }
   15309 fi
   15310 
   15311 
   15312   test -n "$PTHREAD_CC" && break
   15313 done
   15314 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
   15315 
   15316         else
   15317           PTHREAD_CC=$CC
   15318         fi
   15319 else
   15320         PTHREAD_CC="$CC"
   15321 fi
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   15328 if test x"$ax_pthread_ok" = xyes; then
   15329         have_pthread=true
   15330         :
   15331 else
   15332         ax_pthread_ok=no
   15333 
   15334 fi
   15335 ac_ext=c
   15336 ac_cpp='$CPP $CPPFLAGS'
   15337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15340 
   15341 
   15342 fi
   15343 if $have_pthread; then
   15344 	LIBS="$PTHREAD_LIBS $LIBS"
   15345 	CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15346 	CC="$PTHREAD_CC"
   15347 
   15348 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   15349 
   15350 fi
   15351  if $have_pthread; then
   15352   HAVE_PTHREAD_TRUE=
   15353   HAVE_PTHREAD_FALSE='#'
   15354 else
   15355   HAVE_PTHREAD_TRUE='#'
   15356   HAVE_PTHREAD_FALSE=
   15357 fi
   15358 
   15359 
   15360 
   15361 
   15362 #
   15363 # Let people not build/install docs if they don't have docbook
   15364 #
   15365 
   15366 # Extract the first word of "docbook2html", so it can be a program name with args.
   15367 set dummy docbook2html; ac_word=$2
   15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15369 $as_echo_n "checking for $ac_word... " >&6; }
   15370 if ${ac_cv_prog_HASDOCBOOK+:} false; then :
   15371   $as_echo_n "(cached) " >&6
   15372 else
   15373   if test -n "$HASDOCBOOK"; then
   15374   ac_cv_prog_HASDOCBOOK="$HASDOCBOOK" # Let the user override the test.
   15375 else
   15376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15377 for as_dir in $PATH
   15378 do
   15379   IFS=$as_save_IFS
   15380   test -z "$as_dir" && as_dir=.
   15381     for ac_exec_ext in '' $ac_executable_extensions; do
   15382   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15383     ac_cv_prog_HASDOCBOOK="yes"
   15384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15385     break 2
   15386   fi
   15387 done
   15388   done
   15389 IFS=$as_save_IFS
   15390 
   15391   test -z "$ac_cv_prog_HASDOCBOOK" && ac_cv_prog_HASDOCBOOK="no"
   15392 fi
   15393 fi
   15394 HASDOCBOOK=$ac_cv_prog_HASDOCBOOK
   15395 if test -n "$HASDOCBOOK"; then
   15396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HASDOCBOOK" >&5
   15397 $as_echo "$HASDOCBOOK" >&6; }
   15398 else
   15399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15400 $as_echo "no" >&6; }
   15401 fi
   15402 
   15403 
   15404 
   15405  if test "x$HASDOCBOOK" = xyes; then
   15406   USEDOCBOOK_TRUE=
   15407   USEDOCBOOK_FALSE='#'
   15408 else
   15409   USEDOCBOOK_TRUE='#'
   15410   USEDOCBOOK_FALSE=
   15411 fi
   15412 
   15413 
   15414 default_docs="yes"
   15415 #
   15416 # Check if docs exist or can be created
   15417 #
   15418 if test x$HASDOCBOOK = xno; then
   15419 	if test -f $srcdir/doc/fonts-conf.5; then
   15420 		:
   15421 	else
   15422 		default_docs="no"
   15423 	fi
   15424 fi
   15425 
   15426 # Check whether --enable-docs was given.
   15427 if test "${enable_docs+set}" = set; then :
   15428   enableval=$enable_docs;
   15429 else
   15430   enable_docs=$default_docs
   15431 fi
   15432 
   15433 
   15434  if test "x$enable_docs" = xyes; then
   15435   ENABLE_DOCS_TRUE=
   15436   ENABLE_DOCS_FALSE='#'
   15437 else
   15438   ENABLE_DOCS_TRUE='#'
   15439   ENABLE_DOCS_FALSE=
   15440 fi
   15441 
   15442 
   15443 if test "x$enable_docs" = xyes; then
   15444 	tmp=funcs.$$
   15445 	cat $srcdir/doc/*.fncs | awk '
   15446 	/^@TITLE@/	{ if (!done) { printf ("%s\n", $2); done = 1; } }
   15447 	/^@FUNC@/	{ if (!done) { printf ("%s\n", $2); done = 1; } }
   15448 	/^@@/		{ done = 0; }' > $tmp
   15449 	DOCMAN3=`cat $tmp | awk '{ printf ("%s.3 ", $1); }'`
   15450 	echo DOCMAN3 $DOCMAN3
   15451 	rm -f $tmp
   15452 else
   15453 	DOCMAN3=""
   15454 fi
   15455 
   15456 
   15457 
   15458  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   15459 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   15460 if ${ac_cv_c_bigendian+:} false; then :
   15461   $as_echo_n "(cached) " >&6
   15462 else
   15463   ac_cv_c_bigendian=unknown
   15464     # See if we're dealing with a universal compiler.
   15465     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15466 /* end confdefs.h.  */
   15467 #ifndef __APPLE_CC__
   15468 	       not a universal capable compiler
   15469 	     #endif
   15470 	     typedef int dummy;
   15471 
   15472 _ACEOF
   15473 if ac_fn_c_try_compile "$LINENO"; then :
   15474 
   15475 	# Check for potential -arch flags.  It is not universal unless
   15476 	# there are at least two -arch flags with different values.
   15477 	ac_arch=
   15478 	ac_prev=
   15479 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   15480 	 if test -n "$ac_prev"; then
   15481 	   case $ac_word in
   15482 	     i?86 | x86_64 | ppc | ppc64)
   15483 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   15484 		 ac_arch=$ac_word
   15485 	       else
   15486 		 ac_cv_c_bigendian=universal
   15487 		 break
   15488 	       fi
   15489 	       ;;
   15490 	   esac
   15491 	   ac_prev=
   15492 	 elif test "x$ac_word" = "x-arch"; then
   15493 	   ac_prev=arch
   15494 	 fi
   15495        done
   15496 fi
   15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15498     if test $ac_cv_c_bigendian = unknown; then
   15499       # See if sys/param.h defines the BYTE_ORDER macro.
   15500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15501 /* end confdefs.h.  */
   15502 #include <sys/types.h>
   15503 	     #include <sys/param.h>
   15504 
   15505 int
   15506 main ()
   15507 {
   15508 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   15509 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   15510 		     && LITTLE_ENDIAN)
   15511 	      bogus endian macros
   15512 	     #endif
   15513 
   15514   ;
   15515   return 0;
   15516 }
   15517 _ACEOF
   15518 if ac_fn_c_try_compile "$LINENO"; then :
   15519   # It does; now see whether it defined to BIG_ENDIAN or not.
   15520 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15521 /* end confdefs.h.  */
   15522 #include <sys/types.h>
   15523 		#include <sys/param.h>
   15524 
   15525 int
   15526 main ()
   15527 {
   15528 #if BYTE_ORDER != BIG_ENDIAN
   15529 		 not big endian
   15530 		#endif
   15531 
   15532   ;
   15533   return 0;
   15534 }
   15535 _ACEOF
   15536 if ac_fn_c_try_compile "$LINENO"; then :
   15537   ac_cv_c_bigendian=yes
   15538 else
   15539   ac_cv_c_bigendian=no
   15540 fi
   15541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15542 fi
   15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15544     fi
   15545     if test $ac_cv_c_bigendian = unknown; then
   15546       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   15547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15548 /* end confdefs.h.  */
   15549 #include <limits.h>
   15550 
   15551 int
   15552 main ()
   15553 {
   15554 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   15555 	      bogus endian macros
   15556 	     #endif
   15557 
   15558   ;
   15559   return 0;
   15560 }
   15561 _ACEOF
   15562 if ac_fn_c_try_compile "$LINENO"; then :
   15563   # It does; now see whether it defined to _BIG_ENDIAN or not.
   15564 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15565 /* end confdefs.h.  */
   15566 #include <limits.h>
   15567 
   15568 int
   15569 main ()
   15570 {
   15571 #ifndef _BIG_ENDIAN
   15572 		 not big endian
   15573 		#endif
   15574 
   15575   ;
   15576   return 0;
   15577 }
   15578 _ACEOF
   15579 if ac_fn_c_try_compile "$LINENO"; then :
   15580   ac_cv_c_bigendian=yes
   15581 else
   15582   ac_cv_c_bigendian=no
   15583 fi
   15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15585 fi
   15586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15587     fi
   15588     if test $ac_cv_c_bigendian = unknown; then
   15589       # Compile a test program.
   15590       if test "$cross_compiling" = yes; then :
   15591   # Try to guess by grepping values from an object file.
   15592 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15593 /* end confdefs.h.  */
   15594 short int ascii_mm[] =
   15595 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   15596 		short int ascii_ii[] =
   15597 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   15598 		int use_ascii (int i) {
   15599 		  return ascii_mm[i] + ascii_ii[i];
   15600 		}
   15601 		short int ebcdic_ii[] =
   15602 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   15603 		short int ebcdic_mm[] =
   15604 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   15605 		int use_ebcdic (int i) {
   15606 		  return ebcdic_mm[i] + ebcdic_ii[i];
   15607 		}
   15608 		extern int foo;
   15609 
   15610 int
   15611 main ()
   15612 {
   15613 return use_ascii (foo) == use_ebcdic (foo);
   15614   ;
   15615   return 0;
   15616 }
   15617 _ACEOF
   15618 if ac_fn_c_try_compile "$LINENO"; then :
   15619   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   15620 	      ac_cv_c_bigendian=yes
   15621 	    fi
   15622 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   15623 	      if test "$ac_cv_c_bigendian" = unknown; then
   15624 		ac_cv_c_bigendian=no
   15625 	      else
   15626 		# finding both strings is unlikely to happen, but who knows?
   15627 		ac_cv_c_bigendian=unknown
   15628 	      fi
   15629 	    fi
   15630 fi
   15631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15632 else
   15633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15634 /* end confdefs.h.  */
   15635 $ac_includes_default
   15636 int
   15637 main ()
   15638 {
   15639 
   15640 	     /* Are we little or big endian?  From Harbison&Steele.  */
   15641 	     union
   15642 	     {
   15643 	       long int l;
   15644 	       char c[sizeof (long int)];
   15645 	     } u;
   15646 	     u.l = 1;
   15647 	     return u.c[sizeof (long int) - 1] == 1;
   15648 
   15649   ;
   15650   return 0;
   15651 }
   15652 _ACEOF
   15653 if ac_fn_c_try_run "$LINENO"; then :
   15654   ac_cv_c_bigendian=no
   15655 else
   15656   ac_cv_c_bigendian=yes
   15657 fi
   15658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15659   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15660 fi
   15661 
   15662     fi
   15663 fi
   15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   15665 $as_echo "$ac_cv_c_bigendian" >&6; }
   15666  case $ac_cv_c_bigendian in #(
   15667    yes)
   15668      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   15669 ;; #(
   15670    no)
   15671       ;; #(
   15672    universal)
   15673 
   15674 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   15675 
   15676      ;; #(
   15677    *)
   15678      as_fn_error $? "unknown endianness
   15679  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   15680  esac
   15681 
   15682 # The cast to long int works around a bug in the HP C Compiler
   15683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15685 # This bug is HP SR number 8606223364.
   15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   15687 $as_echo_n "checking size of void *... " >&6; }
   15688 if ${ac_cv_sizeof_void_p+:} false; then :
   15689   $as_echo_n "(cached) " >&6
   15690 else
   15691   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   15692 
   15693 else
   15694   if test "$ac_cv_type_void_p" = yes; then
   15695      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15697 as_fn_error 77 "cannot compute sizeof (void *)
   15698 See \`config.log' for more details" "$LINENO" 5; }
   15699    else
   15700      ac_cv_sizeof_void_p=0
   15701    fi
   15702 fi
   15703 
   15704 fi
   15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   15706 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   15707 
   15708 
   15709 
   15710 cat >>confdefs.h <<_ACEOF
   15711 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   15712 _ACEOF
   15713 
   15714 
   15715 # The cast to long int works around a bug in the HP C Compiler,
   15716 # see AC_CHECK_SIZEOF for more information.
   15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
   15718 $as_echo_n "checking alignment of double... " >&6; }
   15719 if ${ac_cv_alignof_double+:} false; then :
   15720   $as_echo_n "(cached) " >&6
   15721 else
   15722   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_double"        "$ac_includes_default
   15723 #ifndef offsetof
   15724 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
   15725 #endif
   15726 typedef struct { char x; double y; } ac__type_alignof_;"; then :
   15727 
   15728 else
   15729   if test "$ac_cv_type_double" = yes; then
   15730      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15732 as_fn_error 77 "cannot compute alignment of double
   15733 See \`config.log' for more details" "$LINENO" 5; }
   15734    else
   15735      ac_cv_alignof_double=0
   15736    fi
   15737 fi
   15738 
   15739 fi
   15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
   15741 $as_echo "$ac_cv_alignof_double" >&6; }
   15742 
   15743 
   15744 
   15745 cat >>confdefs.h <<_ACEOF
   15746 #define ALIGNOF_DOUBLE $ac_cv_alignof_double
   15747 _ACEOF
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 ac_config_files="$ac_config_files Makefile fontconfig/Makefile fc-lang/Makefile fc-glyphname/Makefile fc-case/Makefile src/Makefile conf.d/Makefile fc-cache/Makefile fc-cat/Makefile fc-list/Makefile fc-match/Makefile fc-pattern/Makefile fc-query/Makefile fc-scan/Makefile fc-validate/Makefile doc/Makefile doc/version.sgml test/Makefile fontconfig.spec fontconfig.pc fontconfig-zip"
   15754 
   15755 cat >confcache <<\_ACEOF
   15756 # This file is a shell script that caches the results of configure
   15757 # tests run on this system so they can be shared between configure
   15758 # scripts and configure runs, see configure's option --config-cache.
   15759 # It is not useful on other systems.  If it contains results you don't
   15760 # want to keep, you may remove or edit it.
   15761 #
   15762 # config.status only pays attention to the cache file if you give it
   15763 # the --recheck option to rerun configure.
   15764 #
   15765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15767 # following values.
   15768 
   15769 _ACEOF
   15770 
   15771 # The following way of writing the cache mishandles newlines in values,
   15772 # but we know of no workaround that is simple, portable, and efficient.
   15773 # So, we kill variables containing newlines.
   15774 # Ultrix sh set writes to stderr and can't be redirected directly,
   15775 # and sets the high bit in the cache file unless we assign to the vars.
   15776 (
   15777   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15778     eval ac_val=\$$ac_var
   15779     case $ac_val in #(
   15780     *${as_nl}*)
   15781       case $ac_var in #(
   15782       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   15783 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   15784       esac
   15785       case $ac_var in #(
   15786       _ | IFS | as_nl) ;; #(
   15787       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   15788       *) { eval $ac_var=; unset $ac_var;} ;;
   15789       esac ;;
   15790     esac
   15791   done
   15792 
   15793   (set) 2>&1 |
   15794     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15795     *${as_nl}ac_space=\ *)
   15796       # `set' does not quote correctly, so add quotes: double-quote
   15797       # substitution turns \\\\ into \\, and sed turns \\ into \.
   15798       sed -n \
   15799 	"s/'/'\\\\''/g;
   15800 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15801       ;; #(
   15802     *)
   15803       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15804       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15805       ;;
   15806     esac |
   15807     sort
   15808 ) |
   15809   sed '
   15810      /^ac_cv_env_/b end
   15811      t clear
   15812      :clear
   15813      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15814      t end
   15815      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15816      :end' >>confcache
   15817 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15818   if test -w "$cache_file"; then
   15819     if test "x$cache_file" != "x/dev/null"; then
   15820       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15821 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15822       if test ! -f "$cache_file" || test -h "$cache_file"; then
   15823 	cat confcache >"$cache_file"
   15824       else
   15825         case $cache_file in #(
   15826         */* | ?:*)
   15827 	  mv -f confcache "$cache_file"$$ &&
   15828 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   15829         *)
   15830 	  mv -f confcache "$cache_file" ;;
   15831 	esac
   15832       fi
   15833     fi
   15834   else
   15835     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15836 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15837   fi
   15838 fi
   15839 rm -f confcache
   15840 
   15841 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15842 # Let make expand exec_prefix.
   15843 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15844 
   15845 DEFS=-DHAVE_CONFIG_H
   15846 
   15847 ac_libobjs=
   15848 ac_ltlibobjs=
   15849 U=
   15850 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15851   # 1. Remove the extension, and $U if already installed.
   15852   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15853   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15854   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15855   #    will be set to the directory where LIBOBJS objects are built.
   15856   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15857   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15858 done
   15859 LIBOBJS=$ac_libobjs
   15860 
   15861 LTLIBOBJS=$ac_ltlibobjs
   15862 
   15863 
   15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   15865 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   15866    if test -n "$am_sleep_pid"; then
   15867      # Hide warnings about reused PIDs.
   15868      wait $am_sleep_pid 2>/dev/null
   15869    fi
   15870    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   15871 $as_echo "done" >&6; }
   15872  if test -n "$EXEEXT"; then
   15873   am__EXEEXT_TRUE=
   15874   am__EXEEXT_FALSE='#'
   15875 else
   15876   am__EXEEXT_TRUE='#'
   15877   am__EXEEXT_FALSE=
   15878 fi
   15879 
   15880 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   15881   as_fn_error $? "conditional \"AMDEP\" was never defined.
   15882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15883 fi
   15884 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15885   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   15886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15887 fi
   15888 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
   15889   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
   15890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15891 fi
   15892 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
   15893   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
   15894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15895 fi
   15896 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
   15897   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
   15898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15899 fi
   15900 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
   15901   as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
   15902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15903 fi
   15904 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
   15905   as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
   15906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15907 fi
   15908 if test -z "${USEDOCBOOK_TRUE}" && test -z "${USEDOCBOOK_FALSE}"; then
   15909   as_fn_error $? "conditional \"USEDOCBOOK\" was never defined.
   15910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15911 fi
   15912 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   15913   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   15914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15915 fi
   15916 
   15917 
   15918 : "${CONFIG_STATUS=./config.status}"
   15919 ac_write_fail=0
   15920 ac_clean_files_save=$ac_clean_files
   15921 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15922 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15923 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15924 as_write_fail=0
   15925 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15926 #! $SHELL
   15927 # Generated by $as_me.
   15928 # Run this file to recreate the current configuration.
   15929 # Compiler output produced by configure, useful for debugging
   15930 # configure, is in config.log if it exists.
   15931 
   15932 debug=false
   15933 ac_cs_recheck=false
   15934 ac_cs_silent=false
   15935 
   15936 SHELL=\${CONFIG_SHELL-$SHELL}
   15937 export SHELL
   15938 _ASEOF
   15939 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15940 ## -------------------- ##
   15941 ## M4sh Initialization. ##
   15942 ## -------------------- ##
   15943 
   15944 # Be more Bourne compatible
   15945 DUALCASE=1; export DUALCASE # for MKS sh
   15946 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15947   emulate sh
   15948   NULLCMD=:
   15949   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15950   # is contrary to our usage.  Disable this feature.
   15951   alias -g '${1+"$@"}'='"$@"'
   15952   setopt NO_GLOB_SUBST
   15953 else
   15954   case `(set -o) 2>/dev/null` in #(
   15955   *posix*) :
   15956     set -o posix ;; #(
   15957   *) :
   15958      ;;
   15959 esac
   15960 fi
   15961 
   15962 
   15963 as_nl='
   15964 '
   15965 export as_nl
   15966 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15967 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15968 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15969 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15970 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15971 # but without wasting forks for bash or zsh.
   15972 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15973     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15974   as_echo='print -r --'
   15975   as_echo_n='print -rn --'
   15976 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15977   as_echo='printf %s\n'
   15978   as_echo_n='printf %s'
   15979 else
   15980   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15981     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15982     as_echo_n='/usr/ucb/echo -n'
   15983   else
   15984     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15985     as_echo_n_body='eval
   15986       arg=$1;
   15987       case $arg in #(
   15988       *"$as_nl"*)
   15989 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15990 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15991       esac;
   15992       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15993     '
   15994     export as_echo_n_body
   15995     as_echo_n='sh -c $as_echo_n_body as_echo'
   15996   fi
   15997   export as_echo_body
   15998   as_echo='sh -c $as_echo_body as_echo'
   15999 fi
   16000 
   16001 # The user is always right.
   16002 if test "${PATH_SEPARATOR+set}" != set; then
   16003   PATH_SEPARATOR=:
   16004   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   16005     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   16006       PATH_SEPARATOR=';'
   16007   }
   16008 fi
   16009 
   16010 
   16011 # IFS
   16012 # We need space, tab and new line, in precisely that order.  Quoting is
   16013 # there to prevent editors from complaining about space-tab.
   16014 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   16015 # splitting by setting IFS to empty value.)
   16016 IFS=" ""	$as_nl"
   16017 
   16018 # Find who we are.  Look in the path if we contain no directory separator.
   16019 as_myself=
   16020 case $0 in #((
   16021   *[\\/]* ) as_myself=$0 ;;
   16022   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16023 for as_dir in $PATH
   16024 do
   16025   IFS=$as_save_IFS
   16026   test -z "$as_dir" && as_dir=.
   16027     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   16028   done
   16029 IFS=$as_save_IFS
   16030 
   16031      ;;
   16032 esac
   16033 # We did not find ourselves, most probably we were run as `sh COMMAND'
   16034 # in which case we are not to be found in the path.
   16035 if test "x$as_myself" = x; then
   16036   as_myself=$0
   16037 fi
   16038 if test ! -f "$as_myself"; then
   16039   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   16040   exit 1
   16041 fi
   16042 
   16043 # Unset variables that we do not need and which cause bugs (e.g. in
   16044 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   16045 # suppresses any "Segmentation fault" message there.  '((' could
   16046 # trigger a bug in pdksh 5.2.14.
   16047 for as_var in BASH_ENV ENV MAIL MAILPATH
   16048 do eval test x\${$as_var+set} = xset \
   16049   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   16050 done
   16051 PS1='$ '
   16052 PS2='> '
   16053 PS4='+ '
   16054 
   16055 # NLS nuisances.
   16056 LC_ALL=C
   16057 export LC_ALL
   16058 LANGUAGE=C
   16059 export LANGUAGE
   16060 
   16061 # CDPATH.
   16062 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16063 
   16064 
   16065 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   16066 # ----------------------------------------
   16067 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   16068 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   16069 # script with STATUS, using 1 if that was 0.
   16070 as_fn_error ()
   16071 {
   16072   as_status=$1; test $as_status -eq 0 && as_status=1
   16073   if test "$4"; then
   16074     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   16075     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   16076   fi
   16077   $as_echo "$as_me: error: $2" >&2
   16078   as_fn_exit $as_status
   16079 } # as_fn_error
   16080 
   16081 
   16082 # as_fn_set_status STATUS
   16083 # -----------------------
   16084 # Set $? to STATUS, without forking.
   16085 as_fn_set_status ()
   16086 {
   16087   return $1
   16088 } # as_fn_set_status
   16089 
   16090 # as_fn_exit STATUS
   16091 # -----------------
   16092 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   16093 as_fn_exit ()
   16094 {
   16095   set +e
   16096   as_fn_set_status $1
   16097   exit $1
   16098 } # as_fn_exit
   16099 
   16100 # as_fn_unset VAR
   16101 # ---------------
   16102 # Portably unset VAR.
   16103 as_fn_unset ()
   16104 {
   16105   { eval $1=; unset $1;}
   16106 }
   16107 as_unset=as_fn_unset
   16108 # as_fn_append VAR VALUE
   16109 # ----------------------
   16110 # Append the text in VALUE to the end of the definition contained in VAR. Take
   16111 # advantage of any shell optimizations that allow amortized linear growth over
   16112 # repeated appends, instead of the typical quadratic growth present in naive
   16113 # implementations.
   16114 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   16115   eval 'as_fn_append ()
   16116   {
   16117     eval $1+=\$2
   16118   }'
   16119 else
   16120   as_fn_append ()
   16121   {
   16122     eval $1=\$$1\$2
   16123   }
   16124 fi # as_fn_append
   16125 
   16126 # as_fn_arith ARG...
   16127 # ------------------
   16128 # Perform arithmetic evaluation on the ARGs, and store the result in the
   16129 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   16130 # must be portable across $(()) and expr.
   16131 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   16132   eval 'as_fn_arith ()
   16133   {
   16134     as_val=$(( $* ))
   16135   }'
   16136 else
   16137   as_fn_arith ()
   16138   {
   16139     as_val=`expr "$@" || test $? -eq 1`
   16140   }
   16141 fi # as_fn_arith
   16142 
   16143 
   16144 if expr a : '\(a\)' >/dev/null 2>&1 &&
   16145    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   16146   as_expr=expr
   16147 else
   16148   as_expr=false
   16149 fi
   16150 
   16151 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   16152   as_basename=basename
   16153 else
   16154   as_basename=false
   16155 fi
   16156 
   16157 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   16158   as_dirname=dirname
   16159 else
   16160   as_dirname=false
   16161 fi
   16162 
   16163 as_me=`$as_basename -- "$0" ||
   16164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   16165 	 X"$0" : 'X\(//\)$' \| \
   16166 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   16167 $as_echo X/"$0" |
   16168     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16169 	    s//\1/
   16170 	    q
   16171 	  }
   16172 	  /^X\/\(\/\/\)$/{
   16173 	    s//\1/
   16174 	    q
   16175 	  }
   16176 	  /^X\/\(\/\).*/{
   16177 	    s//\1/
   16178 	    q
   16179 	  }
   16180 	  s/.*/./; q'`
   16181 
   16182 # Avoid depending upon Character Ranges.
   16183 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16184 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16185 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16186 as_cr_digits='0123456789'
   16187 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16188 
   16189 ECHO_C= ECHO_N= ECHO_T=
   16190 case `echo -n x` in #(((((
   16191 -n*)
   16192   case `echo 'xy\c'` in
   16193   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16194   xy)  ECHO_C='\c';;
   16195   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   16196        ECHO_T='	';;
   16197   esac;;
   16198 *)
   16199   ECHO_N='-n';;
   16200 esac
   16201 
   16202 rm -f conf$$ conf$$.exe conf$$.file
   16203 if test -d conf$$.dir; then
   16204   rm -f conf$$.dir/conf$$.file
   16205 else
   16206   rm -f conf$$.dir
   16207   mkdir conf$$.dir 2>/dev/null
   16208 fi
   16209 if (echo >conf$$.file) 2>/dev/null; then
   16210   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16211     as_ln_s='ln -s'
   16212     # ... but there are two gotchas:
   16213     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16214     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16215     # In both cases, we have to default to `cp -pR'.
   16216     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16217       as_ln_s='cp -pR'
   16218   elif ln conf$$.file conf$$ 2>/dev/null; then
   16219     as_ln_s=ln
   16220   else
   16221     as_ln_s='cp -pR'
   16222   fi
   16223 else
   16224   as_ln_s='cp -pR'
   16225 fi
   16226 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16227 rmdir conf$$.dir 2>/dev/null
   16228 
   16229 
   16230 # as_fn_mkdir_p
   16231 # -------------
   16232 # Create "$as_dir" as a directory, including parents if necessary.
   16233 as_fn_mkdir_p ()
   16234 {
   16235 
   16236   case $as_dir in #(
   16237   -*) as_dir=./$as_dir;;
   16238   esac
   16239   test -d "$as_dir" || eval $as_mkdir_p || {
   16240     as_dirs=
   16241     while :; do
   16242       case $as_dir in #(
   16243       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16244       *) as_qdir=$as_dir;;
   16245       esac
   16246       as_dirs="'$as_qdir' $as_dirs"
   16247       as_dir=`$as_dirname -- "$as_dir" ||
   16248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16249 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16250 	 X"$as_dir" : 'X\(//\)$' \| \
   16251 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16252 $as_echo X"$as_dir" |
   16253     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16254 	    s//\1/
   16255 	    q
   16256 	  }
   16257 	  /^X\(\/\/\)[^/].*/{
   16258 	    s//\1/
   16259 	    q
   16260 	  }
   16261 	  /^X\(\/\/\)$/{
   16262 	    s//\1/
   16263 	    q
   16264 	  }
   16265 	  /^X\(\/\).*/{
   16266 	    s//\1/
   16267 	    q
   16268 	  }
   16269 	  s/.*/./; q'`
   16270       test -d "$as_dir" && break
   16271     done
   16272     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16273   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   16274 
   16275 
   16276 } # as_fn_mkdir_p
   16277 if mkdir -p . 2>/dev/null; then
   16278   as_mkdir_p='mkdir -p "$as_dir"'
   16279 else
   16280   test -d ./-p && rmdir ./-p
   16281   as_mkdir_p=false
   16282 fi
   16283 
   16284 
   16285 # as_fn_executable_p FILE
   16286 # -----------------------
   16287 # Test if FILE is an executable regular file.
   16288 as_fn_executable_p ()
   16289 {
   16290   test -f "$1" && test -x "$1"
   16291 } # as_fn_executable_p
   16292 as_test_x='test -x'
   16293 as_executable_p=as_fn_executable_p
   16294 
   16295 # Sed expression to map a string onto a valid CPP name.
   16296 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16297 
   16298 # Sed expression to map a string onto a valid variable name.
   16299 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16300 
   16301 
   16302 exec 6>&1
   16303 ## ----------------------------------- ##
   16304 ## Main body of $CONFIG_STATUS script. ##
   16305 ## ----------------------------------- ##
   16306 _ASEOF
   16307 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   16308 
   16309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16310 # Save the log message, to keep $0 and so on meaningful, and to
   16311 # report actual input values of CONFIG_FILES etc. instead of their
   16312 # values after options handling.
   16313 ac_log="
   16314 This file was extended by fontconfig $as_me 2.10.93, which was
   16315 generated by GNU Autoconf 2.69.  Invocation command line was
   16316 
   16317   CONFIG_FILES    = $CONFIG_FILES
   16318   CONFIG_HEADERS  = $CONFIG_HEADERS
   16319   CONFIG_LINKS    = $CONFIG_LINKS
   16320   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16321   $ $0 $@
   16322 
   16323 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16324 "
   16325 
   16326 _ACEOF
   16327 
   16328 case $ac_config_files in *"
   16329 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   16330 esac
   16331 
   16332 case $ac_config_headers in *"
   16333 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   16334 esac
   16335 
   16336 
   16337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16338 # Files that config.status was made for.
   16339 config_files="$ac_config_files"
   16340 config_headers="$ac_config_headers"
   16341 config_commands="$ac_config_commands"
   16342 
   16343 _ACEOF
   16344 
   16345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16346 ac_cs_usage="\
   16347 \`$as_me' instantiates files and other configuration actions
   16348 from templates according to the current configuration.  Unless the files
   16349 and actions are specified as TAGs, all are instantiated by default.
   16350 
   16351 Usage: $0 [OPTION]... [TAG]...
   16352 
   16353   -h, --help       print this help, then exit
   16354   -V, --version    print version number and configuration settings, then exit
   16355       --config     print configuration, then exit
   16356   -q, --quiet, --silent
   16357                    do not print progress messages
   16358   -d, --debug      don't remove temporary files
   16359       --recheck    update $as_me by reconfiguring in the same conditions
   16360       --file=FILE[:TEMPLATE]
   16361                    instantiate the configuration file FILE
   16362       --header=FILE[:TEMPLATE]
   16363                    instantiate the configuration header FILE
   16364 
   16365 Configuration files:
   16366 $config_files
   16367 
   16368 Configuration headers:
   16369 $config_headers
   16370 
   16371 Configuration commands:
   16372 $config_commands
   16373 
   16374 Report bugs to <https://bugs.freedesktop.org/enger_bug.cgi?product=fontconfig>."
   16375 
   16376 _ACEOF
   16377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16378 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   16379 ac_cs_version="\\
   16380 fontconfig config.status 2.10.93
   16381 configured by $0, generated by GNU Autoconf 2.69,
   16382   with options \\"\$ac_cs_config\\"
   16383 
   16384 Copyright (C) 2012 Free Software Foundation, Inc.
   16385 This config.status script is free software; the Free Software Foundation
   16386 gives unlimited permission to copy, distribute and modify it."
   16387 
   16388 ac_pwd='$ac_pwd'
   16389 srcdir='$srcdir'
   16390 INSTALL='$INSTALL'
   16391 MKDIR_P='$MKDIR_P'
   16392 AWK='$AWK'
   16393 test -n "\$AWK" || AWK=awk
   16394 _ACEOF
   16395 
   16396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16397 # The default lists apply if the user does not specify any file.
   16398 ac_need_defaults=:
   16399 while test $# != 0
   16400 do
   16401   case $1 in
   16402   --*=?*)
   16403     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16404     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   16405     ac_shift=:
   16406     ;;
   16407   --*=)
   16408     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16409     ac_optarg=
   16410     ac_shift=:
   16411     ;;
   16412   *)
   16413     ac_option=$1
   16414     ac_optarg=$2
   16415     ac_shift=shift
   16416     ;;
   16417   esac
   16418 
   16419   case $ac_option in
   16420   # Handling of the options.
   16421   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   16422     ac_cs_recheck=: ;;
   16423   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   16424     $as_echo "$ac_cs_version"; exit ;;
   16425   --config | --confi | --conf | --con | --co | --c )
   16426     $as_echo "$ac_cs_config"; exit ;;
   16427   --debug | --debu | --deb | --de | --d | -d )
   16428     debug=: ;;
   16429   --file | --fil | --fi | --f )
   16430     $ac_shift
   16431     case $ac_optarg in
   16432     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16433     '') as_fn_error $? "missing file argument" ;;
   16434     esac
   16435     as_fn_append CONFIG_FILES " '$ac_optarg'"
   16436     ac_need_defaults=false;;
   16437   --header | --heade | --head | --hea )
   16438     $ac_shift
   16439     case $ac_optarg in
   16440     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16441     esac
   16442     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   16443     ac_need_defaults=false;;
   16444   --he | --h)
   16445     # Conflict between --help and --header
   16446     as_fn_error $? "ambiguous option: \`$1'
   16447 Try \`$0 --help' for more information.";;
   16448   --help | --hel | -h )
   16449     $as_echo "$ac_cs_usage"; exit ;;
   16450   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   16451   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   16452     ac_cs_silent=: ;;
   16453 
   16454   # This is an error.
   16455   -*) as_fn_error $? "unrecognized option: \`$1'
   16456 Try \`$0 --help' for more information." ;;
   16457 
   16458   *) as_fn_append ac_config_targets " $1"
   16459      ac_need_defaults=false ;;
   16460 
   16461   esac
   16462   shift
   16463 done
   16464 
   16465 ac_configure_extra_args=
   16466 
   16467 if $ac_cs_silent; then
   16468   exec 6>/dev/null
   16469   ac_configure_extra_args="$ac_configure_extra_args --silent"
   16470 fi
   16471 
   16472 _ACEOF
   16473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16474 if \$ac_cs_recheck; then
   16475   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   16476   shift
   16477   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   16478   CONFIG_SHELL='$SHELL'
   16479   export CONFIG_SHELL
   16480   exec "\$@"
   16481 fi
   16482 
   16483 _ACEOF
   16484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16485 exec 5>>config.log
   16486 {
   16487   echo
   16488   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   16489 ## Running $as_me. ##
   16490 _ASBOX
   16491   $as_echo "$ac_log"
   16492 } >&5
   16493 
   16494 _ACEOF
   16495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16496 #
   16497 # INIT-COMMANDS
   16498 #
   16499 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   16500 
   16501 
   16502 # The HP-UX ksh and POSIX shell print the target directory to stdout
   16503 # if CDPATH is set.
   16504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16505 
   16506 sed_quote_subst='$sed_quote_subst'
   16507 double_quote_subst='$double_quote_subst'
   16508 delay_variable_subst='$delay_variable_subst'
   16509 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   16510 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   16511 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   16512 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   16513 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   16514 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   16515 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   16516 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   16517 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   16518 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   16519 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   16520 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   16521 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   16522 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   16523 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   16524 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   16525 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   16526 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   16527 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   16528 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   16529 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   16530 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   16531 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   16532 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   16533 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   16534 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   16535 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   16536 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   16537 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   16538 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   16539 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   16540 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   16541 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   16542 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   16543 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   16544 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   16545 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   16546 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   16547 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   16548 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   16549 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   16550 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   16551 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   16552 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   16553 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   16554 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   16555 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16556 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16557 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   16558 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   16559 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   16560 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   16561 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   16562 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   16563 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   16564 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   16565 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   16566 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   16567 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   16568 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   16569 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   16570 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   16571 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   16572 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   16573 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   16574 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   16575 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   16576 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   16577 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   16578 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   16579 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   16580 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   16581 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   16582 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   16583 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   16584 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   16585 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16586 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   16587 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   16588 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   16589 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   16590 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   16591 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   16592 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16593 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   16594 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16595 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   16596 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16597 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   16598 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16599 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16600 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   16601 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   16602 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   16603 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   16604 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   16605 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16606 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   16607 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   16608 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   16609 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   16610 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   16611 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   16612 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   16613 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   16614 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   16615 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   16616 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   16617 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   16618 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   16619 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   16620 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   16621 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16622 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   16623 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   16624 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   16625 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   16626 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   16627 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16628 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16629 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   16630 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   16631 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   16632 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   16633 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   16634 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   16635 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   16636 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   16637 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   16638 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   16639 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   16640 
   16641 LTCC='$LTCC'
   16642 LTCFLAGS='$LTCFLAGS'
   16643 compiler='$compiler_DEFAULT'
   16644 
   16645 # A function that is used when there is no print builtin or printf.
   16646 func_fallback_echo ()
   16647 {
   16648   eval 'cat <<_LTECHO_EOF
   16649 \$1
   16650 _LTECHO_EOF'
   16651 }
   16652 
   16653 # Quote evaled strings.
   16654 for var in AS \
   16655 DLLTOOL \
   16656 OBJDUMP \
   16657 SHELL \
   16658 ECHO \
   16659 PATH_SEPARATOR \
   16660 SED \
   16661 GREP \
   16662 EGREP \
   16663 FGREP \
   16664 LD \
   16665 NM \
   16666 LN_S \
   16667 lt_SP2NL \
   16668 lt_NL2SP \
   16669 reload_flag \
   16670 deplibs_check_method \
   16671 file_magic_cmd \
   16672 file_magic_glob \
   16673 want_nocaseglob \
   16674 sharedlib_from_linklib_cmd \
   16675 AR \
   16676 AR_FLAGS \
   16677 archiver_list_spec \
   16678 STRIP \
   16679 RANLIB \
   16680 CC \
   16681 CFLAGS \
   16682 compiler \
   16683 lt_cv_sys_global_symbol_pipe \
   16684 lt_cv_sys_global_symbol_to_cdecl \
   16685 lt_cv_sys_global_symbol_to_c_name_address \
   16686 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   16687 nm_file_list_spec \
   16688 lt_prog_compiler_no_builtin_flag \
   16689 lt_prog_compiler_pic \
   16690 lt_prog_compiler_wl \
   16691 lt_prog_compiler_static \
   16692 lt_cv_prog_compiler_c_o \
   16693 need_locks \
   16694 MANIFEST_TOOL \
   16695 DSYMUTIL \
   16696 NMEDIT \
   16697 LIPO \
   16698 OTOOL \
   16699 OTOOL64 \
   16700 shrext_cmds \
   16701 export_dynamic_flag_spec \
   16702 whole_archive_flag_spec \
   16703 compiler_needs_object \
   16704 with_gnu_ld \
   16705 allow_undefined_flag \
   16706 no_undefined_flag \
   16707 hardcode_libdir_flag_spec \
   16708 hardcode_libdir_separator \
   16709 exclude_expsyms \
   16710 include_expsyms \
   16711 file_list_spec \
   16712 variables_saved_for_relink \
   16713 libname_spec \
   16714 library_names_spec \
   16715 soname_spec \
   16716 install_override_mode \
   16717 finish_eval \
   16718 old_striplib \
   16719 striplib; do
   16720     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16721     *[\\\\\\\`\\"\\\$]*)
   16722       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   16723       ;;
   16724     *)
   16725       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16726       ;;
   16727     esac
   16728 done
   16729 
   16730 # Double-quote double-evaled strings.
   16731 for var in reload_cmds \
   16732 old_postinstall_cmds \
   16733 old_postuninstall_cmds \
   16734 old_archive_cmds \
   16735 extract_expsyms_cmds \
   16736 old_archive_from_new_cmds \
   16737 old_archive_from_expsyms_cmds \
   16738 archive_cmds \
   16739 archive_expsym_cmds \
   16740 module_cmds \
   16741 module_expsym_cmds \
   16742 export_symbols_cmds \
   16743 prelink_cmds \
   16744 postlink_cmds \
   16745 postinstall_cmds \
   16746 postuninstall_cmds \
   16747 finish_cmds \
   16748 sys_lib_search_path_spec \
   16749 sys_lib_dlsearch_path_spec; do
   16750     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16751     *[\\\\\\\`\\"\\\$]*)
   16752       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   16753       ;;
   16754     *)
   16755       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16756       ;;
   16757     esac
   16758 done
   16759 
   16760 ac_aux_dir='$ac_aux_dir'
   16761 xsi_shell='$xsi_shell'
   16762 lt_shell_append='$lt_shell_append'
   16763 
   16764 # See if we are running on zsh, and set the options which allow our
   16765 # commands through without removal of \ escapes INIT.
   16766 if test -n "\${ZSH_VERSION+set}" ; then
   16767    setopt NO_GLOB_SUBST
   16768 fi
   16769 
   16770 
   16771     PACKAGE='$PACKAGE'
   16772     VERSION='$VERSION'
   16773     TIMESTAMP='$TIMESTAMP'
   16774     RM='$RM'
   16775     ofile='$ofile'
   16776 
   16777 
   16778 
   16779 # variables for create stdint.h replacement
   16780 PACKAGE="$PACKAGE"
   16781 VERSION="$VERSION"
   16782 ac_stdint_h="$ac_stdint_h"
   16783 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
   16784 ac_cv_stdint_message="$ac_cv_stdint_message"
   16785 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
   16786 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
   16787 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
   16788 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
   16789 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   16790 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   16791 ac_cv_char_data_model="$ac_cv_char_data_model"
   16792 ac_cv_long_data_model="$ac_cv_long_data_model"
   16793 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   16794 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   16795 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
   16796 
   16797 
   16798 _ACEOF
   16799 
   16800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16801 
   16802 # Handling of arguments.
   16803 for ac_config_target in $ac_config_targets
   16804 do
   16805   case $ac_config_target in
   16806     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   16807     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16808     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16809     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
   16810     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16811     "fontconfig/Makefile") CONFIG_FILES="$CONFIG_FILES fontconfig/Makefile" ;;
   16812     "fc-lang/Makefile") CONFIG_FILES="$CONFIG_FILES fc-lang/Makefile" ;;
   16813     "fc-glyphname/Makefile") CONFIG_FILES="$CONFIG_FILES fc-glyphname/Makefile" ;;
   16814     "fc-case/Makefile") CONFIG_FILES="$CONFIG_FILES fc-case/Makefile" ;;
   16815     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   16816     "conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES conf.d/Makefile" ;;
   16817     "fc-cache/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cache/Makefile" ;;
   16818     "fc-cat/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cat/Makefile" ;;
   16819     "fc-list/Makefile") CONFIG_FILES="$CONFIG_FILES fc-list/Makefile" ;;
   16820     "fc-match/Makefile") CONFIG_FILES="$CONFIG_FILES fc-match/Makefile" ;;
   16821     "fc-pattern/Makefile") CONFIG_FILES="$CONFIG_FILES fc-pattern/Makefile" ;;
   16822     "fc-query/Makefile") CONFIG_FILES="$CONFIG_FILES fc-query/Makefile" ;;
   16823     "fc-scan/Makefile") CONFIG_FILES="$CONFIG_FILES fc-scan/Makefile" ;;
   16824     "fc-validate/Makefile") CONFIG_FILES="$CONFIG_FILES fc-validate/Makefile" ;;
   16825     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   16826     "doc/version.sgml") CONFIG_FILES="$CONFIG_FILES doc/version.sgml" ;;
   16827     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   16828     "fontconfig.spec") CONFIG_FILES="$CONFIG_FILES fontconfig.spec" ;;
   16829     "fontconfig.pc") CONFIG_FILES="$CONFIG_FILES fontconfig.pc" ;;
   16830     "fontconfig-zip") CONFIG_FILES="$CONFIG_FILES fontconfig-zip" ;;
   16831 
   16832   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   16833   esac
   16834 done
   16835 
   16836 
   16837 # If the user did not use the arguments to specify the items to instantiate,
   16838 # then the envvar interface is used.  Set only those that are not.
   16839 # We use the long form for the default assignment because of an extremely
   16840 # bizarre bug on SunOS 4.1.3.
   16841 if $ac_need_defaults; then
   16842   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16843   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16844   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16845 fi
   16846 
   16847 # Have a temporary directory for convenience.  Make it in the build tree
   16848 # simply because there is no reason against having it here, and in addition,
   16849 # creating and moving files from /tmp can sometimes cause problems.
   16850 # Hook for its removal unless debugging.
   16851 # Note that there is a small window in which the directory will not be cleaned:
   16852 # after its creation but before its name has been assigned to `$tmp'.
   16853 $debug ||
   16854 {
   16855   tmp= ac_tmp=
   16856   trap 'exit_status=$?
   16857   : "${ac_tmp:=$tmp}"
   16858   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   16859 ' 0
   16860   trap 'as_fn_exit 1' 1 2 13 15
   16861 }
   16862 # Create a (secure) tmp directory for tmp files.
   16863 
   16864 {
   16865   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   16866   test -d "$tmp"
   16867 }  ||
   16868 {
   16869   tmp=./conf$$-$RANDOM
   16870   (umask 077 && mkdir "$tmp")
   16871 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   16872 ac_tmp=$tmp
   16873 
   16874 # Set up the scripts for CONFIG_FILES section.
   16875 # No need to generate them if there are no CONFIG_FILES.
   16876 # This happens for instance with `./config.status config.h'.
   16877 if test -n "$CONFIG_FILES"; then
   16878 
   16879 
   16880 ac_cr=`echo X | tr X '\015'`
   16881 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   16882 # But we know of no other shell where ac_cr would be empty at this
   16883 # point, so we can use a bashism as a fallback.
   16884 if test "x$ac_cr" = x; then
   16885   eval ac_cr=\$\'\\r\'
   16886 fi
   16887 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   16888 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   16889   ac_cs_awk_cr='\\r'
   16890 else
   16891   ac_cs_awk_cr=$ac_cr
   16892 fi
   16893 
   16894 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   16895 _ACEOF
   16896 
   16897 
   16898 {
   16899   echo "cat >conf$$subs.awk <<_ACEOF" &&
   16900   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   16901   echo "_ACEOF"
   16902 } >conf$$subs.sh ||
   16903   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16904 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   16905 ac_delim='%!_!# '
   16906 for ac_last_try in false false false false false :; do
   16907   . ./conf$$subs.sh ||
   16908     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16909 
   16910   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   16911   if test $ac_delim_n = $ac_delim_num; then
   16912     break
   16913   elif $ac_last_try; then
   16914     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16915   else
   16916     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16917   fi
   16918 done
   16919 rm -f conf$$subs.sh
   16920 
   16921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16922 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   16923 _ACEOF
   16924 sed -n '
   16925 h
   16926 s/^/S["/; s/!.*/"]=/
   16927 p
   16928 g
   16929 s/^[^!]*!//
   16930 :repl
   16931 t repl
   16932 s/'"$ac_delim"'$//
   16933 t delim
   16934 :nl
   16935 h
   16936 s/\(.\{148\}\)..*/\1/
   16937 t more1
   16938 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   16939 p
   16940 n
   16941 b repl
   16942 :more1
   16943 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16944 p
   16945 g
   16946 s/.\{148\}//
   16947 t nl
   16948 :delim
   16949 h
   16950 s/\(.\{148\}\)..*/\1/
   16951 t more2
   16952 s/["\\]/\\&/g; s/^/"/; s/$/"/
   16953 p
   16954 b
   16955 :more2
   16956 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16957 p
   16958 g
   16959 s/.\{148\}//
   16960 t delim
   16961 ' <conf$$subs.awk | sed '
   16962 /^[^""]/{
   16963   N
   16964   s/\n//
   16965 }
   16966 ' >>$CONFIG_STATUS || ac_write_fail=1
   16967 rm -f conf$$subs.awk
   16968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16969 _ACAWK
   16970 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   16971   for (key in S) S_is_set[key] = 1
   16972   FS = ""
   16973 
   16974 }
   16975 {
   16976   line = $ 0
   16977   nfields = split(line, field, "@")
   16978   substed = 0
   16979   len = length(field[1])
   16980   for (i = 2; i < nfields; i++) {
   16981     key = field[i]
   16982     keylen = length(key)
   16983     if (S_is_set[key]) {
   16984       value = S[key]
   16985       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   16986       len += length(value) + length(field[++i])
   16987       substed = 1
   16988     } else
   16989       len += 1 + keylen
   16990   }
   16991 
   16992   print line
   16993 }
   16994 
   16995 _ACAWK
   16996 _ACEOF
   16997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16998 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   16999   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   17000 else
   17001   cat
   17002 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   17003   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   17004 _ACEOF
   17005 
   17006 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   17007 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   17008 # trailing colons and then remove the whole line if VPATH becomes empty
   17009 # (actually we leave an empty line to preserve line numbers).
   17010 if test "x$srcdir" = x.; then
   17011   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   17012 h
   17013 s///
   17014 s/^/:/
   17015 s/[	 ]*$/:/
   17016 s/:\$(srcdir):/:/g
   17017 s/:\${srcdir}:/:/g
   17018 s/:@srcdir@:/:/g
   17019 s/^:*//
   17020 s/:*$//
   17021 x
   17022 s/\(=[	 ]*\).*/\1/
   17023 G
   17024 s/\n//
   17025 s/^[^=]*=[	 ]*$//
   17026 }'
   17027 fi
   17028 
   17029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17030 fi # test -n "$CONFIG_FILES"
   17031 
   17032 # Set up the scripts for CONFIG_HEADERS section.
   17033 # No need to generate them if there are no CONFIG_HEADERS.
   17034 # This happens for instance with `./config.status Makefile'.
   17035 if test -n "$CONFIG_HEADERS"; then
   17036 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   17037 BEGIN {
   17038 _ACEOF
   17039 
   17040 # Transform confdefs.h into an awk script `defines.awk', embedded as
   17041 # here-document in config.status, that substitutes the proper values into
   17042 # config.h.in to produce config.h.
   17043 
   17044 # Create a delimiter string that does not exist in confdefs.h, to ease
   17045 # handling of long lines.
   17046 ac_delim='%!_!# '
   17047 for ac_last_try in false false :; do
   17048   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   17049   if test -z "$ac_tt"; then
   17050     break
   17051   elif $ac_last_try; then
   17052     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   17053   else
   17054     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17055   fi
   17056 done
   17057 
   17058 # For the awk script, D is an array of macro values keyed by name,
   17059 # likewise P contains macro parameters if any.  Preserve backslash
   17060 # newline sequences.
   17061 
   17062 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   17063 sed -n '
   17064 s/.\{148\}/&'"$ac_delim"'/g
   17065 t rset
   17066 :rset
   17067 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   17068 t def
   17069 d
   17070 :def
   17071 s/\\$//
   17072 t bsnl
   17073 s/["\\]/\\&/g
   17074 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17075 D["\1"]=" \3"/p
   17076 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   17077 d
   17078 :bsnl
   17079 s/["\\]/\\&/g
   17080 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17081 D["\1"]=" \3\\\\\\n"\\/p
   17082 t cont
   17083 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   17084 t cont
   17085 d
   17086 :cont
   17087 n
   17088 s/.\{148\}/&'"$ac_delim"'/g
   17089 t clear
   17090 :clear
   17091 s/\\$//
   17092 t bsnlc
   17093 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   17094 d
   17095 :bsnlc
   17096 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   17097 b cont
   17098 ' <confdefs.h | sed '
   17099 s/'"$ac_delim"'/"\\\
   17100 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   17101 
   17102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17103   for (key in D) D_is_set[key] = 1
   17104   FS = ""
   17105 }
   17106 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   17107   line = \$ 0
   17108   split(line, arg, " ")
   17109   if (arg[1] == "#") {
   17110     defundef = arg[2]
   17111     mac1 = arg[3]
   17112   } else {
   17113     defundef = substr(arg[1], 2)
   17114     mac1 = arg[2]
   17115   }
   17116   split(mac1, mac2, "(") #)
   17117   macro = mac2[1]
   17118   prefix = substr(line, 1, index(line, defundef) - 1)
   17119   if (D_is_set[macro]) {
   17120     # Preserve the white space surrounding the "#".
   17121     print prefix "define", macro P[macro] D[macro]
   17122     next
   17123   } else {
   17124     # Replace #undef with comments.  This is necessary, for example,
   17125     # in the case of _POSIX_SOURCE, which is predefined and required
   17126     # on some systems where configure will not decide to define it.
   17127     if (defundef == "undef") {
   17128       print "/*", prefix defundef, macro, "*/"
   17129       next
   17130     }
   17131   }
   17132 }
   17133 { print }
   17134 _ACAWK
   17135 _ACEOF
   17136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17137   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   17138 fi # test -n "$CONFIG_HEADERS"
   17139 
   17140 
   17141 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   17142 shift
   17143 for ac_tag
   17144 do
   17145   case $ac_tag in
   17146   :[FHLC]) ac_mode=$ac_tag; continue;;
   17147   esac
   17148   case $ac_mode$ac_tag in
   17149   :[FHL]*:*);;
   17150   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   17151   :[FH]-) ac_tag=-:-;;
   17152   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   17153   esac
   17154   ac_save_IFS=$IFS
   17155   IFS=:
   17156   set x $ac_tag
   17157   IFS=$ac_save_IFS
   17158   shift
   17159   ac_file=$1
   17160   shift
   17161 
   17162   case $ac_mode in
   17163   :L) ac_source=$1;;
   17164   :[FH])
   17165     ac_file_inputs=
   17166     for ac_f
   17167     do
   17168       case $ac_f in
   17169       -) ac_f="$ac_tmp/stdin";;
   17170       *) # Look for the file first in the build tree, then in the source tree
   17171 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   17172 	 # because $ac_f cannot contain `:'.
   17173 	 test -f "$ac_f" ||
   17174 	   case $ac_f in
   17175 	   [\\/$]*) false;;
   17176 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17177 	   esac ||
   17178 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17179       esac
   17180       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17181       as_fn_append ac_file_inputs " '$ac_f'"
   17182     done
   17183 
   17184     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17185     # use $as_me), people would be surprised to read:
   17186     #    /* config.h.  Generated by config.status.  */
   17187     configure_input='Generated from '`
   17188 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17189 	`' by configure.'
   17190     if test x"$ac_file" != x-; then
   17191       configure_input="$ac_file.  $configure_input"
   17192       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17193 $as_echo "$as_me: creating $ac_file" >&6;}
   17194     fi
   17195     # Neutralize special characters interpreted by sed in replacement strings.
   17196     case $configure_input in #(
   17197     *\&* | *\|* | *\\* )
   17198        ac_sed_conf_input=`$as_echo "$configure_input" |
   17199        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17200     *) ac_sed_conf_input=$configure_input;;
   17201     esac
   17202 
   17203     case $ac_tag in
   17204     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   17205       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   17206     esac
   17207     ;;
   17208   esac
   17209 
   17210   ac_dir=`$as_dirname -- "$ac_file" ||
   17211 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17212 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17213 	 X"$ac_file" : 'X\(//\)$' \| \
   17214 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17215 $as_echo X"$ac_file" |
   17216     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17217 	    s//\1/
   17218 	    q
   17219 	  }
   17220 	  /^X\(\/\/\)[^/].*/{
   17221 	    s//\1/
   17222 	    q
   17223 	  }
   17224 	  /^X\(\/\/\)$/{
   17225 	    s//\1/
   17226 	    q
   17227 	  }
   17228 	  /^X\(\/\).*/{
   17229 	    s//\1/
   17230 	    q
   17231 	  }
   17232 	  s/.*/./; q'`
   17233   as_dir="$ac_dir"; as_fn_mkdir_p
   17234   ac_builddir=.
   17235 
   17236 case "$ac_dir" in
   17237 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17238 *)
   17239   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17240   # A ".." for each directory in $ac_dir_suffix.
   17241   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17242   case $ac_top_builddir_sub in
   17243   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17244   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17245   esac ;;
   17246 esac
   17247 ac_abs_top_builddir=$ac_pwd
   17248 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17249 # for backward compatibility:
   17250 ac_top_builddir=$ac_top_build_prefix
   17251 
   17252 case $srcdir in
   17253   .)  # We are building in place.
   17254     ac_srcdir=.
   17255     ac_top_srcdir=$ac_top_builddir_sub
   17256     ac_abs_top_srcdir=$ac_pwd ;;
   17257   [\\/]* | ?:[\\/]* )  # Absolute name.
   17258     ac_srcdir=$srcdir$ac_dir_suffix;
   17259     ac_top_srcdir=$srcdir
   17260     ac_abs_top_srcdir=$srcdir ;;
   17261   *) # Relative name.
   17262     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17263     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17264     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17265 esac
   17266 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17267 
   17268 
   17269   case $ac_mode in
   17270   :F)
   17271   #
   17272   # CONFIG_FILE
   17273   #
   17274 
   17275   case $INSTALL in
   17276   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17277   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17278   esac
   17279   ac_MKDIR_P=$MKDIR_P
   17280   case $MKDIR_P in
   17281   [\\/$]* | ?:[\\/]* ) ;;
   17282   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17283   esac
   17284 _ACEOF
   17285 
   17286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17287 # If the template does not know about datarootdir, expand it.
   17288 # FIXME: This hack should be removed a few years after 2.60.
   17289 ac_datarootdir_hack=; ac_datarootdir_seen=
   17290 ac_sed_dataroot='
   17291 /datarootdir/ {
   17292   p
   17293   q
   17294 }
   17295 /@datadir@/p
   17296 /@docdir@/p
   17297 /@infodir@/p
   17298 /@localedir@/p
   17299 /@mandir@/p'
   17300 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17301 *datarootdir*) ac_datarootdir_seen=yes;;
   17302 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17303   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17304 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17305 _ACEOF
   17306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17307   ac_datarootdir_hack='
   17308   s&@datadir@&$datadir&g
   17309   s&@docdir@&$docdir&g
   17310   s&@infodir@&$infodir&g
   17311   s&@localedir@&$localedir&g
   17312   s&@mandir@&$mandir&g
   17313   s&\\\${datarootdir}&$datarootdir&g' ;;
   17314 esac
   17315 _ACEOF
   17316 
   17317 # Neutralize VPATH when `$srcdir' = `.'.
   17318 # Shell code in configure.ac might set extrasub.
   17319 # FIXME: do we really want to maintain this feature?
   17320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17321 ac_sed_extra="$ac_vpsub
   17322 $extrasub
   17323 _ACEOF
   17324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17325 :t
   17326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17327 s|@configure_input@|$ac_sed_conf_input|;t t
   17328 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17329 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17330 s&@srcdir@&$ac_srcdir&;t t
   17331 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17332 s&@top_srcdir@&$ac_top_srcdir&;t t
   17333 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   17334 s&@builddir@&$ac_builddir&;t t
   17335 s&@abs_builddir@&$ac_abs_builddir&;t t
   17336 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   17337 s&@INSTALL@&$ac_INSTALL&;t t
   17338 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   17339 $ac_datarootdir_hack
   17340 "
   17341 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   17342   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17343 
   17344 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   17345   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   17346   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   17347       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   17348   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17349 which seems to be undefined.  Please make sure it is defined" >&5
   17350 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17351 which seems to be undefined.  Please make sure it is defined" >&2;}
   17352 
   17353   rm -f "$ac_tmp/stdin"
   17354   case $ac_file in
   17355   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   17356   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   17357   esac \
   17358   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17359  ;;
   17360   :H)
   17361   #
   17362   # CONFIG_HEADER
   17363   #
   17364   if test x"$ac_file" != x-; then
   17365     {
   17366       $as_echo "/* $configure_input  */" \
   17367       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   17368     } >"$ac_tmp/config.h" \
   17369       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17370     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   17371       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   17372 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   17373     else
   17374       rm -f "$ac_file"
   17375       mv "$ac_tmp/config.h" "$ac_file" \
   17376 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17377     fi
   17378   else
   17379     $as_echo "/* $configure_input  */" \
   17380       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   17381       || as_fn_error $? "could not create -" "$LINENO" 5
   17382   fi
   17383 # Compute "$ac_file"'s index in $config_headers.
   17384 _am_arg="$ac_file"
   17385 _am_stamp_count=1
   17386 for _am_header in $config_headers :; do
   17387   case $_am_header in
   17388     $_am_arg | $_am_arg:* )
   17389       break ;;
   17390     * )
   17391       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   17392   esac
   17393 done
   17394 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   17395 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17396 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   17397 	 X"$_am_arg" : 'X\(//\)$' \| \
   17398 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   17399 $as_echo X"$_am_arg" |
   17400     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17401 	    s//\1/
   17402 	    q
   17403 	  }
   17404 	  /^X\(\/\/\)[^/].*/{
   17405 	    s//\1/
   17406 	    q
   17407 	  }
   17408 	  /^X\(\/\/\)$/{
   17409 	    s//\1/
   17410 	    q
   17411 	  }
   17412 	  /^X\(\/\).*/{
   17413 	    s//\1/
   17414 	    q
   17415 	  }
   17416 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   17417  ;;
   17418 
   17419   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   17420 $as_echo "$as_me: executing $ac_file commands" >&6;}
   17421  ;;
   17422   esac
   17423 
   17424 
   17425   case $ac_file$ac_mode in
   17426     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   17427   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   17428   # are listed without --file.  Let's play safe and only enable the eval
   17429   # if we detect the quoting.
   17430   case $CONFIG_FILES in
   17431   *\'*) eval set x "$CONFIG_FILES" ;;
   17432   *)   set x $CONFIG_FILES ;;
   17433   esac
   17434   shift
   17435   for mf
   17436   do
   17437     # Strip MF so we end up with the name of the file.
   17438     mf=`echo "$mf" | sed -e 's/:.*$//'`
   17439     # Check whether this is an Automake generated Makefile or not.
   17440     # We used to match only the files named 'Makefile.in', but
   17441     # some people rename them; so instead we look at the file content.
   17442     # Grep'ing the first line is not enough: some people post-process
   17443     # each Makefile.in and add a new line on top of each file to say so.
   17444     # Grep'ing the whole file is not good either: AIX grep has a line
   17445     # limit of 2048, but all sed's we know have understand at least 4000.
   17446     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   17447       dirpart=`$as_dirname -- "$mf" ||
   17448 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17449 	 X"$mf" : 'X\(//\)[^/]' \| \
   17450 	 X"$mf" : 'X\(//\)$' \| \
   17451 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   17452 $as_echo X"$mf" |
   17453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17454 	    s//\1/
   17455 	    q
   17456 	  }
   17457 	  /^X\(\/\/\)[^/].*/{
   17458 	    s//\1/
   17459 	    q
   17460 	  }
   17461 	  /^X\(\/\/\)$/{
   17462 	    s//\1/
   17463 	    q
   17464 	  }
   17465 	  /^X\(\/\).*/{
   17466 	    s//\1/
   17467 	    q
   17468 	  }
   17469 	  s/.*/./; q'`
   17470     else
   17471       continue
   17472     fi
   17473     # Extract the definition of DEPDIR, am__include, and am__quote
   17474     # from the Makefile without running 'make'.
   17475     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   17476     test -z "$DEPDIR" && continue
   17477     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   17478     test -z "am__include" && continue
   17479     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   17480     # Find all dependency output files, they are included files with
   17481     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   17482     # simplest approach to changing $(DEPDIR) to its actual value in the
   17483     # expansion.
   17484     for file in `sed -n "
   17485       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   17486 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   17487       # Make sure the directory exists.
   17488       test -f "$dirpart/$file" && continue
   17489       fdir=`$as_dirname -- "$file" ||
   17490 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17491 	 X"$file" : 'X\(//\)[^/]' \| \
   17492 	 X"$file" : 'X\(//\)$' \| \
   17493 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   17494 $as_echo X"$file" |
   17495     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17496 	    s//\1/
   17497 	    q
   17498 	  }
   17499 	  /^X\(\/\/\)[^/].*/{
   17500 	    s//\1/
   17501 	    q
   17502 	  }
   17503 	  /^X\(\/\/\)$/{
   17504 	    s//\1/
   17505 	    q
   17506 	  }
   17507 	  /^X\(\/\).*/{
   17508 	    s//\1/
   17509 	    q
   17510 	  }
   17511 	  s/.*/./; q'`
   17512       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   17513       # echo "creating $dirpart/$file"
   17514       echo '# dummy' > "$dirpart/$file"
   17515     done
   17516   done
   17517 }
   17518  ;;
   17519     "libtool":C)
   17520 
   17521     # See if we are running on zsh, and set the options which allow our
   17522     # commands through without removal of \ escapes.
   17523     if test -n "${ZSH_VERSION+set}" ; then
   17524       setopt NO_GLOB_SUBST
   17525     fi
   17526 
   17527     cfgfile="${ofile}T"
   17528     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   17529     $RM "$cfgfile"
   17530 
   17531     cat <<_LT_EOF >> "$cfgfile"
   17532 #! $SHELL
   17533 
   17534 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   17535 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   17536 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   17537 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   17538 #
   17539 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   17540 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   17541 #                 Foundation, Inc.
   17542 #   Written by Gordon Matzigkeit, 1996
   17543 #
   17544 #   This file is part of GNU Libtool.
   17545 #
   17546 # GNU Libtool is free software; you can redistribute it and/or
   17547 # modify it under the terms of the GNU General Public License as
   17548 # published by the Free Software Foundation; either version 2 of
   17549 # the License, or (at your option) any later version.
   17550 #
   17551 # As a special exception to the GNU General Public License,
   17552 # if you distribute this file as part of a program or library that
   17553 # is built using GNU Libtool, you may include this file under the
   17554 # same distribution terms that you use for the rest of that program.
   17555 #
   17556 # GNU Libtool is distributed in the hope that it will be useful,
   17557 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   17558 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17559 # GNU General Public License for more details.
   17560 #
   17561 # You should have received a copy of the GNU General Public License
   17562 # along with GNU Libtool; see the file COPYING.  If not, a copy
   17563 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   17564 # obtained by writing to the Free Software Foundation, Inc.,
   17565 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   17566 
   17567 
   17568 # The names of the tagged configurations supported by this script.
   17569 available_tags=""
   17570 
   17571 # ### BEGIN LIBTOOL CONFIG
   17572 
   17573 # Assembler program.
   17574 AS=$lt_AS
   17575 
   17576 # DLL creation program.
   17577 DLLTOOL=$lt_DLLTOOL
   17578 
   17579 # Object dumper program.
   17580 OBJDUMP=$lt_OBJDUMP
   17581 
   17582 # Which release of libtool.m4 was used?
   17583 macro_version=$macro_version
   17584 macro_revision=$macro_revision
   17585 
   17586 # Whether or not to build shared libraries.
   17587 build_libtool_libs=$enable_shared
   17588 
   17589 # Whether or not to build static libraries.
   17590 build_old_libs=$enable_static
   17591 
   17592 # What type of objects to build.
   17593 pic_mode=$pic_mode
   17594 
   17595 # Whether or not to optimize for fast installation.
   17596 fast_install=$enable_fast_install
   17597 
   17598 # Shell to use when invoking shell scripts.
   17599 SHELL=$lt_SHELL
   17600 
   17601 # An echo program that protects backslashes.
   17602 ECHO=$lt_ECHO
   17603 
   17604 # The PATH separator for the build system.
   17605 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   17606 
   17607 # The host system.
   17608 host_alias=$host_alias
   17609 host=$host
   17610 host_os=$host_os
   17611 
   17612 # The build system.
   17613 build_alias=$build_alias
   17614 build=$build
   17615 build_os=$build_os
   17616 
   17617 # A sed program that does not truncate output.
   17618 SED=$lt_SED
   17619 
   17620 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   17621 Xsed="\$SED -e 1s/^X//"
   17622 
   17623 # A grep program that handles long lines.
   17624 GREP=$lt_GREP
   17625 
   17626 # An ERE matcher.
   17627 EGREP=$lt_EGREP
   17628 
   17629 # A literal string matcher.
   17630 FGREP=$lt_FGREP
   17631 
   17632 # A BSD- or MS-compatible name lister.
   17633 NM=$lt_NM
   17634 
   17635 # Whether we need soft or hard links.
   17636 LN_S=$lt_LN_S
   17637 
   17638 # What is the maximum length of a command?
   17639 max_cmd_len=$max_cmd_len
   17640 
   17641 # Object file suffix (normally "o").
   17642 objext=$ac_objext
   17643 
   17644 # Executable file suffix (normally "").
   17645 exeext=$exeext
   17646 
   17647 # whether the shell understands "unset".
   17648 lt_unset=$lt_unset
   17649 
   17650 # turn spaces into newlines.
   17651 SP2NL=$lt_lt_SP2NL
   17652 
   17653 # turn newlines into spaces.
   17654 NL2SP=$lt_lt_NL2SP
   17655 
   17656 # convert \$build file names to \$host format.
   17657 to_host_file_cmd=$lt_cv_to_host_file_cmd
   17658 
   17659 # convert \$build files to toolchain format.
   17660 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   17661 
   17662 # Method to check whether dependent libraries are shared objects.
   17663 deplibs_check_method=$lt_deplibs_check_method
   17664 
   17665 # Command to use when deplibs_check_method = "file_magic".
   17666 file_magic_cmd=$lt_file_magic_cmd
   17667 
   17668 # How to find potential files when deplibs_check_method = "file_magic".
   17669 file_magic_glob=$lt_file_magic_glob
   17670 
   17671 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   17672 want_nocaseglob=$lt_want_nocaseglob
   17673 
   17674 # Command to associate shared and link libraries.
   17675 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   17676 
   17677 # The archiver.
   17678 AR=$lt_AR
   17679 
   17680 # Flags to create an archive.
   17681 AR_FLAGS=$lt_AR_FLAGS
   17682 
   17683 # How to feed a file listing to the archiver.
   17684 archiver_list_spec=$lt_archiver_list_spec
   17685 
   17686 # A symbol stripping program.
   17687 STRIP=$lt_STRIP
   17688 
   17689 # Commands used to install an old-style archive.
   17690 RANLIB=$lt_RANLIB
   17691 old_postinstall_cmds=$lt_old_postinstall_cmds
   17692 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17693 
   17694 # Whether to use a lock for old archive extraction.
   17695 lock_old_archive_extraction=$lock_old_archive_extraction
   17696 
   17697 # A C compiler.
   17698 LTCC=$lt_CC
   17699 
   17700 # LTCC compiler flags.
   17701 LTCFLAGS=$lt_CFLAGS
   17702 
   17703 # Take the output of nm and produce a listing of raw symbols and C names.
   17704 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   17705 
   17706 # Transform the output of nm in a proper C declaration.
   17707 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   17708 
   17709 # Transform the output of nm in a C name address pair.
   17710 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   17711 
   17712 # Transform the output of nm in a C name address pair when lib prefix is needed.
   17713 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   17714 
   17715 # Specify filename containing input files for \$NM.
   17716 nm_file_list_spec=$lt_nm_file_list_spec
   17717 
   17718 # The root where to search for dependent libraries,and in which our libraries should be installed.
   17719 lt_sysroot=$lt_sysroot
   17720 
   17721 # The name of the directory that contains temporary libtool files.
   17722 objdir=$objdir
   17723 
   17724 # Used to examine libraries when file_magic_cmd begins with "file".
   17725 MAGIC_CMD=$MAGIC_CMD
   17726 
   17727 # Must we lock files when doing compilation?
   17728 need_locks=$lt_need_locks
   17729 
   17730 # Manifest tool.
   17731 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   17732 
   17733 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   17734 DSYMUTIL=$lt_DSYMUTIL
   17735 
   17736 # Tool to change global to local symbols on Mac OS X.
   17737 NMEDIT=$lt_NMEDIT
   17738 
   17739 # Tool to manipulate fat objects and archives on Mac OS X.
   17740 LIPO=$lt_LIPO
   17741 
   17742 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   17743 OTOOL=$lt_OTOOL
   17744 
   17745 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   17746 OTOOL64=$lt_OTOOL64
   17747 
   17748 # Old archive suffix (normally "a").
   17749 libext=$libext
   17750 
   17751 # Shared library suffix (normally ".so").
   17752 shrext_cmds=$lt_shrext_cmds
   17753 
   17754 # The commands to extract the exported symbol list from a shared archive.
   17755 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17756 
   17757 # Variables whose values should be saved in libtool wrapper scripts and
   17758 # restored at link time.
   17759 variables_saved_for_relink=$lt_variables_saved_for_relink
   17760 
   17761 # Do we need the "lib" prefix for modules?
   17762 need_lib_prefix=$need_lib_prefix
   17763 
   17764 # Do we need a version for libraries?
   17765 need_version=$need_version
   17766 
   17767 # Library versioning type.
   17768 version_type=$version_type
   17769 
   17770 # Shared library runtime path variable.
   17771 runpath_var=$runpath_var
   17772 
   17773 # Shared library path variable.
   17774 shlibpath_var=$shlibpath_var
   17775 
   17776 # Is shlibpath searched before the hard-coded library search path?
   17777 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17778 
   17779 # Format of library name prefix.
   17780 libname_spec=$lt_libname_spec
   17781 
   17782 # List of archive names.  First name is the real one, the rest are links.
   17783 # The last name is the one that the linker finds with -lNAME
   17784 library_names_spec=$lt_library_names_spec
   17785 
   17786 # The coded name of the library, if different from the real name.
   17787 soname_spec=$lt_soname_spec
   17788 
   17789 # Permission mode override for installation of shared libraries.
   17790 install_override_mode=$lt_install_override_mode
   17791 
   17792 # Command to use after installation of a shared archive.
   17793 postinstall_cmds=$lt_postinstall_cmds
   17794 
   17795 # Command to use after uninstallation of a shared archive.
   17796 postuninstall_cmds=$lt_postuninstall_cmds
   17797 
   17798 # Commands used to finish a libtool library installation in a directory.
   17799 finish_cmds=$lt_finish_cmds
   17800 
   17801 # As "finish_cmds", except a single script fragment to be evaled but
   17802 # not shown.
   17803 finish_eval=$lt_finish_eval
   17804 
   17805 # Whether we should hardcode library paths into libraries.
   17806 hardcode_into_libs=$hardcode_into_libs
   17807 
   17808 # Compile-time system search path for libraries.
   17809 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17810 
   17811 # Run-time system search path for libraries.
   17812 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17813 
   17814 # Whether dlopen is supported.
   17815 dlopen_support=$enable_dlopen
   17816 
   17817 # Whether dlopen of programs is supported.
   17818 dlopen_self=$enable_dlopen_self
   17819 
   17820 # Whether dlopen of statically linked programs is supported.
   17821 dlopen_self_static=$enable_dlopen_self_static
   17822 
   17823 # Commands to strip libraries.
   17824 old_striplib=$lt_old_striplib
   17825 striplib=$lt_striplib
   17826 
   17827 
   17828 # The linker used to build libraries.
   17829 LD=$lt_LD
   17830 
   17831 # How to create reloadable object files.
   17832 reload_flag=$lt_reload_flag
   17833 reload_cmds=$lt_reload_cmds
   17834 
   17835 # Commands used to build an old-style archive.
   17836 old_archive_cmds=$lt_old_archive_cmds
   17837 
   17838 # A language specific compiler.
   17839 CC=$lt_compiler
   17840 
   17841 # Is the compiler the GNU compiler?
   17842 with_gcc=$GCC
   17843 
   17844 # Compiler flag to turn off builtin functions.
   17845 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   17846 
   17847 # Additional compiler flags for building library objects.
   17848 pic_flag=$lt_lt_prog_compiler_pic
   17849 
   17850 # How to pass a linker flag through the compiler.
   17851 wl=$lt_lt_prog_compiler_wl
   17852 
   17853 # Compiler flag to prevent dynamic linking.
   17854 link_static_flag=$lt_lt_prog_compiler_static
   17855 
   17856 # Does compiler simultaneously support -c and -o options?
   17857 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   17858 
   17859 # Whether or not to add -lc for building shared libraries.
   17860 build_libtool_need_lc=$archive_cmds_need_lc
   17861 
   17862 # Whether or not to disallow shared libs when runtime libs are static.
   17863 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   17864 
   17865 # Compiler flag to allow reflexive dlopens.
   17866 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   17867 
   17868 # Compiler flag to generate shared objects directly from archives.
   17869 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   17870 
   17871 # Whether the compiler copes with passing no objects directly.
   17872 compiler_needs_object=$lt_compiler_needs_object
   17873 
   17874 # Create an old-style archive from a shared archive.
   17875 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   17876 
   17877 # Create a temporary old-style archive to link instead of a shared archive.
   17878 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   17879 
   17880 # Commands used to build a shared archive.
   17881 archive_cmds=$lt_archive_cmds
   17882 archive_expsym_cmds=$lt_archive_expsym_cmds
   17883 
   17884 # Commands used to build a loadable module if different from building
   17885 # a shared archive.
   17886 module_cmds=$lt_module_cmds
   17887 module_expsym_cmds=$lt_module_expsym_cmds
   17888 
   17889 # Whether we are building with GNU ld or not.
   17890 with_gnu_ld=$lt_with_gnu_ld
   17891 
   17892 # Flag that allows shared libraries with undefined symbols to be built.
   17893 allow_undefined_flag=$lt_allow_undefined_flag
   17894 
   17895 # Flag that enforces no undefined symbols.
   17896 no_undefined_flag=$lt_no_undefined_flag
   17897 
   17898 # Flag to hardcode \$libdir into a binary during linking.
   17899 # This must work even if \$libdir does not exist
   17900 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   17901 
   17902 # Whether we need a single "-rpath" flag with a separated argument.
   17903 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   17904 
   17905 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17906 # DIR into the resulting binary.
   17907 hardcode_direct=$hardcode_direct
   17908 
   17909 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17910 # DIR into the resulting binary and the resulting library dependency is
   17911 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17912 # library is relocated.
   17913 hardcode_direct_absolute=$hardcode_direct_absolute
   17914 
   17915 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17916 # into the resulting binary.
   17917 hardcode_minus_L=$hardcode_minus_L
   17918 
   17919 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17920 # into the resulting binary.
   17921 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17922 
   17923 # Set to "yes" if building a shared library automatically hardcodes DIR
   17924 # into the library and all subsequent libraries and executables linked
   17925 # against it.
   17926 hardcode_automatic=$hardcode_automatic
   17927 
   17928 # Set to yes if linker adds runtime paths of dependent libraries
   17929 # to runtime path list.
   17930 inherit_rpath=$inherit_rpath
   17931 
   17932 # Whether libtool must link a program against all its dependency libraries.
   17933 link_all_deplibs=$link_all_deplibs
   17934 
   17935 # Set to "yes" if exported symbols are required.
   17936 always_export_symbols=$always_export_symbols
   17937 
   17938 # The commands to list exported symbols.
   17939 export_symbols_cmds=$lt_export_symbols_cmds
   17940 
   17941 # Symbols that should not be listed in the preloaded symbols.
   17942 exclude_expsyms=$lt_exclude_expsyms
   17943 
   17944 # Symbols that must always be exported.
   17945 include_expsyms=$lt_include_expsyms
   17946 
   17947 # Commands necessary for linking programs (against libraries) with templates.
   17948 prelink_cmds=$lt_prelink_cmds
   17949 
   17950 # Commands necessary for finishing linking programs.
   17951 postlink_cmds=$lt_postlink_cmds
   17952 
   17953 # Specify filename containing input files.
   17954 file_list_spec=$lt_file_list_spec
   17955 
   17956 # How to hardcode a shared library path into an executable.
   17957 hardcode_action=$hardcode_action
   17958 
   17959 # ### END LIBTOOL CONFIG
   17960 
   17961 _LT_EOF
   17962 
   17963   case $host_os in
   17964   aix3*)
   17965     cat <<\_LT_EOF >> "$cfgfile"
   17966 # AIX sometimes has problems with the GCC collect2 program.  For some
   17967 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17968 # vanish in a puff of smoke.
   17969 if test "X${COLLECT_NAMES+set}" != Xset; then
   17970   COLLECT_NAMES=
   17971   export COLLECT_NAMES
   17972 fi
   17973 _LT_EOF
   17974     ;;
   17975   esac
   17976 
   17977 
   17978 ltmain="$ac_aux_dir/ltmain.sh"
   17979 
   17980 
   17981   # We use sed instead of cat because bash on DJGPP gets confused if
   17982   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17983   # text mode, it properly converts lines to CR/LF.  This bash problem
   17984   # is reportedly fixed, but why not run on old versions too?
   17985   sed '$q' "$ltmain" >> "$cfgfile" \
   17986      || (rm -f "$cfgfile"; exit 1)
   17987 
   17988   if test x"$xsi_shell" = xyes; then
   17989   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   17990 func_dirname ()\
   17991 {\
   17992 \    case ${1} in\
   17993 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   17994 \      *  ) func_dirname_result="${3}" ;;\
   17995 \    esac\
   17996 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   17997   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17998     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17999 test 0 -eq $? || _lt_function_replace_fail=:
   18000 
   18001 
   18002   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   18003 func_basename ()\
   18004 {\
   18005 \    func_basename_result="${1##*/}"\
   18006 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   18007   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18008     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18009 test 0 -eq $? || _lt_function_replace_fail=:
   18010 
   18011 
   18012   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   18013 func_dirname_and_basename ()\
   18014 {\
   18015 \    case ${1} in\
   18016 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   18017 \      *  ) func_dirname_result="${3}" ;;\
   18018 \    esac\
   18019 \    func_basename_result="${1##*/}"\
   18020 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   18021   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18022     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18023 test 0 -eq $? || _lt_function_replace_fail=:
   18024 
   18025 
   18026   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   18027 func_stripname ()\
   18028 {\
   18029 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   18030 \    # positional parameters, so assign one to ordinary parameter first.\
   18031 \    func_stripname_result=${3}\
   18032 \    func_stripname_result=${func_stripname_result#"${1}"}\
   18033 \    func_stripname_result=${func_stripname_result%"${2}"}\
   18034 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   18035   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18036     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18037 test 0 -eq $? || _lt_function_replace_fail=:
   18038 
   18039 
   18040   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   18041 func_split_long_opt ()\
   18042 {\
   18043 \    func_split_long_opt_name=${1%%=*}\
   18044 \    func_split_long_opt_arg=${1#*=}\
   18045 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   18046   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18047     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18048 test 0 -eq $? || _lt_function_replace_fail=:
   18049 
   18050 
   18051   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   18052 func_split_short_opt ()\
   18053 {\
   18054 \    func_split_short_opt_arg=${1#??}\
   18055 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   18056 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   18057   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18058     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18059 test 0 -eq $? || _lt_function_replace_fail=:
   18060 
   18061 
   18062   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   18063 func_lo2o ()\
   18064 {\
   18065 \    case ${1} in\
   18066 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   18067 \      *)    func_lo2o_result=${1} ;;\
   18068 \    esac\
   18069 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   18070   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18071     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18072 test 0 -eq $? || _lt_function_replace_fail=:
   18073 
   18074 
   18075   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   18076 func_xform ()\
   18077 {\
   18078     func_xform_result=${1%.*}.lo\
   18079 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   18080   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18081     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18082 test 0 -eq $? || _lt_function_replace_fail=:
   18083 
   18084 
   18085   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   18086 func_arith ()\
   18087 {\
   18088     func_arith_result=$(( $* ))\
   18089 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   18090   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18091     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18092 test 0 -eq $? || _lt_function_replace_fail=:
   18093 
   18094 
   18095   sed -e '/^func_len ()$/,/^} # func_len /c\
   18096 func_len ()\
   18097 {\
   18098     func_len_result=${#1}\
   18099 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   18100   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18101     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18102 test 0 -eq $? || _lt_function_replace_fail=:
   18103 
   18104 fi
   18105 
   18106 if test x"$lt_shell_append" = xyes; then
   18107   sed -e '/^func_append ()$/,/^} # func_append /c\
   18108 func_append ()\
   18109 {\
   18110     eval "${1}+=\\${2}"\
   18111 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   18112   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18113     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18114 test 0 -eq $? || _lt_function_replace_fail=:
   18115 
   18116 
   18117   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   18118 func_append_quoted ()\
   18119 {\
   18120 \    func_quote_for_eval "${2}"\
   18121 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   18122 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   18123   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18124     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18125 test 0 -eq $? || _lt_function_replace_fail=:
   18126 
   18127 
   18128   # Save a `func_append' function call where possible by direct use of '+='
   18129   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   18130     && mv -f "$cfgfile.tmp" "$cfgfile" \
   18131       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18132   test 0 -eq $? || _lt_function_replace_fail=:
   18133 else
   18134   # Save a `func_append' function call even when '+=' is not available
   18135   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   18136     && mv -f "$cfgfile.tmp" "$cfgfile" \
   18137       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18138   test 0 -eq $? || _lt_function_replace_fail=:
   18139 fi
   18140 
   18141 if test x"$_lt_function_replace_fail" = x":"; then
   18142   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   18143 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   18144 fi
   18145 
   18146 
   18147    mv -f "$cfgfile" "$ofile" ||
   18148     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   18149   chmod +x "$ofile"
   18150 
   18151  ;;
   18152     "$ac_stdint_h":C)
   18153 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
   18154 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
   18155 ac_stdint=$tmp/_stdint.h
   18156 
   18157 echo "#ifndef" $_ac_stdint_h >$ac_stdint
   18158 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
   18159 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
   18160 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
   18161 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
   18162 if test "_$ac_cv_header_stdint_t" != "_" ; then
   18163 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
   18164 echo "#include <stdint.h>" >>$ac_stdint
   18165 echo "#endif" >>$ac_stdint
   18166 echo "#endif" >>$ac_stdint
   18167 else
   18168 
   18169 cat >>$ac_stdint <<STDINT_EOF
   18170 
   18171 /* ................... shortcircuit part ........................... */
   18172 
   18173 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
   18174 #include <stdint.h>
   18175 #else
   18176 #include <stddef.h>
   18177 
   18178 /* .................... configured part ............................ */
   18179 
   18180 STDINT_EOF
   18181 
   18182 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
   18183 if test "_$ac_cv_header_stdint_x" != "_" ; then
   18184   ac_header="$ac_cv_header_stdint_x"
   18185   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
   18186 else
   18187   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
   18188 fi
   18189 
   18190 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
   18191 if  test "_$ac_cv_header_stdint_o" != "_" ; then
   18192   ac_header="$ac_cv_header_stdint_o"
   18193   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
   18194 else
   18195   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
   18196 fi
   18197 
   18198 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
   18199 if  test "_$ac_cv_header_stdint_u" != "_" ; then
   18200   ac_header="$ac_cv_header_stdint_u"
   18201   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
   18202 else
   18203   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
   18204 fi
   18205 
   18206 echo "" >>$ac_stdint
   18207 
   18208 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
   18209   echo "#include <$ac_header>" >>$ac_stdint
   18210   echo "" >>$ac_stdint
   18211 fi fi
   18212 
   18213 echo "/* which 64bit typedef has been found */" >>$ac_stdint
   18214 if test "$ac_cv_type_uint64_t" = "yes" ; then
   18215 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
   18216 else
   18217 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
   18218 fi
   18219 if test "$ac_cv_type_u_int64_t" = "yes" ; then
   18220 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
   18221 else
   18222 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
   18223 fi
   18224 echo "" >>$ac_stdint
   18225 
   18226 echo "/* which type model has been detected */" >>$ac_stdint
   18227 if test "_$ac_cv_char_data_model" != "_" ; then
   18228 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
   18229 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
   18230 else
   18231 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
   18232 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
   18233 fi
   18234 echo "" >>$ac_stdint
   18235 
   18236 echo "/* whether int_least types were detected */" >>$ac_stdint
   18237 if test "$ac_cv_type_int_least32_t" = "yes"; then
   18238 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
   18239 else
   18240 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
   18241 fi
   18242 echo "/* whether int_fast types were detected */" >>$ac_stdint
   18243 if test "$ac_cv_type_int_fast32_t" = "yes"; then
   18244 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
   18245 else
   18246 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
   18247 fi
   18248 echo "/* whether intmax_t type was detected */" >>$ac_stdint
   18249 if test "$ac_cv_type_intmax_t" = "yes"; then
   18250 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
   18251 else
   18252 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
   18253 fi
   18254 echo "" >>$ac_stdint
   18255 
   18256   cat >>$ac_stdint <<STDINT_EOF
   18257 /* .................... detections part ............................ */
   18258 
   18259 /* whether we need to define bitspecific types from compiler base types */
   18260 #ifndef _STDINT_HEADER_INTPTR
   18261 #ifndef _STDINT_HEADER_UINT32
   18262 #ifndef _STDINT_HEADER_U_INT32
   18263 #define _STDINT_NEED_INT_MODEL_T
   18264 #else
   18265 #define _STDINT_HAVE_U_INT_TYPES
   18266 #endif
   18267 #endif
   18268 #endif
   18269 
   18270 #ifdef _STDINT_HAVE_U_INT_TYPES
   18271 #undef _STDINT_NEED_INT_MODEL_T
   18272 #endif
   18273 
   18274 #ifdef  _STDINT_CHAR_MODEL
   18275 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
   18276 #ifndef _STDINT_BYTE_MODEL
   18277 #define _STDINT_BYTE_MODEL 12
   18278 #endif
   18279 #endif
   18280 #endif
   18281 
   18282 #ifndef _STDINT_HAVE_INT_LEAST32_T
   18283 #define _STDINT_NEED_INT_LEAST_T
   18284 #endif
   18285 
   18286 #ifndef _STDINT_HAVE_INT_FAST32_T
   18287 #define _STDINT_NEED_INT_FAST_T
   18288 #endif
   18289 
   18290 #ifndef _STDINT_HEADER_INTPTR
   18291 #define _STDINT_NEED_INTPTR_T
   18292 #ifndef _STDINT_HAVE_INTMAX_T
   18293 #define _STDINT_NEED_INTMAX_T
   18294 #endif
   18295 #endif
   18296 
   18297 
   18298 /* .................... definition part ............................ */
   18299 
   18300 /* some system headers have good uint64_t */
   18301 #ifndef _HAVE_UINT64_T
   18302 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
   18303 #define _HAVE_UINT64_T
   18304 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
   18305 #define _HAVE_UINT64_T
   18306 typedef u_int64_t uint64_t;
   18307 #endif
   18308 #endif
   18309 
   18310 #ifndef _HAVE_UINT64_T
   18311 /* .. here are some common heuristics using compiler runtime specifics */
   18312 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
   18313 #define _HAVE_UINT64_T
   18314 #define _HAVE_LONGLONG_UINT64_T
   18315 typedef long long int64_t;
   18316 typedef unsigned long long uint64_t;
   18317 
   18318 #elif !defined __STRICT_ANSI__
   18319 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   18320 #define _HAVE_UINT64_T
   18321 typedef __int64 int64_t;
   18322 typedef unsigned __int64 uint64_t;
   18323 
   18324 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
   18325 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
   18326 #if !defined _NO_LONGLONG
   18327 #define _HAVE_UINT64_T
   18328 #define _HAVE_LONGLONG_UINT64_T
   18329 typedef long long int64_t;
   18330 typedef unsigned long long uint64_t;
   18331 #endif
   18332 
   18333 #elif defined __alpha || (defined __mips && defined _ABIN32)
   18334 #if !defined _NO_LONGLONG
   18335 typedef long int64_t;
   18336 typedef unsigned long uint64_t;
   18337 #endif
   18338   /* compiler/cpu type to define int64_t */
   18339 #endif
   18340 #endif
   18341 #endif
   18342 
   18343 #if defined _STDINT_HAVE_U_INT_TYPES
   18344 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
   18345 typedef u_int8_t uint8_t;
   18346 typedef u_int16_t uint16_t;
   18347 typedef u_int32_t uint32_t;
   18348 
   18349 /* glibc compatibility */
   18350 #ifndef __int8_t_defined
   18351 #define __int8_t_defined
   18352 #endif
   18353 #endif
   18354 
   18355 #ifdef _STDINT_NEED_INT_MODEL_T
   18356 /* we must guess all the basic types. Apart from byte-adressable system, */
   18357 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
   18358 /* (btw, those nibble-addressable systems are way off, or so we assume) */
   18359 
   18360 
   18361 #if defined _STDINT_BYTE_MODEL
   18362 #if _STDINT_LONG_MODEL+0 == 242
   18363 /* 2:4:2 =  IP16 = a normal 16-bit system                */
   18364 typedef unsigned char   uint8_t;
   18365 typedef unsigned short  uint16_t;
   18366 typedef unsigned long   uint32_t;
   18367 #ifndef __int8_t_defined
   18368 #define __int8_t_defined
   18369 typedef          char    int8_t;
   18370 typedef          short   int16_t;
   18371 typedef          long    int32_t;
   18372 #endif
   18373 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
   18374 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
   18375 /* 4:4:4 = ILP32 = a normal 32-bit system                */
   18376 typedef unsigned char   uint8_t;
   18377 typedef unsigned short  uint16_t;
   18378 typedef unsigned int    uint32_t;
   18379 #ifndef __int8_t_defined
   18380 #define __int8_t_defined
   18381 typedef          char    int8_t;
   18382 typedef          short   int16_t;
   18383 typedef          int     int32_t;
   18384 #endif
   18385 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
   18386 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
   18387 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
   18388 typedef unsigned char   uint8_t;
   18389 typedef unsigned short  uint16_t;
   18390 typedef unsigned int    uint32_t;
   18391 #ifndef __int8_t_defined
   18392 #define __int8_t_defined
   18393 typedef          char    int8_t;
   18394 typedef          short   int16_t;
   18395 typedef          int     int32_t;
   18396 #endif
   18397 /* this system has a "long" of 64bit */
   18398 #ifndef _HAVE_UINT64_T
   18399 #define _HAVE_UINT64_T
   18400 typedef unsigned long   uint64_t;
   18401 typedef          long    int64_t;
   18402 #endif
   18403 #elif _STDINT_LONG_MODEL+0 == 448
   18404 /*      LLP64   a 64-bit system derived from a 32-bit system */
   18405 typedef unsigned char   uint8_t;
   18406 typedef unsigned short  uint16_t;
   18407 typedef unsigned int    uint32_t;
   18408 #ifndef __int8_t_defined
   18409 #define __int8_t_defined
   18410 typedef          char    int8_t;
   18411 typedef          short   int16_t;
   18412 typedef          int     int32_t;
   18413 #endif
   18414 /* assuming the system has a "long long" */
   18415 #ifndef _HAVE_UINT64_T
   18416 #define _HAVE_UINT64_T
   18417 #define _HAVE_LONGLONG_UINT64_T
   18418 typedef unsigned long long uint64_t;
   18419 typedef          long long  int64_t;
   18420 #endif
   18421 #else
   18422 #define _STDINT_NO_INT32_T
   18423 #endif
   18424 #else
   18425 #define _STDINT_NO_INT8_T
   18426 #define _STDINT_NO_INT32_T
   18427 #endif
   18428 #endif
   18429 
   18430 /*
   18431  * quote from SunOS-5.8 sys/inttypes.h:
   18432  * Use at your own risk.  As of February 1996, the committee is squarely
   18433  * behind the fixed sized types; the "least" and "fast" types are still being
   18434  * discussed.  The probability that the "fast" types may be removed before
   18435  * the standard is finalized is high enough that they are not currently
   18436  * implemented.
   18437  */
   18438 
   18439 #if defined _STDINT_NEED_INT_LEAST_T
   18440 typedef  int8_t    int_least8_t;
   18441 typedef  int16_t   int_least16_t;
   18442 typedef  int32_t   int_least32_t;
   18443 #ifdef _HAVE_UINT64_T
   18444 typedef  int64_t   int_least64_t;
   18445 #endif
   18446 
   18447 typedef uint8_t   uint_least8_t;
   18448 typedef uint16_t  uint_least16_t;
   18449 typedef uint32_t  uint_least32_t;
   18450 #ifdef _HAVE_UINT64_T
   18451 typedef uint64_t  uint_least64_t;
   18452 #endif
   18453   /* least types */
   18454 #endif
   18455 
   18456 #if defined _STDINT_NEED_INT_FAST_T
   18457 typedef  int8_t    int_fast8_t;
   18458 typedef  int       int_fast16_t;
   18459 typedef  int32_t   int_fast32_t;
   18460 #ifdef _HAVE_UINT64_T
   18461 typedef  int64_t   int_fast64_t;
   18462 #endif
   18463 
   18464 typedef uint8_t   uint_fast8_t;
   18465 typedef unsigned  uint_fast16_t;
   18466 typedef uint32_t  uint_fast32_t;
   18467 #ifdef _HAVE_UINT64_T
   18468 typedef uint64_t  uint_fast64_t;
   18469 #endif
   18470   /* fast types */
   18471 #endif
   18472 
   18473 #ifdef _STDINT_NEED_INTMAX_T
   18474 #ifdef _HAVE_UINT64_T
   18475 typedef  int64_t       intmax_t;
   18476 typedef uint64_t      uintmax_t;
   18477 #else
   18478 typedef          long  intmax_t;
   18479 typedef unsigned long uintmax_t;
   18480 #endif
   18481 #endif
   18482 
   18483 #ifdef _STDINT_NEED_INTPTR_T
   18484 #ifndef __intptr_t_defined
   18485 #define __intptr_t_defined
   18486 /* we encourage using "long" to store pointer values, never use "int" ! */
   18487 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
   18488 typedef  unsigned int   uintptr_t;
   18489 typedef           int    intptr_t;
   18490 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
   18491 typedef  unsigned long  uintptr_t;
   18492 typedef           long   intptr_t;
   18493 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
   18494 typedef        uint64_t uintptr_t;
   18495 typedef         int64_t  intptr_t;
   18496 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
   18497 typedef  unsigned long  uintptr_t;
   18498 typedef           long   intptr_t;
   18499 #endif
   18500 #endif
   18501 #endif
   18502 
   18503 /* The ISO C99 standard specifies that in C++ implementations these
   18504    should only be defined if explicitly requested.  */
   18505 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
   18506 #ifndef UINT32_C
   18507 
   18508 /* Signed.  */
   18509 # define INT8_C(c)      c
   18510 # define INT16_C(c)     c
   18511 # define INT32_C(c)     c
   18512 # ifdef _HAVE_LONGLONG_UINT64_T
   18513 #  define INT64_C(c)    c ## L
   18514 # else
   18515 #  define INT64_C(c)    c ## LL
   18516 # endif
   18517 
   18518 /* Unsigned.  */
   18519 # define UINT8_C(c)     c ## U
   18520 # define UINT16_C(c)    c ## U
   18521 # define UINT32_C(c)    c ## U
   18522 # ifdef _HAVE_LONGLONG_UINT64_T
   18523 #  define UINT64_C(c)   c ## UL
   18524 # else
   18525 #  define UINT64_C(c)   c ## ULL
   18526 # endif
   18527 
   18528 /* Maximal type.  */
   18529 # ifdef _HAVE_LONGLONG_UINT64_T
   18530 #  define INTMAX_C(c)   c ## L
   18531 #  define UINTMAX_C(c)  c ## UL
   18532 # else
   18533 #  define INTMAX_C(c)   c ## LL
   18534 #  define UINTMAX_C(c)  c ## ULL
   18535 # endif
   18536 
   18537   /* literalnumbers */
   18538 #endif
   18539 #endif
   18540 
   18541 /* These limits are merily those of a two complement byte-oriented system */
   18542 
   18543 /* Minimum of signed integral types.  */
   18544 # define INT8_MIN               (-128)
   18545 # define INT16_MIN              (-32767-1)
   18546 # define INT32_MIN              (-2147483647-1)
   18547 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
   18548 /* Maximum of signed integral types.  */
   18549 # define INT8_MAX               (127)
   18550 # define INT16_MAX              (32767)
   18551 # define INT32_MAX              (2147483647)
   18552 # define INT64_MAX              (__INT64_C(9223372036854775807))
   18553 
   18554 /* Maximum of unsigned integral types.  */
   18555 # define UINT8_MAX              (255)
   18556 # define UINT16_MAX             (65535)
   18557 # define UINT32_MAX             (4294967295U)
   18558 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
   18559 
   18560 /* Minimum of signed integral types having a minimum size.  */
   18561 # define INT_LEAST8_MIN         INT8_MIN
   18562 # define INT_LEAST16_MIN        INT16_MIN
   18563 # define INT_LEAST32_MIN        INT32_MIN
   18564 # define INT_LEAST64_MIN        INT64_MIN
   18565 /* Maximum of signed integral types having a minimum size.  */
   18566 # define INT_LEAST8_MAX         INT8_MAX
   18567 # define INT_LEAST16_MAX        INT16_MAX
   18568 # define INT_LEAST32_MAX        INT32_MAX
   18569 # define INT_LEAST64_MAX        INT64_MAX
   18570 
   18571 /* Maximum of unsigned integral types having a minimum size.  */
   18572 # define UINT_LEAST8_MAX        UINT8_MAX
   18573 # define UINT_LEAST16_MAX       UINT16_MAX
   18574 # define UINT_LEAST32_MAX       UINT32_MAX
   18575 # define UINT_LEAST64_MAX       UINT64_MAX
   18576 
   18577   /* shortcircuit*/
   18578 #endif
   18579   /* once */
   18580 #endif
   18581 #endif
   18582 STDINT_EOF
   18583 fi
   18584     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
   18585       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
   18586 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
   18587     else
   18588       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
   18589 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18590 	 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
   18591 	 X"$ac_stdint_h" : 'X\(//\)$' \| \
   18592 	 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
   18593 $as_echo X"$ac_stdint_h" |
   18594     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18595 	    s//\1/
   18596 	    q
   18597 	  }
   18598 	  /^X\(\/\/\)[^/].*/{
   18599 	    s//\1/
   18600 	    q
   18601 	  }
   18602 	  /^X\(\/\/\)$/{
   18603 	    s//\1/
   18604 	    q
   18605 	  }
   18606 	  /^X\(\/\).*/{
   18607 	    s//\1/
   18608 	    q
   18609 	  }
   18610 	  s/.*/./; q'`
   18611       as_dir="$ac_dir"; as_fn_mkdir_p
   18612       rm -f $ac_stdint_h
   18613       mv $ac_stdint $ac_stdint_h
   18614     fi
   18615  ;;
   18616 
   18617   esac
   18618 done # for ac_tag
   18619 
   18620 
   18621 as_fn_exit 0
   18622 _ACEOF
   18623 ac_clean_files=$ac_clean_files_save
   18624 
   18625 test $ac_write_fail = 0 ||
   18626   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   18627 
   18628 
   18629 # configure is writing to config.log, and then calls config.status.
   18630 # config.status does its own redirection, appending to config.log.
   18631 # Unfortunately, on DOS this fails, as config.log is still kept open
   18632 # by configure, so config.status won't be able to write to it; its
   18633 # output is simply discarded.  So we exec the FD to /dev/null,
   18634 # effectively closing config.log, so it can be properly (re)opened and
   18635 # appended to by config.status.  When coming back to configure, we
   18636 # need to make the FD available again.
   18637 if test "$no_create" != yes; then
   18638   ac_cs_success=:
   18639   ac_config_status_args=
   18640   test "$silent" = yes &&
   18641     ac_config_status_args="$ac_config_status_args --quiet"
   18642   exec 5>/dev/null
   18643   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   18644   exec 5>>config.log
   18645   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   18646   # would make configure fail if this is the last instruction.
   18647   $ac_cs_success || as_fn_exit 1
   18648 fi
   18649 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   18650   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   18651 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   18652 fi
   18653 
   18654